{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./app/javascript/dashboard/store/mutation-types.js","webpack:///./node_modules/axios/lib/utils.js","webpack:///./node_modules/tslib/tslib.es6.js","webpack:///./node_modules/@vueuse/core/node_modules/vue-demi/lib/index.cjs","webpack:///./node_modules/vue/dist/vue.common.js","webpack:///./node_modules/@vueuse/shared/index.cjs","webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./node_modules/moment/moment.js","webpack:///./node_modules/date-fns/esm/_lib/requiredArgs/index.js","webpack:///./node_modules/axios/lib/core/AxiosError.js","webpack:///./app/javascript/dashboard/helper/URLHelper.js","webpack:///./node_modules/orderedmap/dist/index.js","webpack:///./node_modules/prosemirror-model/dist/index.js","webpack:///./node_modules/date-fns/esm/toDate/index.js","webpack:///./node_modules/prosemirror-state/dist/index.js","webpack:///./node_modules/@sentry/tracing/esm/flags.js","webpack:///./node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js","webpack:///./node_modules/vuex/dist/vuex.js","webpack:///./node_modules/@sentry/tracing/node_modules/tslib/tslib.es6.js","webpack:///./node_modules/date-fns/esm/_lib/toInteger/index.js","webpack:///./node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js","webpack:///./app/javascript/shared/helpers/vuex/mutationHelpers.js","webpack:///./app/javascript/dashboard/api/ApiClient.js","webpack:///./app/javascript/shared/helpers/mitt.js","webpack:///./node_modules/mitt/dist/mitt.mjs","webpack:///./node_modules/@sentry/tracing/esm/utils.js","webpack:///./app/javascript/dashboard/store/utils/api.js","webpack:///./node_modules/markdown-it/lib/common/utils.js","webpack:///./node_modules/@sentry/utils/esm/is.js","webpack:///./node_modules/@sentry/utils/esm/logger.js","webpack:///./node_modules/vuelidate/lib/validators/index.js","webpack:///./node_modules/prosemirror-transform/dist/index.js","webpack:///(webpack)/buildin/global.js","webpack:///./app/javascript/shared/mixins/alertMixin.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/plugins/validation/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/arguments-resolver/index.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/analytics/dispatch.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/events/index.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/utils/environment.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/connection/index.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/queue/event-queue.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/queue/event-queue.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/task/task-group.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/utils/is-thenable.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/utils/group-by.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/analytics/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/plugins/page-enrichment/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/plugins/remote-loader/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/plugins/segmentio/batched-dispatcher.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/on-page-leave.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/plugins/segmentio/fetch-dispatcher.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/plugins/segmentio/schedule-flush.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/plugins/segmentio/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/is-thenable.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/buffer/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/buffer/snippet.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/inspector/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/browser/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/create-deferred.js","webpack:///./app/javascript/dashboard/helper/AnalyticsHelper/index.js","webpack:///./node_modules/@sentry/utils/esm/global.js","webpack:///./node_modules/@sentry/utils/esm/object.js","webpack:///./app/javascript/shared/mixins/inboxMixin.js","webpack:///./node_modules/axios/lib/helpers/toFormData.js","webpack:///./app/javascript/shared/constants/messages.js","webpack:///./app/javascript/dashboard/helper/AnalyticsHelper/events.js","webpack:///./app/javascript/shared/constants/busEvents.js","webpack:///./node_modules/js-cookie/dist/js.cookie.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/common/utils.js","webpack:///./node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js","webpack:///./node_modules/@sentry/minimal/esm/index.js","webpack:///./app/javascript/dashboard/featureFlags.js","webpack:///./node_modules/@june-so/analytics-next/node_modules/js-cookie/dist/js.cookie.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/context/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js","webpack:///./node_modules/@sentry/utils/esm/node.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/logger/index.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/context/index.js","webpack:///./node_modules/vuelidate/lib/validators/common.js","webpack:///./node_modules/process/browser.js","webpack:///./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack:///./node_modules/@sentry/utils/esm/flags.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/generated/version.js","webpack:///./node_modules/date-fns/esm/_lib/protectedTokens/index.js","webpack:///./node_modules/@sentry/utils/esm/time.js","webpack:///./app/javascript/dashboard/constants/globals.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/SettingsSubPageHeader.vue?6384","webpack:///./app/javascript/dashboard/routes/dashboard/settings/SettingsSubPageHeader.vue?d45c","webpack:///app/javascript/dashboard/routes/dashboard/settings/SettingsSubPageHeader.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/SettingsSubPageHeader.vue","webpack:///./node_modules/axios/lib/helpers/bind.js","webpack:///./node_modules/axios/lib/helpers/null.js","webpack:///./node_modules/date-fns/esm/startOfDay/index.js","webpack:///./app/javascript/dashboard/api/auth.js","webpack:///./app/javascript/dashboard/api/contacts.js","webpack:///./node_modules/@chatwoot/prosemirror-schema/dist/index.js","webpack:///./node_modules/@sentry/tracing/esm/span.js","webpack:///./node_modules/vue-i18n/dist/vue-i18n.esm.js","webpack:///./app/javascript/dashboard/helper/scriptHelpers.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/user/index.js","webpack:///./node_modules/@sentry/tracing/esm/constants.js","webpack:///./node_modules/@segment/facade/dist/index.js","webpack:///./app/javascript/shared/components/Spinner.vue?f023","webpack:///./app/javascript/shared/components/Spinner.vue?ec8d","webpack:///app/javascript/shared/components/Spinner.vue","webpack:///./app/javascript/shared/components/Spinner.vue","webpack:///./node_modules/date-fns/esm/fromUnixTime/index.js","webpack:///./node_modules/timers-browserify/main.js","webpack:///./node_modules/@segment/facade/dist/facade.js","webpack:///./node_modules/inherits/inherits_browser.js","webpack:///./node_modules/@sentry/tracing/esm/hubextensions.js","webpack:///./node_modules/prosemirror-view/dist/index.js","webpack:///./node_modules/@sentry/utils/esm/string.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/connection/index.js","webpack:///./app/javascript/shared/helpers/Validators.js","webpack:///./app/javascript/shared/helpers/AudioNotificationHelper.js","webpack:///./app/javascript/dashboard/helper/editorHelper.js","webpack:///./node_modules/@sentry/tracing/esm/idletransaction.js","webpack:///./node_modules/@sentry/tracing/esm/transaction.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/priority-queue/persisted.js","webpack:///./node_modules/vue-clickaway/dist/vue-clickaway.common.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js","webpack:///./node_modules/@lukeed/uuid/dist/index.mjs","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/get-global.js","webpack:///./node_modules/vue-router/dist/vue-router.esm.js","webpack:///./node_modules/unfetch/dist/unfetch.module.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/fetch.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/to-facade.js","webpack:///./app/javascript/dashboard/api/endPoints.js","webpack:///./node_modules/@sentry/hub/esm/flags.js","webpack:///./node_modules/@sentry/hub/esm/hub.js","webpack:///./app/javascript/dashboard/api/reports.js","webpack:///./node_modules/tinykeys/dist/tinykeys.module.js","webpack:///./app/javascript/shared/mixins/keyboardEventListenerMixins.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/account/account.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/agents/agent.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/agentBots/agentBot.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/attributes/attributes.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/automation/automation.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/auditlogs/audit.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/billing/billing.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/campaigns/campaigns.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/canned/canned.routes.js","webpack:///./app/javascript/dashboard/api/channels.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue?52ee","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue?2a13","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Website.vue?b5e5","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Website.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Website.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Website.vue?b0e7","webpack:///./app/javascript/dashboard/api/channel/twitterClient.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twitter.vue?18fd","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twitter.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twitter.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twitter.vue?2f93","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Api.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Api.vue?571d","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Api.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Api.vue?c0bc","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/ForwardToOption.vue?5f1f","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/ForwardToOption.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/ForwardToOption.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/ForwardToOption.vue?b98e","webpack:///./app/javascript/dashboard/api/channel/googleClient.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/OAuthChannel.vue?c913","webpack:///OAuthChannel.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/OAuthChannel.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/OAuthChannel.vue?a9cd","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/Microsoft.vue?30e6","webpack:///Microsoft.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/Microsoft.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/Microsoft.vue?34ad","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/Google.vue?d340","webpack:///Google.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/Google.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/Google.vue?3776","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Email.vue?07d0","webpack:///Email.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Email.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Email.vue?47e5","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/BandwidthSms.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/BandwidthSms.vue?b8f0","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/BandwidthSms.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/BandwidthSms.vue?05a7","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twilio.vue?4e6e","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twilio.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twilio.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twilio.vue?85ea","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Sms.vue?2337","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Sms.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Sms.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Sms.vue?a36a","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/360DialogWhatsapp.vue?8184","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/360DialogWhatsapp.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/360DialogWhatsapp.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/360DialogWhatsapp.vue?af32","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/CloudWhatsapp.vue?a822","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/CloudWhatsapp.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/CloudWhatsapp.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/CloudWhatsapp.vue?a368","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/components/ToggleSwitch.vue?21a8","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/components/ToggleSwitch.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/RuutNativeWhatsapp.vue?17f5","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/RuutNativeWhatsapp.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/components/ToggleSwitch.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/components/ToggleSwitch.vue?6404","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Whatsapp.vue?799b","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Whatsapp.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/RuutNativeWhatsapp.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/RuutNativeWhatsapp.vue?e8f6","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Whatsapp.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Whatsapp.vue?736e","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Line.vue?3d08","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Line.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Line.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Line.vue?99ac","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Telegram.vue?10b4","webpack:///app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Telegram.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channel-factory.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Telegram.vue","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Telegram.vue?3b94","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/inbox.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/integrationapps/integrations.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/integrations/integrations.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/labels/labels.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/macros/macros.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/reports/reports.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/sla/sla.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/teams/teams.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/profile/profile.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/settings.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/conversation/conversation.routes.js","webpack:///./app/javascript/dashboard/modules/search/search.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/contacts/routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/notifications/routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/inbox/routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue?056d","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/UpgradePage.vue?4968","webpack:///app/javascript/dashboard/routes/dashboard/helpcenter/components/UpgradePage.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/UpgradePage.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/UpgradePage.vue?58db","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalSwitch.vue?91b8","webpack:///app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalSwitch.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue?c872","webpack:///app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalSwitch.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalSwitch.vue?e4fe","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue?31fd","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/SidebarHeader.vue?1602","webpack:///app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/SidebarHeader.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/SidebarHeader.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/SidebarHeader.vue?5e13","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/Sidebar.vue?7146","webpack:///app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/Sidebar.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/Sidebar.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/Sidebar.vue?d306","webpack:///app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue?2c98","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/HelpCenterLayout.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/helpers/routeHelper.js","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/helpcenter.routes.js","webpack:///./app/javascript/dashboard/routes/dashboard/dashboard.routes.js","webpack:///./app/javascript/dashboard/routes/index.js","webpack:///./app/javascript/dashboard/constants/localStorage.js","webpack:///./app/javascript/shared/helpers/localStorage.js","webpack:///./node_modules/vue/dist/vue.common.prod.js","webpack:///./node_modules/setimmediate/setImmediate.js","webpack:///./node_modules/vue-dompurify-html/dist/dompurify-html.js","webpack:///./app/javascript/shared/components/FluentIcon/Icon.vue?5216","webpack:///./app/javascript/shared/components/FluentIcon/Icon.vue?4561","webpack:///app/javascript/shared/components/FluentIcon/Icon.vue","webpack:///./app/javascript/shared/components/FluentIcon/Icon.vue","webpack:///./app/javascript/shared/store/globalConfig.js","webpack:///./node_modules/vue-dompurify-html/dist/index.js","webpack:///./node_modules/vuelidate/lib/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/embedded-write-key.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/parse-cdn.js","webpack:///./node_modules/dset/dist/index.mjs","webpack:///./app/javascript/dashboard/helper/downloadHelper.js","webpack:///./node_modules/prosemirror-commands/dist/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/bind-all.js","webpack:///./node_modules/@sentry/utils/esm/syncpromise.js","webpack:///./node_modules/@sentry/utils/esm/misc.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/queue/delivery.js","webpack:///./app/javascript/dashboard/store/modules/conversations/helpers/actionHelpers.js","webpack:///./app/javascript/dashboard/components/widgets/Thumbnail.vue?482a","webpack:///./app/javascript/dashboard/components/widgets/Thumbnail.vue?9d10","webpack:///app/javascript/dashboard/components/widgets/Thumbnail.vue","webpack:///./app/javascript/dashboard/components/widgets/Thumbnail.vue","webpack:///./app/javascript/shared/mixins/globalConfigMixin.js","webpack:///./node_modules/lodash/_root.js","webpack:///./app/javascript/shared/helpers/KeyboardHelpers.js","webpack:///./node_modules/date-fns/esm/addMilliseconds/index.js","webpack:///./app/javascript/dashboard/helper/routeHelpers.js","webpack:///./app/javascript/dashboard/helper/permissionsHelper.js","webpack:///./node_modules/@chatwoot/utils/dist/utils.esm.js","webpack:///./app/javascript/dashboard/mixins/uiSettings.js","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/uc.micro/categories/P/regex.js","webpack:///./node_modules/date-fns/esm/_lib/addLeadingZeros/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/lightFormatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/formatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js","webpack:///./node_modules/date-fns/esm/format/index.js","webpack:///./node_modules/obj-case/index.js","webpack:///./node_modules/@segment/facade/dist/is-email.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/environment/index.js","webpack:///./node_modules/date-fns/esm/subMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/longFormatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js","webpack:///./node_modules/@sentry/hub/esm/scope.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/plugins/segmentio/normalize.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/user/tld.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/load-script.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/emitter/index.js","webpack:///./node_modules/@sentry/utils/esm/stacktrace.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/stats/remote-metrics.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/stats/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js","webpack:///./app/javascript/dashboard/mixins/isAdmin.js","webpack:///./app/javascript/dashboard/mixins/account.js","webpack:///./node_modules/vuelidate/lib/params.js","webpack:///./app/javascript/dashboard/components/Modal.vue?56ce","webpack:///./app/javascript/dashboard/components/Modal.vue?c254","webpack:///app/javascript/dashboard/components/Modal.vue","webpack:///./app/javascript/dashboard/components/Modal.vue","webpack:///./app/javascript/shared/helpers/HTMLSanitizer.js","webpack:///./app/javascript/dashboard/api/account.js","webpack:///./app/javascript/dashboard/api/subscription/account.js","webpack:///./app/javascript/dashboard/store/modules/accounts.js","webpack:///./app/javascript/dashboard/api/agentBots.js","webpack:///./node_modules/idb/build/wrap-idb-value.js","webpack:///./node_modules/idb/build/index.js","webpack:///./app/javascript/dashboard/helper/CacheHelper/DataManager.js","webpack:///./app/javascript/dashboard/helper/CacheHelper/version.js","webpack:///./app/javascript/dashboard/api/CacheEnabledApiClient.js","webpack:///./app/javascript/dashboard/api/inboxes.js","webpack:///./app/javascript/dashboard/store/modules/agentBots.js","webpack:///./app/javascript/dashboard/api/agents.js","webpack:///./app/javascript/dashboard/store/modules/agents.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterArticles/getters.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterArticles/index.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterArticles/actions.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterArticles/mutations.js","webpack:///./app/javascript/dashboard/api/attributes.js","webpack:///./app/javascript/dashboard/store/modules/attributes.js","webpack:///./app/javascript/dashboard/store/modules/auth.js","webpack:///./app/javascript/dashboard/api/auditLogs.js","webpack:///./app/javascript/dashboard/store/modules/auditlogs.js","webpack:///./app/javascript/dashboard/api/automation.js","webpack:///./app/javascript/dashboard/store/modules/automations.js","webpack:///./app/javascript/dashboard/api/bulkActions.js","webpack:///./app/javascript/dashboard/store/modules/bulkActions.js","webpack:///./app/javascript/dashboard/api/campaigns.js","webpack:///./app/javascript/dashboard/store/modules/campaigns.js","webpack:///./app/javascript/dashboard/api/cannedResponse.js","webpack:///./app/javascript/dashboard/store/modules/cannedResponse.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterCategories/getters.js","webpack:///./app/javascript/dashboard/api/helpCenter/categories.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterCategories/index.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterCategories/actions.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterCategories/mutations.js","webpack:///./app/javascript/dashboard/api/conversations.js","webpack:///./app/javascript/dashboard/store/modules/contactConversations.js","webpack:///./app/javascript/dashboard/store/modules/contactLabels.js","webpack:///./app/javascript/dashboard/api/contactNotes.js","webpack:///./app/javascript/dashboard/store/modules/contactNotes.js","webpack:///./app/javascript/dashboard/store/modules/contacts/getters.js","webpack:///./app/javascript/dashboard/api/accountActions.js","webpack:///./app/javascript/dashboard/store/modules/contacts/actions.js","webpack:///./app/javascript/dashboard/store/modules/contacts/index.js","webpack:///./app/javascript/dashboard/store/modules/contacts/mutations.js","webpack:///./app/javascript/dashboard/store/modules/conversationLabels.js","webpack:///./app/javascript/dashboard/store/modules/conversationMetadata.js","webpack:///./app/javascript/dashboard/store/modules/conversationPage.js","webpack:///./app/javascript/dashboard/store/modules/conversations/helpers.js","webpack:///./app/javascript/dashboard/store/modules/conversations/getters.js","webpack:///./app/javascript/dashboard/api/inbox/conversation.js","webpack:///./app/javascript/dashboard/api/inbox/message.js","webpack:///./app/javascript/dashboard/store/modules/conversations/actions/messageReadActions.js","webpack:///./app/javascript/dashboard/store/modules/conversations/actions/messageTranslateActions.js","webpack:///./app/javascript/dashboard/store/modules/conversations/actions.js","webpack:///./app/javascript/dashboard/store/modules/conversations/index.js","webpack:///./app/javascript/dashboard/api/search.js","webpack:///./app/javascript/dashboard/store/modules/conversationSearch.js","webpack:///./app/javascript/dashboard/store/modules/conversationStats.js","webpack:///./app/javascript/dashboard/store/modules/conversationTypingStatus.js","webpack:///./app/javascript/dashboard/store/modules/conversationWatchers.js","webpack:///./app/javascript/dashboard/api/csatReports.js","webpack:///./app/javascript/dashboard/store/modules/csat.js","webpack:///./app/javascript/dashboard/api/customViews.js","webpack:///./app/javascript/dashboard/store/modules/customViews.js","webpack:///./app/javascript/dashboard/api/dashboardApps.js","webpack:///./app/javascript/dashboard/store/modules/dashboardApps.js","webpack:///./app/javascript/dashboard/api/assignableAgents.js","webpack:///./app/javascript/dashboard/store/modules/inboxAssignableAgents.js","webpack:///./app/javascript/dashboard/api/channel/webChannel.js","webpack:///./app/javascript/dashboard/api/channel/fbChannel.js","webpack:///./app/javascript/dashboard/api/channel/twilioChannel.js","webpack:///./app/javascript/dashboard/api/channel/whatsappNativeChannel.js","webpack:///./app/javascript/dashboard/store/modules/inboxes.js","webpack:///./app/javascript/dashboard/store/modules/inboxMembers.js","webpack:///./app/javascript/dashboard/api/integrations.js","webpack:///./app/javascript/dashboard/store/modules/integrations.js","webpack:///./app/javascript/dashboard/api/labels.js","webpack:///./app/javascript/dashboard/store/modules/labels.js","webpack:///./app/javascript/dashboard/api/macros.js","webpack:///./app/javascript/dashboard/store/modules/macros.js","webpack:///./app/javascript/dashboard/store/modules/notifications/helpers.js","webpack:///./app/javascript/dashboard/store/modules/notifications/getters.js","webpack:///./app/javascript/dashboard/api/notifications.js","webpack:///./app/javascript/dashboard/store/modules/notifications/actions.js","webpack:///./app/javascript/dashboard/store/modules/notifications/index.js","webpack:///./app/javascript/dashboard/store/modules/notifications/mutations.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterPortals/getters.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterPortals/mutations.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterPortals/actions.js","webpack:///./app/javascript/dashboard/store/modules/helpCenterPortals/index.js","webpack:///./app/javascript/dashboard/store/modules/reports.js","webpack:///./app/javascript/dashboard/api/sla.js","webpack:///./app/javascript/dashboard/store/modules/sla.js","webpack:///./app/javascript/dashboard/api/teams.js","webpack:///./app/javascript/dashboard/store/modules/teamMembers.js","webpack:///./app/javascript/dashboard/store/modules/teams/getters.js","webpack:///./app/javascript/dashboard/store/modules/teams/types.js","webpack:///./app/javascript/dashboard/store/modules/teams/index.js","webpack:///./app/javascript/dashboard/store/modules/teams/actions.js","webpack:///./app/javascript/dashboard/store/modules/teams/mutations.js","webpack:///./app/javascript/dashboard/api/userNotificationSettings.js","webpack:///./app/javascript/dashboard/store/modules/userNotificationSettings.js","webpack:///./app/javascript/dashboard/api/webhooks.js","webpack:///./app/javascript/dashboard/store/modules/webhooks.js","webpack:///./app/javascript/dashboard/store/modules/draftMessages.js","webpack:///./app/javascript/dashboard/api/slaReports.js","webpack:///./app/javascript/dashboard/store/modules/SLAReports.js","webpack:///./app/javascript/dashboard/store/index.js","webpack:///./node_modules/node-libs-browser/node_modules/buffer/index.js","webpack:///./node_modules/mdurl/index.js","webpack:///./app/javascript/dashboard/helper/commons.js","webpack:///./node_modules/markdown-it/lib/ruler.js","webpack:///./node_modules/markdown-it/lib/token.js","webpack:///(webpack)/buildin/harmony-module.js","webpack:///./node_modules/base64-js/index.js","webpack:///./node_modules/ieee754/index.js","webpack:///./node_modules/node-libs-browser/node_modules/isarray/index.js","webpack:///./node_modules/lodash/_getNative.js","webpack:///./node_modules/lodash/isObject.js","webpack:///./node_modules/new-date/lib/index.js","webpack:///./node_modules/@segment/facade/dist/track.js","webpack:///./node_modules/vue-dompurify-html/node_modules/dompurify/dist/purify.js","webpack:///./node_modules/vuelidate/lib/vval.js","webpack:///./node_modules/date-fns/esm/_lib/assign/index.js","webpack:///./app/javascript/dashboard/components/widgets/mentions/mentionSelectionKeyboardMixin.js","webpack:///./app/javascript/dashboard/helper/AudioAlerts/faviconHelper.js","webpack:///./app/javascript/dashboard/helper/AudioAlerts/DashboardAudioNotificationHelper.js","webpack:///./node_modules/@babel/runtime/helpers/typeof.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/get-process-env.js","webpack:///./app/javascript/dashboard/api/helpCenter/articles.js","webpack:///./node_modules/@sentry/utils/esm/supports.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/priority-queue/index.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/priority-queue/backoff.js","webpack:///./node_modules/@babel/runtime/helpers/defineProperty.js","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownItem.vue?73b1","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownItem.vue?fb79","webpack:///app/javascript/shared/components/ui/dropdown/DropdownItem.vue","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownItem.vue","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownMenu.vue?5c6c","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownMenu.vue?2e42","webpack:///app/javascript/shared/components/ui/dropdown/DropdownMenu.vue","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownMenu.vue","webpack:///./node_modules/uc.micro/properties/Any/regex.js","webpack:///./node_modules/uc.micro/categories/Cc/regex.js","webpack:///./node_modules/uc.micro/categories/Z/regex.js","webpack:///./app/javascript/shared/helpers/CustomErrors.js","webpack:///./app/javascript/dashboard/components/widgets/LoadingState.vue?b1a6","webpack:///./app/javascript/dashboard/components/widgets/LoadingState.vue?aa71","webpack:///app/javascript/dashboard/components/widgets/LoadingState.vue","webpack:///./app/javascript/dashboard/components/widgets/LoadingState.vue","webpack:///./app/javascript/dashboard/components/ui/Banner.vue?80ae","webpack:///./app/javascript/dashboard/components/ui/Banner.vue?400e","webpack:///app/javascript/dashboard/components/ui/Banner.vue","webpack:///./app/javascript/dashboard/components/ui/Banner.vue","webpack:///./node_modules/lodash/isObjectLike.js","webpack:///./app/javascript/dashboard/helper/uploadHelper.js","webpack:///./node_modules/rope-sequence/dist/index.js","webpack:///./node_modules/prosemirror-history/dist/index.js","webpack:///./node_modules/date-fns/esm/differenceInCalendarDays/index.js","webpack:///./node_modules/date-fns/esm/differenceInDays/index.js","webpack:///./app/javascript/dashboard/api/helpCenter/portals.js","webpack:///./app/javascript/dashboard/composables/index.js","webpack:///./app/javascript/shared/components/Spinner.vue?1057","webpack:///./node_modules/date-fns/esm/isSameDay/index.js","webpack:///./app/javascript/shared/mixins/configMixin.js","webpack:///./node_modules/date-fns/esm/addDays/index.js","webpack:///./node_modules/markdown-it/lib/common/entities.js","webpack:///./node_modules/markdown-it/lib/common/html_re.js","webpack:///./node_modules/markdown-it/lib/rules_inline/strikethrough.js","webpack:///./node_modules/markdown-it/lib/rules_inline/emphasis.js","webpack:///./app/javascript/v3/helpers/AuthHelper.js","webpack:///./node_modules/w3c-keyname/index.js","webpack:///./node_modules/prosemirror-keymap/dist/index.js","webpack:///./node_modules/lodash/eq.js","webpack:///./node_modules/lodash/_baseGetTag.js","webpack:///./node_modules/moment/locale/af.js","webpack:///./node_modules/moment/locale/ar.js","webpack:///./node_modules/moment/locale/ar-dz.js","webpack:///./node_modules/moment/locale/ar-kw.js","webpack:///./node_modules/moment/locale/ar-ly.js","webpack:///./node_modules/moment/locale/ar-ma.js","webpack:///./node_modules/moment/locale/ar-ps.js","webpack:///./node_modules/moment/locale/ar-sa.js","webpack:///./node_modules/moment/locale/ar-tn.js","webpack:///./node_modules/moment/locale/az.js","webpack:///./node_modules/moment/locale/be.js","webpack:///./node_modules/moment/locale/bg.js","webpack:///./node_modules/moment/locale/bm.js","webpack:///./node_modules/moment/locale/bn.js","webpack:///./node_modules/moment/locale/bn-bd.js","webpack:///./node_modules/moment/locale/bo.js","webpack:///./node_modules/moment/locale/br.js","webpack:///./node_modules/moment/locale/bs.js","webpack:///./node_modules/moment/locale/ca.js","webpack:///./node_modules/moment/locale/cs.js","webpack:///./node_modules/moment/locale/cv.js","webpack:///./node_modules/moment/locale/cy.js","webpack:///./node_modules/moment/locale/da.js","webpack:///./node_modules/moment/locale/de.js","webpack:///./node_modules/moment/locale/de-at.js","webpack:///./node_modules/moment/locale/de-ch.js","webpack:///./node_modules/moment/locale/dv.js","webpack:///./node_modules/moment/locale/el.js","webpack:///./node_modules/moment/locale/en-au.js","webpack:///./node_modules/moment/locale/en-ca.js","webpack:///./node_modules/moment/locale/en-gb.js","webpack:///./node_modules/moment/locale/en-ie.js","webpack:///./node_modules/moment/locale/en-il.js","webpack:///./node_modules/moment/locale/en-in.js","webpack:///./node_modules/moment/locale/en-nz.js","webpack:///./node_modules/moment/locale/en-sg.js","webpack:///./node_modules/moment/locale/eo.js","webpack:///./node_modules/moment/locale/es.js","webpack:///./node_modules/moment/locale/es-do.js","webpack:///./node_modules/moment/locale/es-mx.js","webpack:///./node_modules/moment/locale/es-us.js","webpack:///./node_modules/moment/locale/et.js","webpack:///./node_modules/moment/locale/eu.js","webpack:///./node_modules/moment/locale/fa.js","webpack:///./node_modules/moment/locale/fi.js","webpack:///./node_modules/moment/locale/fil.js","webpack:///./node_modules/moment/locale/fo.js","webpack:///./node_modules/moment/locale/fr.js","webpack:///./node_modules/moment/locale/fr-ca.js","webpack:///./node_modules/moment/locale/fr-ch.js","webpack:///./node_modules/moment/locale/fy.js","webpack:///./node_modules/moment/locale/ga.js","webpack:///./node_modules/moment/locale/gd.js","webpack:///./node_modules/moment/locale/gl.js","webpack:///./node_modules/moment/locale/gom-deva.js","webpack:///./node_modules/moment/locale/gom-latn.js","webpack:///./node_modules/moment/locale/gu.js","webpack:///./node_modules/moment/locale/he.js","webpack:///./node_modules/moment/locale/hi.js","webpack:///./node_modules/moment/locale/hr.js","webpack:///./node_modules/moment/locale/hu.js","webpack:///./node_modules/moment/locale/hy-am.js","webpack:///./node_modules/moment/locale/id.js","webpack:///./node_modules/moment/locale/is.js","webpack:///./node_modules/moment/locale/it.js","webpack:///./node_modules/moment/locale/it-ch.js","webpack:///./node_modules/moment/locale/ja.js","webpack:///./node_modules/moment/locale/jv.js","webpack:///./node_modules/moment/locale/ka.js","webpack:///./node_modules/moment/locale/kk.js","webpack:///./node_modules/moment/locale/km.js","webpack:///./node_modules/moment/locale/kn.js","webpack:///./node_modules/moment/locale/ko.js","webpack:///./node_modules/moment/locale/ku.js","webpack:///./node_modules/moment/locale/ku-kmr.js","webpack:///./node_modules/moment/locale/ky.js","webpack:///./node_modules/moment/locale/lb.js","webpack:///./node_modules/moment/locale/lo.js","webpack:///./node_modules/moment/locale/lt.js","webpack:///./node_modules/moment/locale/lv.js","webpack:///./node_modules/moment/locale/me.js","webpack:///./node_modules/moment/locale/mi.js","webpack:///./node_modules/moment/locale/mk.js","webpack:///./node_modules/moment/locale/ml.js","webpack:///./node_modules/moment/locale/mn.js","webpack:///./node_modules/moment/locale/mr.js","webpack:///./node_modules/moment/locale/ms.js","webpack:///./node_modules/moment/locale/ms-my.js","webpack:///./node_modules/moment/locale/mt.js","webpack:///./node_modules/moment/locale/my.js","webpack:///./node_modules/moment/locale/nb.js","webpack:///./node_modules/moment/locale/ne.js","webpack:///./node_modules/moment/locale/nl.js","webpack:///./node_modules/moment/locale/nl-be.js","webpack:///./node_modules/moment/locale/nn.js","webpack:///./node_modules/moment/locale/oc-lnc.js","webpack:///./node_modules/moment/locale/pa-in.js","webpack:///./node_modules/moment/locale/pl.js","webpack:///./node_modules/moment/locale/pt.js","webpack:///./node_modules/moment/locale/pt-br.js","webpack:///./node_modules/moment/locale/ro.js","webpack:///./node_modules/moment/locale/ru.js","webpack:///./node_modules/moment/locale/sd.js","webpack:///./node_modules/moment/locale/se.js","webpack:///./node_modules/moment/locale/si.js","webpack:///./node_modules/moment/locale/sk.js","webpack:///./node_modules/moment/locale/sl.js","webpack:///./node_modules/moment/locale/sq.js","webpack:///./node_modules/moment/locale/sr.js","webpack:///./node_modules/moment/locale/sr-cyrl.js","webpack:///./node_modules/moment/locale/ss.js","webpack:///./node_modules/moment/locale/sv.js","webpack:///./node_modules/moment/locale/sw.js","webpack:///./node_modules/moment/locale/ta.js","webpack:///./node_modules/moment/locale/te.js","webpack:///./node_modules/moment/locale/tet.js","webpack:///./node_modules/moment/locale/tg.js","webpack:///./node_modules/moment/locale/th.js","webpack:///./node_modules/moment/locale/tk.js","webpack:///./node_modules/moment/locale/tl-ph.js","webpack:///./node_modules/moment/locale/tlh.js","webpack:///./node_modules/moment/locale/tr.js","webpack:///./node_modules/moment/locale/tzl.js","webpack:///./node_modules/moment/locale/tzm.js","webpack:///./node_modules/moment/locale/tzm-latn.js","webpack:///./node_modules/moment/locale/ug-cn.js","webpack:///./node_modules/moment/locale/uk.js","webpack:///./node_modules/moment/locale/ur.js","webpack:///./node_modules/moment/locale/uz.js","webpack:///./node_modules/moment/locale/uz-latn.js","webpack:///./node_modules/moment/locale/vi.js","webpack:///./node_modules/moment/locale/x-pseudo.js","webpack:///./node_modules/moment/locale/yo.js","webpack:///./node_modules/moment/locale/zh-cn.js","webpack:///./node_modules/moment/locale/zh-hk.js","webpack:///./node_modules/moment/locale/zh-mo.js","webpack:///./node_modules/moment/locale/zh-tw.js","webpack:///./node_modules/@sentry/utils/esm/env.js","webpack:///./node_modules/@sentry/utils/esm/browser.js","webpack:///./node_modules/@sentry/hub/esm/session.js","webpack:///./node_modules/@segment/isodate/lib/index.js","webpack:///./node_modules/@segment/facade/dist/identify.js","webpack:///./node_modules/@segment/facade/dist/page.js","webpack:///./app/javascript/widget/helpers/uuid.js","webpack:///./node_modules/@sentry/utils/esm/tracing.js","webpack:///./app/javascript/shared/components/FluentIcon/DashboardIcon.vue?2a0a","webpack:///./app/javascript/shared/components/FluentIcon/DashboardIcon.vue?30cd","webpack:///app/javascript/shared/components/FluentIcon/DashboardIcon.vue","webpack:///./app/javascript/shared/components/FluentIcon/DashboardIcon.vue","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/merged-options.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/plugins/middleware/index.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/core/query-string/gracefulDecodeURIComponent.js","webpack:///./node_modules/@june-so/analytics-next/dist/pkg/lib/p-while.js","webpack:///./app/javascript/v3/helpers/CommonHelper.js","webpack:///./node_modules/axios/lib/helpers/AxiosURLSearchParams.js","webpack:///./node_modules/axios/lib/helpers/buildURL.js","webpack:///./node_modules/axios/lib/core/InterceptorManager.js","webpack:///./node_modules/axios/lib/defaults/transitional.js","webpack:///./node_modules/axios/lib/platform/browser/index.js","webpack:///./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","webpack:///./node_modules/axios/lib/platform/browser/classes/FormData.js","webpack:///./node_modules/axios/lib/platform/browser/classes/Blob.js","webpack:///./node_modules/axios/lib/platform/common/utils.js","webpack:///./node_modules/axios/lib/platform/index.js","webpack:///./node_modules/axios/lib/helpers/formDataToJSON.js","webpack:///./node_modules/axios/lib/defaults/index.js","webpack:///./node_modules/axios/lib/helpers/toURLEncodedForm.js","webpack:///./node_modules/axios/lib/helpers/parseHeaders.js","webpack:///./node_modules/axios/lib/core/AxiosHeaders.js","webpack:///./node_modules/axios/lib/core/transformData.js","webpack:///./node_modules/axios/lib/cancel/isCancel.js","webpack:///./node_modules/axios/lib/cancel/CanceledError.js","webpack:///./node_modules/axios/lib/core/settle.js","webpack:///./node_modules/axios/lib/helpers/speedometer.js","webpack:///./node_modules/axios/lib/helpers/throttle.js","webpack:///./node_modules/axios/lib/helpers/progressEventReducer.js","webpack:///./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack:///./node_modules/axios/lib/helpers/cookies.js","webpack:///./node_modules/axios/lib/core/buildFullPath.js","webpack:///./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack:///./node_modules/axios/lib/helpers/combineURLs.js","webpack:///./node_modules/axios/lib/core/mergeConfig.js","webpack:///./node_modules/axios/lib/helpers/resolveConfig.js","webpack:///./node_modules/axios/lib/adapters/xhr.js","webpack:///./node_modules/axios/lib/helpers/parseProtocol.js","webpack:///./node_modules/axios/lib/helpers/composeSignals.js","webpack:///./node_modules/axios/lib/helpers/trackStream.js","webpack:///./node_modules/axios/lib/adapters/fetch.js","webpack:///./node_modules/axios/lib/adapters/adapters.js","webpack:///./node_modules/axios/lib/core/dispatchRequest.js","webpack:///./node_modules/axios/lib/env/data.js","webpack:///./node_modules/axios/lib/helpers/validator.js","webpack:///./node_modules/axios/lib/core/Axios.js","webpack:///./node_modules/axios/lib/cancel/CancelToken.js","webpack:///./node_modules/axios/lib/helpers/HttpStatusCode.js","webpack:///./node_modules/axios/lib/axios.js","webpack:///./node_modules/axios/lib/helpers/spread.js","webpack:///./node_modules/axios/lib/helpers/isAxiosError.js","webpack:///./node_modules/date-fns/esm/isValid/index.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/stats/index.js","webpack:///./node_modules/spark-md5/spark-md5.js","webpack:///./node_modules/@segment/analytics-core/dist/esm/callback/index.js","webpack:///./app/javascript/shared/helpers/BaseActionCableConnector.js","webpack:///./node_modules/@rails/actioncable/app/assets/javascripts/action_cable.js","webpack:///./app/javascript/v3/helpers/RouteHelper.js","webpack:///./node_modules/@sentry/tracing/esm/errors.js","webpack:///./app/javascript/dashboard/helper/AnalyticsHelper/plugin.js","webpack:///./node_modules/@sentry/utils/esm/memo.js","webpack:///./app/javascript/dashboard/i18n/locale/ar/index.js","webpack:///./app/javascript/dashboard/i18n/locale/ca/index.js","webpack:///./app/javascript/dashboard/i18n/locale/cs/index.js","webpack:///./app/javascript/dashboard/i18n/locale/da/index.js","webpack:///./app/javascript/dashboard/i18n/locale/de/index.js","webpack:///./app/javascript/dashboard/i18n/locale/el/index.js","webpack:///./app/javascript/dashboard/i18n/locale/en/index.js","webpack:///./app/javascript/dashboard/i18n/locale/es/index.js","webpack:///./app/javascript/dashboard/i18n/locale/fa/index.js","webpack:///./app/javascript/dashboard/i18n/locale/fi/index.js","webpack:///./app/javascript/dashboard/i18n/locale/fr/index.js","webpack:///./app/javascript/dashboard/i18n/locale/he/index.js","webpack:///./app/javascript/dashboard/i18n/locale/hi/index.js","webpack:///./app/javascript/dashboard/i18n/locale/hu/index.js","webpack:///./app/javascript/dashboard/i18n/locale/id/index.js","webpack:///./app/javascript/dashboard/i18n/locale/it/index.js","webpack:///./app/javascript/dashboard/i18n/locale/ja/index.js","webpack:///./app/javascript/dashboard/i18n/locale/ko/index.js","webpack:///./app/javascript/dashboard/i18n/locale/lv/index.js","webpack:///./app/javascript/dashboard/i18n/locale/ml/index.js","webpack:///./app/javascript/dashboard/i18n/locale/nl/index.js","webpack:///./app/javascript/dashboard/i18n/locale/no/index.js","webpack:///./app/javascript/dashboard/i18n/locale/pl/index.js","webpack:///./app/javascript/dashboard/i18n/locale/pt/index.js","webpack:///./app/javascript/dashboard/i18n/locale/pt_BR/index.js","webpack:///./app/javascript/dashboard/i18n/locale/ro/index.js","webpack:///./app/javascript/dashboard/i18n/locale/ru/index.js","webpack:///./app/javascript/dashboard/i18n/locale/sk/index.js","webpack:///./app/javascript/dashboard/i18n/locale/sr/index.js","webpack:///./app/javascript/dashboard/i18n/locale/sv/index.js","webpack:///./app/javascript/dashboard/i18n/locale/ta/index.js","webpack:///./app/javascript/dashboard/i18n/locale/th/index.js","webpack:///./app/javascript/dashboard/i18n/locale/tr/index.js","webpack:///./app/javascript/dashboard/i18n/locale/uk/index.js","webpack:///./app/javascript/dashboard/i18n/locale/vi/index.js","webpack:///./app/javascript/dashboard/i18n/locale/zh_CN/index.js","webpack:///./app/javascript/dashboard/i18n/locale/zh_TW/index.js","webpack:///./app/javascript/dashboard/i18n/locale/is/index.js","webpack:///./app/javascript/dashboard/i18n/locale/lt/index.js","webpack:///./app/javascript/dashboard/i18n/index.js","webpack:///./node_modules/@sentry/tracing/esm/integrations/node/express.js","webpack:///./node_modules/@sentry/tracing/esm/integrations/node/postgres.js","webpack:///./node_modules/@sentry/tracing/esm/integrations/node/mysql.js","webpack:///./node_modules/@sentry/tracing/esm/integrations/node/mongo.js","webpack:///./node_modules/@sentry/tracing/esm/browser/backgroundtab.js","webpack:///./node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.js","webpack:///./node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.js","webpack:///./node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.js","webpack:///./node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.js","webpack:///./node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.js","webpack:///./node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js","webpack:///./node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.js","webpack:///./node_modules/@sentry/tracing/esm/browser/metrics.js","webpack:///./node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.js","webpack:///./node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.js","webpack:///./node_modules/@sentry/tracing/esm/browser/request.js","webpack:///./node_modules/@sentry/tracing/esm/browser/router.js","webpack:///./node_modules/@sentry/tracing/esm/browser/browsertracing.js","webpack:///./node_modules/@sentry/tracing/esm/index.js","webpack:///./node_modules/@braid/vue-formulate/node_modules/is-plain-object/index.es.js","webpack:///./node_modules/@braid/vue-formulate-i18n/dist/locales.esm.js","webpack:///./node_modules/@braid/vue-formulate/dist/formulate.esm.js","webpack:///./node_modules/@sentry/utils/esm/instrument.js","webpack:///./app/javascript/dashboard/composables/useI18n.js","webpack:///./node_modules/date-fns/esm/subDays/index.js","webpack:///./app/javascript/dashboard/composables/store.js","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/mixins/portalMixin.js","webpack:///./node_modules/linkify-it/index.js","webpack:///./node_modules/uc.micro/index.js","webpack:///./node_modules/node-libs-browser/node_modules/punycode/punycode.js","webpack:///./app/javascript/shared/mixins/rtlMixin.js","webpack:///./app/javascript/shared/helpers/emoji.js","webpack:///./node_modules/date-fns/esm/addMonths/index.js","webpack:///./node_modules/date-fns/esm/endOfDay/index.js","webpack:///./node_modules/lodash/_ListCache.js","webpack:///./node_modules/lodash/_assocIndexOf.js","webpack:///./node_modules/lodash/_nativeCreate.js","webpack:///./node_modules/lodash/_getMapData.js","webpack:///./node_modules/lodash/isArray.js","webpack:///./node_modules/lodash/isArrayLike.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCDay/index.js","webpack:///./node_modules/date-fns/esm/parse/_lib/parsers/index.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCISODay/index.js","webpack:///./node_modules/date-fns/esm/parse/index.js","webpack:///./node_modules/chart.js/dist/Chart.js","webpack:///./app/javascript/shared/helpers/ReportsDataHelper.js","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/SecondaryNavItem.vue?de2a","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/SecondaryChildNavItem.vue?c43f","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/SecondaryChildNavItem.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/SecondaryChildNavItem.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/SecondaryChildNavItem.vue?057d","webpack:///./app/javascript/dashboard/components/policy.vue?ca8c","webpack:///policy.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/SecondaryNavItem.vue?36a0","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/SecondaryNavItem.vue","webpack:///./app/javascript/dashboard/components/policy.vue","webpack:///./app/javascript/dashboard/components/policy.vue?ebc2","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/SecondaryNavItem.vue","webpack:///./app/javascript/dashboard/components/widgets/mentions/MentionBox.vue?b0f9","webpack:///app/javascript/dashboard/components/widgets/mentions/MentionBox.vue","webpack:///./app/javascript/dashboard/components/widgets/mentions/MentionBox.vue?11a8","webpack:///./app/javascript/dashboard/components/widgets/mentions/MentionBox.vue","webpack:///./node_modules/markdown-it/index.js","webpack:///./app/javascript/dashboard/helper/inbox.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/ruler.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/token.js","webpack:///./node_modules/linkify-it/lib/re.js","webpack:///./node_modules/markdown-it/lib/index.js","webpack:///./node_modules/mdurl/encode.js","webpack:///./node_modules/mdurl/decode.js","webpack:///./node_modules/mdurl/format.js","webpack:///./node_modules/mdurl/parse.js","webpack:///./node_modules/uc.micro/categories/Cf/regex.js","webpack:///./node_modules/markdown-it/lib/helpers/index.js","webpack:///./node_modules/markdown-it/lib/helpers/parse_link_label.js","webpack:///./node_modules/markdown-it/lib/helpers/parse_link_destination.js","webpack:///./node_modules/markdown-it/lib/helpers/parse_link_title.js","webpack:///./node_modules/markdown-it/lib/renderer.js","webpack:///./node_modules/markdown-it/lib/parser_core.js","webpack:///./node_modules/markdown-it/lib/rules_core/normalize.js","webpack:///./node_modules/markdown-it/lib/rules_core/block.js","webpack:///./node_modules/markdown-it/lib/rules_core/inline.js","webpack:///./node_modules/markdown-it/lib/rules_core/linkify.js","webpack:///./node_modules/markdown-it/lib/rules_core/replacements.js","webpack:///./node_modules/markdown-it/lib/rules_core/smartquotes.js","webpack:///./node_modules/markdown-it/lib/rules_core/text_join.js","webpack:///./node_modules/markdown-it/lib/rules_core/state_core.js","webpack:///./node_modules/markdown-it/lib/parser_block.js","webpack:///./node_modules/markdown-it/lib/rules_block/table.js","webpack:///./node_modules/markdown-it/lib/rules_block/code.js","webpack:///./node_modules/markdown-it/lib/rules_block/fence.js","webpack:///./node_modules/markdown-it/lib/rules_block/blockquote.js","webpack:///./node_modules/markdown-it/lib/rules_block/hr.js","webpack:///./node_modules/markdown-it/lib/rules_block/list.js","webpack:///./node_modules/markdown-it/lib/rules_block/reference.js","webpack:///./node_modules/markdown-it/lib/rules_block/html_block.js","webpack:///./node_modules/markdown-it/lib/common/html_blocks.js","webpack:///./node_modules/markdown-it/lib/rules_block/heading.js","webpack:///./node_modules/markdown-it/lib/rules_block/lheading.js","webpack:///./node_modules/markdown-it/lib/rules_block/paragraph.js","webpack:///./node_modules/markdown-it/lib/rules_block/state_block.js","webpack:///./node_modules/markdown-it/lib/parser_inline.js","webpack:///./node_modules/markdown-it/lib/rules_inline/text.js","webpack:///./node_modules/markdown-it/lib/rules_inline/linkify.js","webpack:///./node_modules/markdown-it/lib/rules_inline/newline.js","webpack:///./node_modules/markdown-it/lib/rules_inline/escape.js","webpack:///./node_modules/markdown-it/lib/rules_inline/backticks.js","webpack:///./node_modules/markdown-it/lib/rules_inline/link.js","webpack:///./node_modules/markdown-it/lib/rules_inline/image.js","webpack:///./node_modules/markdown-it/lib/rules_inline/autolink.js","webpack:///./node_modules/markdown-it/lib/rules_inline/html_inline.js","webpack:///./node_modules/markdown-it/lib/rules_inline/entity.js","webpack:///./node_modules/markdown-it/lib/rules_inline/balance_pairs.js","webpack:///./node_modules/markdown-it/lib/rules_inline/fragments_join.js","webpack:///./node_modules/markdown-it/lib/rules_inline/state_inline.js","webpack:///./node_modules/markdown-it/lib/presets/default.js","webpack:///./node_modules/markdown-it/lib/presets/zero.js","webpack:///./node_modules/markdown-it/lib/presets/commonmark.js","webpack:///./node_modules/lodash/_Map.js","webpack:///./node_modules/lodash/isFunction.js","webpack:///./node_modules/lodash/_Symbol.js","webpack:///./node_modules/lodash/isBuffer.js","webpack:///./node_modules/lodash/isTypedArray.js","webpack:///./node_modules/lodash/_isPrototype.js","webpack:///./node_modules/lodash/_baseAssignValue.js","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./app/javascript/dashboard/constants/editor.js","webpack:///./node_modules/@segment/facade/dist/address.js","webpack:///./node_modules/@segment/facade/dist/clone.js","webpack:///./node_modules/@segment/facade/dist/is-enabled.js","webpack:///./node_modules/new-date/lib/milliseconds.js","webpack:///./node_modules/new-date/lib/seconds.js","webpack:///./node_modules/@segment/isodate-traverse/lib/index.js","webpack:///./node_modules/@segment/facade/dist/alias.js","webpack:///./node_modules/@segment/facade/dist/group.js","webpack:///./node_modules/@segment/facade/dist/screen.js","webpack:///./node_modules/@segment/facade/dist/delete.js","webpack:///./node_modules/date-fns/esm/getUnixTime/index.js","webpack:///./node_modules/date-fns/esm/getTime/index.js","webpack:///./app/javascript/dashboard/api/inboxMembers.js","webpack:///./app/javascript/dashboard/helper/themeHelper.js","webpack:///./app/javascript/dashboard/api/notificationSubscription.js","webpack:///./app/javascript/dashboard/helper/pushHelper.js","webpack:///./node_modules/popper.js/dist/esm/popper.js","webpack:///./node_modules/@vueuse/core/index.mjs","webpack:///./node_modules/@sentry/vue/node_modules/tslib/tslib.es6.js","webpack:///./node_modules/@sentry/core/esm/version.js","webpack:///./node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js","webpack:///./node_modules/@sentry/core/esm/integrations/functiontostring.js","webpack:///./node_modules/@sentry/core/node_modules/tslib/tslib.es6.js","webpack:///./node_modules/@sentry/core/esm/flags.js","webpack:///./node_modules/@sentry/core/esm/integrations/inboundfilters.js","webpack:///./node_modules/@sentry/utils/esm/polyfill.js","webpack:///./node_modules/@sentry/utils/esm/error.js","webpack:///./node_modules/@sentry/utils/esm/dsn.js","webpack:///./node_modules/@sentry/core/esm/integration.js","webpack:///./node_modules/@sentry/core/esm/baseclient.js","webpack:///./node_modules/@sentry/core/esm/api.js","webpack:///./node_modules/@sentry/utils/esm/envelope.js","webpack:///./node_modules/@sentry/core/esm/request.js","webpack:///./node_modules/@sentry/core/esm/transports/noop.js","webpack:///./node_modules/@sentry/types/esm/severity.js","webpack:///./node_modules/@sentry/core/esm/basebackend.js","webpack:///./node_modules/@sentry/browser/esm/stack-parsers.js","webpack:///./node_modules/@sentry/browser/esm/eventbuilder.js","webpack:///./node_modules/@sentry/utils/esm/promisebuffer.js","webpack:///./node_modules/@sentry/utils/esm/ratelimit.js","webpack:///./node_modules/@sentry/utils/esm/status.js","webpack:///./node_modules/@sentry/core/esm/transports/base.js","webpack:///./node_modules/@sentry/browser/esm/flags.js","webpack:///./node_modules/@sentry/browser/esm/transports/utils.js","webpack:///./node_modules/@sentry/utils/esm/async.js","webpack:///./node_modules/@sentry/browser/esm/transports/base.js","webpack:///./node_modules/@sentry/utils/esm/clientreport.js","webpack:///./node_modules/@sentry/browser/esm/transports/fetch.js","webpack:///./node_modules/@sentry/browser/esm/transports/xhr.js","webpack:///./node_modules/@sentry/browser/esm/backend.js","webpack:///./node_modules/@sentry/browser/esm/transports/new-fetch.js","webpack:///./node_modules/@sentry/browser/esm/transports/new-xhr.js","webpack:///./node_modules/@sentry/browser/esm/helpers.js","webpack:///./node_modules/@sentry/utils/esm/enums.js","webpack:///./node_modules/@sentry/utils/esm/severity.js","webpack:///./node_modules/@sentry/browser/esm/integrations/breadcrumbs.js","webpack:///./node_modules/@sentry/browser/esm/client.js","webpack:///./node_modules/@sentry/browser/esm/integrations/trycatch.js","webpack:///./node_modules/@sentry/browser/esm/integrations/globalhandlers.js","webpack:///./node_modules/@sentry/browser/esm/integrations/linkederrors.js","webpack:///./node_modules/@sentry/browser/esm/integrations/dedupe.js","webpack:///./node_modules/@sentry/browser/esm/integrations/useragent.js","webpack:///./node_modules/@sentry/browser/esm/sdk.js","webpack:///./node_modules/@sentry/core/esm/sdk.js","webpack:///./node_modules/@sentry/vue/esm/constants.js","webpack:///./node_modules/@sentry/vue/esm/components.js","webpack:///./node_modules/@sentry/vue/esm/errorhandler.js","webpack:///./node_modules/@sentry/vue/esm/flags.js","webpack:///./node_modules/@sentry/vue/esm/tracing.js","webpack:///./node_modules/@sentry/vue/esm/sdk.js","webpack:///./app/javascript/dashboard/mixins/time.js","webpack:///./app/javascript/dashboard/components/widgets/WootWriter/Editor.vue?42b7","webpack:///./node_modules/@chatwoot/prosemirror-schema/src/mentions/plugin.js","webpack:///./app/javascript/dashboard/components/widgets/conversation/TagAgents.vue?1405","webpack:///app/javascript/dashboard/components/widgets/conversation/TagAgents.vue","webpack:///./app/javascript/dashboard/components/widgets/conversation/TagAgents.vue","webpack:///./app/javascript/dashboard/components/widgets/conversation/TagAgents.vue?a81e","webpack:///app/javascript/dashboard/components/widgets/conversation/VariableList.vue","webpack:///./app/javascript/dashboard/components/widgets/conversation/VariableList.vue?76f4","webpack:///./app/javascript/dashboard/components/widgets/conversation/VariableList.vue","webpack:///./app/javascript/dashboard/components/widgets/conversation/VariableList.vue?c89a","webpack:///app/javascript/dashboard/components/widgets/WootWriter/Editor.vue","webpack:///./app/javascript/dashboard/components/widgets/WootWriter/Editor.vue?e8e5","webpack:///./app/javascript/dashboard/components/widgets/WootWriter/Editor.vue","webpack:///./app/javascript/shared/constants/countries.js","webpack:///./app/javascript/shared/helpers/clipboard.js","webpack:///./app/javascript/shared/helpers/FileHelper.js","webpack:///./app/javascript/dashboard/components/widgets/EmptyState.vue?9aa9","webpack:///./app/javascript/dashboard/components/widgets/EmptyState.vue?3130","webpack:///app/javascript/dashboard/components/widgets/EmptyState.vue","webpack:///./app/javascript/dashboard/components/widgets/EmptyState.vue","webpack:///./app/javascript/dashboard/components/widgets/WootWriter/constants.js","webpack:///./app/javascript/dashboard/components/buttons/FormSubmitButton.vue?00f9","webpack:///./app/javascript/dashboard/components/buttons/FormSubmitButton.vue?0741","webpack:///app/javascript/dashboard/components/buttons/FormSubmitButton.vue","webpack:///./app/javascript/dashboard/components/buttons/FormSubmitButton.vue","webpack:///./app/javascript/dashboard/components/widgets/conversation/advancedFilterItems/languages.js","webpack:///./app/javascript/shared/components/EmojiOrIcon.vue?d071","webpack:///./app/javascript/shared/components/EmojiOrIcon.vue?45c7","webpack:///app/javascript/shared/components/EmojiOrIcon.vue","webpack:///./app/javascript/shared/components/EmojiOrIcon.vue","webpack:///./app/javascript/shared/components/ResizableTextArea.vue?8dd8","webpack:///app/javascript/shared/components/ResizableTextArea.vue","webpack:///./app/javascript/shared/components/ResizableTextArea.vue?51c9","webpack:///./app/javascript/shared/components/ResizableTextArea.vue","webpack:///./app/javascript/dashboard/composables/route.js","webpack:///./app/javascript/dashboard/components/base/Hotkey.vue?fc7b","webpack:///./app/javascript/dashboard/components/base/Hotkey.vue?5a2d","webpack:///app/javascript/dashboard/components/base/Hotkey.vue","webpack:///./app/javascript/dashboard/components/base/Hotkey.vue","webpack:///./app/javascript/dashboard/components/widgets/conversation/CannedResponse.vue?bb63","webpack:///app/javascript/dashboard/components/widgets/conversation/CannedResponse.vue","webpack:///./app/javascript/dashboard/components/widgets/conversation/CannedResponse.vue?8943","webpack:///./app/javascript/dashboard/components/widgets/conversation/CannedResponse.vue","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/common/entities.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/common/html_re.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/strikethrough.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/emphasis.js","webpack:///./app/javascript/dashboard/helper/filterQueryGenerator.js","webpack:///./app/javascript/dashboard/components/ui/WootButton.vue?dd26","webpack:///./app/javascript/dashboard/components/ui/WootButton.vue?0324","webpack:///app/javascript/dashboard/components/ui/WootButton.vue","webpack:///./app/javascript/dashboard/components/ui/WootButton.vue","webpack:///./app/javascript/dashboard/components/widgets/Avatar.vue?ec71","webpack:///./app/javascript/dashboard/components/widgets/Avatar.vue?8081","webpack:///app/javascript/dashboard/components/widgets/Avatar.vue","webpack:///./app/javascript/dashboard/components/widgets/Avatar.vue","webpack:///./app/javascript/shared/constants/locales.js","webpack:///./node_modules/date-fns/esm/differenceInMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/endOfMonth/index.js","webpack:///./node_modules/date-fns/esm/differenceInCalendarMonths/index.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/index.js","webpack:///./node_modules/date-fns/esm/differenceInSeconds/index.js","webpack:///./app/javascript/dashboard/components/widgets/forms/PhoneInput.vue?475d","webpack:///./app/javascript/dashboard/components/widgets/forms/PhoneInput.vue?6bf1","webpack:///app/javascript/dashboard/components/widgets/forms/PhoneInput.vue","webpack:///./app/javascript/dashboard/components/widgets/forms/PhoneInput.vue","webpack:///app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/NameEmojiInput.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/NameEmojiInput.vue?0fca","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/NameEmojiInput.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/NameEmojiInput.vue?1670","webpack:///./node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack:///./node_modules/lodash/_Stack.js","webpack:///./node_modules/lodash/_freeGlobal.js","webpack:///./node_modules/lodash/_toSource.js","webpack:///./node_modules/lodash/_MapCache.js","webpack:///./node_modules/lodash/_equalArrays.js","webpack:///./node_modules/lodash/_Uint8Array.js","webpack:///./node_modules/lodash/_arrayLikeKeys.js","webpack:///./node_modules/lodash/isArguments.js","webpack:///./node_modules/lodash/_isIndex.js","webpack:///./node_modules/lodash/isLength.js","webpack:///./node_modules/lodash/_overArg.js","webpack:///./node_modules/lodash/_assignMergeValue.js","webpack:///./node_modules/lodash/_defineProperty.js","webpack:///./node_modules/lodash/_getPrototype.js","webpack:///./node_modules/lodash/_safeGet.js","webpack:///./node_modules/lodash/keysIn.js","webpack:///./node_modules/lodash/identity.js","webpack:///./app/javascript/dashboard/api/channel/microsoftClient.js","webpack:///./app/javascript/dashboard/components/layout/Sidebar.vue?6798","webpack:///./app/javascript/dashboard/components/layout/config/sidebarItems/conversations.js","webpack:///./app/javascript/dashboard/components/layout/config/sidebarItems/contacts.js","webpack:///./app/javascript/dashboard/components/layout/config/sidebarItems/reports.js","webpack:///./app/javascript/dashboard/components/layout/config/sidebarItems/campaigns.js","webpack:///./app/javascript/dashboard/components/layout/config/sidebarItems/settings.js","webpack:///./app/javascript/dashboard/components/layout/config/sidebarItems/notifications.js","webpack:///./app/javascript/dashboard/components/layout/config/sidebarItems/primaryMenu.js","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/Logo.vue?783a","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/Logo.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/Logo.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/Logo.vue?3380","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/PrimaryNavItem.vue?c0eb","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/PrimaryNavItem.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/PrimaryNavItem.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/PrimaryNavItem.vue?9f10","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownHeader.vue?bf59","webpack:///app/javascript/shared/components/ui/dropdown/DropdownHeader.vue","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownHeader.vue","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownHeader.vue?ff21","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownDivider.vue?7dd6","webpack:///app/javascript/shared/components/ui/dropdown/DropdownDivider.vue","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownDivider.vue","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownDivider.vue?ebc3","webpack:///./app/javascript/dashboard/components/widgets/conversation/AvailabilityStatusBadge.vue?8399","webpack:///app/javascript/dashboard/components/widgets/conversation/AvailabilityStatusBadge.vue","webpack:///./app/javascript/dashboard/components/widgets/conversation/AvailabilityStatusBadge.vue","webpack:///./app/javascript/dashboard/components/widgets/conversation/AvailabilityStatusBadge.vue?dbe5","webpack:///app/javascript/dashboard/components/layout/AvailabilityStatus.vue","webpack:///./app/javascript/dashboard/components/layout/AvailabilityStatus.vue?0d26","webpack:///./app/javascript/dashboard/components/layout/AvailabilityStatus.vue","webpack:///./app/javascript/dashboard/components/layout/AvailabilityStatus.vue?807e","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/OptionsMenu.vue?566d","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/OptionsMenu.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/OptionsMenu.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/OptionsMenu.vue?277f","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AgentDetails.vue?1ff8","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/AgentDetails.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AgentDetails.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AgentDetails.vue?757b","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/NotificationBell.vue?b40a","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/NotificationBell.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/NotificationBell.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/NotificationBell.vue?b145","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/Primary.vue?c19a","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/Primary.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/Primary.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/Primary.vue?d2ee","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AccountContext.vue?84f3","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/AccountContext.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AccountContext.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AccountContext.vue?2265","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/Secondary.vue?7c78","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/Secondary.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/Secondary.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/Secondary.vue?7d66","webpack:///./app/javascript/dashboard/components/layout/Sidebar.vue?1e3f","webpack:///app/javascript/dashboard/components/layout/Sidebar.vue","webpack:///./app/javascript/dashboard/components/layout/config/default-sidebar.js","webpack:///./app/javascript/dashboard/components/layout/Sidebar.vue","webpack:///./app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanel.vue?8469","webpack:///./app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanelItem.vue?546e","webpack:///app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanelItem.vue","webpack:///./app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanelList.vue?418a","webpack:///app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanelList.vue","webpack:///./app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanelItem.vue","webpack:///./app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanelItem.vue?743f","webpack:///./app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanelList.vue","webpack:///./app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanelList.vue?07bb","webpack:///./app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanel.vue?48d0","webpack:///app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanel.vue","webpack:///./app/javascript/dashboard/routes/dashboard/notifications/components/NotificationPanel.vue","webpack:///./app/javascript/dashboard/components/widgets/modal/constants.js","webpack:///./app/javascript/dashboard/components/widgets/modal/WootKeyShortcutModal.vue?537b","webpack:///app/javascript/dashboard/components/widgets/modal/WootKeyShortcutModal.vue","webpack:///./app/javascript/dashboard/components/widgets/modal/WootKeyShortcutModal.vue","webpack:///./app/javascript/dashboard/components/widgets/modal/WootKeyShortcutModal.vue?5bb8","webpack:///./app/javascript/dashboard/components/ui/Label.vue?d1ad","webpack:///./app/javascript/dashboard/components/ui/Label.vue?98f8","webpack:///app/javascript/dashboard/components/ui/Label.vue","webpack:///./app/javascript/dashboard/components/ui/Label.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AddAccountModal.vue?3b7b","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AddAccountModal.vue?3b0e","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/AddAccountModal.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AddAccountModal.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AccountSelector.vue?efda","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AccountSelector.vue?2e68","webpack:///app/javascript/dashboard/components/layout/sidebarComponents/AccountSelector.vue","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AccountSelector.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/AddCategory.vue?35c0","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/AddCategory.vue?2b0a","webpack:///app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/AddCategory.vue","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/AddCategory.vue","webpack:///./app/javascript/shared/components/GreetingsEditor.vue?4d3e","webpack:///./app/javascript/shared/components/GreetingsEditor.vue?076f","webpack:///app/javascript/shared/components/GreetingsEditor.vue","webpack:///./app/javascript/shared/components/GreetingsEditor.vue","webpack:///./app/javascript/dashboard/components/ChannelSelector.vue?7961","webpack:///./app/javascript/dashboard/components/ChannelSelector.vue?c74a","webpack:///app/javascript/dashboard/components/ChannelSelector.vue","webpack:///./app/javascript/dashboard/components/ChannelSelector.vue","webpack:///./node_modules/highlight.js/lib/index.js","webpack:///./node_modules/vue-multiselect/dist/vue-multiselect.min.js","webpack:///./node_modules/vuex-router-sync/index.js","webpack:///./node_modules/v-tooltip/dist/v-tooltip.esm.js","webpack:///./node_modules/@babel/runtime/helpers/classCallCheck.js","webpack:///./node_modules/@babel/runtime/helpers/createClass.js","webpack:///./node_modules/lodash/isEqual.js","webpack:///./node_modules/vue-resize/dist/vue-resize.esm.js","webpack:///./node_modules/lodash/merge.js","webpack:///./node_modules/vue-color/dist/vue-color.min.js","webpack:///./app/javascript/dashboard/helper/APIHelper.js","webpack:///./app/javascript/dashboard/helper/directives/resize.js","webpack:///./app/javascript/dashboard/components/widgets/forms/AvatarUploader.vue?ee5b","webpack:///./app/javascript/dashboard/components/widgets/forms/AvatarUploader.vue?8954","webpack:///app/javascript/dashboard/components/widgets/forms/AvatarUploader.vue","webpack:///./app/javascript/dashboard/components/widgets/forms/AvatarUploader.vue","webpack:///./node_modules/vue-chartjs/es/mixins/index.js","webpack:///./node_modules/vue-chartjs/es/BaseCharts.js","webpack:///./app/javascript/dashboard/components/widgets/chart/BarChart.js","webpack:///./app/javascript/dashboard/components/Code.vue?7b6a","webpack:///app/javascript/dashboard/components/Code.vue","webpack:///./app/javascript/dashboard/components/Code.vue","webpack:///./app/javascript/dashboard/components/Code.vue?638e","webpack:///./app/javascript/dashboard/components/widgets/ColorPicker.vue?7c6a","webpack:///app/javascript/dashboard/components/widgets/ColorPicker.vue","webpack:///./app/javascript/dashboard/components/widgets/ColorPicker.vue","webpack:///./app/javascript/dashboard/components/widgets/ColorPicker.vue?2ded","webpack:///./app/javascript/dashboard/components/widgets/modal/ConfirmDeleteModal.vue?cdb5","webpack:///app/javascript/dashboard/components/widgets/modal/ConfirmDeleteModal.vue","webpack:///./app/javascript/dashboard/components/widgets/modal/ConfirmDeleteModal.vue","webpack:///./app/javascript/dashboard/components/widgets/modal/ConfirmDeleteModal.vue?374a","webpack:///./app/javascript/dashboard/components/widgets/modal/ConfirmationModal.vue?24ab","webpack:///app/javascript/dashboard/components/widgets/modal/ConfirmationModal.vue","webpack:///./app/javascript/dashboard/components/widgets/modal/ConfirmationModal.vue","webpack:///./app/javascript/dashboard/components/widgets/modal/ConfirmationModal.vue?4437","webpack:///./app/javascript/dashboard/components/ui/ContextMenu.vue?6378","webpack:///app/javascript/dashboard/components/ui/ContextMenu.vue","webpack:///./app/javascript/dashboard/components/ui/ContextMenu.vue","webpack:///./app/javascript/dashboard/components/ui/ContextMenu.vue?ff89","webpack:///./app/javascript/dashboard/components/widgets/modal/DeleteModal.vue?66b8","webpack:///app/javascript/dashboard/components/widgets/modal/DeleteModal.vue","webpack:///./app/javascript/dashboard/components/widgets/modal/DeleteModal.vue","webpack:///./app/javascript/dashboard/components/widgets/modal/DeleteModal.vue?6e57","webpack:///./app/javascript/dashboard/components/widgets/FeatureToggle.vue?6db1","webpack:///app/javascript/dashboard/components/widgets/FeatureToggle.vue","webpack:///./app/javascript/dashboard/components/widgets/FeatureToggle.vue","webpack:///./app/javascript/dashboard/components/widgets/FeatureToggle.vue?c60b","webpack:///./app/javascript/dashboard/components/widgets/chart/HorizontalBarChart.js","webpack:///./app/javascript/dashboard/components/widgets/forms/Input.vue?633b","webpack:///app/javascript/dashboard/components/widgets/forms/Input.vue","webpack:///./app/javascript/dashboard/components/widgets/forms/Input.vue","webpack:///./app/javascript/dashboard/components/widgets/forms/Input.vue?1e84","webpack:///./app/javascript/dashboard/components/ModalHeader.vue?ae9d","webpack:///app/javascript/dashboard/components/ModalHeader.vue","webpack:///./app/javascript/dashboard/components/ModalHeader.vue","webpack:///./app/javascript/dashboard/components/ModalHeader.vue?de14","webpack:///./app/javascript/dashboard/components/SidemenuIcon.vue?9e90","webpack:///app/javascript/dashboard/components/SidemenuIcon.vue","webpack:///./app/javascript/dashboard/components/SidemenuIcon.vue","webpack:///./app/javascript/dashboard/components/SidemenuIcon.vue?f9b8","webpack:///./app/javascript/dashboard/components/ui/Tabs/Tabs.js","webpack:///./app/javascript/dashboard/components/ui/Tabs/TabsItem.vue?d2dc","webpack:///app/javascript/dashboard/components/ui/Tabs/TabsItem.vue","webpack:///./app/javascript/dashboard/components/ui/Tabs/TabsItem.vue","webpack:///./app/javascript/dashboard/components/ui/Tabs/TabsItem.vue?6bad","webpack:///./node_modules/date-fns/esm/subMonths/index.js","webpack:///./node_modules/date-fns/esm/addYears/index.js","webpack:///./node_modules/date-fns/esm/subYears/index.js","webpack:///./node_modules/date-fns/esm/isSameMonth/index.js","webpack:///./node_modules/date-fns/esm/isWithinInterval/index.js","webpack:///./app/javascript/dashboard/components/ui/DatePicker/helpers/DatePickerHelper.js","webpack:///./node_modules/date-fns/esm/eachDayOfInterval/index.js","webpack:///./node_modules/date-fns/esm/isAfter/index.js","webpack:///./node_modules/date-fns/esm/isBefore/index.js","webpack:///./node_modules/date-fns/esm/setMonth/index.js","webpack:///./node_modules/date-fns/esm/getDaysInMonth/index.js","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/DatePickerButton.vue?0b13","webpack:///DatePickerButton.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/DatePickerButton.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/DatePickerButton.vue?7e23","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarDateInput.vue?1f42","webpack:///CalendarDateInput.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarDateInput.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarDateInput.vue?40cb","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarDateRange.vue?bae2","webpack:///CalendarDateRange.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarDateRange.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarDateRange.vue?4826","webpack:///./node_modules/date-fns/esm/getYear/index.js","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarAction.vue?be67","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarAction.vue?4822","webpack:///CalendarAction.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarAction.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarYear.vue?9a28","webpack:///CalendarYear.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarYear.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarYear.vue?4627","webpack:///CalendarMonth.vue","webpack:///./node_modules/date-fns/esm/getMonth/index.js","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarMonth.vue?d94f","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarMonth.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarMonth.vue?ff2c","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarWeekLabel.vue?c4d8","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarWeekLabel.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarWeekLabel.vue?7b6a","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarWeek.vue?3c63","webpack:///CalendarWeek.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarWeek.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarWeek.vue?42e4","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarFooter.vue?33de","webpack:///CalendarFooter.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarFooter.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/components/CalendarFooter.vue?567f","webpack:///DatePicker.vue","webpack:///./node_modules/date-fns/esm/setYear/index.js","webpack:///./app/javascript/dashboard/components/ui/DatePicker/DatePicker.vue?b4a4","webpack:///./app/javascript/dashboard/components/ui/DatePicker/DatePicker.vue","webpack:///./app/javascript/dashboard/components/ui/DatePicker/DatePicker.vue?853d","webpack:///./app/javascript/dashboard/components/index.js","webpack:///./app/javascript/dashboard/App.vue?265a","webpack:///./app/javascript/dashboard/composables/emitter.js","webpack:///./app/javascript/dashboard/components/NetworkNotification.vue?cb4b","webpack:///NetworkNotification.vue","webpack:///./app/javascript/dashboard/components/NetworkNotification.vue","webpack:///./app/javascript/dashboard/components/NetworkNotification.vue?f995","webpack:///./app/javascript/dashboard/components/app/UpgradeBanner.vue?dc22","webpack:///app/javascript/dashboard/components/app/UpgradeBanner.vue","webpack:///./app/javascript/dashboard/components/app/UpgradeBanner.vue","webpack:///./app/javascript/dashboard/components/app/UpgradeBanner.vue?5183","webpack:///./app/javascript/dashboard/components/app/PaymentPendingBanner.vue?9000","webpack:///app/javascript/dashboard/components/app/PaymentPendingBanner.vue","webpack:///./app/javascript/dashboard/components/app/PaymentPendingBanner.vue","webpack:///./app/javascript/dashboard/components/app/PaymentPendingBanner.vue?488e","webpack:///./app/javascript/dashboard/components/app/PendingEmailVerificationBanner.vue?a314","webpack:///app/javascript/dashboard/components/app/PendingEmailVerificationBanner.vue","webpack:///./app/javascript/dashboard/components/app/PendingEmailVerificationBanner.vue","webpack:///./app/javascript/dashboard/components/app/PendingEmailVerificationBanner.vue?271e","webpack:///./app/javascript/dashboard/helper/actionCable.js","webpack:///./app/javascript/dashboard/components/Snackbar.vue?a877","webpack:///app/javascript/dashboard/components/Snackbar.vue","webpack:///./app/javascript/dashboard/components/SnackbarContainer.vue?ddb5","webpack:///app/javascript/dashboard/components/SnackbarContainer.vue","webpack:///./app/javascript/dashboard/components/Snackbar.vue","webpack:///./app/javascript/dashboard/components/Snackbar.vue?7de9","webpack:///./app/javascript/dashboard/components/SnackbarContainer.vue","webpack:///./app/javascript/dashboard/components/SnackbarContainer.vue?f6c6","webpack:///./app/javascript/dashboard/helper/ReconnectService.js","webpack:///./app/javascript/dashboard/App.vue?55b9","webpack:///app/javascript/dashboard/App.vue","webpack:///./app/javascript/dashboard/App.vue","webpack:///./app/javascript/dashboard/components/ui/Switch.vue?3af0","webpack:///./app/javascript/dashboard/components/ui/Switch.vue?0d5c","webpack:///app/javascript/dashboard/components/ui/Switch.vue","webpack:///./app/javascript/dashboard/components/ui/Switch.vue","webpack:///./app/javascript/dashboard/components/ui/Wizard.vue?3e93","webpack:///./app/javascript/dashboard/components/ui/Wizard.vue?ad90","webpack:///app/javascript/dashboard/components/ui/Wizard.vue","webpack:///./app/javascript/dashboard/components/ui/Wizard.vue","webpack:///./node_modules/vuelidate/lib/validators/email.js","webpack:///./node_modules/vuelidate/lib/validators/alpha.js","webpack:///./node_modules/vuelidate/lib/withParams.js","webpack:///./node_modules/vuelidate/lib/withParamsBrowser.js","webpack:///./node_modules/vuelidate/lib/validators/alphaNum.js","webpack:///./node_modules/vuelidate/lib/validators/numeric.js","webpack:///./node_modules/vuelidate/lib/validators/between.js","webpack:///./node_modules/vuelidate/lib/validators/ipAddress.js","webpack:///./node_modules/vuelidate/lib/validators/macAddress.js","webpack:///./node_modules/vuelidate/lib/validators/maxLength.js","webpack:///./node_modules/vuelidate/lib/validators/minLength.js","webpack:///./node_modules/vuelidate/lib/validators/required.js","webpack:///./node_modules/vuelidate/lib/validators/requiredIf.js","webpack:///./node_modules/vuelidate/lib/validators/requiredUnless.js","webpack:///./node_modules/vuelidate/lib/validators/sameAs.js","webpack:///./node_modules/vuelidate/lib/validators/url.js","webpack:///./node_modules/vuelidate/lib/validators/or.js","webpack:///./node_modules/vuelidate/lib/validators/and.js","webpack:///./node_modules/vuelidate/lib/validators/not.js","webpack:///./node_modules/vuelidate/lib/validators/minValue.js","webpack:///./node_modules/vuelidate/lib/validators/maxValue.js","webpack:///./node_modules/vuelidate/lib/validators/integer.js","webpack:///./node_modules/vuelidate/lib/validators/decimal.js","webpack:///./app/javascript/dashboard/components/widgets/forms/PhoneInput.vue?ae0f","webpack:///./app/javascript/dashboard/components/widgets/Avatar.vue?b97b","webpack:///./app/javascript/dashboard/components/widgets/Thumbnail.vue?06ef","webpack:///./node_modules/prosemirror-dropcursor/dist/index.js","webpack:///./node_modules/prosemirror-gapcursor/dist/index.js","webpack:///./node_modules/prosemirror-inputrules/dist/index.js","webpack:///./node_modules/prosemirror-utils/dist/index.js","webpack:///./node_modules/prosemirror-tables/dist/index.js","webpack:///./node_modules/prosemirror-schema-list/dist/index.js","webpack:///./node_modules/prosemirror-markdown/dist/index.es.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/index.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/helpers/index.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/helpers/parse_link_label.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/helpers/parse_link_destination.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/helpers/parse_link_title.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/renderer.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/parser_core.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_core/normalize.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_core/block.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_core/inline.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_core/linkify.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_core/replacements.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_core/smartquotes.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_core/state_core.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/parser_block.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/table.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/code.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/fence.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/blockquote.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/hr.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/list.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/reference.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/heading.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/lheading.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/html_block.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/common/html_blocks.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/paragraph.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_block/state_block.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/parser_inline.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/text.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/newline.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/escape.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/backticks.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/link.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/image.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/autolink.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/html_inline.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/entity.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/balance_pairs.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/text_collapse.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/rules_inline/state_inline.js","webpack:///./node_modules/prosemirror-markdown/node_modules/linkify-it/index.js","webpack:///./node_modules/prosemirror-markdown/node_modules/linkify-it/lib/re.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/presets/default.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/presets/zero.js","webpack:///./node_modules/prosemirror-markdown/node_modules/markdown-it/lib/presets/commonmark.js","webpack:///./node_modules/markdown-it-sup/index.js","webpack:///./node_modules/crelt/index.js","webpack:///./node_modules/prosemirror-menu/dist/index.js","webpack:///./app/javascript/packs/application.js","webpack:///./node_modules/highlight.js/lib/core.js","webpack:///./node_modules/highlight.js/lib/languages/1c.js","webpack:///./node_modules/highlight.js/lib/languages/abnf.js","webpack:///./node_modules/highlight.js/lib/languages/accesslog.js","webpack:///./node_modules/highlight.js/lib/languages/actionscript.js","webpack:///./node_modules/highlight.js/lib/languages/ada.js","webpack:///./node_modules/highlight.js/lib/languages/angelscript.js","webpack:///./node_modules/highlight.js/lib/languages/apache.js","webpack:///./node_modules/highlight.js/lib/languages/applescript.js","webpack:///./node_modules/highlight.js/lib/languages/arcade.js","webpack:///./node_modules/highlight.js/lib/languages/arduino.js","webpack:///./node_modules/highlight.js/lib/languages/armasm.js","webpack:///./node_modules/highlight.js/lib/languages/xml.js","webpack:///./node_modules/highlight.js/lib/languages/asciidoc.js","webpack:///./node_modules/highlight.js/lib/languages/aspectj.js","webpack:///./node_modules/highlight.js/lib/languages/autohotkey.js","webpack:///./node_modules/highlight.js/lib/languages/autoit.js","webpack:///./node_modules/highlight.js/lib/languages/avrasm.js","webpack:///./node_modules/highlight.js/lib/languages/awk.js","webpack:///./node_modules/highlight.js/lib/languages/axapta.js","webpack:///./node_modules/highlight.js/lib/languages/bash.js","webpack:///./node_modules/highlight.js/lib/languages/basic.js","webpack:///./node_modules/highlight.js/lib/languages/bnf.js","webpack:///./node_modules/highlight.js/lib/languages/brainfuck.js","webpack:///./node_modules/highlight.js/lib/languages/c-like.js","webpack:///./node_modules/highlight.js/lib/languages/c.js","webpack:///./node_modules/highlight.js/lib/languages/cal.js","webpack:///./node_modules/highlight.js/lib/languages/capnproto.js","webpack:///./node_modules/highlight.js/lib/languages/ceylon.js","webpack:///./node_modules/highlight.js/lib/languages/clean.js","webpack:///./node_modules/highlight.js/lib/languages/clojure.js","webpack:///./node_modules/highlight.js/lib/languages/clojure-repl.js","webpack:///./node_modules/highlight.js/lib/languages/cmake.js","webpack:///./node_modules/highlight.js/lib/languages/coffeescript.js","webpack:///./node_modules/highlight.js/lib/languages/coq.js","webpack:///./node_modules/highlight.js/lib/languages/cos.js","webpack:///./node_modules/highlight.js/lib/languages/cpp.js","webpack:///./node_modules/highlight.js/lib/languages/crmsh.js","webpack:///./node_modules/highlight.js/lib/languages/crystal.js","webpack:///./node_modules/highlight.js/lib/languages/csharp.js","webpack:///./node_modules/highlight.js/lib/languages/csp.js","webpack:///./node_modules/highlight.js/lib/languages/css.js","webpack:///./node_modules/highlight.js/lib/languages/d.js","webpack:///./node_modules/highlight.js/lib/languages/markdown.js","webpack:///./node_modules/highlight.js/lib/languages/dart.js","webpack:///./node_modules/highlight.js/lib/languages/delphi.js","webpack:///./node_modules/highlight.js/lib/languages/diff.js","webpack:///./node_modules/highlight.js/lib/languages/django.js","webpack:///./node_modules/highlight.js/lib/languages/dns.js","webpack:///./node_modules/highlight.js/lib/languages/dockerfile.js","webpack:///./node_modules/highlight.js/lib/languages/dos.js","webpack:///./node_modules/highlight.js/lib/languages/dsconfig.js","webpack:///./node_modules/highlight.js/lib/languages/dts.js","webpack:///./node_modules/highlight.js/lib/languages/dust.js","webpack:///./node_modules/highlight.js/lib/languages/ebnf.js","webpack:///./node_modules/highlight.js/lib/languages/elixir.js","webpack:///./node_modules/highlight.js/lib/languages/elm.js","webpack:///./node_modules/highlight.js/lib/languages/ruby.js","webpack:///./node_modules/highlight.js/lib/languages/erb.js","webpack:///./node_modules/highlight.js/lib/languages/erlang-repl.js","webpack:///./node_modules/highlight.js/lib/languages/erlang.js","webpack:///./node_modules/highlight.js/lib/languages/excel.js","webpack:///./node_modules/highlight.js/lib/languages/fix.js","webpack:///./node_modules/highlight.js/lib/languages/flix.js","webpack:///./node_modules/highlight.js/lib/languages/fortran.js","webpack:///./node_modules/highlight.js/lib/languages/fsharp.js","webpack:///./node_modules/highlight.js/lib/languages/gams.js","webpack:///./node_modules/highlight.js/lib/languages/gauss.js","webpack:///./node_modules/highlight.js/lib/languages/gcode.js","webpack:///./node_modules/highlight.js/lib/languages/gherkin.js","webpack:///./node_modules/highlight.js/lib/languages/glsl.js","webpack:///./node_modules/highlight.js/lib/languages/gml.js","webpack:///./node_modules/highlight.js/lib/languages/go.js","webpack:///./node_modules/highlight.js/lib/languages/golo.js","webpack:///./node_modules/highlight.js/lib/languages/gradle.js","webpack:///./node_modules/highlight.js/lib/languages/groovy.js","webpack:///./node_modules/highlight.js/lib/languages/haml.js","webpack:///./node_modules/highlight.js/lib/languages/handlebars.js","webpack:///./node_modules/highlight.js/lib/languages/haskell.js","webpack:///./node_modules/highlight.js/lib/languages/haxe.js","webpack:///./node_modules/highlight.js/lib/languages/hsp.js","webpack:///./node_modules/highlight.js/lib/languages/htmlbars.js","webpack:///./node_modules/highlight.js/lib/languages/http.js","webpack:///./node_modules/highlight.js/lib/languages/hy.js","webpack:///./node_modules/highlight.js/lib/languages/inform7.js","webpack:///./node_modules/highlight.js/lib/languages/ini.js","webpack:///./node_modules/highlight.js/lib/languages/irpf90.js","webpack:///./node_modules/highlight.js/lib/languages/isbl.js","webpack:///./node_modules/highlight.js/lib/languages/java.js","webpack:///./node_modules/highlight.js/lib/languages/javascript.js","webpack:///./node_modules/highlight.js/lib/languages/jboss-cli.js","webpack:///./node_modules/highlight.js/lib/languages/json.js","webpack:///./node_modules/highlight.js/lib/languages/julia.js","webpack:///./node_modules/highlight.js/lib/languages/julia-repl.js","webpack:///./node_modules/highlight.js/lib/languages/kotlin.js","webpack:///./node_modules/highlight.js/lib/languages/lasso.js","webpack:///./node_modules/highlight.js/lib/languages/latex.js","webpack:///./node_modules/highlight.js/lib/languages/ldif.js","webpack:///./node_modules/highlight.js/lib/languages/leaf.js","webpack:///./node_modules/highlight.js/lib/languages/less.js","webpack:///./node_modules/highlight.js/lib/languages/lisp.js","webpack:///./node_modules/highlight.js/lib/languages/livecodeserver.js","webpack:///./node_modules/highlight.js/lib/languages/livescript.js","webpack:///./node_modules/highlight.js/lib/languages/llvm.js","webpack:///./node_modules/highlight.js/lib/languages/lsl.js","webpack:///./node_modules/highlight.js/lib/languages/lua.js","webpack:///./node_modules/highlight.js/lib/languages/makefile.js","webpack:///./node_modules/highlight.js/lib/languages/mathematica.js","webpack:///./node_modules/highlight.js/lib/languages/matlab.js","webpack:///./node_modules/highlight.js/lib/languages/maxima.js","webpack:///./node_modules/highlight.js/lib/languages/mel.js","webpack:///./node_modules/highlight.js/lib/languages/mercury.js","webpack:///./node_modules/highlight.js/lib/languages/mipsasm.js","webpack:///./node_modules/highlight.js/lib/languages/mizar.js","webpack:///./node_modules/highlight.js/lib/languages/perl.js","webpack:///./node_modules/highlight.js/lib/languages/mojolicious.js","webpack:///./node_modules/highlight.js/lib/languages/monkey.js","webpack:///./node_modules/highlight.js/lib/languages/moonscript.js","webpack:///./node_modules/highlight.js/lib/languages/n1ql.js","webpack:///./node_modules/highlight.js/lib/languages/nginx.js","webpack:///./node_modules/highlight.js/lib/languages/nim.js","webpack:///./node_modules/highlight.js/lib/languages/nix.js","webpack:///./node_modules/highlight.js/lib/languages/node-repl.js","webpack:///./node_modules/highlight.js/lib/languages/nsis.js","webpack:///./node_modules/highlight.js/lib/languages/objectivec.js","webpack:///./node_modules/highlight.js/lib/languages/ocaml.js","webpack:///./node_modules/highlight.js/lib/languages/openscad.js","webpack:///./node_modules/highlight.js/lib/languages/oxygene.js","webpack:///./node_modules/highlight.js/lib/languages/parser3.js","webpack:///./node_modules/highlight.js/lib/languages/pf.js","webpack:///./node_modules/highlight.js/lib/languages/pgsql.js","webpack:///./node_modules/highlight.js/lib/languages/php.js","webpack:///./node_modules/highlight.js/lib/languages/php-template.js","webpack:///./node_modules/highlight.js/lib/languages/plaintext.js","webpack:///./node_modules/highlight.js/lib/languages/pony.js","webpack:///./node_modules/highlight.js/lib/languages/powershell.js","webpack:///./node_modules/highlight.js/lib/languages/processing.js","webpack:///./node_modules/highlight.js/lib/languages/profile.js","webpack:///./node_modules/highlight.js/lib/languages/prolog.js","webpack:///./node_modules/highlight.js/lib/languages/properties.js","webpack:///./node_modules/highlight.js/lib/languages/protobuf.js","webpack:///./node_modules/highlight.js/lib/languages/puppet.js","webpack:///./node_modules/highlight.js/lib/languages/purebasic.js","webpack:///./node_modules/highlight.js/lib/languages/python.js","webpack:///./node_modules/highlight.js/lib/languages/python-repl.js","webpack:///./node_modules/highlight.js/lib/languages/q.js","webpack:///./node_modules/highlight.js/lib/languages/qml.js","webpack:///./node_modules/highlight.js/lib/languages/r.js","webpack:///./node_modules/highlight.js/lib/languages/reasonml.js","webpack:///./node_modules/highlight.js/lib/languages/rib.js","webpack:///./node_modules/highlight.js/lib/languages/roboconf.js","webpack:///./node_modules/highlight.js/lib/languages/routeros.js","webpack:///./node_modules/highlight.js/lib/languages/rsl.js","webpack:///./node_modules/highlight.js/lib/languages/ruleslanguage.js","webpack:///./node_modules/highlight.js/lib/languages/rust.js","webpack:///./node_modules/highlight.js/lib/languages/sas.js","webpack:///./node_modules/highlight.js/lib/languages/scala.js","webpack:///./node_modules/highlight.js/lib/languages/scheme.js","webpack:///./node_modules/highlight.js/lib/languages/scilab.js","webpack:///./node_modules/highlight.js/lib/languages/scss.js","webpack:///./node_modules/highlight.js/lib/languages/shell.js","webpack:///./node_modules/highlight.js/lib/languages/smali.js","webpack:///./node_modules/highlight.js/lib/languages/smalltalk.js","webpack:///./node_modules/highlight.js/lib/languages/sml.js","webpack:///./node_modules/highlight.js/lib/languages/sqf.js","webpack:///./node_modules/highlight.js/lib/languages/sql.js","webpack:///./node_modules/highlight.js/lib/languages/stan.js","webpack:///./node_modules/highlight.js/lib/languages/stata.js","webpack:///./node_modules/highlight.js/lib/languages/step21.js","webpack:///./node_modules/highlight.js/lib/languages/stylus.js","webpack:///./node_modules/highlight.js/lib/languages/subunit.js","webpack:///./node_modules/highlight.js/lib/languages/swift.js","webpack:///./node_modules/highlight.js/lib/languages/taggerscript.js","webpack:///./node_modules/highlight.js/lib/languages/yaml.js","webpack:///./node_modules/highlight.js/lib/languages/tap.js","webpack:///./node_modules/highlight.js/lib/languages/tcl.js","webpack:///./node_modules/highlight.js/lib/languages/thrift.js","webpack:///./node_modules/highlight.js/lib/languages/tp.js","webpack:///./node_modules/highlight.js/lib/languages/twig.js","webpack:///./node_modules/highlight.js/lib/languages/typescript.js","webpack:///./node_modules/highlight.js/lib/languages/vala.js","webpack:///./node_modules/highlight.js/lib/languages/vbnet.js","webpack:///./node_modules/highlight.js/lib/languages/vbscript.js","webpack:///./node_modules/highlight.js/lib/languages/vbscript-html.js","webpack:///./node_modules/highlight.js/lib/languages/verilog.js","webpack:///./node_modules/highlight.js/lib/languages/vhdl.js","webpack:///./node_modules/highlight.js/lib/languages/vim.js","webpack:///./node_modules/highlight.js/lib/languages/x86asm.js","webpack:///./node_modules/highlight.js/lib/languages/xl.js","webpack:///./node_modules/highlight.js/lib/languages/xquery.js","webpack:///./node_modules/highlight.js/lib/languages/zephir.js","webpack:///./app/javascript/dashboard/components/ui/Switch.vue?d812","webpack:///./app/javascript/dashboard/components/ui/Wizard.vue?d0b6","webpack:///./node_modules/@babel/runtime/helpers/toPrimitive.js","webpack:///./node_modules/lodash/_baseIsEqual.js","webpack:///./node_modules/lodash/_baseIsEqualDeep.js","webpack:///./node_modules/lodash/_listCacheClear.js","webpack:///./node_modules/lodash/_listCacheDelete.js","webpack:///./node_modules/lodash/_listCacheGet.js","webpack:///./node_modules/lodash/_listCacheHas.js","webpack:///./node_modules/lodash/_listCacheSet.js","webpack:///./node_modules/lodash/_stackClear.js","webpack:///./node_modules/lodash/_stackDelete.js","webpack:///./node_modules/lodash/_stackGet.js","webpack:///./node_modules/lodash/_stackHas.js","webpack:///./node_modules/lodash/_stackSet.js","webpack:///./node_modules/lodash/_baseIsNative.js","webpack:///./node_modules/lodash/_getRawTag.js","webpack:///./node_modules/lodash/_objectToString.js","webpack:///./node_modules/lodash/_isMasked.js","webpack:///./node_modules/lodash/_coreJsData.js","webpack:///./node_modules/lodash/_getValue.js","webpack:///./node_modules/lodash/_mapCacheClear.js","webpack:///./node_modules/lodash/_Hash.js","webpack:///./node_modules/lodash/_hashClear.js","webpack:///./node_modules/lodash/_hashDelete.js","webpack:///./node_modules/lodash/_hashGet.js","webpack:///./node_modules/lodash/_hashHas.js","webpack:///./node_modules/lodash/_hashSet.js","webpack:///./node_modules/lodash/_mapCacheDelete.js","webpack:///./node_modules/lodash/_isKeyable.js","webpack:///./node_modules/lodash/_mapCacheGet.js","webpack:///./node_modules/lodash/_mapCacheHas.js","webpack:///./node_modules/lodash/_mapCacheSet.js","webpack:///./node_modules/lodash/_SetCache.js","webpack:///./node_modules/lodash/_setCacheAdd.js","webpack:///./node_modules/lodash/_setCacheHas.js","webpack:///./node_modules/lodash/_arraySome.js","webpack:///./node_modules/lodash/_cacheHas.js","webpack:///./node_modules/lodash/_equalByTag.js","webpack:///./node_modules/lodash/_mapToArray.js","webpack:///./node_modules/lodash/_setToArray.js","webpack:///./node_modules/lodash/_equalObjects.js","webpack:///./node_modules/lodash/_getAllKeys.js","webpack:///./node_modules/lodash/_baseGetAllKeys.js","webpack:///./node_modules/lodash/_arrayPush.js","webpack:///./node_modules/lodash/_getSymbols.js","webpack:///./node_modules/lodash/_arrayFilter.js","webpack:///./node_modules/lodash/stubArray.js","webpack:///./node_modules/lodash/keys.js","webpack:///./node_modules/lodash/_baseTimes.js","webpack:///./node_modules/lodash/_baseIsArguments.js","webpack:///./node_modules/lodash/stubFalse.js","webpack:///./node_modules/lodash/_baseIsTypedArray.js","webpack:///./node_modules/lodash/_baseUnary.js","webpack:///./node_modules/lodash/_nodeUtil.js","webpack:///./node_modules/lodash/_baseKeys.js","webpack:///./node_modules/lodash/_nativeKeys.js","webpack:///./node_modules/lodash/_getTag.js","webpack:///./node_modules/lodash/_DataView.js","webpack:///./node_modules/lodash/_Promise.js","webpack:///./node_modules/lodash/_Set.js","webpack:///./node_modules/lodash/_WeakMap.js","webpack:///./node_modules/lodash/_baseMerge.js","webpack:///./node_modules/lodash/_baseFor.js","webpack:///./node_modules/lodash/_createBaseFor.js","webpack:///./node_modules/lodash/_baseMergeDeep.js","webpack:///./node_modules/lodash/_cloneBuffer.js","webpack:///./node_modules/lodash/_cloneTypedArray.js","webpack:///./node_modules/lodash/_cloneArrayBuffer.js","webpack:///./node_modules/lodash/_copyArray.js","webpack:///./node_modules/lodash/_initCloneObject.js","webpack:///./node_modules/lodash/_baseCreate.js","webpack:///./node_modules/lodash/isArrayLikeObject.js","webpack:///./node_modules/lodash/isPlainObject.js","webpack:///./node_modules/lodash/toPlainObject.js","webpack:///./node_modules/lodash/_copyObject.js","webpack:///./node_modules/lodash/_assignValue.js","webpack:///./node_modules/lodash/_baseKeysIn.js","webpack:///./node_modules/lodash/_nativeKeysIn.js","webpack:///./node_modules/lodash/_createAssigner.js","webpack:///./node_modules/lodash/_baseRest.js","webpack:///./node_modules/lodash/_overRest.js","webpack:///./node_modules/lodash/_apply.js","webpack:///./node_modules/lodash/_setToString.js","webpack:///./node_modules/lodash/_baseSetToString.js","webpack:///./node_modules/lodash/constant.js","webpack:///./node_modules/lodash/_shortOut.js","webpack:///./node_modules/lodash/_isIterateeCall.js","webpack:///./app/javascript/dashboard/components/widgets/forms/AvatarUploader.vue?b139","webpack:///./app/javascript/shared/components/EmojiOrIcon.vue?f292","webpack:///./app/javascript/dashboard/components/Code.vue?28a1","webpack:///./app/javascript/dashboard/components/widgets/ColorPicker.vue?f725","webpack:///./app/javascript/dashboard/components/Modal.vue?e182","webpack:///./app/javascript/dashboard/components/widgets/modal/DeleteModal.vue?48bc","webpack:///./app/javascript/shared/components/ui/dropdown/DropdownItem.vue?8f3a","webpack:///./app/javascript/dashboard/components/widgets/forms/Input.vue?c406","webpack:///./app/javascript/dashboard/components/ui/Label.vue?582b","webpack:///./app/javascript/dashboard/components/buttons/FormSubmitButton.vue?57c9","webpack:///./node_modules/date-fns/esm/isSameYear/index.js","webpack:///./app/javascript/dashboard/assets/images/channels/facebook_login.png","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue?d85b","webpack:///./app/javascript/dashboard/components/widgets/conversation/TagAgents.vue?a2c0","webpack:///./app/javascript/dashboard/components/widgets/mentions/MentionBox.vue?6aea","webpack:///./app/javascript/dashboard/components/widgets/conversation/VariableList.vue?cc58","webpack:///./app/javascript/dashboard/components/widgets/WootWriter/Editor.vue?cc97","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twitter.vue?3686","webpack:///./app/javascript/dashboard/components/ChannelSelector.vue?c66d","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twilio.vue?7b5c","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/components/ToggleSwitch.vue?e6c4","webpack:///./app/javascript/dashboard/components/widgets/conversation/AvailabilityStatusBadge.vue?a195","webpack:///./app/javascript/dashboard/components/layout/sidebarComponents/AccountContext.vue?70dc","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalSwitch.vue?6044","webpack:///./app/javascript/dashboard/components/base/Hotkey.vue?60ba","webpack:///./app/javascript/dashboard/components/widgets/modal/WootKeyShortcutModal.vue?5058","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/NameEmojiInput.vue?61c5","webpack:///./app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/AddCategory.vue?f488","webpack:///./node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.mjs","webpack:///./app/javascript/dashboard/components/ui/Banner.vue?219b","webpack:///./app/javascript/dashboard/App.vue?91e8","webpack:///./node_modules/vue-multiselect/dist/vue-multiselect.min.css","webpack:///./node_modules/@sentry/utils/esm/normalize.js","webpack:///./node_modules/date-fns/esm/compareAsc/index.js","webpack:///./node_modules/date-fns/esm/differenceInMonths/index.js","webpack:///./node_modules/date-fns/esm/isLastDayOfMonth/index.js","webpack:///./node_modules/date-fns/esm/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/_lib/cloneObject/index.js","webpack:///./node_modules/date-fns/esm/formatDistanceToNow/index.js","webpack:///./node_modules/libphonenumber-js/metadata.min.json.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/isObject.js","webpack:///./node_modules/libphonenumber-js/es6/normalizeArguments.js","webpack:///./node_modules/libphonenumber-js/es6/constants.js","webpack:///./node_modules/libphonenumber-js/es6/ParseError.js","webpack:///./node_modules/libphonenumber-js/es6/tools/semver-compare.js","webpack:///./node_modules/libphonenumber-js/es6/metadata.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/parseDigits.js","webpack:///./node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/mergeArrays.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js","webpack:///./node_modules/libphonenumber-js/es6/isPossible.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/getNumberType.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js","webpack:///./node_modules/libphonenumber-js/es6/format.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/RFC3966.js","webpack:///./node_modules/libphonenumber-js/es6/PhoneNumber.js","webpack:///./node_modules/libphonenumber-js/es6/isValid.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js","webpack:///./node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js","webpack:///./node_modules/libphonenumber-js/es6/parse.js","webpack:///./node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js","webpack:///./node_modules/libphonenumber-js/es6/parsePhoneNumber_.js","webpack:///./node_modules/libphonenumber-js/es6/parsePhoneNumber.js","webpack:///./node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js","webpack:///./node_modules/libphonenumber-js/min/exports/withMetadataArgument.js","webpack:///./node_modules/date-fns/esm/startOfMonth/index.js","webpack:///./node_modules/date-fns/esm/startOfWeek/index.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","installedModules","installedCssChunks","__webpack_require__","exports","module","l","e","promises","Promise","resolve","reject","href","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","head","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","s","AUTHENTICATE","CLEAR_USER","SET_CURRENT_USER","SET_CURRENT_USER_AVAILABILITY","SET_CURRENT_USER_UI_SETTINGS","SET_CURRENT_USER_UI_FLAGS","RECEIVE_CHAT_LIST","SET_ALL_CONVERSATION","EMPTY_ALL_CONVERSATION","SET_CONV_TAB_META","CLEAR_LIST_LOADING_STATUS","SET_LIST_LOADING_STATUS","SET_ALL_MESSAGES_LOADED","CLEAR_ALL_MESSAGES_LOADED","CHANGE_CHAT_STATUS_FILTER","CHANGE_CHAT_SORT_FILTER","UPDATE_ASSIGNEE","UPDATE_CONVERSATION_CONTACT","CLEAR_CONTACT_CONVERSATIONS","SET_CONVERSATION_FILTERS","CLEAR_CONVERSATION_FILTERS","SET_CONVERSATION_LAST_SEEN","SET_LAST_MESSAGE_ID_IN_SYNC_CONVERSATION","SET_DRAFT_MESSAGES","REMOVE_DRAFT_MESSAGES","SET_REPLY_EDITOR_MODE","SET_CURRENT_CHAT_WINDOW","CLEAR_CURRENT_CHAT_WINDOW","CLEAR_ALL_MESSAGES","CHANGE_CONVERSATION_STATUS","ADD_CONVERSATION","UPDATE_CONVERSATION","MUTE_CONVERSATION","UNMUTE_CONVERSATION","ASSIGN_AGENT","ASSIGN_TEAM","ASSIGN_PRIORITY","SET_CHAT_META","ADD_MESSAGE","DELETE_MESSAGE","ADD_PENDING_MESSAGE","UPDATE_MESSAGE_UNREAD_COUNT","SET_PREVIOUS_CONVERSATIONS","SET_ACTIVE_INBOX","UPDATE_CONVERSATION_CUSTOM_ATTRIBUTES","UPDATE_CONVERSATION_LAST_ACTIVITY","SET_MISSING_MESSAGES","SET_ALL_ATTACHMENTS","ADD_CONVERSATION_ATTACHMENTS","DELETE_CONVERSATION_ATTACHMENTS","SET_CONVERSATION_CAN_REPLY","SET_CONTEXT_MENU_CHAT_ID","SET_CHAT_LIST_FILTERS","UPDATE_CHAT_LIST_FILTERS","SET_INBOXES_UI_FLAG","SET_INBOXES","SET_INBOX_ITEM","ADD_INBOXES","EDIT_INBOXES","DELETE_INBOXES","SET_ACCOUNT_UI_FLAG","SET_ACCOUNT_LIMITS","SET_ACCOUNTS","ADD_ACCOUNT","EDIT_ACCOUNT","DELETE_ACCOUNT","SET_AGENT_FETCHING_STATUS","SET_AGENT_CREATING_STATUS","SET_AGENT_UPDATING_STATUS","SET_AGENT_DELETING_STATUS","SET_AGENTS","ADD_AGENT","EDIT_AGENT","DELETE_AGENT","UPDATE_AGENTS_PRESENCE","UPDATE_SINGLE_AGENT_PRESENCE","SET_CANNED_UI_FLAG","SET_CANNED","ADD_CANNED","EDIT_CANNED","DELETE_CANNED","SET_LABEL_UI_FLAG","SET_LABELS","ADD_LABEL","EDIT_LABEL","DELETE_LABEL","SET_INTEGRATIONS_UI_FLAG","SET_INTEGRATIONS","ADD_INTEGRATION","DELETE_INTEGRATION","ADD_INTEGRATION_HOOKS","DELETE_INTEGRATION_HOOKS","SET_WEBHOOK_UI_FLAG","SET_WEBHOOK","ADD_WEBHOOK","DELETE_WEBHOOK","UPDATE_WEBHOOK","SET_CONTACT_META","SET_CONTACT_UI_FLAG","SET_CONTACT_ITEM","SET_CONTACTS","CLEAR_CONTACTS","EDIT_CONTACT","DELETE_CONTACT","UPDATE_CONTACTS_PRESENCE","SET_CONTACT_FILTERS","CLEAR_CONTACT_FILTERS","SET_NOTIFICATIONS_META","SET_NOTIFICATIONS_UNREAD_COUNT","SET_NOTIFICATIONS_UI_FLAG","UPDATE_NOTIFICATION","READ_NOTIFICATION","ADD_NOTIFICATION","DELETE_NOTIFICATION","UPDATE_ALL_NOTIFICATIONS","SET_NOTIFICATIONS_ITEM","SET_NOTIFICATIONS","CLEAR_NOTIFICATIONS","EDIT_NOTIFICATIONS","UPDATE_NOTIFICATIONS_PRESENCE","SET_ALL_NOTIFICATIONS_LOADED","DELETE_READ_NOTIFICATIONS","DELETE_ALL_NOTIFICATIONS","SNOOZE_NOTIFICATION","SET_NOTIFICATION_FILTERS","UPDATE_NOTIFICATION_FILTERS","SET_CONTACT_CONVERSATIONS_UI_FLAG","SET_CONTACT_CONVERSATIONS","ADD_CONTACT_CONVERSATION","DELETE_CONTACT_CONVERSATION","SET_CONTACT_LABELS_UI_FLAG","SET_CONTACT_LABELS","SET_CONVERSATION_LABELS_UI_FLAG","SET_CONVERSATION_LABELS","SET_BULK_CONVERSATION_LABELS","SET_SELECTED_CONVERSATION_IDS","CLEAR_SELECTED_CONVERSATION_IDS","REMOVE_SELECTED_CONVERSATION_IDS","SET_ACCOUNT_REPORTS","SET_HEATMAP_DATA","TOGGLE_HEATMAP_LOADING","SET_ACCOUNT_SUMMARY","SET_BOT_SUMMARY","TOGGLE_ACCOUNT_REPORT_LOADING","SET_ACCOUNT_CONVERSATION_METRIC","TOGGLE_ACCOUNT_CONVERSATION_METRIC_LOADING","SET_AGENT_CONVERSATION_METRIC","TOGGLE_AGENT_CONVERSATION_METRIC_LOADING","SET_CONVERSATION_METADATA","SET_CURRENT_PAGE","SET_CONVERSATION_END_REACHED","CLEAR_CONVERSATION_PAGE","SET_USER_NOTIFICATION_UI_FLAG","SET_USER_NOTIFICATION","ADD_USER_TYPING_TO_CONVERSATION","REMOVE_USER_TYPING_FROM_CONVERSATION","SEARCH_CONVERSATIONS_SET","SEARCH_CONVERSATIONS_SET_UI_FLAG","SET_CAMPAIGN_UI_FLAG","SET_CAMPAIGNS","ADD_CAMPAIGN","EDIT_CAMPAIGN","DELETE_CAMPAIGN","SET_CONTACT_NOTES_UI_FLAG","SET_CONTACT_NOTES","ADD_CONTACT_NOTE","EDIT_CONTACT_NOTE","DELETE_CONTACT_NOTE","SET_CSAT_RESPONSE_UI_FLAG","SET_CSAT_RESPONSE","SET_CSAT_RESPONSE_METRICS","SET_CUSTOM_ATTRIBUTE_UI_FLAG","SET_CUSTOM_ATTRIBUTE","ADD_CUSTOM_ATTRIBUTE","EDIT_CUSTOM_ATTRIBUTE","DELETE_CUSTOM_ATTRIBUTE","SET_AUTOMATION_UI_FLAG","SET_AUTOMATIONS","ADD_AUTOMATION","EDIT_AUTOMATION","DELETE_AUTOMATION","SET_CUSTOM_VIEW_UI_FLAG","SET_CUSTOM_VIEW","ADD_CUSTOM_VIEW","UPDATE_CUSTOM_VIEW","DELETE_CUSTOM_VIEW","SET_ACTIVE_CONVERSATION_FOLDER","SET_BULK_ACTIONS_FLAG","SET_DASHBOARD_APPS_UI_FLAG","SET_DASHBOARD_APPS","CREATE_DASHBOARD_APP","EDIT_DASHBOARD_APP","DELETE_DASHBOARD_APP","ADD_ARTICLE","ADD_ARTICLE_ID","ADD_MANY_ARTICLES","ADD_MANY_ARTICLES_ID","SET_ARTICLES_META","UPDATE_ARTICLE_FLAG","ADD_ARTICLE_FLAG","UPDATE_ARTICLE","CLEAR_ARTICLES","REMOVE_ARTICLE","REMOVE_ARTICLE_ID","SET_UI_FLAG","ADD_CATEGORY","ADD_CATEGORY_ID","ADD_MANY_CATEGORIES","ADD_MANY_CATEGORIES_ID","ADD_CATEGORY_FLAG","CLEAR_CATEGORIES","UPDATE_CATEGORY","REMOVE_CATEGORY","REMOVE_CATEGORY_ID","SET_AGENT_BOT_UI_FLAG","SET_AGENT_BOTS","ADD_AGENT_BOT","EDIT_AGENT_BOT","DELETE_AGENT_BOT","SET_AGENT_BOT_INBOX","SET_MACROS_UI_FLAG","SET_MACROS","ADD_MACRO","EDIT_MACRO","DELETE_MACRO","FULL_SEARCH_SET","CONTACT_SEARCH_SET","CONTACT_SEARCH_SET_UI_FLAG","CONVERSATION_SEARCH_SET","CONVERSATION_SEARCH_SET_UI_FLAG","MESSAGE_SEARCH_SET","MESSAGE_SEARCH_SET_UI_FLAG","FULL_SEARCH_SET_UI_FLAG","SET_CONVERSATION_PARTICIPANTS_UI_FLAG","SET_CONVERSATION_PARTICIPANTS","SET_AUDIT_LOGS_UI_FLAG","SET_AUDIT_LOGS","SET_AUDIT_LOGS_META","SET_SLA_UI_FLAG","SET_SLA","ADD_SLA","EDIT_SLA","DELETE_SLA","SET_SLA_REPORTS_UI_FLAG","SET_SLA_REPORTS","SET_SLA_REPORTS_METRICS","SET_SLA_REPORTS_META","SET_SUBSCRIPTION","SET_INVOICES","toString","getPrototypeOf","kindOf","cache","thing","str","toLowerCase","kindOfTest","typeOfTest","isArray","Array","isUndefined","isArrayBuffer","isString","isFunction","isNumber","isObject","isPlainObject","val","iterator","isDate","isFile","isBlob","isFileList","isURLSearchParams","isReadableStream","isRequest","isResponse","isHeaders","map","forEach","obj","fn","allOwnKeys","arguments","keys","getOwnPropertyNames","len","findKey","_key","_global","globalThis","self","global","isContextDefined","context","isTypedArray","TypedArray","Uint8Array","isHTMLForm","_ref","prop","isRegExp","reduceDescriptors","reducer","descriptors","getOwnPropertyDescriptors","reducedDescriptors","descriptor","ret","defineProperties","ALPHA","DIGIT","ALPHABET","ALPHA_DIGIT","toUpperCase","isAsyncFn","_setImmediate","setImmediateSupported","setImmediate","postMessageSupported","postMessage","token","Math","random","callbacks","addEventListener","_ref2","source","cb","asap","queueMicrotask","process","nextTick","isBuffer","constructor","isFormData","kind","FormData","append","isArrayBufferView","result","ArrayBuffer","isView","buffer","isBoolean","isStream","pipe","merge","caseless","this","assignValue","targetKey","extend","a","b","thisArg","trim","replace","stripBOM","content","charCodeAt","inherits","superConstructor","props","assign","toFlatObject","sourceObj","destObj","filter","propFilter","merged","endsWith","searchString","position","String","lastIndex","indexOf","toArray","arr","forEachEntry","next","done","pair","matchAll","regExp","matches","exec","hasOwnProp","freezeMethods","writable","set","toObjectSet","arrayOrString","delimiter","define","split","toCamelCase","p1","p2","noop","toFiniteNumber","defaultValue","Number","isFinite","generateString","size","alphabet","isSpecCompliantForm","toJSONObject","stack","visit","reducedValue","isThenable","catch","extendStatics","setPrototypeOf","__proto__","__extends","TypeError","__","__assign","apply","__rest","getOwnPropertySymbols","propertyIsEnumerable","__decorate","decorators","desc","getOwnPropertyDescriptor","Reflect","decorate","__awaiter","_arguments","P","generator","fulfilled","step","rejected","__generator","body","f","y","_","label","sent","trys","ops","g","Iterator","verb","v","op","pop","__spreadArray","to","from","pack","ar","concat","SuppressedError","VueModule","Vue","default","Vue2","isVue2","isVue3","install","warn","util","createApp","rootComponent","rootProps","vm","provide","app","config","use","mixin","component","directive","dir","mount","el","hydrating","propsData","$mount","unmount","$destroy","hasInjectionContext","getCurrentInstance","vueDemi","computedEager","options","_a","shallowRef","watchEffect","flush","readonly","computedWithControl","track","trigger","dirty","ref","update","watch","customRef","_track","_trigger","v2","isExtensible","tryOnScopeDispose","getCurrentScope","onScopeDispose","localProvidedStateMap","WeakMap","provideLocal","instance","proxy","has","injectLocal","args","inject","extendRef","unwrap","version","startsWith","entries","isRef","toValue","unref","resolveUnref","reactify","unrefFn","computedGetter","computed","toReactive","objectRef","reactive","Proxy","receiver","deleteProperty","ownKeys","configurable","reactiveComputed","isClient","isWorker","WorkerGlobalScope","timestamp","Date","now","isIOS","getIsIOS","_b","navigator","userAgent","test","maxTouchPoints","createFilterWrapper","bypassFilter","invoke","debounceFilter","ms","timer","maxTimer","lastRejector","_clearTimeout","timer2","duration","maxDuration","maxWait","rejectOnCancel","throttleFilter","lastValue","trailing","leading","lastExec","isLeading","delay","clear","_invoke","elapsed","max","pausableFilter","extendFilter","isActive","pause","resume","eventFilter","directiveHooks","mounted","updated","unmounted","cacheStringFunction","hyphenateRE","hyphenate","camelizeRE","camelize","promiseTimeout","throwOnTimeout","reason","containsProp","some","k","getLifeCycleTarget","toRef","resolveRef","refAutoReset","afterMs","newValue","useDebounceFn","refDebounced","debounced","updater","useThrottleFn","refThrottled","throttled","refWithControl","initial","tracking","triggering","old","onBeforeChange","onChanged","untrackedGet","silentSet","peek","lay","controlledRef","watchWithFilter","watchOptions","watchPausable","stop","createUntil","isNot","toMatch","condition","deep","immediate","finally","race","toBe","v1","changed","changedTimes","count","toContains","array","includes","not","toBeTruthy","Boolean","toBeNull","toBeNaN","isNaN","toBeUndefined","defaultComparator","othVal","REGEX_PARSE","REGEX_FORMAT","defaultMeridiem","hours","minutes","isLowercase","hasPeriod","reduce","acc","curr","formatOrdinal","num","suffixes","formatDate","date","formatStr","years","getFullYear","month","getMonth","days","getDate","getHours","getMinutes","seconds","getSeconds","milliseconds","getMilliseconds","day","getDay","meridiem","customMeridiem","Yo","YY","YYYY","M","Mo","MM","padStart","MMM","toLocaleDateString","locales","MMMM","D","Do","DD","H","Ho","HH","h","ho","hh","mo","mm","so","ss","SSS","dd","weekday","ddd","dddd","A","AA","aa","match","$1","_a2","normalizeDate","NaN","substring","useIntervalFn","interval","immediateCallback","clean","clearInterval","intervalValue","setInterval","useTimeoutFn","isPending","start","watchDebounced","debounce","watchIgnorable","filteredCb","ignoreUpdates","ignorePrevAsyncUpdates","ignore","disposables","ignoreCounter","syncCounter","syncCounterPrev","watchThrottled","throttle","assert","infos","autoResetRef","clamp","min","controlledComputed","createEventHook","fns","Set","off","delete","on","add","offFn","createGlobalState","stateFactory","state","initialized","scope","effectScope","run","createInjectionState","composable","injectionKey","createReactiveFn","createSharedComposable","subscribers","dispose","createSingletonPromise","_promise","wrapper","reset","async","_prev","debouncedRef","debouncedWatch","eagerComputed","hasOwn","identity","arg","ignorableWatch","increaseWithUnit","delta","unit","parseFloat","isDef","isDefined","makeDestructurable","clone","index","notNullish","objectEntries","objectOmit","omitUndefined","fromEntries","objectPick","pausableWatch","rand","ceil","floor","reactifyObject","optionsOrKeys","includeOwnProperties","reactiveOmit","flatKeys","flat","predicate","toRefs","reactivePick","refDefault","syncRef","left","right","direction","transform","watchers","transformLTR","ltr","transformRTL","rtl","w","syncRefs","targets","throttledRef","throttledWatch","replaceRef","copy","newObject","tryOnBeforeMount","sync","onBeforeMount","tryOnBeforeUnmount","onBeforeUnmount","tryOnMounted","onMounted","tryOnUnmounted","onUnmounted","until","useArrayDifference","list","values","compareFn","x","findIndex","useArrayEvery","every","element","useArrayFilter","useArrayFind","find","useArrayFindIndex","useArrayFindLast","findLast","useArrayIncludes","comparator","formIndex","fromIndex","value2","useArrayJoin","separator","join","useArrayMap","useArrayReduce","reduceCallback","sum","resolved","useArraySome","useArrayUnique","resolvedList","uniq","useCounter","initialValue","_initialValue","POSITIVE_INFINITY","NEGATIVE_INFINITY","inc","dec","useDateFormat","useDebounce","useInterval","controls","exposeControls","callback","counter","useLastChanged","useThrottle","useTimeout","ready","useToNumber","method","radix","nanToZero","useToString","useToggle","truthyValue","falsyValue","valueIsRef","_value","toggle","truthy","watchArray","oldList","Function","newList","onCleanup","oldListRemains","added","found","removed","_2","watchAtMost","current","watchDeep","watchImmediate","watchOnce","watchTriggerable","cleanupFn","_cb","oldValue","onEffect","res","res2","sources","isReactive","item","getOldValue","whenever","ov","onInvalidate","once","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","existing","beforeCreate","hookCallback","hooks","setHookCallback","input","isObjectEmpty","arrLen","valueOf","createUTC","format","locale","strict","createLocalOrUTC","utc","defaultParsingFlags","empty","unusedTokens","unusedInput","overflow","charsLeftOver","nullInput","invalidEra","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","era","rfc2822","weekdayMismatch","getParsingFlags","_pf","isValid","flags","parsedParts","isNowValid","_d","getTime","invalidWeekday","_strict","bigHour","isFrozen","_isValid","createInvalid","fun","momentProperties","updateInProgress","copyConfig","momentPropertiesLen","_isAMomentObject","_i","_f","_l","_tzm","_isUTC","_offset","_locale","Moment","updateOffset","isMoment","msg","suppressDeprecationWarnings","deprecate","firstTime","deprecationHandler","argLen","deprecations","deprecateSimple","_config","_dayOfMonthOrdinalParseLenient","RegExp","_dayOfMonthOrdinalParse","_ordinalParse","mergeConfigs","parentConfig","childConfig","Locale","defaultCalendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","calendar","mom","output","_calendar","zeroFill","number","targetLength","forceSign","absNumber","abs","zerosToFill","pow","substr","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","ordinal","func","localeData","removeFormattingTokens","makeFormatFunction","formatMoment","expandFormat","invalidDate","replaceLongDateFormatTokens","longDateFormat","defaultLongDateFormat","LTS","LT","L","LL","LLL","LLLL","_longDateFormat","formatUpper","tok","defaultInvalidDate","_invalidDate","defaultOrdinal","defaultDayOfMonthOrdinalParse","_ordinal","defaultRelativeTime","future","past","ww","yy","relativeTime","withoutSuffix","string","isFuture","_relativeTime","pastFuture","diff","aliases","dates","weekdays","E","isoweekdays","isoweekday","DDD","dayofyears","dayofyear","hour","millisecond","minute","months","Q","quarters","quarter","second","gg","weekyears","weekyear","GG","isoweekyears","isoweekyear","weeks","week","W","isoweeks","isoweek","year","normalizeUnits","units","normalizeObjectUnits","inputObject","normalizedProp","normalizedInput","priorities","isoWeekday","dayOfYear","weekYear","isoWeekYear","isoWeek","getPrioritizedUnits","unitsObj","u","priority","sort","regexes","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchTimestamp","matchWord","match1to2NoLeadingZero","match1to2HasZero","addRegexToken","regex","strictRegex","isStrict","getParseRegexForToken","unescapeFormat","regexEscape","matched","p3","p4","absFloor","toInt","argumentForCoercion","coercedNumber","tokens","addParseToken","tokenLen","addWeekParseToken","_w","addTimeToArrayFromToken","isLeapYear","YEAR","MONTH","DATE","HOUR","MINUTE","SECOND","MILLISECOND","WEEK","WEEKDAY","daysInYear","parseTwoDigitYear","parseInt","getSetYear","makeGetSet","getIsLeapYear","keepTime","set$1","isUTC","getUTCMilliseconds","getUTCSeconds","getUTCMinutes","getUTCHours","getUTCDate","getUTCDay","getUTCMonth","getUTCFullYear","setUTCMilliseconds","setMilliseconds","setUTCSeconds","setSeconds","setUTCMinutes","setMinutes","setUTCHours","setHours","setUTCDate","setDate","setUTCFullYear","setFullYear","stringGet","stringSet","prioritized","prioritizedLen","mod","daysInMonth","modMonth","monthsShort","monthsShortRegex","monthsRegex","monthsParse","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","localeMonths","_months","isFormat","localeMonthsShort","_monthsShort","handleStrictParse","monthName","ii","llc","toLocaleLowerCase","_monthsParse","_longMonthsParse","_shortMonthsParse","localeMonthsParse","_monthsParseExact","setMonth","setUTCMonth","getSetMonth","getDaysInMonth","computeMonthsParse","_monthsShortStrictRegex","_monthsShortRegex","_monthsStrictRegex","_monthsRegex","cmpLenRev","shortP","longP","shortPieces","longPieces","mixedPieces","createDate","createUTCDate","UTC","firstWeekOffset","dow","doy","fwd","dayOfYearFromWeeks","resYear","resDayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","localeWeek","_week","defaultLocaleWeek","localeFirstDayOfWeek","localeFirstDayOfYear","getSetWeek","getSetISOWeek","parseWeekday","weekdaysParse","parseIsoWeekday","shiftWeekdays","ws","weekdaysMin","weekdaysShort","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","localeWeekdays","_weekdays","localeWeekdaysShort","_weekdaysShort","localeWeekdaysMin","_weekdaysMin","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","localeWeekdaysParse","_weekdaysParseExact","_fullWeekdaysParse","getSetDayOfWeek","getSetLocaleDayOfWeek","getSetISODayOfWeek","computeWeekdaysParse","_weekdaysStrictRegex","_weekdaysRegex","_weekdaysShortStrictRegex","_weekdaysShortRegex","_weekdaysMinStrictRegex","_weekdaysMinRegex","minp","shortp","longp","minPieces","hFormat","kFormat","lowercase","matchMeridiem","_meridiemParse","localeIsPM","charAt","kInput","_isPm","isPM","_meridiem","pos","pos1","pos2","defaultLocaleMeridiemParse","getSetHour","localeMeridiem","isLower","globalLocale","baseConfig","dayOfMonthOrdinalParse","meridiemParse","localeFamilies","commonPrefix","arr1","arr2","minl","normalizeLocale","chooseLocale","names","j","loadLocale","isLocaleNameSane","oldLocale","_abbr","getSetGlobalLocale","getLocale","defineLocale","abbr","parentLocale","updateLocale","tmpLocale","listLocales","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","isoDatesLen","isoTimesLen","configFromStringAndFormat","extractFromRFC2822Strings","yearStr","monthStr","dayStr","hourStr","minuteStr","secondStr","untruncateYear","preprocessRFC2822","checkWeekday","weekdayStr","parsedInput","calculateOffset","obsOffset","militaryOffset","numOffset","hm","configFromRFC2822","parsedArray","configFromString","createFromInputFallback","defaults","currentDateArray","nowValue","_useUTC","configFromArray","currentDate","expectedWeekday","yearToUse","dayOfYearFromWeekInfo","_dayOfYear","_nextDay","temp","weekdayOverflow","curWeek","createLocal","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","meridiemFixWrap","erasConvertYear","isPm","meridiemHour","configFromStringAndArray","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","configfLen","score","configFromObject","dayOrDate","createFromConfig","prepareConfig","preparse","configFromInput","prototypeMin","other","prototypeMax","pickBy","moments","ordering","isDurationValid","unitHasDecimal","orderLen","isValid$1","createInvalid$1","createDuration","Duration","_milliseconds","_days","_data","_bubble","isDuration","absRound","round","compareArrays","array1","array2","dontConvert","lengthDiff","diffs","offset","utcOffset","sign","offsetFromString","chunkOffset","matcher","parts","cloneWithOffset","model","setTime","local","getDateOffset","getTimezoneOffset","getSetOffset","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","addSubtract","getSetZone","setOffsetToUTC","setOffsetToLocal","subtract","setOffsetToParsedOffset","tZone","hasAlignedHourOffset","isDaylightSavingTime","isDaylightSavingTimeShifted","_isDSTShifted","isLocal","isUtcOffset","isUtc","aspNetRegex","isoRegex","diffRes","parseIso","momentsDifference","inp","positiveMomentsDifference","base","isAfter","isBefore","createAdder","period","tmp","isAdding","invalid","isMomentInput","isNumberOrStringArray","isMomentInputObject","objectTest","propertyTest","properties","propertyLen","arrayTest","dataTypeTest","isCalendarSpec","getCalendarFormat","myMoment","calendar$1","time","formats","sod","startOf","calendarFormat","localInput","endOf","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","asFloat","that","zoneDelta","monthDiff","wholeMonthDiff","anchor","toISOString","keepOffset","toDate","inspect","prefix","datetime","suffix","zone","inputString","defaultFormatUtc","defaultFormat","postformat","humanize","fromNow","toNow","newLocaleData","lang","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","startOfDate","unix","toObject","toJSON","isValid$2","parsingFlags","invalidAt","creationData","localeEras","eras","_eras","since","localeErasParse","eraName","narrow","localeErasConvertYear","getEraName","getEraNarrow","getEraAbbr","getEraYear","erasNameRegex","computeErasParse","_erasNameRegex","_erasRegex","erasAbbrRegex","_erasAbbrRegex","erasNarrowRegex","_erasNarrowRegex","matchEraAbbr","matchEraName","matchEraNarrow","matchEraYearOrdinal","_eraYearOrdinalRegex","erasName","erasAbbr","erasNarrow","abbrPieces","namePieces","narrowPieces","addWeekYearFormatToken","getSetWeekYear","getSetWeekYearHelper","getSetISOWeekYear","getISOWeeksInYear","getISOWeeksInISOWeekYear","getWeeksInYear","weekInfo","getWeeksInWeekYear","weeksTarget","setWeekAll","dayOfYearData","getSetQuarter","erasParse","eraYearOrdinalParse","getSetDayOfMonth","getSetDayOfYear","getSetMinute","getSetMillisecond","getSetSecond","parseMs","getZoneAbbr","getZoneName","proto","createUnix","createInZone","parseZone","preParsePostFormat","for","eraNarrow","eraAbbr","eraYear","isoWeeks","weeksInWeekYear","isoWeeksInYear","isoWeeksInISOWeekYear","isDST","zoneAbbr","zoneName","isDSTShifted","proto$1","get$1","field","setter","listMonthsImpl","out","listWeekdaysImpl","localeSorted","listMonths","listMonthsShort","listWeekdays","listWeekdaysShort","listWeekdaysMin","firstDayOfYear","firstDayOfWeek","langData","mathAbs","addSubtract$1","add$1","subtract$1","absCeil","bubble","monthsFromDays","monthsToDays","daysToMonths","as","makeAs","alias","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","valueOf$1","clone$1","get$2","makeGetter","thresholds","substituteTimeAgo","relativeTime$1","posNegDuration","getSetRelativeTimeRounding","roundingFunction","getSetRelativeTimeThreshold","threshold","limit","argWithSuffix","argThresholds","withSuffix","th","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","total","toFixed","proto$2","toIsoString","relativeTimeRounding","relativeTimeThreshold","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","TIME","TIME_SECONDS","TIME_MS","factory","requiredArgs","required","AxiosError","response","captureStackTrace","status","description","fileName","lineNumber","columnNumber","customProps","axiosError","cause","frontendURL","path","params","URLSearchParams","conversationUrl","accountId","activeInbox","id","teamId","conversationType","foldersId","url","conversationListPageURL","inboxId","customViewId","mention","unattended","isValidURL","getArticleSearchURL","_ref3","host","portalSlug","pageNumber","authorId","categorySlug","query","queryParams","page","author_id","category_slug","_ref4","hasValidAvatarUrl","avatarUrl","avatarUrlHost","URL","isFromGravatar","OrderedMap","newKey","remove","splice","addToStart","addToEnd","addBefore","place","without","prepend","findDiffStart","childCount","childA","child","childB","sameMarkup","isText","text","inner","nodeSize","findDiffEnd","posA","posB","iA","iB","same","minSize","Fragment","nodesBetween","nodeStart","end","descendants","textBetween","blockSeparator","leafText","first","node","nodeText","isLeaf","spec","isBlock","isTextblock","last","lastChild","firstChild","withText","cut","cutByIndex","replaceChild","eq","RangeError","maybeChild","retIndex","curPos","toStringInner","fromJSON","schema","nodeFromJSON","fromArray","joined","nodes","attrs","compareDeep","Mark","addToSet","placed","excludes","rank","removeFromSet","isInSet","json","marks","mark","checkAttrs","sameSet","setFrom","none","ReplaceError","Slice","openStart","openEnd","insertAt","fragment","insertInto","removeBetween","removeRange","maxOpen","openIsolating","isolating","indexTo","offsetTo","dist","insert","canReplace","$from","$to","depth","replaceOuter","$along","extra","resolveNoCache","prepareSliceForReplace","replaceThreeWay","parentOffset","replaceTwoWay","checkJoin","main","sub","compatibleContent","joinable","$before","$after","addNode","addRange","$start","$end","startIndex","endIndex","textOffset","nodeAfter","nodeBefore","checkContent","ResolvedPos","resolveDepth","doc","indexAfter","before","after","dOff","posAtIndex","inclusive","marksAcross","isInline","sharedDepth","blockRange","pred","inlineContent","NodeRange","sameParent","rem","resolveCached","resolveCache","elts","elt","ResolveCache","resolveCacheSize","emptyAttrs","Node","children","startPos","textContent","hasMarkup","defaultAttrs","includeParents","nodeAt","childAfter","childBefore","rangeHasMark","isAtom","toDebugString","wrapMarks","contentMatchAt","contentMatch","matchFragment","replacement","one","two","validEnd","allowsMarks","canReplaceWith","matchType","canAppend","check","markFromJSON","nodeType","TextNode","super","JSON","stringify","ContentMatch","wrapCache","parse","nodeTypes","stream","TokenStream","expr","parseExpr","nfa","labeled","explore","nullFrom","states","term","cmp","dfa","connect","compile","edge","edges","exprs","loop","cur","work","dead","hasRequiredAttrs","checkForDeadEnds","frag","defaultType","compatible","fillBefore","toEnd","seen","search","types","finished","tp","createAndFill","findWrapping","computeWrapping","active","via","reverse","edgeCount","scan","inline","eat","SyntaxError","parseExprSeq","parseExprSubscript","typeName","isInGroup","resolveName","parseExprAtom","parseExprRange","parseNum","attrName","attr","hasDefault","computeAttrs","built","given","validate","initAttrs","Attribute","NodeType","markSet","groups","group","atom","whitespace","isRequired","createChecked","validContent","allowsMarkType","markType","allowedMarks","topType","topNode","validateType","MarkType","excluded","linebreakReplacement","cached","instanceSpec","contentExprCache","contentExpr","markExpr","gatherMarks","excl","topNodeType","wrappings","ok","DOMParser","rules","tags","styles","matchedStyles","rule","isTagRule","style","isStyleRule","normalizeLists","dom","ParseContext","addAll","finish","parseSlice","matchTag","namespace","namespaceURI","matchesContext","getAttrs","matchStyle","schemaRules","parseDOM","clearMark","fromSchema","domParser","blockTags","address","article","aside","blockquote","canvas","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","noscript","ol","pre","section","table","tfoot","ul","ignoreTags","title","listTags","wsOptionsFor","preserveWhitespace","OPT_PRESERVE_WS","NodeContext","solid","activeMarks","fill","wrap","inlineContext","nodeName","parser","isOpen","open","localPreserveWS","topContext","topOptions","topMatch","findPositions","needsBlock","top","addDOM","addTextNode","addElement","nodeValue","preserveWS","domNodeBefore","previousSibling","insertNode","findInText","findInside","matchAfter","outerWS","tagName","whiteSpace","ruleID","prevItem","nextSibling","normalizeList","ruleFromNode","ignoreFallback","skip","closeParent","oldNeedsBlock","leafFallback","innerMarks","readStyles","addElementByRule","consuming","ownerDocument","createTextNode","findPlace","getPropertyValue","continueAfter","enter","startIn","getContent","contentDOM","contentElement","querySelector","findAround","childNodes","findAtPoint","route","cx","enterInner","block","textblockFromContext","closeExtra","nodeMarks","markMayApply","applyMarks","topOpen","currentPos","contains","compareDocumentPosition","textNode","option","useRoot","minDepth","part","$context","deflt","selector","msMatchesSelector","webkitMatchesSelector","mozMatchesSelector","DOMSerializer","serializeFragment","createDocumentFragment","keep","rendered","spanning","markDOM","serializeMark","serializeNodeInner","renderSpec","serializeNode","toDOM","structure","domSerializer","nodesFromSchema","marksFromSchema","gatherToDOM","suspiciousAttributeCache","suspiciousAttributes","suspiciousAttributesInner","xmlNS","blockArraysIn","suspicious","space","createElementNS","setAttributeNS","innerContent","argument","argStr","classesById","Selection","$anchor","$head","ranges","SelectionRange","tr","lastNode","lastParent","mapFrom","steps","mapping","replaceRange","selectionToInsertionEnd","replaceWith","deleteRange","replaceRangeWith","findFrom","$pos","textOnly","TextSelection","findSelectionIn","near","bias","AllSelection","atStart","atEnd","cls","jsonID","selectionClass","getBookmark","between","visible","warnedAboutTextSelection","checkTextSelection","$cursor","ensureMarks","TextBookmark","dPos","NodeSelection","deleted","mapResult","NodeBookmark","isSelectable","selectable","sel","selection","setSelection","AllBookmark","startLen","maps","_from","_to","_newFrom","newTo","Transaction","curSelectionFor","meta","curSelection","storedMarks","selectionSet","setStoredMarks","addStoredMark","removeStoredMark","storedMarksSet","addStep","replaceSelection","replaceSelectionWith","inheritMarks","deleteSelection","insertText","setMeta","getMeta","isGeneric","scrollIntoView","scrolledIntoView","FieldDesc","init","baseFields","_marks","_old","prev","Configuration","plugins","pluginsByKey","fields","plugin","EditorState","applyTransaction","filterTransaction","rootTr","transactions","trs","newState","applyInner","haveNew","appendTransaction","oldState","newInstance","$config","reconfigure","pluginFields","bindProps","Plugin","createKey","getState","PluginKey","IS_DEBUG_BUILD","__SENTRY_DEBUG__","__read","__spread","devtoolHook","__VUE_DEVTOOLS_GLOBAL_HOOK__","devtoolPlugin","store","_devtoolHook","emit","targetState","replaceState","subscribe","mutation","applyMixin","usesInit","_lifecycleHooks","vuexInit","_init","$store","mapState","normalizeNamespace","normalizeMap","getters","getModuleByNamespace","mapMutations","mutations","commit","mapGetters","mapActions","actions","dispatch","helper","_modulesNamespaceMap","forEachValue","isPromise","Module","rawModule","runtime","_children","_rawModule","prototypeAccessors$1","namespaced","addChild","getChild","forEachChild","forEachGetter","forEachAction","forEachMutation","ModuleCollection","rawRootModule","this$1","root","register","targetModule","newModule","getNamespace","rawChildModule","unregister","Store","_committing","_actions","_mutations","_wrappedGetters","_modules","_subscribers","_watcherVM","payload","installModule","resetStoreVM","prototypeAccessors","resetStore","hot","oldVm","_vm","wrappedGetters","silent","enableStrictMode","_withCommit","rootState","isRoot","parentState","getNestedState","moduleName","makeLocalContext","registerMutation","action","registerAction","registerGetter","noNamespace","_type","_payload","_options","unifyObjectStyle","makeLocalGetters","gettersProxy","splitPos","localType","handler","rootGetters","rawGetter","$watch","_Vue","$data","entry","subs","registerModule","unregisterModule","hotUpdate","newOptions","committing","__values","toInteger","dirtyNumber","records","setSingleRecord","recordIndex","record","updateAttributes","updatePresence","availabilityStatus","updateSingleRecordPresence","selectedRecord","destroy","ApiClient","resource","apiVersion","baseUrl","accountIdFromRoute","location","pathname","enterprise","accountScoped","axios","show","post","patch","emitter","Map","hasTracingEnabled","maybeOptions","client","getClient","getOptions","getActiveTransaction","maybeHub","getScope","getTransaction","msToSec","secToMs","Cookies","sameSite","setUser","user","CHATWOOT_SET_USER","ANALYTICS_IDENTITY","setAuthCredentials","expiryDate","fromUnixTime","headers","expiry","getHeaderExpiry","expires","differenceInDays","clearBrowserSessionCookies","clearLocalStorageOnLogout","LocalStorage","LOCAL_STORAGE_KEYS","DRAFT_MESSAGES","deleteIndexedDBOnLogout","dbs","indexedDB","databases","db","localStorage","getItem","dbName","deleteRequest","deleteDatabase","onsuccess","log","removeItem","clearCookiesOnLogout","CHATWOOT_RESET","ANALYTICS_RESET","logoutRedirectLink","globalConfig","LOGOUT_REDIRECT_LINK","parseAPIErrorResponse","_error$response","_error$response$data","_error$response3","_error$response3$data","_error$response5","_error$response5$data","_error$response2","_error$response2$data","_error$response4","_error$response4$data","_error$response6","_error$response6$data","errors","throwErrorMessage","errorMessage","parseLinearAPIErrorResponse","defaultMessage","_errorData$error","_errorData$error$erro","_errorData$error$erro2","errorData","_hasOwnProperty","isValidEntityCode","fromCodePoint","surrogate1","surrogate2","fromCharCode","UNESCAPE_MD_RE","UNESCAPE_ALL_RE","DIGITAL_ENTITY_TEST_RE","entities","HTML_ESCAPE_TEST_RE","HTML_ESCAPE_REPLACE_RE","HTML_REPLACEMENTS","replaceUnsafeChar","ch","REGEXP_ESCAPE_RE","UNICODE_PUNCT_RE","lib","mdurl","ucmicro","_class","unescapeMd","unescapeAll","escaped","entity","replaceEntityPattern","escapeHtml","arrayReplaceAt","newElements","isSpace","isWhiteSpace","isMdAsciiPunct","isPunctChar","escapeRE","normalizeReference","objectToString","isError","wat","isInstanceOf","isBuiltin","ty","isErrorEvent","isDOMError","isDOMException","isPrimitive","isEvent","Event","isElement","Element","isSyntheticEvent","_e","logger","CONSOLE_LEVELS","consoleSandbox","originalConsole","wrappedLevels","level","originalWrappedFunc","__sentry_original__","makeLogger","enabled","enable","disable","PREFIX","_typeof","_alpha","_alphaNum","_and","_between","_decimal","_email","helpers","_integer","_ipAddress","_macAddress","_maxLength","_maxValue","_minLength","_minValue","_not","_numeric","_or","_required","_requiredIf","_requiredUnless","_sameAs","_url","_interopRequireDefault","nodeInterop","_getRequireWildcardCache","newObj","hasPropertyDescriptor","_interopRequireWildcard","cacheBabelInterop","cacheNodeInterop","factor16","recoverIndex","MapResult","delInfo","recover","deletedBefore","deletedAfter","deletedAcross","StepMap","inverted","recoverOffset","assoc","_map","simple","oldIndex","newIndex","oldSize","newSize","del","touches","oldStart","newStart","invert","Mapping","mirror","appendMap","mirrors","setMirror","appendMapping","startSize","mirr","getMirror","appendMappingInverted","totalSize","inverse","corr","stepsByID","Step","getMap","stepType","stepClass","StepResult","failed","fail","fromReplace","mapFragment","mapped","AddMarkStep","oldSlice","RemoveMarkStep","AddNodeMarkStep","newSet","RemoveNodeMarkStep","ReplaceStep","contentBetween","ReplaceAroundStep","gapFrom","gapTo","gap","inserted","clearIncompatible","parentType","clearNewlines","replSteps","allowed","newline","canCut","liftTarget","range","innerRange","around","outer","findWrappingOutside","inside","innerMatch","findWrappingInside","withAttrs","replaceNewlines","replaceLinebreaks","canSplit","typesAfter","innerType","rest","overrideChild","baseType","canJoin","canAppendWithSubstitutedLinebreaks","joinPoint","dropPoint","pass","insertPos","fits","wrapping","replaceStep","fitsTrivially","Fitter","fit","unplaced","frontier","findFittable","placeNodes","openMore","dropNode","moveInline","mustMoveInline","placedSize","close","startDepth","sliceDepth","contentAt","frontierDepth","openAtEnd","dropFromFragment","closeFrontierNode","openFrontierNode","taken","openEndCount","closeNodeStart","addToFragment","contentAfterFits","findCloseLevel","dropInner","move","invalidMarks","closeFragment","oldOpen","newOpen","coveredDepths","AttrStep","DocAttrStep","TransformError","Transform","docs","maybeStep","docChanged","targetDepths","preferredTarget","unshift","defining","definingAsContext","preferredTargetIndex","leftNodes","preferredDepth","leftNode","def","definingForContent","openDepth","targetDepth","expand","startSteps","point","insertPoint","covered","lift","gapStart","gapEnd","splitting","convertNewlines","beforeType","supportLinebreak","$full","wrappers","setBlockType","attrsHere","canChangeType","startM","endM","setNodeMarkup","newNode","setNodeAttribute","setDocAttribute","addNodeMark","removeNodeMark","typeAfter","addMark","removing","adding","removeMark","toRemove","methods","showAlert","_super","ValidationError","_this","ctx","eventType","traits","_c","userId","anonymousId","groupId","previousId","hasUser","validation","isLoaded","load","identify","screen","resolveArguments","eventName","opts","resolvePageArguments","category","resolvedCategory","resolvedName","strings","resolvedCallback","objects","resolvedProperties","resolvedOptions","resolveUserArguments","resolveAliasArguments","aliasTo","aliasFrom","queue","startTime","dispatched","isEmpty","dispatchSingle","startTimeInEpochMS","timeoutInMS","elapsedTime","debug","EventFactory","globalIntegrations","normalize","baseEvent","integrations","optionsKeys","providedOptionsKeys","overrides","integrationBooleans","integrationNames","allIntegrations","messageId","hash","isBrowser","isOffline","onLine","EventQueue","priorityQueue","CoreEventQueue","taskCompletionPromise","resolvePromise","criticalTasks","returnValue","failedInitializations","flushing","scheduleFlush","deregister","e_1","unload","willDeliver","stats","increment","subscribeToDelivery","onDeliver","flushed","delivered","updateAttempts","attempts","deliver","enqueuRetry","setFailedDelivery","err_1","flushOne","gauge","retry","pushWithBackoff","err_2","getAttempts","isReady","availableExtensions","denyList","grouper","results","available","alternativeNameMatch","alternativeNames","All","suggestedKey","enrichment","destination","destinations","before_1","beforeWare","enrichment_1","enrichmentWare","afterCalls","deprecationWarning","_analytics","analytics","_stub","Analytics","settings","_debug","_user","initialize","addIntegrationMiddleware","listeners","removeAllListeners","removeListener","removeEventListener","hasListeners","addIntegration","cookieOptions","cookie","disablePersistance","disableClientPersistence","retryQueue","maxAttempts","createDefaultQueue","_universalStorage","persist","_group","eventFactory","segmentEvent","_dispatch","_traits","groupTraits","trackClick","autotrack","link","trackLink","trackSubmit","trackForm","registrations","system","xt","deregistrations","pl","addSourceMiddleware","sourceMiddlewarePlugin","addDestinationMiddleware","integrationName","middlewares","addMiddleware","setAnonymousId","queryString","useQueryString","legacyPluginFactory","noConflict","_settings","pageview","_plugins","integration","nested","Integration","canonical","canon","canonicalPath","canonicalUrl","pageDefaults","referrer","enrichPageContext","pageContext","pageProps","pageEnrichment","ActionDestination","middleware","_createMethod","modifiedEvent","cancel","methodName","transformedContext","remoteLoader","userIntegrations","mergedIntegrations","obfuscate","routingMiddleware","allPlugins","cdn","routingRules","pluginPromises","middlewareSettings","remotePlugins","remotePlugin","urlSplit","name_1","obfuscatedURL","libraryName","routing_1","error_2","creationNameEnabled","creationName","currentNameEnabled","isPluginDisabled","btoa","pluginFactory","pluginLike","destinationName","kilobytes","encodeURI","apiHost","schedule","unloaded","pageUnloaded","sendBatch","batch","writeKey","fetch","keepalive","batch_1","reqs","visibilityState","bufferOverflow","MAX_PAYLOAD_SIZE","approachingTrackingAPILimit","flushQueue","failedQueue","isFlushing","newBuffer","todo","inflightEvents","protocol","remote","deliveryStrategy","strategy","send","segmentio","onAlias","flushSyncAnalyticsCalls","getCalls","callAnalyticsMethod","flushAddSourceMiddleware","flushOn","flushSetAnonymousID","PreInitMethodCallBuffer","calls","called","AnalyticsBuffered","loader","_preInitBuffer","pageView","_createChainableMethod","VERSION","ajs","transformSnippetCall","popSnippetWindowBuffer","wa","buffered","inspectorHost","loadLegacySettings","cdnURL","flushFinalBuffer","flushAnalyticsCallsInNewTask","registerPlugins","legacySettings","legacyIntegrationSources","tsubMiddleware","legacyDestinations","schemaFilter","mergedSettings","toRegister","_g","NODE_ENV","hasTsubMiddleware","ajsDestinations","legacyVideoPluginsEnabled","loadLegacyVideoPlugins","plan","enabledMiddleware","remoteMiddlewares","mdw","loadAnalytics","preInitBuffer","classicIntegrations","cdnSettings","attach","attachInspector","initRemoteMetrics","metrics","flushPreBuffer","initialPageview","AnalyticsBrowser","_resolve","_reject","loadStart","resolveLoadStart","_resolveLoadStart","standalone","analyticsToken","email","avatar","avatar_url","accounts","account_id","currentAccount","account","analyticsConfig","fallbackGlobalObject","getGlobalObject","getGlobalSingleton","creator","__SENTRY__","replacementFactory","original","wrapped","markFunctionWrapped","_Oo","addNonEnumerableProperty","getOriginalFunction","urlEncode","encodeURIComponent","convertToPlainObject","getOwnProperties","event_1","serializeEventTarget","currentTarget","CustomEvent","detail","_oO","extractedProps","extractExceptionKeysForMessage","exception","maxLength","includedKeys","serialized","dropUndefinedKeys","rv","e_1_1","return","INBOX_TYPES","WEB","FB","TWITTER","TWILIO","WHATSAPP","API","EMAIL","TELEGRAM","LINE","SMS","INBOX_FEATURES","REPLY_TO","REPLY_TO_OUTGOING","INBOX_FEATURE_MAP","channelType","inbox","channel_type","whatsAppAPIProvider","provider","isAMicrosoftInbox","isAnEmailChannel","isAGoogleInbox","isAPIInbox","isATwitterInbox","isAFacebookInbox","isAWebWidgetInbox","isATwilioChannel","isALineChannel","isATelegramChannel","isATwilioSMSChannel","medium","isASmsInbox","isATwilioWhatsAppChannel","isAWhatsAppCloudChannel","isARuutNativeWhatsappChannel","additional_attributes","is360DialogWhatsAppChannel","chatAdditionalAttributes","additionalAttributes","chat","isTwitterInboxTweet","twilioBadge","twitterBadge","facebookBadge","inboxBadge","badgeKey","isAWhatsAppChannel","inboxHasFeature","feature","_INBOX_FEATURE_MAP$fe","_INBOX_FEATURE_MAP$fe2","isVisitable","removeBrackets","renderKey","dots","predicates","formData","metaTokens","indexes","visitor","defaultVisitor","useBlob","Blob","convertValue","Buffer","isFlatArray","exposedHelpers","build","MESSAGE_STATUS","FAILED","SENT","DELIVERED","READ","PROGRESS","MESSAGE_TYPE","INCOMING","OUTGOING","ACTIVITY","TEMPLATE","CONVERSATION_STATUS","OPEN","RESOLVED","PENDING","SNOOZED","CONVERSATION_PRIORITY","URGENT","HIGH","LOW","MEDIUM","CONVERSATION_PRIORITY_ORDER","urgent","high","low","MAXIMUM_FILE_UPLOAD_SIZE","MAXIMUM_FILE_UPLOAD_SIZE_TWILIO_SMS_CHANNEL","ALLOWED_FILE_TYPES","ALLOWED_FILE_TYPES_FOR_TWILIO_WHATSAPP","ALLOWED_FILE_TYPES_FOR_LINE","CSAT_RATINGS","translationKey","emoji","color","AUDIO_FORMATS","WEBM","OGG","MP3","WAV","MESSAGE_VARIABLES","ATTACHMENT_ICONS","image","audio","video","file","fallback","CONVERSATION_EVENTS","freeze","EXECUTED_A_MACRO","SENT_MESSAGE","SENT_PRIVATE_NOTE","INSERTED_A_CANNED_RESPONSE","TRANSLATE_A_MESSAGE","INSERTED_A_VARIABLE","USED_MENTIONS","SEARCH_CONVERSATION","APPLY_FILTER","CHANGE_PRIORITY","INSERT_ARTICLE_LINK","ACCOUNT_EVENTS","ADDED_TO_CANNED_RESPONSE","ADDED_A_CUSTOM_ATTRIBUTE","ADDED_AN_INBOX","OPEN_MESSAGE_CONTEXT_MENU","OPENED_NOTIFICATIONS","MARK_AS_READ_NOTIFICATIONS","OPEN_CONVERSATION_VIA_NOTIFICATION","LABEL_EVENTS","CREATE","UPDATE","DELETED","APPLY_LABEL","REPORTS_EVENTS","DOWNLOAD_REPORT","FILTER_REPORT","CONTACTS_EVENTS","SAVE_FILTER","DELETE_FILTER","APPLY_SORT","SEARCH","CREATE_CONTACT","MERGED_CONTACTS","IMPORT_MODAL_OPEN","IMPORT_FAILURE","IMPORT_SUCCESS","CAMPAIGNS_EVENTS","OPEN_NEW_CAMPAIGN_MODAL","CREATE_CAMPAIGN","UPDATE_CAMPAIGN","PORTALS_EVENTS","ONBOARD_BASIC_INFORMATION","ONBOARD_CUSTOMIZATION","CREATE_PORTAL","DELETE_PORTAL","UPDATE_PORTAL","CREATE_LOCALE","SET_DEFAULT_LOCALE","DELETE_LOCALE","SWITCH_LOCALE","CREATE_CATEGORY","DELETE_CATEGORY","EDIT_CATEGORY","CREATE_ARTICLE","PUBLISH_ARTICLE","ARCHIVE_ARTICLE","DELETE_ARTICLE","PREVIEW_ARTICLE","OPEN_AI_EVENTS","SUMMARIZE","REPLY_SUGGESTION","REPHRASE","FIX_SPELLING_AND_GRAMMAR","SHORTEN","EXPAND","MAKE_FRIENDLY","MAKE_FORMAL","SIMPLIFY","APPLY_LABEL_SUGGESTION","DISMISS_LABEL_SUGGESTION","ADDED_AI_INTEGRATION_VIA_CTA_BUTTON","DISMISS_AI_SUGGESTION","GENERAL_EVENTS","COMMAND_BAR","INBOX_EVENTS","OPEN_CONVERSATION_VIA_INBOX","MARK_NOTIFICATION_AS_READ","MARK_ALL_NOTIFICATIONS_AS_READ","MARK_NOTIFICATION_AS_UNREAD","SLA_EVENTS","BUS_EVENTS","SHOW_ALERT","START_NEW_CONVERSATION","FOCUS_CUSTOM_ATTRIBUTE","SCROLL_TO_MESSAGE","MESSAGE_SENT","FETCH_LABEL_SUGGESTIONS","TOGGLE_SIDEMENU","ON_MESSAGE_LIST_SCROLL","WEBSOCKET_DISCONNECT","WEBSOCKET_RECONNECT","WEBSOCKET_RECONNECT_COMPLETED","TOGGLE_REPLY_TO_MESSAGE","SHOW_TOAST","NEW_CONVERSATION_MODAL","INSERT_INTO_RICH_EDITOR","converter","defaultAttributes","attributes","toUTCString","decodeURIComponent","escape","stringifiedAttributes","attributeName","write","cookies","jar","read","withAttributes","withConverter","callOnHub","hub","captureException","captureContext","originalException","syntheticException","setContext","withScope","FEATURE_FLAGS","AGENT_BOTS","AGENT_MANAGEMENT","AUTO_RESOLVE_CONVERSATIONS","AUTOMATIONS","CAMPAIGNS","CANNED_RESPONSES","CRM","CUSTOM_ATTRIBUTES","INBOX_MANAGEMENT","INTEGRATIONS","LABELS","MACROS","HELP_CENTER","REPORTS","TEAM_MANAGEMENT","VOICE_RECORDER","AUDIT_LOGS","INSERT_ARTICLE_IN_REPLY","INBOX_VIEW","SLA","RESPONSE_BOT","CHANNEL_EMAIL","CHANNEL_FACEBOOK","CHANNEL_TWITTER","CHANNEL_WEBSITE","CUSTOM_REPLY_DOMAIN","CUSTOM_REPLY_EMAIL","DISABLE_BRANDING","EMAIL_CONTINUITY_ON_API_CHANNEL","INBOUND_EMAILS","IP_LOOKUP","LINEAR","foundKey","Context","startOfUTCWeek","dirtyDate","dirtyOptions","localeWeekStartsOn","weekStartsOn","defaultWeekStartsOn","isNodeEnv","dynamicRequire","require","loadModule","cwd","CoreLogger","_logs","extras","logs","formatted","line","logEntry","ContextCancelation","CoreContext","_id","updateEvent","failedDelivery","_failedDelivery","req","_withParams","reference","parentVm","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","currentQueue","draining","queueIndex","cleanUpNextTick","drainQueue","marker","runClearTimeout","Item","browser","env","argv","versions","addListener","prependListener","prependOnceListener","binding","chdir","umask","getTimezoneOffsetInMilliseconds","utcDate","startOfUTCISOWeek","protectedDayOfYearTokens","protectedWeekYearTokens","isProtectedDayOfYearToken","isProtectedWeekYearToken","throwProtectedError","dateTimestampSource","nowSeconds","platformPerformance","performance","getNodePerformance","timeOrigin","getBrowserPerformance","timestampSource","dateTimestampInSeconds","timestampInSeconds","timestampWithMs","browserPerformanceTimeOrigin","performanceNow","dateNow","timeOriginDelta","timeOriginIsReliable","navigationStart","timing","navigationStartDelta","_browserPerformanceTimeOriginMode","GRAVATAR_URL","ASSIGNEE_TYPE","ME","UNASSIGNED","ALL","STATUS_TYPE","SORT_BY_TYPE","LAST_ACTIVITY_AT_ASC","LAST_ACTIVITY_AT_DESC","CREATED_AT_ASC","CREATED_AT_DESC","PRIORITY_ASC","PRIORITY_DESC","WAITING_SINCE_ASC","WAITING_SINCE_DESC","ARTICLE_STATUS_TYPES","DRAFT","PUBLISH","ARCHIVE","LAYOUT_TYPES","CONDENSED","EXPANDED","DOCS_URL","HELP_CENTER_DOCS_URL","TESTIMONIAL_URL","SMALL_SCREEN_BREAKPOINT","AVAILABILITY_STATUS_KEYS","SNOOZE_OPTIONS","UNTIL_NEXT_REPLY","AN_HOUR_FROM_NOW","UNTIL_TOMORROW","UNTIL_NEXT_WEEK","UNTIL_NEXT_MONTH","UNTIL_CUSTOM_TIME","EXAMPLE_URL","EXAMPLE_WEBHOOK_URL","INBOX_SORT_BY","NEWEST","OLDEST","INBOX_DISPLAY_BY","INBOX_FILTER_TYPE","STATUS","TYPE","SORT_ORDER","SLA_MISS_TYPES","FRT","NRT","RT","DEFAULT_REDIRECT_URL","_self","staticClass","_v","_s","headerTitle","directives","rawName","expression","startOfDay","validityCheck","urlData","endPoints","logout","hasAuthCookie","getAuthData","savedAuthInfo","profileUpdate","password","password_confirmation","displayName","profileAttributes","put","updateUISettings","uiSettings","profile","ui_settings","updateAvailability","availabilityData","updateAutoOffline","autoOffline","auto_offline","deleteAvatar","resetPassword","setActiveAccount","resendConfirmation","buildContactParams","sortAttr","ContactAPI","requestURL","getConversations","contactId","getContactableInboxes","getContactLabels","updateContactLabels","labels","queryPayload","importContacts","destroyCustomAttributes","customAttributes","custom_attributes","destroyAvatar","exportContacts","prosemirrorHistory","prosemirrorState","prosemirrorDropcursor","prosemirrorGapcursor","prosemirrorMenu","prosemirrorView","prosemirrorInputrules","prosemirrorModel","prosemirrorUtils","baseListCommand","LinkifyIt","prosemirrorCommands","prosemirrorKeymap","MarkdownIt","prosemirrorMarkdown","MarkdownItSup","_interopNamespaceDefault","baseListCommand__namespace","Placeholder","placeholderText","decorations","Decoration","class","DecorationSet","markActive","hasCode","defaultInputRuleHandler","inputRule","isBlockNodeRule","originalHandler","unsupportedMarks","unsupportedMarksPresent","isUnsupportedMark","hasUnsupportedMarkForBlockInputRule","isCodemark","hasUnsupportedMarkForInputRule","createInputRule$1","InputRule","leafNodeReplacementCharacter","hasVisibleContent","inlineNode","isEmptyParagraph","transformed","mapSlice","createInputRule","regexp","wrappingInputRule","insertList","listType","listTypeName","hardBreak","currentNode","list_item","listInputRules","_match","getBulletListInputRules","getOrderedListInputRules","inputRules","isInsideListItem","paragraph","hasParentNodeOfType","numberNestedLists","resolvedPos","bullet_list","ordered_list","outdentList","_len","functions","reduceRight","compose","listItem","command","$join","mergeLists","liftListItem","splitListItem","itemType","grandParent","keepItem","tr$1","nextType","enterKeyOnListCommand","wrapperHasContent","nonBlock","childNode","isNodeEmpty","indentList","initialIndentationLevel","currentIndentationLevel","canSink","sinkListItem","linkify","fuzzyLink","tlds","LinkMatcher","chunks","lastChunk","links","lastLink","whitelistedURLPatterns","isSafeUrl","normalizeUrl","getLinkMatch","linksInputRules","urlWithASpaceRule","markdownLinkRule","linkText","linkUrl","insertBlock","hard_break","code_block","codeBlock","nodeHasMoreContent","cleanUpAtTheStartOfDocument","canCreateParagraphNear","insideCodeBlock","isNodeSelection","createNewParagraphBelow","atTheEndOfDoc","canMoveDown","createParagraphNear","createNewParagraphAbove","atTheBeginningOfDoc","canMoveUp","topLevelNode","topLevelNodeIsEmptyTextBlock","getInsertPosFromTextBlock","getInsertPosFromNonTextBlock","getHeadingLevel","getHeadingRules","maxLevel","heading","textblockTypeInputRule","getBlockQuoteRules","getCodeBlockRules","language","parentDepth","isConvertableToCodeBlock","startOfCodeBlockText","parentPos","codeBlockSlice","transformToCodeBlockAction","safeInsert","blocksInputRule","hrInputRules","horizontal_rule","hrRule","hrPos","mac","platform","baseKeyMaps","baseKeymap","cmd","chainCommands","undoInputRule","undo","redo","backspaceComands","joinBackward","selectNodeBackward","joinUp","joinDown","selectParentNode","insideCode","currentPosHasCode","nextPosHasCode","nextNextPosHasCode","exitingCode","atLeftEdge","atRightEdge","enteringCode","isFirstChild","strong","toggleMark","em","superscript","br","exitCode","modEnter","enterCommands","newlineInCode","liftEmptyBlock","splitBlock","keymap","validCombos","validRegex","char","matchLength","charSize","textWithCombo","containsHardBreak","addCodeMark","specialChar","allowedPrefixConditions","regexStart","codeMark","nodeBetweenFrom","nodeBetweenTo","applyMarkOnRange","strongRegex1","strongRegex2","italicRegex1","italicRegex2","strikeRegex","codeRegex","supertextRegex","textFormattingInputRules","getStrongInputRules","getItalicInputRules","getSuperscriptInputRules","strike","getStrikeInputRules","getCodeInputRules","getValues","domFields","bad","offsetLeft","offsetWidth","offsetTop","className","reportInvalid","Field","TextField","placeholder","autocomplete","cmdItem","passedOptions","optionKey","select","MenuItem","markItem","blockTypeIsActive","wrapperDepth","currentDepth","currentNodeAtDepth","isType","hasAttrs","toggleBlockType","newNodeType","setBlockFunction","BaseIcon","width","height","viewBox","stroke","strokeWidth","strokeLinecap","strokeLinejoin","icons","superScript","bulletList","orderedList","wrapListItem","wrapInList","imageUploadItem","onImageUpload","icon","headerItem","view","focus","linkItem","mouseOutside","submitButton","cancelButton","titleDom","buttons","box","getBoundingClientRect","innerHeight","innerWidth","submit","preventDefault","ctrlKey","metaKey","shiftKey","activeElement","elements","openPrompt","buildMenuOptions","enabledMenuOptions","availableMenuOptions","imageUpload","menuOptionKey","filterMdToPmSchemaMapping","newMap","baseSchemaToMdMapping","baseNodesMdToPmMapping","softbreak","hardbreak","fence","info","order","attrGet","heightMatch","alt","baseMarksMdToPmMapping","sup","code_inline","messageSchemaToMdMapping","messageMdToPmMapping","userFullName","md$1","html","articleSchemaToMdMapping","articleMdToPmMapping","md","breaks","wrapBlock","renderContent","ensureNewLine","closeBlock","renderList","bullet","maxW","repeat","nStr","renderInline","esc","param","quote","mixable","expelEnclosingWhitespace","_state","isPlainURL","_mark","backticksFor","side","ticks","ArticleMarkdownSerializer","MarkdownSerializer","markup","MessageMarkdownSerializer","uri","escapedDisplayName","fullSchema","Schema","messageSchema","draggable","EditorView","ArticleMarkdownTransformer","tokenizer","idx","markdownParser","MarkdownParser","encode","_node","MessageMarkdownTransformer","buildEditor","history","dropCursor","gapCursor","menuBar","floating","SpanRecorder","maxlen","spans","_maxlen","span","spanRecorder","Span","spanContext","traceId","spanId","startTimestamp","parentSpanId","sampled","endTimestamp","startChild","childSpan","transaction","setTag","setData","setStatus","setHttpStatus","httpStatus","spanStatus","spanStatusfromHttpCode","isSuccess","toTraceparent","sampledString","toContext","updateWithContext","getTraceContext","parent_span_id","span_id","trace_id","start_timestamp","numberFormatKeys","isNull","parseArgs","looseClone","arguments$1","looseEqual","isObjectA","isObjectB","isArrayA","isArrayB","keysA","keysB","i18n","__i18n","VueI18n","localeMessages","messages","mergeLocaleMessage","_i18n","_i18nWatcher","watchI18nData","rootI18n","$i18n","formatter","fallbackLocale","formatFallbackMessages","silentTranslationWarn","silentFallbackWarn","pluralizationRules","preserveDirectiveContent","$once","localeMessages$1","sharedMessages","_localeWatcher","watchLocale","onComponentInstanceCreated","beforeMount","subscribeDataChanging","_subscribing","__INTLIFY_META__","$el","beforeDestroy","$nextTick","unsubscribeDataChanging","destroyVM","interpolationComponent","places","slots","onlyHasDefaultPlace","assignChildIndex","createParamsFromPlaces","everyPlace","vnodeHasPlaceAttribute","assignChildPlace","useLegacyPlaces","vnode","numberComponent","_ntp","slot","scopedSlots","oldVNode","localeEqual","_localeMessage","getLocaleMessage","unbind","modifiers","preserve","_vt","ref$1","ref$2","choice","parseValue","tc","makeParams","installed","$t","_t","_getMessages","$tc","_tc","$te","_te","$d","$n","optionMergeStrategies","parentVal","childVal","BaseFormatter","_caches","interpolate","isClosed","RE_TOKEN_LIST_VALUE","RE_TOKEN_NAMED_VALUE","compiled","pathStateMachine","literalValueRE","getPathCharType","formatSubPath","exp","trimmed","I18nPath","_cache","parsePath","hit","newChar","transition","typeMap","subPathDepth","maybeUnescapeQuote","nextChar","parse$1","getPathValue","paths","availabilities","htmlTagMatcher","linkKeyMatcher","linkKeyPrefixMatcher","bracketsMatcher","defaultModifiers","toLocaleUpperCase","defaultFormatter","dateTimeFormats","numberFormats","_formatter","_modifiers","_missing","missing","_root","_sync","_fallbackRoot","fallbackRoot","_formatFallbackMessages","_silentTranslationWarn","_silentFallbackWarn","_dateTimeFormatters","_numberFormatters","_path","_dataListeners","_componentInstanceCreatedListener","componentInstanceCreatedListener","_preserveDirectiveContent","_warnHtmlInMessage","warnHtmlInMessage","_postTranslation","postTranslation","_escapeParameterHtml","escapeParameterHtml","getChoiceIndex","choicesLength","thisPrototype","_choice","_choicesLength","_exist","_checkLocaleMessage","_initVM","availableLocales","$forceUpdate","$set","newI18n","_getDateTimeFormats","_getNumberFormats","_localeChainCache","orgLevel","_warnDefault","interpolateMode","missingRet","parsedArgs","_render","_isFallbackRoot","_isSilentFallbackWarn","_isSilentFallback","_isSilentTranslationWarn","_interpolate","visitedLinkStack","pathRet","_link","linkKeyPrefixMatches","linkPrefix","formatterName","linkPlaceholder","translated","_translate","_createMessageContext","_list","_named","named","_appendItemToChain","chain","blocks","follow","_appendLocaleToChain","_appendBlockToChain","_getLocaleChain","predefined","fetchChoice","choices","te","setLocaleMessage","getDateTimeFormat","setDateTimeFormat","_clearDateTimeFormat","mergeDateTimeFormat","_localizeDateTime","Intl","DateTimeFormat","getNumberFormat","setNumberFormat","_clearNumberFormat","mergeNumberFormat","_getNumberFormatter","NumberFormat","_n","numberFormat","formatToParts","intlDefined","dateTimeFormat","initializeAnalyticsEvents","AnalyticsHelper","initializeChatwootEvents","$ruut","identifier_hash","hmac_identifier","setCustomAttributes","signedUpAt","created_at","cloudCustomer","always_play_audio_alert","alwaysPlayAudioAlert","enable_audio_alerts","audioAlertType","alert_if_unread_assigned_conversation_exist","alertIfUnreadConversationExist","notification_tone","audioAlertTone","DashboardAudioNotificationHelper","setInstanceValues","currentUserId","initializeAudioAlerts","oldKey","Cookie","cookieEnabled","maxage","domain","secure","localStorageWarning","setItem","UniversalStorage","stores","storageOptions","enabledStores","getStores","storeTypes","storeType","storage","getAndSync","coercedValue","getAvailableStorageOptions","memory","User","prevId","identityStore","idKey","retId","retLeg","legacyUserStore","anonKey","legacySIO","traitsStore","traitsKey","isDisabled","shouldPersist","defaultStorageTargets","localStorageFallbackDisabled","legacyUser","currentId","save","groupDefaults","Group","FINISH_REASON_TAG","IDLE_TRANSACTION_FINISH_REASONS","Delete","Screen","Page","Track","Identify","Alias","Facade","facade_1","alias_1","group_1","identify_1","track_1","page_1","screen_1","delete_1","colorSchemeClasses","dirtyUnixTime","unixTime","Timeout","clearFn","_clearFn","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","_onTimeout","clearImmediate","__importDefault","address_1","clone_1","is_enabled_1","new_date_1","obj_case_1","isodate_traverse_1","raw","traverse","multi","rawEvent","allEnabled","providers","sessionId","library","device","timezone","channel","ip","ctor","superCtor","super_","TempCtor","traceHeaders","getSpan","sample","samplingContext","setMetadata","transactionSampling","tracesSampler","sampleRate","rate","parentSampled","tracesSampleRate","isValidSampleRate","_startTransaction","transactionContext","customSamplingContext","initSpanRecorder","_experiments","maxSpans","startIdleTransaction","idleTimeout","onScope","addExtensionMethods","carrier","extensions","startTransaction","packageToIntegrationMapping","mongodb","Mongo","mongoose","mysql","Mysql","pg","Postgres","mappedPackages","pkg","_autoloadDatabaseIntegrations","domIndex","assignedSlot","reusedRange","textRange","createRange","setEnd","setStart","isEquivalentPosition","targetNode","targetOff","scanFor","atomElements","hasBlockDesc","contentEditable","pmViewDesc","selectionCollapsed","domSel","focusNode","focusOffset","anchorNode","anchorOffset","keyEvent","keyCode","createEvent","initEvent","nav","agent","ie_edge","ie_upto10","ie_11up","ie","ie_version","documentMode","gecko","_chrome","chrome","chrome_version","safari","vendor","ios","windows","android","webkit","documentElement","webkit_version","windowRect","vp","defaultView","visualViewport","bottom","clientWidth","clientHeight","getSide","clientRect","rect","scaleX","scaleY","offsetHeight","scrollRectIntoView","startDOM","scrollThreshold","someProp","scrollMargin","atTop","bounding","moveX","moveY","scrollBy","startX","scrollLeft","startY","scrollTop","dX","dY","getComputedStyle","scrollStack","restoreScrollStack","dTop","preventScrollSupported","findOffsetInNode","coords","closest","coordsClosest","firstBelow","coordsBelow","dxClosest","rowBot","rowTop","childIndex","rects","getClientRects","dx","singleRect","inRect","findOffsetInText","elementFromPoint","startI","posAtCoords","caret","caretPositionFromPoint","offsetNode","caretRangeFromPoint","startContainer","startOffset","caretFromPoint","targetKludge","outsideBlock","sawBlock","docView","nearestDesc","posBefore","posAfter","posFromDOM","posFromCaret","posFromElement","posAtStart","border","nonZero","BIDI","coordsAtPos","domFromPos","supportEmptyRange","takeSide","flattenV","rectBefore","rectAfter","flattenH","ignoreForCoords","withFlushedState","viewState","updateState","maybeRTL","cachedState","cachedDir","cachedResult","endOfTextblock","nearest","boxes","endOfTextblockVertical","domSelection","modify","oldNode","oldOff","domSelectionRange","oldBidiLevel","caretBidiLevel","parentDOM","domAfterPos","newOff","collapse","endOfTextblockHorizontal","ViewDesc","matchesWidget","widget","matchesMark","matchesNode","outerDeco","innerDeco","matchesHack","parseRule","stopEvent","posBeforeChild","posAtEnd","localPosFromDOM","domBefore","domAfter","onlyNodes","nodeDOM","getDesc","descAt","TrailingHackViewDesc","WidgetViewDesc","domAtom","parseRange","fromOffset","toOffset","childBase","emptyChildAt","force","anchorDOM","headDOM","getSelection","selRange","brKludge","domSelExtended","removeAllRanges","ignoreMutation","contentLost","markDirty","startInside","endInside","markParentsDirty","classList","ignoreSelection","CompositionViewDesc","textDOM","mut","MarkViewDesc","custom","nodeViews","reparseInView","replaceNodes","NodeViewDesc","descObj","hasAttribute","applyOuterDeco","CustomNodeViewDesc","TextViewDesc","sameOuterDeco","updateChildren","composition","composing","localCompositionInfo","localComposition","compositionInChild","ViewTreeUpdater","deco","onWidget","onNode","locals","forChild","decoIndex","restNode","parentIndex","widgets","compareSide","cutAt","iterDeco","insideNode","syncToMarks","placeWidget","compIndex","findNodeMatch","findIndexWithChild","updateNodeAt","updateNextNode","addTextblockHacks","destroyRest","protectLocalComposition","renderDescs","oldCSS","cssText","listStyle","iosHacks","compositionNode","textPos","childStart","lastIndexOf","findTextInFragment","compositionNodes","updateInner","updateOuterDeco","needsWrap","oldDOM","patchOuterDeco","computeOuterDeco","selectNode","deselectNode","removeAttribute","docViewDesc","pmIsDeco","inParent","trackWrites","multiType","descs","written","childDOM","rm","insertBefore","OuterDecoLevel","noDeco","outerDOM","prevComputed","curComputed","curDOM","patchAttributes","prevList","curList","removeProperty","lock","preMatch","parentDesc","curDesc","descI","fI","destroyBetween","maxKeep","isLocked","markDesc","targetDesc","domNode","nextDOM","locked","recreateWrapper","requiresGeckoHackNode","addHackNode","hack","selectionFromDOM","origin","inWidget","nearestDescNode","isOnEdge","rangeCount","getRangeAt","endContainer","endOffset","selectionBetween","editorOwnsSelection","editable","hasFocus","hasSelection","selectionToDOM","syncNodeSelection","mouseDown","allowDefault","curSel","domObserver","currentSelection","delayedSelectionSync","setCurSelection","disconnectSelection","cursorWrapper","img","disabled","selectCursorWrapper","resetEditableFrom","resetEditableTo","brokenSelectBetweenUneditable","temporarilyEditableNear","resetEditable","hideSelectionGuard","removeClassOnSelectionChange","connectSelection","setEditable","wasDraggable","lastSelectedViewDesc","clearNodeSelection","hasFocusAndSelection","moveSelectionBlock","$side","selectHorizontally","mods","$newHead","nodePos","nodeLen","isIgnorable","skipIgnoredNodes","moveNode","moveOffset","isBlockNode","setSelFocus","skipIgnoredNodesBefore","skipIgnoredNodesAfter","textNodeAfter","textNodeBefore","findDirection","mid","selectVertically","beyond","stopNativeHorizontalDelete","nextNode","switchEditable","captureKeyDown","altKey","getMods","safariDownArrowBug","serializeForClipboard","serializer","detachedDoc","wrapMap","parseFromClipboard","plainText","inCode","asText","parsed","metas","firstTag","innerHTML","trustedTypes","_policy","createPolicy","createHTML","maybeWrapTrusted","readHTML","querySelectorAll","restoreReplacedSpaces","contextNode","sliceData","inlineParents","addContext","closeSlice","lastWrap","inLast","addToSibling","closeRight","withWrappers","normalizeSiblings","sibling","closeRange","thead","tbody","caption","colgroup","col","td","_detachedDoc","implementation","createHTMLDocument","handlers","editHandlers","passiveHandlers","touchstart","touchmove","InputState","lastKeyCode","lastKeyCodeTime","lastClick","lastSelectionOrigin","lastSelectionTime","lastIOSEnter","lastIOSEnterFallbackTimeout","lastFocus","lastTouch","lastChromeDelete","composingTimeout","compositionEndedAt","compositionID","compositionPendingChanges","domChangeCount","eventHandlers","setSelectionOrigin","ensureListeners","currentHandlers","runCustomHandler","defaultPrevented","eventBelongsToView","bubbles","eventCoords","clientX","clientY","runHandlerOnContext","propName","updateSelection","focused","handleSingleClick","selectedNode","selectAt","selectClickedNode","selectClickedLeaf","handleDoubleClick","handleTripleClick","button","defaultTripleClick","forceDOMFlush","endComposition","keydown","_event","inOrNearComposition","forceFlush","keyup","keypress","charCode","selectNodeModifier","mousedown","click","dy","isNear","MouseDown","targetPos","mightDrag","startDoc","addAttr","setUneditable","up","updateAllowDefault","timeStamp","contextmenu","timeoutComposition","scheduleComposeEnd","clearComposition","timestampFromCustomEvent","findCompositionNode","textBefore","textNodeBefore$1","textAfter","textNodeAfter$1","descAfter","lastChanged","lastChangedTextNode","descBefore","restarting","flushingSoon","markCursor","compositionstart","compositionupdate","compositionend","pendingRecords","brokenClipboardAPI","doPaste","preferPlain","singleNode","sliceSingleNode","getText","clipboardData","getData","uris","clearData","selectNodeContents","blur","captureCopy","paste","plain","capturePaste","Dragging","dragCopyModifier","dragstart","dataTransfer","draggedSlice","files","effectAllowed","dragging","dragend","dragover","dragenter","drop","eventPos","$mouse","isNode","beforeInsert","relatedTarget","beforeinput","inputType","flushSoon","compareObjs","WidgetType","noSpec","oldOffset","valid","InlineType","inclusiveStart","inclusiveEnd","is","buildTree","findInner","childOff","mapInner","newLocal","onRemove","oldChildren","baseOffset","moved","oldEnd","newEnd","dSize","mustRebuild","fromLocal","toLocal","childOffset","gather","mapAndGatherRemainingDecorations","byPos","mapChildren","addInner","takeSpansForNode","moveSpans","withoutNulls","removeInner","localSet","DecorationGroup","removeOverlap","localsInner","forEachSet","members","mappedDecos","member","sorted","hasNulls","localStart","subtree","working","insertAhead","viewDecorations","observeOptions","childList","characterData","characterDataOldValue","attributeOldValue","useCharData","SelectionState","DOMObserver","handleDOMChange","observer","onCharData","suppressingSelectionUpdates","MutationObserver","removedNodes","prevValue","onSelectionChange","takeRecords","observe","take","disconnect","suppressSelectionUpdates","ignoreSelectionChange","container","ancestors","newSel","typeOver","brs","blockParent","readSel","scrollToSelection","cssChecked","cssCheckWarned","checkCSS","addedNodes","rangeToSelectionRange","currentAnchor","domAtPos","readDOMChange","shared","preferredPos","preferredSide","from_","to_","parseBetween","compare","change","endA","endB","isSurrogatePair","findDiff","resolveSelection","nextSel","$fromA","inlineChange","$newStart","$newEnd","skipClosingAndOpening","$next","looksLikeBackspace","markChange","chFrom","chTo","curMarks","prevMarks","isMarkChange","parsedSel","fromEnd","mayOpen","__serializeForClipboard","__parseFromClipboard","__endComposition","prevDirectPlugins","pluginViews","_props","directPlugins","checkStateComponent","getEditable","updateCursorWrapper","buildNodeViews","computeDocDeco","passive","initInput","updatePluginViews","handleDOMEvents","prevProps","updateStateInner","setProps","redraw","updateSel","pluginsChanged","nA","nB","changedNodeViews","scroll","updateDoc","oldScrollPos","overflowAnchor","refDOM","refTop","localRect","storeScrollPos","forceSelUpdate","sel1","sel2","selectionContextChanged","chromeKludge","anchorInRightPlace","updateDraggedNode","newRefTop","resetScrollPos","destroyPluginViews","prevState","pluginView","movedPos","parentElement","setActive","stored","preventScroll","focusPreventScroll","updateRoot","posAtDOM","pasteHTML","ClipboardEvent","pasteText","destroyInput","isDestroyed","dispatchEvent","dispatchTransaction","deepActiveElement","getComposedRanges","stopImmediatePropagation","getTargetRanges","execCommand","safariShadowSelectionRange","contenteditable","translate","truncate","snipLine","colno","newLine","lineLength","safeJoin","isMatchingPattern","pattern","isOnline","isPhoneNumberValid","dialCode","isPhoneE164OrEmpty","isPhoneE164","isPhoneNumberValidWithDialCode","startsWithPlus","shouldBeUrl","isValidPassword","containsUppercase","containsLowercase","containsNumber","containsSpecialCharacter","isDomain","initOnEvents","getAlertAudio","requestContext","audioCtx","getAudioContext","AudioContext","webkitAudioContext","playSound","audioBuffer","playAudioAlert","createBufferSource","alertTone","audioRequest","Request","arrayBuffer","decodeAudioData","SIGNATURE_DELIMITER","cleanSignature","signature","serialize","Sentry","findSignatureInBody","trimmedBody","trimEnd","cleanedSignature","appendSignature","appendDelimiter","removeSignature","signatureIndex","newBody","delimiterIndex","replaceSignature","oldSignature","newSignature","extractTextFromMarkdown","markdown","scrollCursorIntoView","behavior","insertAtCursor","editorView","findNodeToInsertImage","editorState","fileUrl","imageNode","isInParagraph","needsNewLine","setURLWithQueryAndSize","selectedImageNode","DEFAULT_IDLE_TIMEOUT","IdleTransactionSpanRecorder","_pushActivity","_popActivity","transactionSpanId","IdleTransaction","_idleHub","_onScope","activities","_heartbeatCounter","_finished","_beforeFinishCallbacks","clearActiveTransaction","configureScope","setSpan","_initTimeout","keepSpan","registerBeforeFinishCallback","_pingHeartbeat","end_1","_beat","heartbeatString","_prevHeartbeatString","_measurements","_hub","metadata","_trimEnd","setName","setMeasurements","measurements","newMetadata","finishedSpans","contexts","trace","sdkProcessingMetadata","captureEvent","transport","getTransport","recordLostEvent","loc","persisted","items","mutex","onUnlock","attempt","lockKey","rawLock","expired","PersistedPriorityQueue","itemsKey","seenKey","saved","lastSeen","items_1","persistItems","persistSeen","HANDLER","initialMacrotaskEnded","ev","onClickaway","getUTCWeekYear","localeFirstWeekContainsDate","firstWeekContainsDate","defaultFirstWeekContainsDate","firstWeekOfNextYear","startOfNextYear","firstWeekOfThisYear","startOfThisYear","BUFFER","IDX","HEX","v4","getGlobal","encodeReserveRE","encodeReserveReplacer","commaRE","decode","castQueryParamValue","parseQuery","stringifyQuery","val2","trailingSlashRE","createRoute","redirectedFrom","router","fullPath","getFullPath","formatMatch","START","_stringifyQuery","isSameRoute","onlyPath","isObjectEqual","aKeys","bKeys","aVal","bVal","handleRouteEntered","instances","cbs","enteredCbs","i$1","_isBeingDestroyed","View","routerView","$createElement","$route","_routerViewCache","inactive","_routerRoot","vnodeData","keepAlive","_directInactive","_inactive","$parent","routerViewDepth","cachedData","cachedComponent","configProps","fillPropsinData","components","registerRouteInstance","prepatch","componentInstance","propsToPass","resolveProps","resolvePath","relative","firstChar","segments","segment","cleanPath","isarray","pathToRegexp_1","pathToRegexp","parse_1","compile_1","tokensToFunction","tokensToFunction_1","tokensToRegExp_1","tokensToRegExp","PATH_REGEXP","defaultDelimiter","capture","modifier","asterisk","partial","optional","escapeGroup","escapeString","encodeURIComponentPretty","pretty","attachKeys","re","sensitive","endsWithDelimiter","regexpToRegexp","arrayToRegexp","stringToRegexp","regexpCompileCache","fillParams","routeMsg","filler","pathMatch","normalizeLocation","_normalized","params$1","rawPath","parsedPath","hashIndex","queryIndex","basePath","extraQuery","_parseQuery","parsedQuery","resolveQuery","Link","exact","exactPath","activeClass","exactActiveClass","ariaCurrentValue","$router","classes","globalActiveClass","linkActiveClass","globalExactActiveClass","linkExactActiveClass","activeClassFallback","exactActiveClassFallback","compareTarget","queryIncludes","isIncludedRoute","guardEvent","scopedSlot","$scopedSlots","$hasNormal","navigate","isExactActive","findAnchor","$slots","isStatic","aData","handler$1","event$1","aAttrs","inBrowser","createRouteMap","routes","oldPathList","oldPathMap","oldNameMap","parentRoute","pathList","pathMap","nameMap","addRouteRecord","matchAs","pathToRegexpOptions","normalizedPath","normalizePath","caseSensitive","compileRouteRegex","redirect","beforeEnter","childMatchAs","aliasRoute","createMatcher","currentRoute","_createRoute","paramNames","record$1","matchRoute","originalRedirect","resolveRecordPath","aliasedMatch","aliasedRecord","addRoute","parentOrRoute","getRoutes","addRoutes","Time","genStateKey","getStateKey","setStateKey","positionStore","setupScroll","scrollRestoration","protocolAndPath","absolutePath","stateCopy","handlePopState","handleScroll","isPop","scrollBehavior","getScrollPosition","shouldScroll","scrollToPosition","saveScrollPosition","pageXOffset","pageYOffset","isValidPosition","normalizePosition","hashStartsWithNumberRE","getElementById","docRect","elRect","getElementPosition","scrollTo","ua","supportsPushState","pushState","runQueue","NavigationFailureType","redirected","aborted","cancelled","duplicated","createNavigationRedirectedError","createRouterError","propertiesToLog","stringifyRoute","createNavigationCancelledError","_isRouter","isNavigationFailure","resolveAsyncComponents","hasAsync","pending","flatMapComponents","cid","resolvedDef","hasSymbol","comp","flatten","History","baseEl","normalizeBase","readyCbs","readyErrorCbs","errorCbs","extractGuards","guards","guard","extractGuard","bindGuard","listen","onReady","errorCb","onError","transitionTo","onComplete","onAbort","confirmTransition","updateRoute","ensureURL","afterHooks","abort","lastRouteIndex","lastCurrentIndex","activated","deactivated","resolveQueue","extractLeaveGuards","beforeHooks","extractUpdateHooks","createNavigationAbortedError","enterGuards","bindEnterGuard","extractEnterGuards","resolveHooks","setupListeners","teardown","cleanupListener","HTML5History","_startLocation","getLocation","expectScroll","supportsScroll","handleRoutingEvent","go","fromRoute","getCurrentLocation","pathLowerCase","baseLowerCase","HashHistory","checkFallback","ensureSlash","getHash","replaceHash","pushHash","getUrl","AbstractHistory","targetIndex","VueRouter","apps","registerHook","routeOrError","handleInitialScroll","_route","beforeEach","beforeResolve","afterEach","back","forward","getMatchedComponents","createHref","normalizedTo","registerInstance","callVal","_parentVnode","_router","defineReactive","destroyed","strats","beforeRouteEnter","beforeRouteLeave","beforeRouteUpdate","created","START_LOCATION","XMLHttpRequest","statusText","responseURL","responseText","blob","getAllResponseHeaders","withCredentials","credentials","setRequestHeader","toFacade","evt","fcd","availabilityUpdate","me","getInbox","inbox_id","fetchFacebookPages","omniauth_token","API_VERSION","Hub","_version","_stack","getStackTop","bindClient","isOlderThan","setupIntegrations","pushScope","getStack","popScope","hint","eventId","_lastEventId","event_id","finalHint","_invokeClient","captureMessage","lastEventId","addBreadcrumb","breadcrumb","beforeBreadcrumb","maxBreadcrumbs","mergedBreadcrumb","finalBreadcrumb","setTags","setExtras","setExtra","oldHub","makeMain","getIntegration","startSpan","_callExtensionMethod","captureSession","endSession","_sendSessionUpdate","layer","session","getSession","setSession","startSession","release","environment","getUser","currentSession","sentry","getMainCarrier","registry","getHubFromCarrier","setHubOnCarrier","getCurrentHub","hasHubOnCarrier","activeDomain","registryHubTopStack","getHubFromActiveDomain","getTimeOffset","ReportsAPI","getReports","metric","groupBy","businessHours","group_by","business_hours","timezone_offset","getSummary","getConversationMetric","getAgentReports","getConversationTrafficCSV","getLabelReports","getInboxReports","getTeamReports","_ref5","getBotMetrics","getBotSummary","getModifierState","KeyboardEvent","taggedHandlers","events","getKeyboardEvents","keydownHandler","createKeybindingsHandler","wrapEventsInKeybindingsHandler","addEventHandler","_this$$el$dataset","dataset","keydownHandlerIndex","handlerToRemove","indexToAppend","wrappedEvents","keydownWrapper","actionToPerform","allowOnFocusedInput","isActiveElementTypeable","isEscape","permissions","SettingsContent","showNewButton","Index","AgentHome","Bot","CsmlNewBot","CsmlEditBot","AttributesHome","Automation","AuditLogsHome","CannedHome","hasLoginStarted","errorStateMessage","emptyStateMessage","$event","createChannel","useInstallationName","installationName","$v","selectedPage","$error","getSelectablePages","setPageName","$$v","pageName","domProps","$touch","_m","startLogin","uiFlags","isCreating","inboxName","channelWebsiteUrl","channelBlogUrl","channelWidgetColor","channelWelcomeTitle","channelWelcomeTagline","$$selectedVal","selected","greetingEnabled","multiple","textAreaChannels","greetingMessage","TwitterClient","generateAuthorization","requestAuthorization","isRequestingAuthorization","channelName","webhookUrl","MicrosoftClient","microsoftClient","googleClient","_setup","_setupProxy","SettingsSubPageHeader","inputPlaceholder","submitButtonText","OAuthChannel","useI18n","isAChatwootInstance","emailProviderList","isEnabled","azureAppId","ruutConfig","googleOAuthClientId","providerConfig","emailProvider","Microsoft","Google","ForwardToOption","PageHeader","ChannelSelector","onClick","phoneNumber","applicationId","apiKey","apiSecret","messagingServiceSID","useMessagingService","$$a","$$el","$$c","checked","$$i","accountSID","useAPIKey","apiKeySID","authToken","authTokeni18nKey","phoneNumberId","businessAccountId","subtitle","reopenConversations","importMessages","importMessagesAge","signMessages","toggleSignMessages","lineChannelId","lineChannelSecret","lineChannelToken","channelViewList","facebook","Facebook","website","Website","twitter","Twitter","api","Api","Email","sms","Sms","whatsapp","Whatsapp","Line","telegram","botToken","channel_name","headerButtonText","newButtonRoutes","showBackButton","InboxHome","InboxChannel","ChannelList","FinishSetup","channelFactory","sub_page","AddAgents","Settings","backUrl","IntegrationHooks","integrationId","integration_id","Webhook","DashboardApps","Slack","ShowIntegration","MacroEditor","Macros","LiveReports","CsatResponses","BotReports","AgentReports","LabelReports","InboxReports","TeamReports","SLAReports","SettingsWrapper","TeamsHome","CreateStepWrap","CreateTeam","EditStepWrap","EditTeam","EditAgents","getCurrentRole","agentBot","automation","auditlogs","billing","campaigns","canned","integrationapps","macros","reports","sla","teams","ConversationView","conversationId","conversation_id","SearchView","ContactsView","segmentsId","ContactManageView","showSidemenuIcon","NotificationsView","InboxListView","InboxEmptyStateView","InboxDetailView","isOnChatwootCloud","openHelpCenterDocs","openBillingPage","portal","articlesCount","isLocaleActive","activePortalSlug","localeName","isLocaleDefault","articles_count","openPortalPage","closePortalPopover","activeLocale","slug","fetchPortalAndItsCategories","thumbnailSrc","subTitle","popoutHelpCenter","openPortalPopover","portalLink","menuItem","toState","onClickOpenAddCatogoryModal","hasCategory","toggleAccountModal","openNotificationPanel","toggleKeyShortcutModal","closeKeyShortcutModal","selectedPortalSlug","selectedLocaleInPortal","accessibleMenuItems","additionalSecondaryMenuItems","onClickOpenAddCategoryModal","showAccountModal","closeNotificationPanel","portals","showAddCategoryModal","selectedPortalName","onClickCloseAddCategoryModal","getPortalRoute","slugToBeAdded","ListAllCategories","ListAllArticles","portalRoutes","DefaultPortalArticles","ListAllPortals","NewPortal","PortalDetails","PortalCustomization","PortalSettingsFinish","ShowPortal","EditPortal","EditPortalBasic","EditPortalCustomization","EditPortalLocales","articleRoutes","NewArticle","EditArticle","categoryRoutes","NewCategory","ListCategoryArticles","EditCategory","HelpCenterLayout","AppContainer","inboxRoutes","conversation","contactRoutes","searchRoutes","notificationRoutes","Suspended","dashboard","routesWithPermissions","buildPermissionsFromRouter","initalizeRouter","userAuthentication","validateAuthenticateRoutePermission","isLoggedIn","getCurrentUser","nextRoute","validateLoggedInRoutes","DISMISSED_UPDATES","WIDGET_BUILDER","COLOR_SCHEME","DISMISSED_LABEL_SUGGESTIONS","MESSAGE_REPLY_TO","clearAll","setFlag","storeName","rawValue","parsedValue","getFlag","updateJsonStore","storedValue","getFromJsonStore","deleteFromJsonStore","__v_isRef","$","C","S","O","_length","T","N","I","R","F","B","productionTip","devtools","errorHandler","warnHandler","ignoredElements","keyCodes","isReservedTag","isReservedAttr","isUnknownElement","getTagNamespace","parsePlatformTagName","mustUseProp","U","z","V","K","J","q","Z","G","X","Y","tt","et","nt","ot","VUE_ENV","rt","st","it","ct","at","lt","_scope","ut","elm","fnContext","fnOptions","fnScopeId","componentOptions","isRootInsert","isComment","isCloned","isOnce","asyncFactory","asyncMeta","isAsyncPlaceholder","ft","dt","pt","ht","mt","vt","_pending","addSub","removeSub","depend","addDep","notify","yt","bt","wt","__ob__","observeArray","dep","Ct","kt","St","Ot","Tt","shallow","mock","vmCount","jt","At","__v_skip","Ht","Pt","Et","Rt","_isVue","Nt","Dt","Mt","It","__v_raw","Lt","__v_isShallow","__v_isReadonly","Ft","Bt","Ut","zt","Jt","qt","Wt","Zt","Gt","vn","Xt","Yt","Qt","ne","ee","_isVList","se","$o","lo","Un","ce","ae","le","ue","fe","de","pe","_staticTrees","_renderProxy","he","ge","ve","ye","$stable","$key","$e","be","_o","_q","_k","_u","_p","we","xe","Ce","ke","Se","Oe","Te","_attrsProxy","Ae","$attrs","_listenersProxy","$listeners","_slotsProxy","Ee","$emit","expose","je","Ne","_setupContext","Pe","De","Me","Ie","Le","Re","$on","Fe","$off","He","Be","Ue","detached","effects","cleanups","scopes","ze","Ve","Ke","Je","qe","$children","Ze","We","_hasHookEvent","Ge","Xe","Ye","Qe","tn","en","nn","rn","sn","_watcher","_isMounted","_isDestroyed","gt","cn","noRecurse","kn","an","ln","un","dn","hn","pn","onTrack","onTrigger","onStop","Kn","lazy","_preWatchers","mn","_provided","gn","errorCaptured","yn","_handled","bn","wn","xn","Cn","Sn","On","Tn","An","jn","En","Nn","Pn","Dn","Mn","In","Ln","Rn","Fn","Hn","defineComponent","proxyRefs","triggerRef","isReadonly","isShallow","isProxy","shallowReactive","markRaw","toRaw","shallowReadonly","effect","evaluate","watchPostEffect","watchSyncEffect","EffectScope","useSlots","useAttrs","useListeners","mergeDefaults","useCssModule","useCssVars","setProperty","defineAsyncComponent","loadingComponent","errorComponent","suspensible","loading","onBeforeUpdate","onUpdated","onActivated","onDeactivated","onServerPrefetch","onRenderTracked","onRenderTriggered","onErrorCaptured","Bn","zn","Vn","deps","newDeps","depIds","newDepIds","cleanupDeps","Jn","qn","Wn","_propKeys","bo","setup","_setupState","__sfc","_computedWatchers","Zn","Gn","Qn","Xn","Yn","eo","no","superOptions","sealedOptions","extendOptions","oo","_original","injections","ro","io","__name","_componentTag","co","_isComponent","inlineTemplate","Ctor","_renderChildren","_vnode","_parentListeners","ao","_base","errorComp","owners","loadingComp","nativeOn","abstract","_merged","uo","fo","po","vo","yo","extends","mixins","ko","xo","wo","Co","So","To","Ao","jo","Eo","_uid","$refs","_events","$delete","_update","__patch__","__vue__","No","Po","KeepAlive","include","exclude","cacheVNode","vnodeToCache","keyToCache","mergeOptions","observable","_installedPlugins","_Ctor","Oo","Io","Lo","Ro","Bo","Uo","zo","Vo","Jo","qo","Wo","Zo","svg","math","Go","Xo","Qo","er","nr","or","createComment","setTextContent","setStyleScope","rr","sr","refInFor","ir","cr","lr","ur","fr","dr","oldArg","gr","componentUpdated","pr","mr","vr","yr","inheritAttrs","_v_attr_proxy","_r","removeAttributeNS","$r","Fo","__ieph","wr","Ko","_transitionClasses","_prevClass","xr","Cr","kr","Sr","Or","Tr","Ar","Rr","dynamic","jr","dynamicAttrs","Er","attrsMap","attrsList","Nr","isDynamicArg","Pr","Dr","middle","native","nativeEvents","Mr","Ir","Lr","Fr","Hr","Br","Vr","Ur","Kr","Jr","Wr","zr","qr","Zr","Xr","Gr","Yr","Qr","ts","es","rs","os","_wrapper","cs","ls","_vModifiers","us","fs","ds","ps","staticStyle","hs","gs","vs","ys","$s","normalizedStyle","bs","xs","Cs","ks","css","Ss","enterClass","enterToClass","enterActiveClass","leaveClass","leaveToClass","leaveActiveClass","Os","Ts","As","js","Es","Ns","Ps","ontransitionend","onwebkittransitionend","onanimationend","onwebkitanimationend","Ds","requestAnimationFrame","Ms","Is","Ls","Rs","propCount","Hs","Fs","Bs","hasTransform","Us","zs","_leaveCb","_enterCb","appearClass","appearToClass","appearActiveClass","afterEnter","enterCancelled","beforeAppear","appear","afterAppear","appearCancelled","Js","Ks","Vs","beforeLeave","leave","afterLeave","leaveCancelled","delayLeave","qs","Ws","nodeOps","activate","pendingInsert","postpatch","hasChildNodes","vmodel","ni","Zs","_vOptions","Gs","Qs","ti","ei","Ys","Xs","selectedIndex","oi","ri","__vOriginalDisplay","display","si","ci","ai","ui","fi","di","_leaving","pi","moveClass","hi","kept","prevChildren","hasMove","mi","gi","vi","_reflow","WebkitTransform","transitionDuration","_moveCb","propertyName","_hasMove","cloneNode","newPos","yi","Transition","TransitionGroup","HTMLUnknownElement","HTMLElement","$i","bi","wi","staticKeys","transformNode","classBinding","genData","xi","styleBinding","Ci","ki","Si","Oi","Ti","Ai","ji","Ei","Ni","Pi","Di","Mi","Ii","Li","Ri","Fi","Hi","Bi","Ui","zi","Vi","Ki","Ji","qi","Wi","Zi","Gi","Xi","Yi","Qi","ec","oc","rc","sc","ic","cc","ac","lc","uc","fc","dc","pc","hc","mc","wc","rawAttrsMap","vc","slotScope","slotTarget","slotTargetDynamic","$c","slotName","hasBindings","bc","camel","yc","iterator1","iterator2","ifConditions","xc","Cc","kc","Sc","preTransformNode","processed","if","else","elseif","Oc","expectHTML","isPreTag","isUnaryTag","canBeLeftOpenTag","Tc","Ac","jc","Ec","Nc","Pc","static","staticInFor","staticRoot","Dc","Mc","Ic","Lc","tab","down","Rc","Fc","Hc","prevent","ctrl","Bc","Uc","zc","Vc","wrapListeners","wrapData","cloak","Kc","transforms","dataGenFns","maybeComponent","onceId","Jc","qc","staticProcessed","Wc","onceProcessed","Zc","forProcessed","Yc","ifProcessed","Gc","na","sa","Qc","bindings","__isScriptSetup","Xc","ta","ea","oa","ra","ia","ca","delimiters","la","forbidden","chars","shouldKeepComment","comment","unarySlash","shouldDecodeNewlinesForHref","shouldDecodeNewlines","lowerCasedTag","comments","outputSourceRange","gc","optimize","ast","tips","compileToFunctions","fa","da","pa","ha","ma","ga","va","ya","template","outerHTML","registerImmediate","messagePrefix","onGlobalMessage","nextHandle","tasksByHandle","currentlyRunningATask","attachTo","handle","runIfPresent","importScripts","postMessageIsAsynchronous","oldOnMessage","onmessage","canUsePostMessage","MessageChannel","port1","port2","onreadystatechange","attachEvent","task","buildDirective","defaultDOMPurifyInstanceBuilder","dompurify_1","buildDOMPurifyInstance","dompurifyInstance","hookName","addHook","setUpHooks","updateComponent","namedConfigurations","sanitize","iconLib","pathData","API_CHANNEL_NAME","apiChannelName","API_CHANNEL_THUMBNAIL","apiChannelThumbnail","APP_VERSION","appVersion","AZURE_APP_ID","BRAND_NAME","brandName","CHATWOOT_INBOX_TOKEN","chatwootInboxToken","CSML_EDITOR_HOST","csmlEditorHost","CREATE_NEW_ACCOUNT_FROM_DASHBOARD","createNewAccountFromDashboard","DIRECT_UPLOADS_ENABLED","directUploadsEnabled","DISPLAY_MANIFEST","displayManifest","GIT_SHA","gitSha","HCAPTCHA_SITE_KEY","hCaptchaSiteKey","INSTALLATION_NAME","LOGO_THUMBNAIL","logoThumbnail","LOGO","logo","LOGO_DARK","logoDark","PRIVACY_URL","privacyURL","TERMS_URL","termsURL","WIDGET_BRAND_URL","widgetBrandURL","DISABLE_USER_PROFILE_UPDATE","disableUserProfileUpdate","DEPLOYMENT_ENV","deploymentEnv","$state","isACustomBrandedInstance","buildVueDompurifyHTMLDirective","dompurify_html_1","dompurify_html_2","Vuelidate","validationMixin","_params","withParams","_vval","_toConsumableArray","_arrayLikeToArray","_arrayWithoutHoles","iter","_iterableToArray","minLen","_unsupportedIterableToArray","_nonIterableSpread","enumerableOnly","symbols","sym","_objectSpread","_defineProperty","NIL","buildFromKeys","keyFn","getPath","__isVuelidateAsyncVm","validationGetters","$invalid","nestedKeys","refProxy","ruleKeys","$dirty","_this2","$anyDirty","_this3","$pending","$anyError","_this4","_this5","getRef","$params","_this6","vals","validations","setDirtyRecursive","validationMethods","$reset","$flattenParams","isNested","childParams","getterNames","methodNames","_cachedComponent","getComponent","VBase","refs","oldVval","patchChildren","getModel","lazyModel","getModelKey","hasIter","ValidationRule","lazyParentModel","rootModel","runRule","pushParams","rawOutput","asyncVm","makePendingAsyncVm","rawParams","popParams","$sub","_this7","arrayDep","_indirectWatcher","Watcher","_lastModel","Validation","_this8","_this9","keyDefs","getterDefs","methodDefs","iterDefs","$iter","$model","_this10","renderNested","renderRule","GroupValidation","EachValidation","tracker","_this11","trackBy","$trackBy","getModelLazy","_this12","_this13","usedTracks","refVals","_cachedVue","validateModel","rootVm","getVue","_getComponent","_vuelidate","_default","formatDistanceLocale","lessThanXSeconds","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","buildFormatLongFn","defaultWidth","formatLong","full","long","short","dateTime","formatRelativeLocale","yesterday","today","tomorrow","buildLocalizeFn","dirtyIndex","valuesArray","formattingValues","defaultFormattingWidth","_defaultWidth","_width","argumentCallback","buildMatchFn","dirtyString","matchPattern","matchPatterns","defaultMatchWidth","matchResult","matchedString","parsePatterns","defaultParseWidth","valueCallback","formatDistance","addSuffix","comparison","formatRelative","_date","_baseDate","localize","ordinalNumber","_dirtyOptions","rem100","abbreviated","wide","dayPeriod","am","pm","midnight","noon","morning","afternoon","evening","night","parsePattern","parseResult","any","analyticsWriteKey","_globalCDN","analyticsScriptRegex","setGlobalCDNUrl","_cdn","getCDN","globalCdnUrl","cdnFromScriptTag","getNextIntegrationsURL","dset","downloadCsvFile","createObjectURL","generateFileName","atBlockStart","$cut","findCutBefore","deleteBarrier","textblockAt","delStep","joinTextblockBackward","joinTextblocksAround","joinTextblockForward","atBlockEnd","findCutAfter","beforeText","beforePos","afterText","afterPos","only","joinForward","selectNodeForward","nodeSel","defaultBlockAt","above","splitBlockAs","splitNode","splitDepth","splitType","can","$first","splitBlockKeepMarks","selectAll","conn","isolated","joinMaybeClear","canDelAfter","$joinAt","selAfter","afterDepth","selectTextblockSide","selectTextblockStart","selectTextblockEnd","wrapIn","applicable","removeWhenPresent","enterAtoms","enterInlineAtoms","markApplies","removeInlineAtoms","spaceStart","spaceEnd","autoJoin","isJoinable","wrapDispatchForJoin","commands","backspace","pcBaseKeymap","macBaseKeymap","bindAll","resolvedSyncPromise","SyncPromise","rejectedSyncPromise","executor","_handlers","_setResult","_executeHandlers","cachedHandlers","onfulfilled","onrejected","onfinally","isRejected","uuid4","crypto","msCrypto","getRandomValues","Uint16Array","pad","parseUrl","getFirstException","getEventDescription","firstException","addExceptionTypeValue","addExceptionMechanism","newMechanism","currentMechanism","mechanism","handled","mergedData","checkOrSetAlreadyCaught","__sentry_captured__","tryAsync","ensure","newContext","isOnMentionsView","routeName","isOnUnattendedView","isOnFoldersView","buildConversationList","requestPayload","responseData","filterType","conversationList","metaData","setContacts","chatList","sender","markEndReached","setPageFilter","thumbnailBoxClass","thumbnailClass","onImgLoad","onImgError","shouldShowImage","userNameWithoutEmoji","avatarSize","badgeSrc","freeGlobal","freeSelf","isEnter","hasPressedCommand","hasPressedEnterAndNotCmdOrShift","hasPressedShift","hasPressedCommandAndEnter","_activeElement$classN","addMilliseconds","dirtyAmount","amount","validateActiveAccountRoutes","accountDashboardURL","isAccessible","userPermissions","routePermissions","hasPermissions","routeIsAccessibleFor","getCurrentAccount","isAConversationRoute","getConversationDashboardRoute","isAInboxViewRoute","extendedRoutes","isNotificationRoute","availablePermissions","permission","isPermissionsPresentInRoute","wait","callNow","getContrastingTextColor","bgColor","formatTime","timeInSeconds","formattedTime","_minutes","_hours","trimContent","ellipsis","trimmedContent","convertSecondsToTimeUnit","unitNames","parseBoolean","candidate","candidateString","sortAsc","_quantileForSorted","clamped","getQuantileIntervals","intervals","_extends","MESSAGE_VARIABLES_REGEX","capitalizeName","getFirstName","firstName","getLastName","lastName","getMessageVariables","_assignee$email","contact","_conversation$meta","assignee","_conversation$custom_","conversationCustomAttributes","contactCustomAttributes","phone_number","_ref6","replaceVariablesInMessage","_ref7","variables","getUndefinedVariablesInMessage","_ref8","variable","createTypingIndicator","onStartTyping","onStopTyping","idleTime","calculateThreshold","timeOffset","formatSLATime","evaluateSLAConditions","appliedSla","frtThreshold","sla_first_response_time_threshold","nrtThreshold","sla_next_response_time_threshold","rtThreshold","sla_resolution_time_threshold","createdAt","firstReplyCreatedAt","first_reply_created_at","waitingSince","waiting_since","SLAStatus","createSLAObject","isSlaMissed","evaluateSLAStatus","mostUrgent","SLAStatuses","sla1","sla2","findMostUrgentSLAStatus","DEFAULT_CONVERSATION_SIDEBAR_ITEMS_ORDER","DEFAULT_CONTACT_SIDEBAR_ITEMS_ORDER","slugifyChannel","isEditorHotKeyEnabled","editor_message_key","editorMessageKey","enter_to_send_enabled","enterToSendEnabled","conversationSidebarItemsOrder","conversation_sidebar_items_order","itemsOrder","contactSidebarItemsOrder","contact_sidebar_items_order","isContactSidebarItemOpen","toggleSidebarUIState","setSignatureFlagForInbox","fetchSignatureFlagFromUiSettings","webpackPolyfill","addLeadingZeros","signedYear","dayPeriodEnumValue","numberOfDigits","dayPeriodEnum","lightFormatters","signedWeekYear","getUTCISOWeekYear","getUTCWeek","getUTCISOWeek","difference","getUTCDayOfYear","dayOfWeek","localDayOfWeek","isoDayOfWeek","_localize","timezoneOffset","_originalDate","formatTimezoneWithOptionalMinutes","formatTimezone","formatTimezoneShort","originalDate","dirtyDelimiter","absOffset","formattingTokensRegExp","longFormattingTokensRegExp","escapedStringRegExp","doubleQuoteRegExp","unescapedLatinCharacterRegExp","dirtyFormatStr","subMilliseconds","formatterOptions","firstCharacter","longFormatter","longFormatters","useAdditionalWeekYearTokens","useAdditionalDayOfYearTokens","normalizer","defaultNormalize","normalizedKey","isServer","dateLongFormatter","timeLongFormatter","datePattern","timePattern","fourthOfJanuaryOfNextYear","fourthOfJanuaryOfThisYear","Scope","_notifyingListeners","_scopeListeners","_eventProcessors","_breadcrumbs","_tags","_extra","_contexts","_sdkProcessingMetadata","newScope","_level","_span","_session","_transactionName","_fingerprint","_requestSession","addScopeListener","addEventProcessor","_notifyScopeListeners","getRequestSession","setRequestSession","requestSession","setFingerprint","fingerprint","setLevel","setTransactionName","setTransaction","updatedScope","maxCrumbs","clearBreadcrumbs","applyToEvent","transactionName","_applyFingerprint","breadcrumbs","_notifyEventProcessors","getGlobalEventProcessors","setSDKProcessingMetadata","newData","processors","processor","final","addGlobalEventProcessor","getVersionType","referrerId","getCookieOptions","ad","queryIds","btid","urid","parts_1","ads","userLanguage","campaign","utmParam","utm","sentAt","_metadata","bundled","unbundled","bundlingStatus","unbundledIntegrations","settingsUnbundled","configIds","maybeBundledConfigIds","bundledConfigIds","addBundledMetadata","bundledIds","amp","ampId","tld","parsedUrl","lvls","hostname","levels","cname","findScript","loadScript","status_1","unloadScript","Emitter","STACKTRACE_LIMIT","createStackParser","parsers","sortedParsers","skipFirst","e_2","frames","sortedParsers_1","sortedParsers_1_1","frame","e_2_1","localStack","firstFrameFunction","function","lastFrameFunction","filename","stripSentryFramesAndReverse","defaultFunctionName","getFunctionName","logError","remoteMetrics","RemoteMetrics","flushTimer","maxQueueSize","flushing_1","run_1","remoteMetric","versionType","formattedTags","library_version","createRemoteMetric","series","Stats","by","MILLISECONDS_IN_WEEK","firstWeek","startOfUTCWeekYear","fourthOfJanuary","startOfUTCISOWeekYear","currentUserRole","isAdmin","addAccountScoping","_setTarget","paramsOrClosure","maybeValidator","validator","withParamsClosure","lastTarget","newTarget","addParams","closure","_len2","_key2","modalClassName","handleMouseDown","fullWidth","stopPropagation","domPurifyConfig","afterSanitizeAttributes","AccountAPI","createAccount","getCacheKeys","cache_keys","SubscriptionAPI","checkout","subscription","getLimits","getInvoices","findRecordById","invoices","isFetching","isFetchingItem","isUpdating","isCheckoutInProcess","getAccount","getUIFlags","getPlan","isTrialAccount","isFeatureEnabledonAccount","featureName","features","updateObj","accountInfo","payment_link","limits","MutationHelpers","AgentBotsAPI","idbProxyableTypes","cursorAdvanceMethods","cursorRequestMap","transactionDoneMap","transactionStoreNamesMap","transformCache","reverseTransformCache","idbProxyTraps","IDBTransaction","objectStoreNames","objectStore","wrapFunction","IDBDatabase","IDBCursor","advance","continue","continuePrimaryKey","_len3","_key3","storeNames","tx","transformCachableValue","unlisten","complete","DOMException","cacheDonePromiseForTransaction","IDBObjectStore","IDBIndex","IDBRequest","success","promisifyRequest","readMethods","writeMethods","cachedMethods","getMethod","targetFuncName","useIndex","isWrite","oldTraps","DataManager","modelsToSync","initDb","blocked","upgrade","blocking","terminated","openPromise","oldVersion","newVersion","openDB","createObjectStore","keyPath","dbNames","modelName","getAll","setCacheKeys","cacheKeys","getCacheKey","CacheEnabledApiClient","dataManager","cacheModelName","getFromCache","getFromNetwork","extractDataFromResponse","marshallData","dataToParse","cacheKeyFromApi","localData","validateCacheKey","refetchAndCommit","getCampaigns","deleteInboxAvatar","getAgentBot","setAgentBot","botId","agent_bot","getBots","getBot","bot","getActiveAgentBot","associatedAgentBotId","agentBotInbox","agentBotObj","isDeleting","fetchAgentBotInbox","isFetchingAgentBot","InboxesAPI","agentBotId","setAgentBotInbox","_ref9","isSettingAgentBot","disconnectBot","_ref10","_ref11","isDisconnecting","_ref12","Agents","bulkInvite","emails","getAgents","getVerifiedAgents","confirmed","getAgentStatus","online","availability_status","busy","offline","AgentAPI","agentInfo","agentParams","updateSingleAgentPresence","agentId","helpCenterId","articles","byId","articleById","getterArguments","articleId","allArticles","_getters","allIds","articleStatus","currentPage","allFetched","articlesAPI","getArticles","articleIds","articleObj","createArticle","getArticle","updateArticle","deleteArticle","attachImage","uploadFile","reorder","reorderedGroup","reorderArticles","current_page","toBeRemoved","newById","AttributeAPI","getAttributesByModel","attributeObj","getAttributes","attributeModel","attribute_model","initialState","currentUser","getCurrentUserID","getUISettings","getAuthUIFlags","getCurrentUserAvailability","$getters","getCurrentAccountId","availability","getCurrentUserAutoOffline","role","getMessageSignature","message_signature","messageSignature","getUserAccounts","authAPI","updateProfile","userData","setCurrentUserAvailability","AuditLogs","getAuditLogs","fetchingList","AuditLogsAPI","audit_logs","total_entries","totalEntries","per_page","perPage","AutomationsAPI","automationId","AutomationAPI","automationObj","isCloning","uploadAttachment","blobId","getAutomations","BulkActionsAPI","getSelectedConversationIds","selectedConversationIds","setSelectedConversationIds","removeSelectedConversationIds","clearSelectedConversationIds","ids","idsArray","CampaignsAPI","campaignObj","campaignType","campaign_type","getAllCampaigns","CannedResponse","searchKey","getCannedResponse","CannedResponseAPI","createCannedResponse","cannedObj","creatingItem","updateCannedResponse","updatingItem","deleteCannedResponse","deletingItem","fetchingItem","getCannedResponses","categories","categoryById","categoryId","allCategories","categoriesByLocaleCode","localeCode","CategoriesAPI","PortalsAPI","categoryObj","byLocale","categoriesAPI","categoryIds","SET_CATEGORIES_META","categories_count","ConversationApi","getLabels","conversationID","updateLabels","setNewConversationPayload","isFromWhatsApp","sourceId","assigneeId","contact_id","source_id","assignee_id","createWhatsAppConversationPayload","mailSubject","createMessagePayload","cc_emails","bcc_emails","createConversationPayload","getContactConversation","conversations","updatedConversations","setContactLabel","ContactNotes","getAllNotesByContact","r1","r2","ContactNotesAPI","noteId","contactNotes","withoutDeletedNote","note","getContacts","sortOrder","getContact","getAppliedContactFilters","appliedFilters","AccountActions","parentId","childId","base_contact_id","mergee_contact_id","buildContactFormData","contactParams","contactProperties","social_profiles","additionalAttributesProperties","DuplicateContactException","ExceptionWithMessage","raiseContactCreateErrors","import","export","_ref13","deleteCustomAttributes","_ref14","_ref15","_ref16","fetchContactableInbox","_ref17","isFetchingInboxes","contactableInboxes","_error$response7","_error$response7$data","_ref18","setContact","_ref19","_ref20","_ref21","isMerging","AccountActionsAPI","deleteContactThroughConversations","_ref22","updateContact","_ref23","_ref24","resetState","setContactFilters","_ref25","clearContactFilters","_ref26","getConversationLabels","ConversationAPI","setBulkConversationLabels","setConversationLabel","getConversationMetadata","unassigned","hasEndReached","getHasEndReached","getCurrentPageFilter","getCurrentPage","setCurrentPage","setEndReached","applyPageFilters","filters","chatStatus","chatInboxId","chatLabels","firstReplyOn","team","chatTeamId","shouldFilter","filterByStatus","filterStatus","filterByInbox","isOnInbox","filterByTeam","isOnTeam","filterByLabel","isOnLabel","filterByUnattended","SORT_OPTIONS","last_activity_at_asc","last_activity_at_desc","created_at_asc","created_at_desc","priority_asc","priority_desc","waiting_since_asc","waiting_since_desc","sortAscending","valueA","valueB","sortDescending","getSortOrderFunction","sortConfig","sortOnLastActivityAt","sortDirection","last_activity_at","sortOnCreatedAt","sortOnPriority","DEFAULT_FOR_NULL","sortOnWaitingSince","sortFunc","getSelectedChatConversation","allConversations","selectedChatId","getAllConversations","chatSortFilter","sortKey","sortComparator","sortMethod","getSelectedChat","getSelectedChatAttachments","attachments","getChatListFilters","conversationFilters","getLastEmailInSelectedChat","stage","selectedChat","content_attributes","contentAttributes","message_type","messageType","isIncomingOrOutgoing","getMineChats","activeFilters","_rootGetters$getCurre","currentUserID","isAssignedToMe","getAppliedConversationFilters","getAppliedConversationFiltersQuery","filterQueryGenerator","getUnAssignedChats","isUnAssigned","getAllStatusChats","getChatListLoadingStatus","listLoadingStatus","getAllMessagesLoaded","allMessagesLoaded","getUnreadCount","chatMessage","agent_last_seen_at","private","getChatStatusFilter","chatStatusFilter","getChatSortFilter","getSelectedInbox","currentInbox","getConversationById","getConversationParticipants","conversationParticipants","getConversationLastSeen","conversationLastSeen","getContextMenuChatId","contextMenuChatId","assigneeType","sortBy","updatedWithin","team_id","assignee_type","conversation_type","sort_by","updated_within","queryData","toggleStatus","snoozedUntil","snoozed_until","togglePriority","assignAgent","assignTeam","markMessageRead","markMessagesUnread","toggleTyping","isPrivate","typing_status","is_private","mute","unmute","sendEmailTranscript","updateCustomAttributes","fetchParticipants","updateParticipants","userIds","user_ids","getAllAttachments","buildCreatePayload","echoId","ccEmails","bccEmails","toEmails","templateParams","echo_id","to_emails","template_params","MessageApi","getPreviousMessages","translateMessage","targetLanguage","target_language","markMessagesRead","mutationTypes","unread_count","unreadCount","getConversation","fetchAllConversations","fetchFilteredConversations","emptyAllConversations","clearSelectedState","fetchPreviousMessages","fetchAllAttachments","syncActiveConversationMessages","syncConversationsMessages","lastMessageId","missingMessages","sortedMessages","setConversationLastMessageId","lastMessage","setActiveChat","dataFetched","setCurrentChatAssignee","setCurrentChatTeam","current_status","updatedStatus","updatedSnoozedUntil","createPendingMessageAndSend","createPendingMessage","sendMessageWithData","pendingMessage","_contentAttributes$ex","externalError","external_error","hasMessageFailedWithExternalError","addMessage","canReply","updateMessage","deleteMessage","_ref27","_ref28","addConversation","_ref29","hasAppliedFilters","isMatchingInboxFilter","addMentions","_ref30","addUnattended","_ref31","updateConversation","_ref32","updateConversationLastActivity","_ref33","_ref34","lastActivityAt","setChatStatusFilter","_ref35","setChatSortFilter","_ref36","updateAssignee","_ref37","updateConversationContact","_ref38","setActiveInbox","_ref39","muteConversation","_ref40","unmuteConversation","_ref41","_ref42","_ref43","_ref44","setConversationFilters","_ref45","clearConversationFilters","_ref46","setChatListFilters","_ref47","updateChatListFilters","_ref48","assignPriority","_ref49","_ref50","setCurrentChatPriority","_ref51","_ref52","setContextMenuChatId","_ref53","chatId","messageReadActions","messageTranslateActions","wootConstants","LATEST","newAllConversations","indexInCurrentList","existingConversation","activeChat","attachment","attachmentIndex","message_id","pendingMessageIndex","findPendingMessageIndex","tempMessageId","currentConversationIndex","conversationAttributes","currentConversation","chats","SearchAPI","contacts","contactRecords","conversationRecords","messageRecords","isSearchCompleted","getContactRecords","getConversationRecords","getMessageRecords","fullSearch","contactSearch","conversationSearch","messageSearch","clearSearchResults","mine_count","mineCount","unassigned_count","unAssignedCount","all_count","allCount","getStats","getUserList","updatedRecords","getByConversationId","ConversationInboxApi","CSATReportsAPI","rating","download","getMetrics","computeDistribution","totalResponseCount","ratingsCount","totalSentMessagesCount","isFetchingMetrics","getCSATResponses","getSatisfactionScore","getResponseRate","getRatingPercentage","CSATReports","downloadCSATReports","reportType","total_count","ratings_count","total_sent_messages_count","CustomViewsAPI","getCustomViewsByFilterType","deleteCustomViews","getCustomViews","filter_type","getActiveConversationFolder","activeConversationFolder","setActiveConversationFolder","folder","DashboardAppsAPI","appObj","getRecords","AssignableAgents","inboxIds","inbox_ids","getAssignableAgents","AssignableAgentsAPI","WebChannel","FBChannel","reauthorizeFacebookPage","omniauthToken","TwilioChannel","WhatsappNativeChannel","buildInboxData","inboxParams","inboxProperties","selectedFeatureFlags","channelParams","featureFlag","sendAnalyticsEvent","isUpdatingIMAP","isUpdatingSMTP","getInboxes","getWhatsAppTemplates","message_templates","whatsAppMessageTemplates","apiInboxMessageTemplates","messagesTemplates","getNewConversationInboxes","isEmailChannel","isSmsChannel","getWebsiteInboxes","getTwilioInboxes","getSMSInboxes","getSMSAndWhatsappInboxes","dialogFlowEnabledInboxes","revalidate","createNativeWhatsappChannel","createWebsiteChannel","createTwilioChannel","createFBChannel","updateInbox","updateInboxIMAP","updateInboxSMTP","uiFlag","SET_INBOXES_ITEM","InboxMembersAPI","agentList","IntegrationsAPI","connectSlack","updateSlack","referenceId","reference_id","listAllSlackChannels","createHook","hookData","deleteHook","hookId","isAValidAppIntegration","isCreatingHook","isDeletingHook","isCreatingSlack","isUpdatingSlack","isFetchingSlackChannels","getIntegrations","getAppIntegrations","slackObj","deleteIntegration","showHook","appId","app_id","hooksWithoutDeletedHook","getLabelsOnSidebar","show_on_sidebar","localeCompare","LabelsAPI","sortedLabels","MacrosAPI","executeMacro","macroId","conversationIds","conversation_ids","getSingleMacro","macrosObj","execute","isExecuting","getMacros","getMacro","INBOX_SORT_OPTIONS","newest","oldest","getNotifications","n1","n2","getFilteredNotifications","sortedNotifications","getNotificationById","getNotification","getNotificationFilters","notificationFilters","NotificationsAPI","includesFilter","sort_order","primaryActorType","primaryActorId","primary_actor_type","primary_actor_id","unRead","readAll","deleteAll","snooze","unReadCount","isUpdatingUnreadCount","read_at","unread","notification","deleteAllRead","updateNotification","addNotification","deleteNotification","setNotificationFilters","updateNotificationFilters","isAllNotificationsLoaded","existingNotification","uiFlagsIn","portalId","isFetchingPortals","portalBySlug","allPortals","all_articles_count","allArticlesCount","mine_articles_count","mineArticlesCount","draft_articles_count","draftArticlesCount","archived_articles_count","archivedArticlesCount","portalSlugs","defaultPortalFlags","portalAPIs","PortalAPI","getPortal","portalObj","updatePortal","deleteLogo","fetchingStatus","accountReport","conversations_count","incoming_messages_count","outgoing_messages_count","avg_first_response_time","avg_resolution_time","resolutions_count","bot_resolutions_count","bot_handoffs_count","reply_time","accountSummary","previous","botSummary","overview","isFetchingAccountConversationMetric","isFetchingAccountConversationsHeatmap","isFetchingAgentConversationMetric","accountConversationMetric","accountConversationHeatmap","agentConversationMetric","getAccountReports","getAccountSummary","getAccountConversationMetric","getAccountConversationHeatmapData","getAgentConversationMetric","getOverviewUIFlags","fetchAccountReport","reportObj","Report","clampDataBetweenTimeline","fetchAccountConversationHeatmap","heatmapData","reconcileHeatmapData","fetchAccountSummary","fetchBotSummary","fetchAccountConversationMetric","fetchAgentConversationMetric","downloadAgentReports","downloadLabelReports","downloadInboxReports","downloadTeamReports","downloadAccountConversationHeatmap","flag","summaryData","metricData","SlaAPI","getSLA","slaObj","addAgents","agentsList","updateAgents","SET_TEAM_MEMBERS_UI_FLAG","ADD_AGENTS_TO_TEAM","getTeamMembers","TeamsAPI","SET_TEAM_UI_FLAG","CLEAR_TEAMS","SET_TEAMS","SET_TEAM_ITEM","EDIT_TEAM","DELETE_TEAM","getTeams","getMyTeams","is_member","isMember","getTeam","teamInfo","toDelete","UserNotificationSettings","getSelectedEmailFlags","selected_email_flags","getSelectedPushFlags","selected_push_flags","selectedEmailFlags","selectedPushFlags","notification_settings","WebHooks","getWebhooks","w1","w2","webHookAPI","webhooks","webhook","replyEditorMode","REPLY_EDITOR_MODES","REPLY","getReplyEditorMode","setReplyEditorMode","draftToBeRemoved","SLAReportsAPI","assigned_agent_id","sla_policy_id","label_list","numberOfConversations","numberOfSLAMisses","hitRate","number_of_sla_misses","hit_rate","total_applied_slas","Vuex","agentBots","agents","auth","automations","bulkActions","cannedResponse","contactConversations","contactLabels","conversationLabels","conversationMetadata","conversationPage","conversationStats","conversationTypingStatus","conversationWatchers","csat","customViews","dashboardApps","inboxAssignableAgents","inboxes","inboxMembers","notifications","teamMembers","userNotificationSettings","draftMessages","slaReports","base64","ieee754","kMaxLength","TYPED_ARRAY_SUPPORT","createBuffer","encodingOrOffset","allocUnsafe","byteOffset","byteLength","fromArrayLike","fromArrayBuffer","encoding","isEncoding","actual","fromString","fromObject","assertSize","loweredCase","utf8ToBytes","base64ToBytes","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","bidirectionalIndexOf","arrayIndexOf","indexSize","arrLength","valLength","buf","readUInt16BE","foundIndex","hexWrite","remaining","strLen","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","latin1Write","base64Write","ucs2Write","utf16leToBytes","fromByteArray","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","codePoint","bytesPerSequence","codePoints","MAX_ARGUMENTS_LENGTH","decodeCodePointsArray","SlowBuffer","alloc","INSPECT_MAX_BYTES","foo","subarray","typedArraySupport","poolSize","_augment","species","allocUnsafeSlow","_isBuffer","swap16","swap32","swap64","equals","thisStart","thisEnd","thisCopy","targetCopy","_arr","toHex","bytes","checkOffset","ext","checkInt","objectWriteUInt16","littleEndian","objectWriteUInt32","checkIEEE754","writeFloat","noAssert","writeDouble","newBuf","sliceLen","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","INVALID_BASE64_RE","Infinity","leadSurrogate","toByteArray","stringtrim","base64clean","dst","isEmptyObject","isJSONValid","getTypingUsersText","users","getUuid","tempAttachments","convertToAttributeSlug","convertToCategorySlug","Ruler","__rules__","__cache__","__find__","__compile__","chains","altName","opt","beforeName","ruleName","afterName","ignoreInvalid","enableOnly","getRules","chainName","Token","nesting","hidden","attrIndex","attrPush","attrData","attrSet","attrJoin","originalModule","b64","lens","getLens","validLen","placeHoldersLen","Arr","_byteLength","curByte","revLookup","uint8","extraBytes","maxChunkLength","len2","encodeChunk","lookup","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","LN2","baseIsNative","getValue","isodate","toStr","inherits_1","is_email_1","dictionary","productId","promotionId","cartId","checkoutId","paymentId","couponId","wishlistId","reviewId","orderId","sku","tax","price","coupon","shipping","discount","shippingMethod","paymentMethod","subtotal","revenue","products","quantity","currency","username","cents","_setPrototypeOf","_isNativeReflectConstruct","construct","sham","_construct","Parent","Class","seal","thisValue","Func","arrayForEach","unapply","arrayPop","arrayPush","stringToLowerCase","stringToString","stringMatch","stringReplace","stringIndexOf","stringTrim","regExpTest","typeErrorCreate","unconstruct","transformCaseFunc","_transformCaseFunc","lcElement","lookupGetter","fallbackValue","html$1","svg$1","svgFilters","svgDisallowed","mathMl$1","mathMlDisallowed","mathMl","xml","MUSTACHE_EXPR","ERB_EXPR","TMPLIT_EXPR","DATA_ATTR","ARIA_ATTR","IS_ALLOWED_URI","IS_SCRIPT_OR_DATA","ATTR_WHITESPACE","DOCTYPE_NAME","CUSTOM_ELEMENT","_createTrustedTypesPolicy","ATTR_NAME","currentScript","policyName","createScriptURL","scriptUrl","createDOMPurify","DOMPurify","isSupported","originalDocument","DocumentFragment","HTMLTemplateElement","NodeFilter","_window$NamedNodeMap","NamedNodeMap","MozNamedAttrMap","HTMLFormElement","ElementPrototype","getNextSibling","getChildNodes","getParentNode","trustedTypesPolicy","emptyHTML","_document","createNodeIterator","importNode","PARSER_MEDIA_TYPE","MUSTACHE_EXPR$1","ERB_EXPR$1","TMPLIT_EXPR$1","DATA_ATTR$1","ARIA_ATTR$1","IS_SCRIPT_OR_DATA$1","ATTR_WHITESPACE$1","CUSTOM_ELEMENT$1","IS_ALLOWED_URI$1","ALLOWED_TAGS","DEFAULT_ALLOWED_TAGS","ALLOWED_ATTR","DEFAULT_ALLOWED_ATTR","CUSTOM_ELEMENT_HANDLING","tagNameCheck","attributeNameCheck","allowCustomizedBuiltInElements","FORBID_TAGS","FORBID_ATTR","ALLOW_ARIA_ATTR","ALLOW_DATA_ATTR","ALLOW_UNKNOWN_PROTOCOLS","ALLOW_SELF_CLOSE_IN_ATTR","SAFE_FOR_TEMPLATES","SAFE_FOR_XML","WHOLE_DOCUMENT","SET_CONFIG","FORCE_BODY","RETURN_DOM","RETURN_DOM_FRAGMENT","RETURN_TRUSTED_TYPE","SANITIZE_DOM","SANITIZE_NAMED_PROPS","SANITIZE_NAMED_PROPS_PREFIX","KEEP_CONTENT","IN_PLACE","USE_PROFILES","FORBID_CONTENTS","DEFAULT_FORBID_CONTENTS","DATA_URI_TAGS","DEFAULT_DATA_URI_TAGS","URI_SAFE_ATTRIBUTES","DEFAULT_URI_SAFE_ATTRIBUTES","MATHML_NAMESPACE","SVG_NAMESPACE","HTML_NAMESPACE","NAMESPACE","IS_EMPTY_INPUT","ALLOWED_NAMESPACES","DEFAULT_ALLOWED_NAMESPACES","SUPPORTED_PARSER_MEDIA_TYPES","DEFAULT_PARSER_MEDIA_TYPE","CONFIG","formElement","isRegexOrFunction","testValue","_parseConfig","cfg","ADD_URI_SAFE_ATTR","ADD_DATA_URI_TAGS","ALLOWED_URI_REGEXP","ADD_TAGS","ADD_ATTR","MATHML_TEXT_INTEGRATION_POINTS","HTML_INTEGRATION_POINTS","COMMON_SVG_AND_HTML_ELEMENTS","ALL_SVG_TAGS","ALL_MATHML_TAGS","_checkValidNamespace","parentTagName","_forceRemove","_removeAttribute","attribute","getAttributeNode","_initDocument","leadingWhitespace","dirtyPayload","parseFromString","createDocument","_createIterator","SHOW_ELEMENT","SHOW_COMMENT","SHOW_TEXT","SHOW_PROCESSING_INSTRUCTION","SHOW_CDATA_SECTION","_isClobbered","_isNode","_executeHook","entryPoint","_sanitizeElements","allowedTags","firstElementChild","_basicCustomElementTest","childClone","__removalCount","_isValidAttribute","lcTag","lcName","_sanitizeAttributes","hookEvent","attrValue","keepAttr","allowedAttributes","_attr","forceKeepAttr","getAttributeType","_sanitizeShadowDOM","shadowNode","shadowIterator","importedNode","returnNode","toStaticHTML","nodeIterator","shadowroot","shadowrootmod","serializedHTML","doctype","setConfig","clearConfig","isValidAttribute","hookFunction","removeHook","removeHooks","removeAllHooks","isUndef","sameVval","vval","createVm","Vm","createKeyToOldIdx","beginIdx","endIdx","addVvals","vvals","startIdx","removeVvals","patchVval","updateVval","oldCh","newCh","oldKeyToIdx","idxInOld","elmToMove","oldStartIdx","newStartIdx","oldEndIdx","oldStartVval","oldEndVval","newEndIdx","newStartVval","newEndVval","dirtyObject","keyboardEventListenerMixins","moveSelectionUp","adjustScroll","moveSelectionDown","ArrowUp","ArrowDown","Enter","onSelect","showBadgeOnFavicon","favicon","newFileName","sizes","playAlertOnlyWhenHidden","onAudioListenEvent","initFaviconSwitcher","favicons","oldFileName","playAudioEvery30Seconds","executeRecurringNotification","WOOT","clearSetTimeout","hasUnreadConversation","conv","shouldPlayAlert","recurringNotificationTimer","isConversationAssignedToCurrentUser","_message$conversation","isMessageFromCurrentConversation","_window$WOOT$$store$g","isMessageFromCurrentUser","sender_id","shouldNotifyOnMessage","onNewMessage","getProcessEnv","ArticlesAPI","searchArticles","category_id","positions_hash","supportsFetch","Headers","Response","isNativeFetch","supportsNativeFetch","sandbox","contentWindow","supportsReferrerPolicy","referrerPolicy","supportsHistory","isChromePackagedApp","hasHistoryApi","ON_REMOVE_FROM_FUTURE","PriorityQueue","accepted","operation","minTimeout","factor","maxTimeout","backoff","toPropertyKey","placement","bannerClasses","bannerMessage","hrefLink","hrefLinkText","actionButtonIcon","actionButtonVariant","actionButtonLabel","colorScheme","onClickClose","bannerTypeClass","iconType","iconSize","HEADERS","file_url","blobKey","blob_key","blob_id","GOOD_LEAF_SIZE","RopeSequence","leafAppend","leafPrepend","appendInner","Append","sliceInner","getInner","forEachInner","forEachInvertedInner","Leaf","leftLen","eventCount","popEvent","preserveItems","remap","remapping","addAfter","addTransform","histOptions","newItems","oldItems","lastItem","DEPTH_OVERFLOW","cutPoint","cutOffEvents","mirrorPos","mirrorOffset","addMaps","rebased","rebasedTransform","rebasedCount","rebasedItems","newUntil","iRebased","newMaps","branch","emptyItemCount","compress","upto","newItem","HistoryState","undone","prevRanges","prevTime","prevComposition","rangesFor","mapRanges","cachedPreserveItems","cachedPreserveItemsPlugins","mustPreserveItems","historyPreserveItems","closeHistory","closeHistoryKey","historyKey","newGroupDelay","hist","historyTr","historyState","appended","newGroup","adjacent","isAdjacentTo","buildCommand","newHist","histTransaction","undoNoScroll","redoNoScroll","undoDepth","redoDepth","MILLISECONDS_IN_DAY","compareLocalAsc","dateLeft","dateRight","dirtyDateLeft","dirtyDateRight","startOfDayLeft","startOfDayRight","timestampLeft","timestampRight","differenceInCalendarDays","deletePortal","useTrack","$track","useAlert","isSameDay","dateLeftStartOfDay","dateRightStartOfDay","hostURL","vapidPublicKey","enabledLanguages","isEnterprise","enterprisePlanName","_window$ruutConfig","addDays","open_tag","close_tag","HTML_TAG_RE","HTML_OPEN_CLOSE_TAG_RE","postProcess","startDelim","endDelim","loneMarkers","tokenize","scanned","scanDelims","can_open","can_close","tokens_meta","isStrong","getLoginRedirectURL","ssoAccountId","ssoConversationId","accountPath","getSSOAccountPath","normalizeKeyName","handleKeyDown","baseName","keyName","direct","noShift","fromCode","getRawTag","symToStringTag","moment","symbolMap","numberMap","pluralForm","plurals","pluralize","weekdaysParseExact","plural","word","forms","relativeTimeWithPlural","lastDigit","last2Digits","monthsParseExact","relativeTimeWithMutation","specialMutationForYears","lastNumber","softMutation","mutationTable","monthsStrictRegex","monthsShortStrictRegex","fullWeekdaysParse","shortWeekdaysParse","minWeekdaysParse","longMonthsParse","shortMonthsParse","processRelativeTime","ll","lll","llll","monthsNominativeEl","monthsGenitiveEl","momentToFormat","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","_calendarEl","monthsShortDot","numbersPast","numbersFuture","verbalNumber","monthsShortWithDots","monthsShortWithoutDots","weekEndings","eraYearOrdinalRegex","$0","$2","isUpper","ezafeNumSuffix","processFutureTime","eifelerRegelAppliesToNumber","processPastTime","translateSeconds","translateSingular","special","relativeTimeWithSingular","relativeSeconds","translator","words","correctGrammaticalCase","wordKey","relativeTimeMr","monthsNominative","monthsSubjective","numbersNouns","translateFuture","translatePast","numberNoun","numberAsNoun","hundred","ten","weekdaysCaseReplace","nominative","accusative","genitive","processHoursFunction","isBrowserBundle","__SENTRY_BROWSER_BUNDLE__","htmlTreeAsString","elem","keyAttrs","currentElem","nextStr","_htmlElementAsString","keyAttrPairs","keyAttr","keyAttrPair","allowedAttrs","getLocationHref","oO","Session","sid","ignoreDuration","startingTime","started","ipAddress","ip_address","did","user_agent","numericKeys","millis","companyCreated","companyName","uid","age","birthday","websites","phone","phones","gender","fullName","TRACEPARENT_REGEXP","extractTraceparentData","traceparent","mergedOptions","optionOverrides","integrationSettings","applyDestinationMiddleware","applyMiddleware","nextCalled","returnedEvent","middleware_1","gracefulDecodeURIComponent","encodedURIComponent","pWhile","actionResult","replaceRouteWithReload","userInitial","charMap","AxiosURLSearchParams","_pairs","toFormData","encoder","_encode","buildURL","utils","serializeFn","serializedParams","hashmarkIndex","synchronous","runWhen","eject","silentJSONParsing","forcedJSONParsing","clarifyTimeoutError","protocols","hasBrowserEnv","_navigator","hasStandardBrowserEnv","product","hasStandardBrowserWebWorkerEnv","buildPath","isNumericKey","isLast","arrayToObject","parsePropPath","transitional","adapter","transformRequest","contentType","getContentType","hasJSONContentType","isObjectPayload","setContentType","toURLEncodedForm","formSerializer","_FormData","stringifySafely","transformResponse","JSONRequested","responseType","strictJSONParsing","ERR_BAD_RESPONSE","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","validateStatus","common","ignoreDuplicateOf","$internals","normalizeHeader","normalizeValue","matchHeaderValue","isHeaderNameFilter","valueOrRewrite","rewrite","setHeader","_header","_rewrite","lHeader","setHeaders","rawHeaders","parseHeaders","tokensRE","parseTokens","deleteHeader","normalized","formatHeader","asStrings","accessor","accessors","defineAccessor","accessorName","arg1","arg2","arg3","buildAccessors","headerValue","transformData","isCancel","__CANCEL__","CanceledError","ERR_CANCELED","settle","ERR_BAD_REQUEST","samplesCount","timestamps","firstSampleTS","tail","chunkLength","startedAt","bytesCount","passed","freq","lastArgs","progressEventReducer","listener","isDownloadStream","bytesNotified","_speedometer","loaded","lengthComputable","progressBytes","progress","estimated","progressEventDecorator","asyncDecorator","isMSIE","port","toGMTString","buildFullPath","baseURL","requestedURL","relativeURL","combineURLs","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","paramsSerializer","timeoutMessage","withXSRFToken","onUploadProgress","onDownloadProgress","decompress","beforeRedirect","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding","configValue","newConfig","unescape","isURLSameOrigin","xsrfValue","resolveConfig","requestData","requestHeaders","onCanceled","uploadThrottled","downloadThrottled","flushUpload","flushDownload","unsubscribe","signal","onloadend","responseHeaders","readyState","onabort","ECONNABORTED","ERR_NETWORK","ontimeout","timeoutErrorMessage","ETIMEDOUT","upload","parseProtocol","signals","controller","AbortController","streamChunk","chunkSize","readStream","asyncIterator","reader","getReader","trackStream","onProgress","onFinish","iterable","readBytes","_onFinish","ReadableStream","pull","loadedBytes","enqueue","highWaterMark","isFetchSupported","isReadableStreamSupported","encodeText","TextEncoder","supportsRequestStream","duplexAccessed","hasContentType","duplex","supportsResponseStream","resolvers","ERR_NOT_SUPPORT","resolveBodyLength","getContentLength","_request","getBodyLength","fetchOptions","composedSignal","toAbortSignal","requestContentLength","contentTypeHeader","isCredentialsSupported","isStreamResponse","responseContentLength","knownAdapters","http","xhr","renderReason","isResolvedHandle","adapters","nameOrAdapter","rejectedReasons","reasons","throwIfCancellationRequested","throwIfRequested","dispatchRequest","validators","deprecatedWarnings","formatMessage","ERR_DEPRECATED","spelling","correctSpelling","assertOptions","allowUnknown","ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","instanceConfig","interceptors","configOrUrl","dummy","boolean","withXsrfToken","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","responseInterceptorChain","onFulfilled","onRejected","getUri","generateHTTPMethod","isForm","_listeners","HttpStatusCode","Continue","SwitchingProtocols","Processing","EarlyHints","Ok","Created","Accepted","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","Unused","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","ImATeapot","MisdirectedRequest","UnprocessableEntity","Locked","FailedDependency","TooEarly","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","createInstance","defaultConfig","Axios","CancelToken","Cancel","spread","isAxiosError","AxiosHeaders","formToJSON","getAdapter","CoreStats","NullStats","_args","hex_chr","md5cycle","md5blk","md5blks","md5blk_array","md51","md51_array","rhex","hex","toUtf8","utf8Str2ArrayBuffer","returnUInt8Array","buff","arrayBuffer2Utf8Str","concatenateArrayBuffers","hexToBinaryString","SparkMD5","targetArray","sourceArray","begin","appendBinary","contents","_buff","_hash","_finish","setState","hashBinary","pTimeout","timeoutId","invokeCallback","timeoutInMs","BaseActionCableConnector","pubsubToken","websocketHost","clearReconnectTimer","reconnectTimer","initReconnectTimer","checkConnection","onReconnect","onDisconnected","onReceived","isAValidEvent","websocketURL","consumer","createConsumer","subscriptions","pubsub_token","user_id","perform","received","disconnected","isDisconnected","triggerPresenceInterval","isConnectionActive","connection","WebSocket","_adapters$logger","classCallCheck","Constructor","createClass","protoProps","staticProps","secondsSince","ConnectionMonitor","visibilityDidChange","reconnectAttempts","isRunning","stoppedAt","startPolling","getPollInterval","stopPolling","recordPing","pingedAt","recordConnect","disconnectedAt","recordDisconnect","poll","pollTimeout","reconnectIfStale","_constructor$pollInte","pollInterval","multiplier","connectionIsStale","staleThreshold","disconnectedRecently","reopen","INTERNAL","message_types","welcome","ping","confirmation","rejection","disconnect_reasons","unauthorized","invalid_request","server_restart","default_mount_path","supportedProtocols","Connection","monitor","webSocket","uninstallEventHandlers","installEventHandlers","allowReconnect","reopenDelay","getProtocol","isState","isProtocolSupported","_JSON$parse","identifier","reconnect","reload","notifyAll","willAttemptReconnect","Subscription","Subscriptions","ensureActiveConnection","sendCommand","forget","findAll","callbackName","Consumer","createWebSocketURL","getConfig","validateRouteAccess","ignoreSession","isLoginRoute","sso_auth_token","ssoAuthToken","validateSSOLoginParams","isAnInalidSignupNavigation","signupEnabled","requireSignupEnabled","isOnOnboardingView","registerErrorInstrumentation","errorCallback","activeTransaction","analyticsHelper","$analytics","memoBuilder","hasWeakSet","WeakSet","advancedFilters","agentMgmt","attributesMgmt","auditLogs","cannedMgmt","chatlist","contactFilters","csatMgmt","generalSettings","helpCenter","inboxMgmt","integrationApps","labelsMgmt","login","report","setNewPassword","signup","teamsSettings","whatsappTemplates","general","datePicker","hu","ja","ml","lv","nl","pt_BR","ru","sk","sv","uk","zh_CN","zh_TW","Express","_methods","setupOnce","originalCallback","wrapMiddlewareArgs","patchMiddleware","instrumentMiddlewares","arity","__sentry_transaction","span_1","_usePgNative","usePgNative","Client","orig","sql","OPERATIONS","OPERATION_SIGNATURES","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","dropIndex","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexExists","insertMany","insertOne","mapReduce","rename","replaceOne","updateMany","updateOne","_operations","operations","_describeOperations","describeOperations","_useMongoose","useMongoose","_instrumentOperations","Collection","collection","_patchOperation","getSpanContext","_getSpanContextFromOperationArguments","lastArg","parentSpan","maybePromise","collectionName","shouldDescribe","bindReporter","reportAllChanges","forceReport","initMetric","PerformanceObserver","supportedEntryTypes","getEntries","onHidden","onHiddenOrPageHide","firstHiddenTime","getVisibilityWatcher","reportedMetricIDs","MetricsInstrumentation","_reportAllChanges","_performanceCursor","_trackCLS","_trackLCP","_trackFID","addPerformanceEntries","responseStartTimestamp","requestStartTimestamp","entryType","addPerformanceNavigationTiming","_startChild","requestStart","responseEnd","responseStart","addRequest","addNavigationSpans","measureStartTimestamp","measureEndTimestamp","addMeasureSpans","firstHidden","shouldRecord","resourceName","initiatorType","transferSize","encodedBodySize","decodedBodySize","addResourceSpans","_trackNavigator","timeOrigin_1","measurementTimestamp","normalizedValue","lcpEntry","clsEntry","tagMetricInfo","_lcpEntry","_clsEntry","effectiveType","isMeasurementValue","rtt","downlink","deviceMemory","hardwareConcurrency","onReport","sessionValue","sessionEntries","entryHandler","hadRecentInput","firstSessionEntry","lastSessionEntry","visibilityWatcher","stopListening_1","getLCP","processingStart","eventEnd","defaultRequestInstrumentationOptions","traceFetch","traceXHR","tracingOrigins","instrumentOutgoingRequests","shouldCreateSpanForRequest","urlMap","defaultShouldCreateSpan","origins","shouldCreateSpan","handlerData","fetchData","__span","fetchCallback","__sentry_own_request__","__sentry_xhr__","__sentry_xhr_span_id__","status_code","xhrCallback","DEFAULT_BROWSER_TRACING_OPTIONS","markBackgroundTransactions","maxTransactionDuration","routingInstrumentation","customStartTransaction","startTransactionOnPageLoad","startTransactionOnLocationChange","startingUrl","BrowserTracing","_configuredIdleTimeout","_emitOptionsWarning","_metricOptions","_metrics","_getCurrentHub","instrumentRouting","_createRouteTransaction","statusType","beforeNavigate","parentContextFromHeader","metaName","getHeaderContext","expandedContext","modifiedContext","finalContext","idleTransaction","isOutdatedTransaction","adjustTransactionDuration","isObjectObject","prot","alpha","alphanumeric","confirm","in","mime","classification","textarea","checkbox","radio","fileList","mimes","dataTransferCheck","uploadUrl","uploadPromise","rehydrateFileList","addFileList","fileUrlKey","previewData","mapUUID","justFinished","uuid","removeFile","hasUploader","uploader","uploaderIsAxios","getUploader","__performUpload","rootEmit","uploadJustCompleteDuration","__id","performValidation","FileList","supportsDataTransfers","DataTransfer","mergeFileList","File","loadPreviews","uploadBehavior","FileReader","readAsDataURL","getFiles","latin","getGroupValues","bail","csv","gif","jpg","jpeg","png","pdf","hasErrors","hasValue","labelPosition","helpPosition","fauxUploaderDuration","forceWrap","imul","dataProps","hasInitialValue","formulateValue","isGrouping","isVmodeled","initialValues","mergedGroupErrors","mergedFieldErrors","applyInitialValues","setFieldValue","valueDeps","validateDeps","hasValidationErrors","getValidationErrors","showErrors","childrenShouldShowErrors","formShouldShowErrors","hideErrors","behavioralErrorVisibility","setValues","updateValidation","addErrorObserver","errorObservers","mergedFormErrors","removeErrorObserver","formulateSetter","formulateRegister","formulateDeregister","formulateFieldValidation","getFormValues","validateDependents","observeErrors","getErrorObject","keepModelData","preventCleanup","debounceDelay","observeContext","addContextObserver","removeContextObserver","formErrors","invalidMessage","contextObservers","namedErrors","namedFieldErrors","isLoading","hasFailedSubmit","schemaListeners","pseudoProps","formContext","$formulate","$props","invalidErrors","failingFields","hasFormErrorObservers","applyErrors","inputErrors","registerErrorComponent","errorComponents","formSubmitted","submitRaw","onFailedValidation","failedValidation","_withStripped","addLabel","logicalAddLabel","removeLabel","logicalRemoveLabel","elementAttributes","blurHandler","disableErrors","explicitErrors","groupErrors","hasGivenName","hasLabel","help","logicalHelpPosition","defaultId","ignored","imageBehavior","logicalLabelPosition","nameOrFallback","minimum","preventWindowDrops","removePosition","mergedRemovePosition","repeatable","ruleDetails","setErrors","showValidationErrors","slotComponents","slotProps","mergedUploadUrl","validationErrors","visibleValidationErrors","isSubField","typeContext","optionGroups","showValue","filteredAttributes","getUploadUrl","localGroupErrors","isGrouped","slotComponent","addMore","buttonContent","uploadAreaMask","hasVisibleErrors","typeProps","localAttributes","parsedValidation","mergedValidationName","validationNameStrategy","localErrors","allErrors","errorBehavior","mntd","dSet","formulateRegisterRule","registerRule","formulateRemoveRule","removeRule","validationName","validationMessages","validationRules","preventDeregister","nextId","getInitialValue","pendingValidation","ruleRegistry","messageRegistry","touched","classify","parsedValidationRules","updateLocalAttributes","applyInitialValue","applyDefaultValue","setGroupErrors","runRules","didValidate","getMessage","getMessageFunc","formValues","validationMessage","boundSetErrors","boundSetFormContext","setFormContext","formError","mergedErrors","visibleErrors","outerClass","itemClass","ariaLive","imagePreview","fileImagePreview","fileImagePreviewImage","fileProgress","fileProgressInner","fileRemove","registerProvider","deregisterProvider","setId","validateGroup","__init","grouping","groupAddMore","usesDecorator","useInputDecorators","decorator","Vt","fileUploads","isMultiple","appendFiles","addFiles","fileUploadError","fileAdd","fileAddInput","FormulateFiles","isOver","hasFiles","getFileUrlKey","createUpload","handleFile","attemptImmediateUpload","handleDragOver","handleDragLeave","uploadArea","dragleave","groupRepeatable","subType","optionsWithContext","groupItemContext","totalItems","canAddMore","labelledBy","addItem","placeholderSelected","Kt","rangeValue","setGroupValue","groupRepeatableRemove","FormulateSlot","FormulateForm","FormulateFile","FormulateHelp","FormulateLabel","FormulateInput","FormulateErrors","FormulateSchema","FormulateAddMore","FormulateGrouping","FormulateInputBox","FormulateInputText","FormulateInputFile","FormulateErrorList","FormulateRepeatable","FormulateInputGroup","FormulateInputButton","FormulateInputSelect","FormulateInputSlider","FormulateButtonContent","FormulateInputTextArea","FormulateRepeatableRemove","FormulateRepeatableProvider","errorList","idPrefix","baseClasses","coreClasses","idRegistry","selectedLocale","setLocale","resetValidation","lastHref","instrumented","instrument","originalConsoleMethod","triggerHandlers","instrumentConsole","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","originalAddEventListener","handlers_1","__sentry_instrumentation_handlers__","handlerForType","refCount","originalRemoveEventListener","handlers_2","instrumentDOM","xhrproto","originalOpen","xhrInfo","onreadystatechangeHandler","readyStateArgs","originalSend","instrumentXHR","originalFetch","getFetchMethod","getFetchUrl","instrumentFetch","oldOnPopState","onpopstate","historyReplacementFunction","originalHistoryFunction","instrumentHistory","_oldOnErrorHandler","column","_oldOnUnhandledRejectionHandler","onunhandledrejection","addInstrumentationHandler","fetchArgs","debounceTimerID","lastCapturedEvent","debounceDuration","globalListener","isContentEditable","shouldSkipDOMEvent","shouldShortcircuitPreviousDebounce","i18nInstance","subDays","useStore","useStoreGetters","articleUrl","allLocales","defaultOptions","fuzzyEmail","fuzzyIP","defaultSchemas","src_auth","src_host_port_strict","src_path","no_http","src_domain","src_domain_root","src_port","src_host_terminator","mailto","src_email_name","src_host_strict","tlds_default","__opts__","__tlds__","untpl","tpl","src_tlds","onCompile","__tlds_replaced__","src_xn","email_fuzzy","tpl_email_fuzzy","link_fuzzy","tpl_link_fuzzy","link_no_ip_fuzzy","tpl_link_no_ip_fuzzy","host_fuzzy_test","tpl_host_fuzzy_test","schemaError","__compiled__","__schemas__","createValidator","slist","schema_test","src_ZPCc","schema_search","schema_at_start","pretest","__index__","__text_cache__","resetScanCache","Match","__last_index__","__schema__","createMatch","schemas","definition","tld_pos","testSchemaAt","matchAtStart","keepOld","Any","Cf","punycode","maxInt","regexPunycode","regexNonASCII","regexSeparators","stringFromCharCode","mapDomain","ucs2decode","ucs2encode","digitToBasic","digit","adapt","numPoints","baseMinusTMin","basic","oldi","baseMinusT","inputLength","handledCPCount","basicLength","currentValue","handledCPCountPlusOne","qMinusT","uiSettingsMixin","isRTLView","rtl_view","updateRTLDirectionView","isRTLSupported","getLanguageDirection","hasEmojiSupport","devicePixelRatio","getContext","fillText","fillStyle","textBaseline","font","getImageData","removeEmoji","addMonths","dayOfMonth","endOfDesiredMonth","endOfDay","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","ListCache","nativeCreate","getNative","isKeyable","__data__","isLength","setUTCDay","dirtyDay","numericPatterns","timezonePatterns","parseNumericPattern","parseTimezonePattern","parseAnyDigitsSigned","parseNDigits","parseNDigitsSigned","dayPeriodEnumToHours","enumValue","normalizeTwoDigitYear","twoDigitYear","currentYear","isCommonEra","absCurrentYear","rangeEnd","DAYS_IN_MONTH","DAYS_IN_MONTH_LEAP_YEAR","isLeapYearIndex","incompatibleTokens","isTwoDigitYear","normalizedTwoDigitYear","_flags","firstWeekOfYear","dirtyWeek","setUTCWeek","dirtyISOWeek","setUTCISOWeek","subPriority","wholeWeekDays","setUTCISODay","timestampIsSet","_token","TIMEZONE_UNIT_PRIORITY","notWhitespaceRegExp","dirtyDateString","dirtyFormatString","dirtyReferenceDate","dateString","formatString","subFnOptions","setters","dateToSystemTimezone","usedTokens","incompatibleToken","usedToken","fullToken","uniquePrioritySetters","setterArray","convertedDate","createCommonjsModule","getCjsExportFromNamespace","colorName","conversions","reverseKeywords","convert","rgb","channels","hsl","hsv","hwb","cmyk","xyz","lab","lch","keyword","ansi16","ansi256","hcg","apple","gray","comparativeDistance","rdif","gdif","bdif","diffc","reversed","currentClosestKeyword","currentClosestDistance","distance","t1","t2","t3","smin","lmin","sl","vmin","wh","bl","ratio","y2","x2","z2","atan2","PI","sqrt","cos","sin","ansi","mult","colorString","integer","hue","chroma","pure","mg","buildGraph","graph","models","deriveBFS","fromModel","adjacents","wrapConversion","toModel","conversion","wrapRaw","wrappedFn","wrapRounded","colorConvert","colorName$1","getRgba","getHsla","getRgb","getHsl","getHwb","getAlpha","hexString","rgbString","rgbaString","percentString","percentaString","hslString","hslaString","hwbString","rgba","per","hexAlpha","scale","hsla","hexDouble","reverseNames","Color","red","lightness","whiteness","cyan","setSpace","rgbArray","hslArray","hsvArray","hwbArray","cmykArray","rgbaArray","hslaArray","setChannel","green","blue","saturation","saturationv","blackness","magenta","yellow","black","rgbNumber","luminosity","lum","chan","contrast","color2","lum1","lum2","contrastRatio","dark","light","negate","lighten","darken","saturate","desaturate","whiten","blacken","greyscale","clearer","opaquer","rotate","degrees","mix","mixinColor","weight","color1","spaces","maxes","capped","chans","sname","svalues","chartjsColor","isValidKey","isNullOrUndef","valueOrDefault","valueAtIndexOrDefault","each","loopable","arrayEquals","a0","a1","ilen","v0","klen","_merger","tval","sval","_mergerIf","mergeIf","merger","ChartElement","Surrogate","__super__","_deprecated","helpers_core","callCallback","getValueOrDefault","getValueAtIndexOrDefault","linear","easeInQuad","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","easeInSine","easeOutSine","easeInOutSine","easeInExpo","easeOutExpo","easeInOutExpo","easeInCirc","easeOutCirc","easeInOutCirc","easeInElastic","asin","easeOutElastic","easeInOutElastic","easeInBack","easeOutBack","easeInOutBack","easeInBounce","easeOutBounce","easeInOutBounce","helpers_easing","easingEffects","RAD_PER_DEG","DOUBLE_PI","HALF_PI","QUARTER_PI","TWO_THIRDS_PI","exports$1","chart","clearRect","roundedRect","radius","moveTo","arc","closePath","drawPoint","rotation","xOffset","yOffset","cornerRadius","rad","drawImage","restore","beginPath","lineTo","SQRT1_2","_isPointInArea","area","epsilon","clipArea","clip","unclipArea","flip","stepped","steppedLine","midpoint","tension","bezierCurveTo","controlPointPreviousX","controlPointNextX","controlPointPreviousY","controlPointNextY","helpers_canvas","drawRoundedRectangle","_set","defaultColor","defaultFontColor","defaultFontFamily","defaultFontSize","defaultFontStyle","defaultLineHeight","showLines","core_defaults","toFontString","family","helpers_options","toLineHeight","toPadding","_parseFont","globalDefaults","fontSize","fontFamily","lineHeight","fontStyle","inputs","cacheable","exports$2","_factorize","log10","exponent","LOG10E","powerOf10","helpers_math","getRtlAdapter","rectX","setWidth","textAlign","align","xPlus","leftForLtr","itemWidth","getLtrAdapter","_itemWidth","helpers$1","easing","overrideTextDirection","getPropertyPriority","prevTextDirection","restoreTextDirection","ease","c0","c1","configuration","pivot","_view","_model","_start","tooltipPosition","core_element","exports$3","currentStep","numSteps","onAnimationProgress","onAnimationComplete","core_animation","animation","core_animations","animations","addAnimation","animating","cancelAnimation","requestAnimFrame","startDigest","nextStep","arrayEvents","listenArrayEvents","_chartjs","unlistenArrayEvents","stub","DatasetController","datasetIndex","datasetElementType","dataElementType","_datasetElementOptions","_dataElementOptions","linkScales","addElements","updateIndex","scales","getDataset","scalesOpts","xAxisID","xAxes","yAxisID","yAxes","datasets","getDatasetMeta","getScaleForId","scaleID","_getValueScaleId","_getIndexScaleId","_getValueScale","_getIndexScale","createMetaDataset","_chart","_datasetIndex","createMetaData","_index","addElementAndReset","updateElement","buildOrUpdateElements","resyncElements","_configure","_cachedDataOpts","easingValue","draw","getStyle","_resolveDatasetElementOptions","_resolveDataElementOptions","backgroundColor","borderColor","hover","readKey","datasetOpts","elementOptions","dataIndex","removeHoverStyle","$previousStyle","setHoverStyle","getHoverColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","_removeDatasetHoverStyle","_setDatasetHoverStyle","hoverOptions","numMeta","numData","insertElements","onDataPush","onDataPop","onDataShift","onDataSplice","onDataUnshift","core_datasetController","TAU","clipArc","startAngle","endAngle","pixelMargin","angleMargin","outerRadius","innerRadius","drawFullCircleBorders","fullCircles","drawBorder","borderAlign","lineWidth","lineJoin","element_arc","inLabelRange","mouseX","hoverRadius","inRange","chartX","chartY","pointRelativePosition","getAngleFromPoint","angle","betweenAngles","withinRadius","getCenterPoint","halfAngle","halfRadius","getArea","centreAngle","rangeFromCentre","circumference","strokeStyle","valueOrDefault$1","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","capBezierPoints","element_line","currentVM","spanGaps","points","globalOptionLineElements","lastDrawnIndex","_loop","previousItem","lineCap","setLineDash","lineDashOffset","valueOrDefault$2","defaultColor$1","xRange","hitRadius","yRange","mouseY","pointStyle","element_point","inXRange","inYRange","padding","chartArea","defaultColor$2","isVertical","getBarBounds","x1","y1","half","parseBorderSkipped","borderSkipped","horizontal","parseBorderWidth","maxH","boundingRects","bounds","skipX","skipY","rectangle","element_rectangle","fillRect","Arc","Point","Rectangle","deprecated","valueOrDefault$3","computeMinSampleSize","pixels","getTicks","getPixelForTick","computeFitCategoryTraits","ruler","thickness","barThickness","stackCount","categoryPercentage","barPercentage","computeFlexCategoryTraits","percent","gridLines","offsetGridLines","bar","controller_bar","scaleOpts","minBarLength","maxBarThickness","_ruler","getRuler","_xScale","_yScale","datasetLabel","_updateElementGeometry","vscale","getBasePixel","isHorizontal","vpixels","calculateBarValuePixels","ipixels","calculateBarIndexPixels","center","_getStacks","metasets","_getMatchingVisibleMetas","stacked","stacks","getStackCount","getStackIndex","getPixelForValue","_startPixel","_endPixel","imeta","ivalue","stackLength","_parseValue","stackIndex","indexOpts","valueOpts","valueOrDefault$4","resolve$1","tooltips","dataPoint","xLabel","yLabel","controller_bubble","xScale","yScale","dsIndex","getPixelForDecimal","valueOrDefault$5","PI$1","DOUBLE_PI$1","HALF_PI$1","animateRotate","animateScale","legendCallback","legend","generateLabels","legendItem","cutoutPercentage","tooltipItem","dataLabel","controller_doughnut","getRingIndex","ringIndex","isDatasetVisible","maxWidth","maxHeight","ratioX","ratioY","offsetX","offsetY","arcs","cutout","chartWeight","_getRingWeight","endX","endY","contains0","contains90","contains270","minX","minY","maxX","maxY","getMaxBorderWidth","radiusLength","_getVisibleDatasetWeightTotal","calculateTotal","_getRingWeightOffset","animationOpts","centerX","centerY","calculateCircumference","hoverWidth","ringWeightOffset","dataSetIndex","axis","horizontalBar","controller_horizontalBar","valueOrDefault$6","resolve$2","isPointInArea","scaleClip","halfBorderWidth","tickOpts","defaultClip","toClip","controller_line","showLine","_showLine","lineTension","_scale","updateBezierControlPoints","lineModel","calculatePointY","lineOptions","dsMeta","stackedRightValue","rightValue","sumPos","sumNeg","getRightValue","_getSortedVisibleDatasetMetas","controlPoints","capControlPoint","cubicInterpolationMode","splineCurveMonotone","splineCurve","nextItem","resolve$3","angleLines","circular","pointLabels","beginAtZero","controller_polarArea","starts","_starts","angles","_angles","_updateRadius","countVisibleElements","_computeAngle","getVisibleDatasetCount","xCenter","yCenter","datasetStartAngle","getDistanceFromCenterForValue","resetRadius","doughnut","controller_pie","valueOrDefault$7","controller_radar","pointPosition","getPointPositionForValue","scatter","controllers","polarArea","pie","radar","getRelativePosition","parseVisibleItems","jlen","getIntersectItems","getNearestItems","intersect","distanceMetric","minDistance","nearestItems","getDistanceMetricForAxis","useX","useY","pt1","pt2","deltaX","deltaY","indexMode","core_interaction","modes","single","intersectsItem","filterByPosition","where","sortByWeight","wrapBoxes","layoutBoxes","setLayoutDims","layouts","layout","availableWidth","vBoxMaxWidth","hBoxMaxHeight","buildLayoutBoxes","leftAndTop","rightAndBottom","vertical","getCombinedMax","maxPadding","updateDims","newWidth","newHeight","getPadding","boxPadding","outerWidth","outerHeight","handleMaxPadding","updatePos","getMargins","marginForPositions","positions","margin","fitBoxes","refit","refitBoxes","placeBoxes","userPadding","core_layouts","addBox","_layers","removeBox","layoutItem","configure","layoutOptions","availableHeight","verticalBoxes","horizontalBoxes","platform_basic","acquireContext","platform_dom","stylesheet","EXPANDO_KEY","CSS_PREFIX","CSS_SIZE_MONITOR","CSS_RENDER_MONITOR","CSS_RENDER_ANIMATION","ANIMATION_START_EVENTS","EVENT_TYPES","touchend","pointerenter","pointerdown","pointermove","pointerup","pointerleave","pointerout","readUsedSize","initCanvas","renderHeight","renderWidth","displayWidth","aspectRatio","displayHeight","eventListenerOptions","supports","nativeEvent","fromNativeEvent","ticking","createDiv","createResizer","maxSize","resizer","shrink","_reset","onScroll","watchForRender","expando","renderProxy","animationName","reflow","offsetParent","unwatchForRender","addResizeListener","maintainAspectRatio","removeResizeListener","injectCSS","rootNode","containsStyles","platform_dom$2","disableCSSInjection","_enabled","_ensureLoaded","getRootNode","releaseContext","proxies","addEvent","removeEvent","core_plugins","_cacheId","$plugins","_invalidate","core_scaleService","constructors","registerScaleType","scaleConstructor","scaleDefaults","getScaleConstructor","getScaleDefaults","updateScaleDefaults","additions","addScalesToLayout","valueOrDefault$8","getRtlHelper","titleFontStyle","titleSpacing","titleMarginBottom","titleFontColor","titleAlign","bodySpacing","bodyFontColor","bodyAlign","footerFontStyle","footerSpacing","footerMarginTop","footerFontColor","footerAlign","yPadding","xPadding","caretPadding","caretSize","multiKeyBackground","displayColors","beforeTitle","tooltipItems","labelCount","afterTitle","beforeBody","beforeLabel","labelColor","labelTextColor","afterLabel","afterBody","beforeFooter","afterFooter","positioners","average","eventPosition","nearestElement","distanceBetweenPoints","pushOrConcat","toPush","splitNewlines","createTooltipItem","indexScale","valueScale","getLabelForIndex","getBaseModel","tooltipOpts","xAlign","yAlign","textDirection","_bodyFontFamily","bodyFontFamily","_bodyFontStyle","bodyFontStyle","_bodyAlign","bodyFontSize","_titleFontFamily","titleFontFamily","_titleFontStyle","titleFontSize","_titleAlign","_footerFontFamily","footerFontFamily","_footerFontStyle","footerFontSize","_footerAlign","opacity","legendColorBackground","getTooltipSize","tooltip","combinedBodyLength","bodyItem","lines","titleLineCount","footerLineCount","widthPadding","maxLineWidth","measureText","fontString","determineAlignment","lf","rf","olf","orf","yf","midX","midY","getBackgroundPoint","alignment","paddingAndSize","radiusAndPadding","getAlignedX","getBeforeAfterBodyLines","exports$4","_lastActive","getTitle","getBeforeBody","getBody","bodyItems","getAfterBody","getFooter","existingModel","_active","backgroundPoint","tooltipSize","caretX","caretY","labelColors","labelTextColors","_eventPosition","itemSort","dataPoints","drawCaret","tooltipPoint","caretPosition","getCaretPosition","x3","y3","ptX","ptY","drawTitle","rtlHelper","drawBody","textColor","drawColorBoxes","xLinePadding","colorX","fillLineOfText","bodyAlignForCalculation","rtlColorX","strokeRect","drawFooter","drawBackground","quadraticCurveTo","hasTooltipContent","globalAlpha","handleEvent","getElementsAtEventForMode","positioners_1","core_tooltip","valueOrDefault$9","mergeScaleConfig","slen","initConfig","updateConfig","ensureScalesHaveIDs","buildOrUpdateScales","nextAvailableScaleId","axesOpts","hasId","positionIsHorizontal","compare2Level","l1","l2","onHover","animationDuration","responsive","responsiveAnimationDuration","Chart","_bufferedRender","retinaScale","bindEvents","resize","initToolTip","getMaximumWidth","getMaximumHeight","onResize","scalesOptions","scaleOptions","xAxisOptions","yAxisOptions","dtype","dposition","isDefault","scaleType","scaleClass","mergeTicksOptions","hasUpdated","buildOrUpdateControllers","newControllers","destroyDatasetMeta","ControllerClass","resetElements","updateLayout","updateDatasets","lastActive","_bufferedRequest","_idx","updateDataset","animationOptions","animationObject","easingFunction","stepDecimal","layers","drawDatasets","_drawTooltip","_getSortedDatasetMetas","filterVisible","drawDataset","getElementAtEvent","getElementsAtEvent","getElementsAtXAxis","getDatasetAtEvent","_meta","generateLegend","unbindEvents","toBase64Image","toDataURL","_chartInstance","eventHandler","updateHoverStyle","bufferedRequest","core_controller","Controller","configMerge","scaleMerge","core_helpers","parseMaxStyle","styleValue","parentProperty","valueInPixels","isConstrainedValue","getConstraintDimension","maxStyle","percentageProperty","_getParentNode","constrainedNode","constrainedContainer","hasCNode","hasCContainer","infinity","filterCallback","filtered","findNextWhere","arrayToSearch","currentItem","findPreviousWhere","almostEquals","almostWhole","rounded","toRadians","toDegrees","radians","_decimalPlaces","centrePoint","anglePoint","distanceFromXCenter","distanceFromYCenter","radialDistanceFromCenter","aliasPixel","pixelWidth","_alignPixel","pixel","currentDevicePixelRatio","halfWidth","firstPoint","middlePoint","afterPoint","d01","d12","s01","s12","fb","EPSILON","pointBefore","pointCurrent","pointAfter","alphaK","betaK","tauK","squaredMagnitude","pointsWithTangents","deltaK","mK","pointsLen","slopeDeltaX","niceNum","fraction","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","originalEvent","srcElement","boundingRect","paddingLeft","paddingTop","paddingRight","paddingBottom","getConstraintWidth","getConstraintHeight","_calculatePadding","parentDimension","cw","currentStyle","forceRatio","pixelRatio","pixelSize","longestText","arrayOfThings","garbageCollect","nestedThing","longest","gcLen","textWidth","numberOfLabelLines","numberOfLines","CanvasGradient","colorValue","CanvasPattern","DateAdapter","_create","override","core_adapters","core_ticks","formatters","tickValue","logDelta","tickString","logTick","numExponential","toExponential","numDecimal","logarithmic","remain","valueOrDefault$a","numItems","getPixelForGridLine","validIndex","lineValue","caches","computeLabelSizes","tickFonts","tickFont","nestedLabel","widest","highest","widths","heights","offsets","widestLabelSize","highestLabelSize","major","minor","valueAt","getTickMarkLength","drawTicks","tickMarkLength","getScaleLabelHeight","parseFontOptions","nestedOpts","fontColor","parseTickFontOptions","nonSkipped","ticksToFilter","getEvenSpacing","calculateSpacing","majorIndices","axisLength","ticksLimit","factors","evenMajorSpacing","spacing","getMajorIndices","skipMajors","tick","majorStart","majorEnd","drawOnChartArea","zeroLineWidth","zeroLineColor","zeroLineBorderDash","zeroLineBorderDashOffset","scaleLabel","labelString","minRotation","maxRotation","autoSkip","autoSkipPadding","labelOffset","Scale","zeroLineIndex","_ticks","_getLabels","xLabels","yLabels","beforeUpdate","margins","samplingEnabled","sampleSize","_labelSizes","_maxLabelLines","longestLabelWidth","longestTextCache","_gridLineItems","_labelItems","beforeSetDimensions","setDimensions","afterSetDimensions","beforeDataLimits","determineDataLimits","afterDataLimits","beforeBuildTicks","buildTicks","afterBuildTicks","_convertTicksToLabels","beforeCalculateTickRotation","calculateTickRotation","afterCalculateTickRotation","beforeFit","afterFit","_ticksToDraw","_autoSkip","afterUpdate","startPixel","endPixel","reversePixels","_reversePixels","beforeTickToLabelConversion","convertTicksToLabels","userCallback","afterTickToLabelConversion","labelSizes","maxLabelWidth","maxLabelHeight","tickWidth","maxLabelDiagonal","numTicks","labelRotation","_isVisible","_getLabelSizes","scaleLabelOpts","gridLineOpts","isBottom","firstLabelSize","lastLabelSize","lineSpace","tickPadding","isRotated","angleRadians","cosRotation","sinRotation","labelHeight","offsetRight","labelWidth","handleMargins","isFullWidth","_getScaleLabel","getValueForPixel","decimal","getDecimalForPixel","getBaseValue","avgMajorSpacing","maxTicksLimit","_tickSize","numMajorIndices","optionTicks","rot","_computeGridLineItems","borderValue","alignedLineValue","tx1","ty1","tx2","ty2","lineColor","ticksLength","tl","axisWidth","axisHalfWidth","alignPixel","alignBorderValue","_computeLabelItems","lineCount","isMirrored","fonts","_drawGrid","firstLineWidth","lastLineWidth","_drawLabels","_drawTitle","scaleLabelX","scaleLabelY","scaleLabelFontColor","scaleLabelFont","scaleLabelPadding","halfLineHeight","isLeft","tz","gz","_draw","core_scale","isNullOrUndef$1","scale_category","ticksOpts","minIndex","maxIndex","_startValue","_valueRange","valueCategory","_defaults","isNullOrUndef$2","generateTicks","generationOptions","dataRange","niceMin","niceMax","numSpaces","MIN_SPACING","stepSize","maxNumSpaces","maxTicks","precision","rmin","rmax","scale_linearbase","handleTickRangeOptions","minSign","maxSign","setMin","suggestedMin","setMax","suggestedMax","getTickLimit","_computeTickLimit","handleDirectionalChanges","numericGeneratorOptions","fixedStepSize","ticksAsNumbers","_endValue","defaultConfig$1","DEFAULT_MIN","DEFAULT_MAX","getOrCreateStack","neg","stackData","relativePoints","updateMinMax","scale_linear","hasStacks","stackValues","_defaults$1","valueOrDefault$b","generateTicks$1","significand","tickVal","endExp","endSignificand","minNotZero","lastTick","defaultConfig$2","nonNegativeOrDefault","scale_logarithmic","IDMatches","valuesPerStack","valuesForType","minVal","maxVal","tickValues","_getFirstTickValue","_valueOffset","_defaults$2","valueOrDefault$c","valueAtIndexOrDefault$1","resolve$4","defaultConfig$3","animate","showLabelBackdrop","backdropColor","backdropPaddingY","backdropPaddingX","getTickBackdropHeight","measureLabelSize","determineLimits","fitWithPointLabels","textSize","plFont","furthestLimits","furthestAngles","_pointLabelSizes","valueCount","getPointPosition","drawingArea","getIndexAngle","hLimits","vLimits","setReductions","getTextAlignForAngle","adjustPointPositionForLabelHeight","drawPointLabels","pointLabelOpts","tickBackdropHeight","outerDistance","pointLabelPosition","pointLabelFontColor","drawRadiusLine","numberOrZero","scale_radialLinear","setCenterPoint","largestPossibleRadius","radiusReductionLeft","radiusReductionRight","radiusReductionTop","radiusReductionBottom","leftMovement","rightMovement","topMovement","bottomMovement","maxRight","maxLeft","maxTop","maxBottom","scalingFactor","distanceFromCenter","thisAngle","getBasePosition","angleLineOpts","tickFontColor","_defaults$3","deprecated$1","resolve$5","valueOrDefault$d","MIN_INTEGER","MIN_SAFE_INTEGER","MAX_INTEGER","MAX_SAFE_INTEGER","INTERVALS","UNITS","sorter","arrayUnique","getMin","getMax","buildLookupTable","distribution","i0","i1","interpolate$1","skey","tkey","toTimestamp","_adapter","determineUnitForAutoTicks","minUnit","capacity","determineUnitForFormatting","determineMajorUnit","generate","timeOpts","unitStepSize","computeOffsets","setMajorTicks","majorUnit","ticksFromTimestamps","defaultConfig$4","displayFormat","displayFormats","scale_time","labelsAdded","dataLabels","_table","_timestamps","getLabelCapacity","_unit","_majorUnit","_offsets","tooltipFormat","tickFormatFunction","minorFormat","majorFormat","nestedTickOpts","getPixelForOffset","_getLabelSize","tickLabelWidth","tickFontSize","getLabelWidth","exampleTime","exampleLabel","_defaults$4","radialLinear","FORMATS","propagate","mappers","boundary","decodeFill","computeLinearBoundary","scaleBottom","scaleTop","scaleZero","computeCircularBoundary","cy","computeBoundary","resolveTarget","visited","createMapper","isDrawable","drawArea","curve0","curve1","len0","len1","doFill","mapper","p0","d0","d1","loopOffset","plugin_filler","afterDatasetsUpdate","$filler","beforeDatasetsDraw","getRtlHelper$1","noop$1","valueOrDefault$e","getBoxWidth","labelOpts","usePointStyle","boxWidth","onLeave","lineDash","Legend","legendHitBoxes","_hoveredItem","doughnutMode","beforeBuildLabels","buildLabels","afterBuildLabels","legendItems","labelFont","hitboxes","lineWidths","totalHeight","vPadding","columnWidths","columnHeights","totalWidth","currentColWidth","currentColHeight","lineDefault","legendHeight","legendWidth","cursor","drawLegendBox","SQRT2","halfFontSize","xLeft","yMiddle","alignmentOffset","dimension","blockSize","itemHeight","realX","_getLegendItemAt","hitBox","lh","hoveredItem","createNewLegendAndAttach","legendOpts","plugin_legend","_element","beforeInit","afterEvent","noop$2","Title","titleX","titleY","fontOpts","createNewTitleBlockAndAttach","titleOpts","titleBlock","_adapters","Animation","animationService","Interaction","scaleService","Ticks","Tooltip","pluginService","PluginBase","canvasHelpers","layoutService","LinearScaleBase","klass","dataFromStore","parsedData","flattenHeatmapData","generateEmptyHeatmapData","timeMarker","getUnixTime","endOfToday","dataItem","groupHeatmapByDay","mapKey","dataToAppend","shouldTruncate","menuTitle","isCountZero","childItemCount","warningIcon","hasPermission","onClickOpen","computedClass","showChildCount","isActiveView","truncateLabel","computedInboxClass","computedInboxErrorClass","dataTestid","newLinkClick","newLinkTag","onListItemSelection","variableKey","getInboxSource","website_url","getReadableInboxByType","getInboxClassByType","getInboxWarningIconClass","reauthorizationRequired","src_Any","src_Cc","src_Z","src_P","src_ZCc","text_separators","src_pseudo_letter","src_ip4","src_host","tpl_host_fuzzy","tpl_host_no_ip_fuzzy","tpl_host_fuzzy_strict","tpl_host_port_fuzzy_strict","tpl_host_port_no_ip_fuzzy_strict","Renderer","ParserCore","ParserBlock","ParserInline","zero","commonmark","BAD_PROTO_RE","GOOD_DATA_RE","validateLink","RECODE_HOSTNAME_FOR","normalizeLink","toASCII","normalizeLinkText","toUnicode","defaultChars","presetName","core","renderer","presets","rules2","ruler2","missed","State","parseInline","inlineMode","encodeCache","keepEscaped","nextCode","getEncodeCache","componentChars","decodeCache","getDecodeCache","seq","b1","b2","b3","b4","chr","slashes","Url","protocolPattern","portPattern","simplePathPattern","unwise","autoEscape","nonHostChars","hostEndingChars","hostnamePartPattern","hostnamePartStart","hostlessProtocol","slashedProtocol","slashesDenoteHost","lowerProto","hec","simplePath","atSign","hostEnd","parseHost","ipv6Hostname","hostparts","newpart","validParts","notHost","bit","qm","parseLinkLabel","parseLinkDestination","parseLinkTitle","disableNested","prevPos","labelEnd","posMax","oldPos","skipToken","default_rules","slf","renderAttrs","highlighted","tmpAttrs","tmpToken","langName","langAttrs","highlight","langPrefix","renderInlineAsText","renderToken","xhtmlOut","html_block","html_inline","nextToken","needLf","_rules","Core","NEWLINES_RE","NULL_RE","isLinkClose","currentToken","lastPos","htmlLinkLevel","fullUrl","urlText","blockTokens","RARE_RE","SCOPED_ABBR_TEST_RE","SCOPED_ABBR_RE","SCOPED_ABBR","tm","replaceFn","replace_scoped","inlineTokens","inside_autolink","replace_rare","blkIdx","typographer","QUOTE_TEST_RE","QUOTE_RE","replaceAt","process_inlines","thisLevel","lastChar","isLastPunctChar","isNextPunctChar","isLastWhiteSpace","isNextWhiteSpace","canOpen","canClose","isSingle","openQuote","closeQuote","OUTER","quotes","StateCore","startLine","endLine","prevLine","hasEmptyLines","maxNesting","skipEmptyLines","sCount","blkIndent","tight","outTokens","lineMax","getLine","bMarks","tShift","eMarks","escapedSplit","isEscaped","lineText","nextLine","columns","columnCount","aligns","tableLines","tbodyLines","oldParentType","terminate","terminatorRules","firstCh","secondCh","getLines","mem","haveEndMarker","skipChars","skipSpaces","adjustTab","lastLineEmpty","oldBMarks","oldBSCount","oldIndent","oldSCount","oldTShift","spaceAfterMarker","isOutdented","oldLineMax","bsCount","cnt","skipBulletListMarker","skipOrderedListMarker","contentStart","indent","indentAfterMarker","isOrdered","itemLines","listLines","listTokIdx","markerCharCode","markerValue","oldListIndent","oldTight","posAfterMarker","prevEmptyEnd","isTerminatingParagraph","listIndent","markTightParagraphs","_endLine","destEndPos","destEndLineNo","references","block_names","HTML_SEQUENCES","skipSpacesBack","skipCharsBack","StateBlock","indent_found","ddIndent","keepLastLF","lineIndent","lineStart","_rules2","pushPending","isTerminatorChar","SCHEME_RE","linkLevel","pmax","ESCAPED","ch1","ch2","origStr","escapedStr","matchStart","matchEnd","openerLength","closerLength","backticksScanned","backticks","labelStart","parseReference","EMAIL_RE","AUTOLINK_RE","isLetter","DIGITAL_RE","NAMED_RE","processDelimiters","closerIdx","openerIdx","closer","opener","minOpenerIdx","newMinOpenerIdx","isOddMatch","lastJump","openersBottom","headerIdx","lastTokenIdx","jumps","StateInline","pendingLevel","_prev_delimiters","token_meta","canSplitWord","left_flanking","right_flanking","baseGetTag","stubFalse","freeExports","freeModule","baseIsTypedArray","baseUnary","nodeUtil","nodeIsTypedArray","objectProto","webpackContext","webpackContextResolve","MESSAGE_EDITOR_MENU_OPTIONS","MESSAGE_SIGNATURE_EDITOR_MENU_OPTIONS","ARTICLE_EDITOR_MENU_OPTIONS","MESSAGE_EDITOR_IMAGE_RESIZES","trait","zip","country","street","city","region","Salesforce","traverseObject","traverseArray","industry","employees","InboxMembers","setColorTheme","isOSOnDarkMode","selectedColorScheme","NotificationSubscriptions","verifyServiceWorkerExistence","serviceWorker","registration","registrationError","hasPushPermissions","Notification","generateKeys","sendRegistrationToServer","subscription_type","subscription_attributes","endpoint","p256dh","getKey","getPushSubscriptionPayload","registerSubscription","onSuccess","serviceWorkerRegistration","pushManager","userVisibleOnly","applicationServerKey","requestPushPermissions","requestPermission","timeoutDuration","longerTimeoutBrowsers","scheduled","functionToCheck","getStyleComputedProperty","getScrollParent","_getStyleComputedProp","overflowX","overflowY","getReferenceNode","referenceNode","isIE11","MSInputMethodContext","isIE10","isIE","getOffsetParent","noOffsetParent","nextElementSibling","getRoot","findCommonOffsetParent","element1","element2","DOCUMENT_POSITION_FOLLOWING","commonAncestorContainer","element1root","getScroll","upperSide","scrollingElement","getBordersSize","sideA","sideB","getSize","computedStyle","getWindowSizes","getClientRect","horizScrollbar","vertScrollbar","getOffsetRectRelativeToArbitraryNode","fixedPosition","isHTML","childrenRect","parentRect","scrollParent","borderTopWidth","borderLeftWidth","marginTop","marginLeft","includeScroll","isFixed","getFixedPositionOffsetParent","getBoundaries","popper","boundariesElement","boundaries","excludeScroll","relativeOffset","getViewportOffsetRectRelativeToArtbitraryNode","boundariesNode","_getWindowSizes","isPaddingNumber","computeAutoPlacement","refRect","sortedAreas","filteredAreas","computedPlacement","variation","getReferenceOffsets","getOuterSizes","marginBottom","marginRight","getOppositePlacement","getPopperOffsets","referenceOffsets","popperRect","popperOffsets","isHoriz","mainSide","secondarySide","measurement","secondaryMeasurement","runModifiers","ends","arrowStyles","flipped","positionFixed","originalPlacement","isCreated","onUpdate","onCreate","isModifierEnabled","modifierName","getSupportedPropertyName","prefixes","upperProp","toCheck","willChange","disableEventListeners","removeOnDestroy","getWindow","attachToScrollParents","scrollParents","isBody","setupEventListeners","updateBound","scrollElement","eventsEnabled","enableEventListeners","scheduleUpdate","cancelAnimationFrame","isNumeric","setStyles","isFirefox","isModifierRequired","requestingName","requestedName","requesting","_requesting","requested","placements","validPlacements","clockwise","BEHAVIORS","parseOffset","basePlacement","useHeight","fragments","divider","splitRegex","mergeWithPrevious","index2","shiftvariation","_data$offsets","shiftOffsets","preventOverflow","transformProp","popperStyles","primary","escapeWithReference","secondary","keepTogether","opSide","arrow","_data$offsets$arrow","arrowElement","sideCapitalized","altSide","arrowElementSize","popperMarginSide","popperBorderSide","sideValue","placementOpposite","flipOrder","refOffsets","overlapsRef","overflowsLeft","overflowsRight","overflowsTop","overflowsBottom","overflowsBoundaries","flippedVariationByRef","flipVariations","flippedVariationByContent","flipVariationsByContent","flippedVariation","getOppositeVariation","subtractLength","hide","bound","computeStyle","legacyGpuAccelerationOption","gpuAcceleration","offsetParentRect","shouldRound","noRound","referenceWidth","popperWidth","isVariation","horizontalToInteger","verticalToInteger","getRoundedOffsets","prefixedProperty","invertTop","invertLeft","applyStyle","onLoad","modifierOptions","Defaults","Popper","jquery","Utils","PopperUtils","unrefElement","elRef","defaultWindow","useEventListener","cleanup","stopWatch","options2","optionsClone","flatMap","_TransitionPresets","SDK_VERSION","originalFunctionToString","FunctionToString","DEFAULT_IGNORE_ERRORS","InboundFilters","self_1","clientOptions","internalOptions","allowUrls","whitelistUrls","denyUrls","blacklistUrls","ignoreErrors","ignoreInternal","_mergeOptions","_isSentryError","_getPossibleEventMessages","_isIgnoredError","_getEventFilterUrl","_isDeniedUrl","_isAllowedUrl","_shouldDropEvent","_getLastValidUrl","stacktrace","frames_1","SentryError","_newTarget","DSN_REGEX","dsnToString","dsn","withPassword","projectId","publicKey","dsnFromComponents","makeDsn","projectMatch","dsnFromString","isValidProtocol","validateDsn","installedIntegrations","filterDuplicates","accIntegration","defaultIntegrations","userIntegration","integrationsNames","alwaysLastToRun","getIntegrationsToSetup","setupIntegration","ALREADY_SEEN_ERROR","BaseClient","backendClass","_integrations","_numProcessing","_backend","_dsn","_process","_getBackend","eventFromException","_captureEvent","promisedEvent","eventFromMessage","_isEnabled","_sendSession","getDsn","_isClientDoneProcessing","clientFinished","transportFlushed","_updateSessionFromEvent","crashed","errored","exceptions","exceptions_1","exceptions_1_1","sessionNonTerminal","sendSession","ticked","_prepareEvent","normalizeDepth","normalizeMaxBreadth","prepared","_applyClientOptions","_applyIntegrationsMetadata","finalScope","_normalizeEvent","maxBreadth","baseClientNormalized","maxValueLength","integrationsArray","sdk","_sendEvent","sendEvent","_processEvent","finalEvent","beforeSend","outcome","isTransaction","__sentry__","nullErr","_ensureBeforeSendRv","processedEvent","tunnel","_dsnObject","_tunnel","forceEnvelope","getBaseApiEndpoint","getStoreEndpoint","getStoreEndpointWithUrlEncodedAuth","getEnvelopeEndpointWithUrlEncodedAuth","initAPIDetails","initDsn","_getIngestEndpoint","_encodedAuth","sentry_key","sentry_version","_getEnvelopeEndpoint","createEnvelope","serializeEnvelope","envelope","serializedHeaders","itemHeaders","serializedPayload","getSdkMetadataForEnvelopeHeader","enhanceEventWithSdkInfo","sdkInfo","packages","createSessionEnvelope","sent_at","Severity","NoopTransport","BaseBackend","_transport","_setupTransport","_exception","_hint","_message","_newTransport","newTransport","samplingMethod","skippedNormalization","sample_rates","createEventEnvelope","UNKNOWN_FUNCTION","createFrame","lineno","in_app","chromeRegex","chromeEvalRegex","chromeStackParser","subMatch","extractSafariExtensionDetails","geckoREgex","geckoEvalRegex","geckoStackParser","winjsRegex","winjsStackParser","opera10Regex","opera10StackParser","opera11Regex","opera11StackParser","isSafariExtension","isSafariWebExtension","exceptionFromError","ex","parseStackFrames","extractMessage","eventFromError","popSize","framesToPop","reactMinifiedRegexp","getPopSize","eventFromUnknownInput","attachStacktrace","isUnhandledRejection","domException","eventFromString","__serialized__","eventFromPlainObject","synthetic","frames_2","makePromiseBuffer","taskProducer","drain","capturedSetTimeout","disabledUntil","isRateLimited","updateRateLimits","updatedRateLimits","rateLimitHeader","retryAfterHeader","parameters","headerDelay","headerDate","parseRetryAfterHeader","eventStatusFromHttpCode","createTransport","makeRequest","bufferSize","rateLimits","envCategory","getEnvelopeType","getRateLimitReason","statusCode","cachedFetchImpl","getNativeFetchImplementation","fetchImpl","sendReport","sendBeacon","fetch_1","requestTypeToCategory","BaseTransport","_buffer","_rateLimits","_outcomes","_api","sendClientReports","_flushOutcomes","_sendRequest","useEnvelope","JSONStringifyError","newErr","innerErr","eventToSentryRequest","sessionToSentryRequest","outcomes","discarded_events","discardedEvents","_handleResponse","requestType","_isRateLimited","_disabledUntil","FetchTransport","_fetch","sentryRequest","originalPayload","fetchParameters","XHRTransport","getResponseHeader","BrowserBackend","Info","nativeFetch","transportOptions","requestOptions","makeNewXHRTransport","ignoreOnError","shouldIgnoreOnError","__sentry_wrapped__","sentryWrapped","wrappedArguments","injectReportDialog","dsnLike","dialogOptions","encodedOptions","getReportDialogEndpoint","injectionPoint","severityFromString","Warning","isSupportedSeverity","Log","Breadcrumbs","addSentryBreadcrumb","_consoleBreadcrumb","_innerDomBreadcrumb","serializeAttribute","_domBreadcrumb","_xhrBreadcrumb","_fetchBreadcrumb","_historyBreadcrumb","parsedLoc","parsedFrom","parsedTo","BrowserClient","showReportDialog","DEFAULT_EVENT_TARGET","TryCatch","eventTarget","_wrapTimeFunction","_wrapRAF","_wrapXHR","eventTargetOption","_wrapEventTarget","wrapOptions","originalFunction","wrappedEventHandler","originalEventHandler","GlobalHandlers","_installFunc","_installGlobalOnErrorHandler","_installGlobalOnUnhandledRejectionHandler","stackTraceLimit","installFunc","getHubAndAttachStacktrace","ERROR_TYPES_RE","_enhanceEventWithInitialFrame","_eventFromIncompleteOnError","addMechanismAndCapture","ev0","ev0s","ev0sf","LinkedErrors","_limit","linkedErrors","_walkErrorTree","_handler","Dedupe","currentEvent","previousEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","_isSameMessageEvent","previousException","_getExceptionFromEvent","currentException","_isSameExceptionEvent","_previousEvent","currentFrames","_getFramesFromEvent","previousFrames","frameA","frameB","currentFingerprint","previousFingerprint","UserAgent","Referer","window_1","SENTRY_RELEASE","autoSessionTracking","clientClass","initialScope","initAndBind","startSessionOnHub","startSessionTracking","DEFAULT_HOOKS","classifyRE","ANONYMOUS_COMPONENT_NAME","formatComponentName","includeFile","__file","attachErrorHandler","lifecycleHook","componentName","__isVue","tree","currentRecursiveSequence","formattedTree","generateComponentTrace","attachProps","logErrors","hasConsole","VUE_OP","HOOKS","createTracingMixins","_loop_1","internalHooks","_loop_2","internalHook","$_sentryRootSpan","shouldTrack","trackComponents","$_sentrySpans","$_sentryRootSpanTimer","internalHooks_1","internalHooks_1_1","hooks_1","hooks_1_1","DEFAULT_CONFIG","vueInit","tracingOptions","messageStamp","messageTimestamp","messageTime","messageDate","isSameYear","dynamicTime","formatDistanceToNow","shortTimestamp","timeMappings","triggerCharacters","$position","textFrom","textTo","suggestionsPlugin","suggestionClass","onEnter","onChange","onExit","onKeyDown","stopped","onAgentSelect","thumbnail","handleVariableClick","createState","showUserMentions","mentionSearchKey","insertMentionNode","cannedSearchTerm","insertCannedResponse","variableSearchTerm","insertVariable","onFileChange","isImageNodeSelected","showImageResizeToolbar","toolbarPosition","setURLWithQueryAndImageSize","countries","dial_code","copyTextToClipboard","clipboard","writeText","formatBytes","decimals","dm","checkFileSizeLimit","maximumUploadLimit","_file$file","fileSize","NOTE","CHAR_LENGTH_WARNING","UNDER_50","NEGATIVE","iconClass","buttonText","spinnerClass","languages","getLanguageName","languageCode","iconContent","rows","onInput","onFocus","onKeyup","onBlur","useRoute","useRouter","customClass","handleMentionClick","jump","generatePayload","attribute_key","_item$values$","setArrayValues","generateValues","query_operator","buttonClasses","handleClick","showDarkSpinner","af","af_NA","af_ZA","ak","ak_GH","sq","sq_AL","sq_XK","sq_MK","am_ET","ar_DZ","ar_BH","ar_TD","ar_KM","ar_DJ","ar_EG","ar_ER","ar_IQ","ar_IL","ar_JO","ar_KW","ar_LB","ar_LY","ar_MR","ar_MA","ar_OM","ar_PS","ar_QA","ar_SA","ar_SO","ar_SS","ar_SD","ar_SY","ar_TN","ar_AE","ar_EH","ar_YE","hy","hy_AM","as_IN","az","az_AZ","az_Cyrl_AZ","az_Cyrl","az_Latn_AZ","az_Latn","bm","bm_Latn_ML","bm_Latn","eu","eu_ES","be_BY","bn_BD","bn_IN","bs_BA","bs_Cyrl_BA","bs_Cyrl","bs_Latn_BA","bs_Latn","br_FR","bg","bg_BG","my","my_MM","ca_AD","ca_FR","ca_IT","ca_ES","zh","zh_HK","zh_MO","zh_Hans_CN","zh_Hans_HK","zh_Hans_MO","zh_Hans_SG","zh_Hans","zh_SG","zh_Hant_HK","zh_Hant_MO","zh_Hant_TW","zh_Hant","kw","kw_GB","hr_BA","hr_HR","cs_CZ","da_DK","da_GL","nl_AW","nl_BE","nl_BQ","nl_CW","nl_NL","nl_SX","nl_SR","dz","dz_BT","en_AS","en_AI","en_AG","en_AU","en_BS","en_BB","en_BE","en_BZ","en_BM","en_BW","en_IO","en_VG","en_CM","en_CA","en_KY","en_CX","en_CC","en_CK","en_DG","en_DM","en_ER","en_FK","en_FJ","en_GM","en_GH","en_GI","en_GD","en_GU","en_GG","en_GY","en_HK","en_IN","en_IE","en_IM","en_JM","en_JE","en_KE","en_KI","en_LS","en_LR","en_MO","en_MG","en_MW","en_MY","en_MT","en_MH","en_MU","en_FM","en_MS","en_NA","en_NR","en_NZ","en_NG","en_NU","en_NF","en_MP","en_PK","en_PW","en_PG","en_PH","en_PN","en_PR","en_RW","en_WS","en_SC","en_SL","en_SG","en_SX","en_SB","en_ZA","en_SS","en_SH","en_KN","en_LC","en_VC","en_SD","en_SZ","en_TZ","en_TK","en_TO","en_TT","en_TC","en_TV","en_UM","en_VI","en_UG","en_GB","en_US","en_VU","en_ZM","en_ZW","et_EE","ee_GH","ee_TG","fo_FO","fi_FI","fr_DZ","fr_BE","fr_BJ","fr_BF","fr_BI","fr_CM","fr_CA","fr_CF","fr_TD","fr_KM","fr_CG","fr_CD","fr_CI","fr_DJ","fr_GQ","fr_FR","fr_GF","fr_PF","fr_GA","fr_GP","fr_GN","fr_HT","fr_LU","fr_MG","fr_ML","fr_MQ","fr_MR","fr_MU","fr_YT","fr_MC","fr_MA","fr_NC","fr_NE","fr_RE","fr_RW","fr_SN","fr_SC","fr_BL","fr_MF","fr_PM","fr_CH","fr_SY","fr_TG","fr_TN","fr_VU","fr_WF","ff","ff_CM","ff_GN","ff_MR","ff_SN","gl","gl_ES","lg","lg_UG","ka","ka_GE","de_AT","de_BE","de_DE","de_LI","de_LU","de_CH","el_CY","el_GR","gu","gu_IN","ha_GH","ha_Latn_GH","ha_Latn_NE","ha_Latn_NG","ha_Latn","ha_NE","ha_NG","he_IL","hi_IN","hu_HU","is_IS","ig","ig_NG","id_ID","ga_IE","it_IT","it_SM","it_CH","ja_JP","kl","kl_GL","kn_IN","ks_Arab_IN","ks_Arab","ks_IN","kk","kk_Cyrl_KZ","kk_Cyrl","kk_KZ","km","km_KH","ki_KE","rw","rw_RW","ko_KP","ko_KR","ky","ky_Cyrl_KG","ky_Cyrl","ky_KG","lo_LA","lv_LV","ln_AO","ln_CF","ln_CG","ln_CD","lt_LT","lu","lu_CD","lb","lb_LU","mk","mk_MK","mg_MG","ms_BN","ms_Latn_BN","ms_Latn_MY","ms_Latn_SG","ms_Latn","ms_MY","ms_SG","ml_IN","mt_MT","gv","gv_IM","mr_IN","mn_Cyrl_MN","mn_Cyrl","mn_MN","ne_IN","ne_NP","nd","nd_ZW","se_FI","se_NO","se_SE","no_NO","nb","nb_NO","nb_SJ","nn_NO","or_IN","om","om_ET","om_KE","os_GE","os_RU","ps_AF","fa_AF","fa_IR","pl_PL","pt_AO","pt_CV","pt_GW","pt_MO","pt_MZ","pt_PT","pt_ST","pt_TL","pa_Arab_PK","pa_Arab","pa_Guru_IN","pa_Guru","pa_IN","pa_PK","qu","qu_BO","qu_EC","qu_PE","ro_MD","ro_RO","rm_CH","rn_BI","ru_BY","ru_KZ","ru_KG","ru_MD","ru_RU","ru_UA","sg","sg_CF","gd","gd_GB","sr_BA","sr_Cyrl_BA","sr_Cyrl_XK","sr_Cyrl_ME","sr_Cyrl_RS","sr_Cyrl","sr_XK","sr_Latn_BA","sr_Latn_XK","sr_Latn_ME","sr_Latn_RS","sr_Latn","sr_ME","sr_RS","sh","sh_BA","sn_ZW","ii_CN","si_LK","sk_SK","sl_SI","so_DJ","so_ET","so_KE","so_SO","es_AR","es_BO","es_IC","es_EA","es_CL","es_CO","es_CR","es_CU","es_DO","es_EC","es_SV","es_GQ","es_GT","es_HN","es_MX","es_NI","es_PA","es_PY","es_PE","es_PH","es_PR","es_ES","es_US","es_UY","es_VE","sw","sw_KE","sw_TZ","sw_UG","sv_AX","sv_FI","sv_SE","tl_PH","ta_IN","ta_MY","ta_SG","ta_LK","te_IN","th_TH","bo_CN","bo_IN","ti_ER","ti_ET","to_TO","tr_CY","tr_TR","uk_UA","ur_IN","ur_PK","ug","ug_Arab_CN","ug_Arab","ug_CN","uz","uz_AF","uz_Arab_AF","uz_Arab","uz_Cyrl_UZ","uz_Cyrl","uz_Latn_UZ","uz_Latn","uz_UZ","vi_VN","cy_GB","fy","fy_NL","yo_BJ","yo_NG","zu","zu_ZA","differenceInMilliseconds","endOfMonth","differenceInCalendarMonths","differenceInSeconds","alwaysDark","toggleCountryDropdown","activeCountry","activeDialCode","moveUp","moveDown","onSelectCountry","filteredCountriesBySearch","searchCountry","onSearchCountry","activeCountryCode","toggleEmojiPicker","hasError","nameErrorMessage","helpText","onNameChange","onClickInsertEmoji","toPrimitive","stackClear","stackDelete","stackGet","stackHas","stackSet","Stack","funcToString","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","MapCache","SetCache","arraySome","cacheHas","bitmask","customizer","equalFunc","isPartial","othLength","arrStacked","othStacked","arrValue","othValue","compared","othIndex","baseTimes","isArguments","isIndex","inherited","isArr","isArg","isBuff","skipIndexes","baseIsArguments","isObjectLike","reIsUint","baseAssignValue","getPrototype","overArg","arrayLikeKeys","baseKeysIn","isArrayLike","parentNav","menuItems","toolTip","toStateName","hasSubMenu","globalConfigFlag","isEnterpriseOnly","beta","showOnlyOnCloud","primaryMenuItems","alwaysVisibleOnChatwootInstances","dashboardPath","isChildMenuActive","openInNewPage","changeAvailabilityStatus","currentUserAutoOffline","handleKeyboardHelpClick","handleProfileSettingClick","openAppearanceOptions","statusOfAgent","isNotificationPanelActive","logoSource","activeMenuItem","helpDocsURL","toggleOptions","showOptionsMenu","toggleSupportChatWindow","setShowSwitch","resetShowSwitch","menuConfig","showAddLabelPopup","primaryMenu","secondaryMenu","activePrimaryMenu","sidebarClassName","activeSecondaryMenu","onClickOpenNotification","notificationItem","primary_actor","notification_type","notificationAssigneeThumbnail","notificationAssigneeName","push_message_title","onClickNotification","inLastPage","openNotificationPage","totalUnreadNotifications","noUnreadNotificationAvailable","onMarkAllDoneClick","openAudioNotificationSettings","getUnreadNotifications","openConversation","inFirstPage","onClickFirstPage","notificationPanelFooterIconClass","onClickPreviousPage","lastPage","onClickNextPage","onClickLastPage","SHORTCUT_KEYS","firstKey","secondKey","shortcutKey","labelClass","variant","background","hasAccounts","addAccount","accountName","onChangeAccount","onClose","portalName","slugError","addCategory","handleInput","greetingsMessage","hljs","registerLanguage","IS_HTMLDDA","stat","dontCallGetSet","forced","withoutSetter","unsafe","nonConfigurable","nonWritable","filterReject","Deno","v8","callee","EXISTS","PROPER","CONFIGURABLE","parentWindow","ActiveXObject","isPrototypeOf","BROKEN_CARET","sticky","multiline","copyright","license","$isLabel","$groupLabel","preferredOpenDirection","optimizedHeight","internalSearch","searchable","clearOnSelect","hideSelected","allowEmpty","resetAfter","closeOnSelect","customLabel","taggable","tagPlaceholder","tagPosition","optionsLimit","groupValues","groupLabel","groupSelect","blockKeys","preserveSearch","preselectFirst","preventAutofocus","internalValue","filteredOptions","filterAndFlat","isSelected","isExistingOption","isTag","valueKeys","optionKeys","flatAndStrip","currentOptionLabel","getOptionLabel","updateSearch","isOptionDisabled","$isDisabled","selectGroup","pointerDirty","deactivate","removeElement","wholeGroupSelected","wholeGroupDisabled","removeLastElement","adjustPosition","pointer","openDirection","showPointer","optionHeight","pointerPosition","visibleElements","pointerAdjust","optionHighlight","groupHighlight","addPointerElement","pointerReset","pointerForward","pointerBackward","pointerSet","selectLabel","selectGroupLabel","selectedLabel","deselectLabel","deselectGroupLabel","showLabels","limitText","showNoOptions","showNoResults","tabindex","hasOptionGroup","isSingleLabelVisible","singleValue","visibleValues","isPlaceholderVisible","deselectLabelText","deselectGroupLabelText","selectLabelText","selectGroupLabelText","selectedLabelText","inputStyle","contentStyle","isAbove","showSearchInput","hasSingleSelectedSlot","visibleSingleValue","inspectSource","facade","enforce","getterFor","NATIVE","POLYFILL","hasIndices","ignoreCase","dotAll","unicode","unicodeSets","trunc","MISSED_STICKY","UNSUPPORTED_Y","esModule","spellcheck","mouseenter","eval","cloneRoute","currentPath","isTimeTraveling","methodToUse","SVGAnimatedString","convertToArray","addClasses","newClasses","baseVal","newClass","SVGElement","removeClasses","supportsPassive","ownKeys$2","_objectSpread$2","DEFAULT_OPTIONS","openTooltips","_reference","relatedreference","toElement","_tooltipNode","evt2","relatedreference2","_scheduleHide","_isOpen","_show","_hide","_dispose","_classes","_setContent","classesUpdated","defaultClass","setClasses","needPopperUpdate","needRestart","popperInstance","_isDisposed","_enableDocumentTouch","_setEventListeners","$_originalTitle","tooltipGenerator","tooltipNode","ariaId","autoHide","asyncContent","_applyContent","allowHtml","titleNode","innerSelector","loadingClass","loadingContent","asyncResult","innerText","_disposeTimer","updateClasses","_ensureShown","_findContainer","_append","popperOptions","arrowSelector","_noLongerOpen","disposeTime","disposeTimeout","_removeTooltipNode","directEvents","oppositeEvents","hideOnTargetClick","usedByTooltip","_scheduleShow","computedDelay","_scheduleTimer","_setTooltipNodeEvent","ownKeys$1","_objectSpread$1","_onDocumentTouch","defaultPlacement","defaultTargetClass","defaultHtml","defaultTemplate","defaultArrowSelector","defaultInnerSelector","defaultDelay","defaultTrigger","defaultOffset","defaultContainer","defaultBoundariesElement","defaultPopperOptions","defaultLoadingClass","defaultLoadingContent","defaultHideOnTargetClick","popover","defaultBaseClass","defaultWrapperClass","defaultInnerClass","defaultArrowClass","defaultOpenClass","defaultAutoHide","defaultHandleResize","typeofOffset","getPlacement","destroyTooltip","_tooltip","_tooltipOldShow","_tooltipTargetClasses","setContent","setOptions","_vueEl","targetClasses","createTooltip","addListeners","onTouchStart","removeListeners","onTouchEnd","onTouchCancel","closePopover","$_vclosepopover_touch","closeAllPopover","$_closePopoverModifiers","changedTouches","touch","$_vclosepopover_touchPoint","firstTouch","screenY","screenX","vclosepopover","getDefault","MSStream","openPopovers","ResizeObserver","popoverClass","popoverBaseClass","popoverInnerClass","popoverWrapperClass","popoverArrowClass","handleResize","openGroup","openClass","cssClass","popoverId","oldVal","popoverNode","$_findContainer","$_removeEventListeners","$_addEventListeners","$_updatePopper","$_isDisposed","$_mounted","$_events","$_preventOpen","$_init","skipDelay","_ref2$force","$_scheduleShow","$_beingShowed","$_scheduleHide","$_show","$_disposeTimer","$_getOffset","$_hide","$_scheduleTimer","$_setTooltipNodeEvent","event2","$_restartPopper","$_handleGlobalClose","$_handleResize","handleGlobalClose","isFunctionalTemplate","createInjector","createInjectorSSR","createInjectorShadow","__vue_script__","__vue_render__","_h","visibility","__vue_component__","styleSheet","styleInject","finalOptions","GlobalVue","_defineProperties","baseIsEqual","initCompat","msie","getInternetExplorerVersion","emitOnMount","ignoreWidth","ignoreHeight","emitSize","_resizeObject","addResizeHandlers","removeResizeHandlers","compareAndNotify","contentDocument","baseMerge","createAssigner","srcIndex","sourceRoot","media","sourceMap","ssrId","DEBUG","setAlpha","toHsl","toHsv","toHexString","hex8","toHex8String","toRgb","oldHue","colors","colorChange","isValidHex","simpleCheckForValidColor","paletteUpperCase","isTransparent","__g","__e","palette","pick","handlerClick","labelText","arrowOffset","labelId","labelSpanText","handleChange","swatches","normalizedSwatches","hueChange","handleSwClick","virtual","pullDirection","directionClass","pointerTop","pointerLeft","pageX","pageY","handleMouseUp","unbindEventListeners","equal","disableFields","hasResetButton","acceptLabel","cancelLabel","resetLabel","newLabel","currentLabel","currentColor","childChange","inputChange","clickCurrentColor","handleAccept","handleCancel","handleReset","checkboard","gradientColor","white","grey","bgStyle","presetColors","disableAlpha","activeColor","handlePreset","fieldsIndex","hasAlpha","toggleViews","showHighlight","hideHighlight","editableInput","defaultColors","triangle","Compact","Grayscale","Material","Slider","Swatches","Photoshop","Sketch","Chrome","Alpha","Checkboard","EditableInput","Hue","Saturation","ColorMixin","_originalInput","_roundA","_format","_gradientType","gradientType","_ok","_tc_id","CSS_UNIT","hsva","hex6","hex4","hex3","isDark","getBrightness","isLight","getOriginalInput","getFormat","getLuminance","toHsvString","toHslString","toHex8","toRgbString","toPercentageRgb","toPercentageRgbString","toName","toFilter","_applyModification","brighten","spin","_applyCombination","analogous","complement","monochromatic","splitcomplement","triad","tetrad","fromRatio","readability","isReadable","mostReadable","includeFallbackColors","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","blanchedalmond","blueviolet","brown","burlywood","burntsienna","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellowgreen","hexNames","Arguments","KEY","QObject","findChild","keyFor","useSetter","useSimple","preventExtensions","NEED","fastKey","getWeak","onFreeze","a100","a200","a400","a700","dividers","deepPurple","lightBlue","lightGreen","amber","deepOrange","blueGrey","darkText","lightText","darkIcons","lightIcons","mouseover","mouseout","boxShadow","wootApi","Auth","accessToken","tokenType","parseErrorCode","createResizeObserver","cwResizeObserver","destroyResizeObserver","unobserve","usernameAvatar","onAvatarDelete","handleImageUpload","generateChart","chartId","chartType","cssClasses","addPlugin","renderChart","Bar","HorizontalBar","defaultChartOptions","chartOptions","codepenScriptValue","onCopy","toggleColorPicker","updateColor","closeModal","onConfirm","confirmPlaceHolderText","confirmText","rejectText","confirmLabel","messageValue","headerImage","headerContent","headerContentValue","onMenuItemClick","hasScroll","computeScrollWidth","tabElement","getElementsByClassName","scrollWidth","onScrollClick","scrollPosition","createScrollButton","Tabs","leftButton","rightButton","tabs","onTabClick","getItemCount","subMonths","addYears","subYears","isSameMonth","isWithinInterval","endTime","calendarWeeks","dateRanges","DATE_RANGE_TYPES","LAST_7_DAYS","LAST_30_DAYS","LAST_3_MONTHS","LAST_6_MONTHS","LAST_YEAR","CUSTOM_RANGE","CALENDAR_TYPES","START_CALENDAR","END_CALENDAR","CALENDAR_PERIODS","yearName","getIntlDateFormatForLocale","getWeeksForMonth","startOfTheMonth","startOfMonth","startOfTheFirstWeek","startOfWeek","endOfTheLastWeek","dirtyInterval","startDate","eachDayOfInterval","isLastDayOfMonth","dayIsInRange","endDate","startOfDayStart","startOfDayEnd","dirtyDateToCompare","dateToCompare","dirtyMonth","dateWithDesiredMonth","monthIndex","lastDayOfMonth","formatDateRange","selectedStartDate","selectedEndDate","activeDateRange","selectedRange","openDatePicker","localDateValue","dateValue","parsedDate","calendarType","compareDate","isEndCalendar","validateDate","setDateRange","getYear","onClickPrev","onClickSetView","viewMode","firstButtonLabel","buttonLabel","onClickNext","calculateStartYear","startYear","startCurrentDate","endCurrentDate","firstYear","lastYear","activeYear","CalendarAction","selectYear","activeMonthIndex","setViewMode","selectMonth","isSelectedStartOrEndDate","isInRange","isInCurrentMonth","isCurrentMonth","referenceDate","isHoveringInRange","isHoveringDayInRange","hoveredEndDate","selectingEndDate","isHoveringNextDayInRange","isToday","CalendarWeekLabel","dayClasses","emitHoveredEndDate","emitSelectDate","isNextDayInRange","onClickClear","onClickApply","showDatePicker","calendarViews","manualStartDate","manualEndDate","newRange","isLastSevenOrThirtyDays","monthDifference","getActiveDateRange","last7days","last30days","last3months","last6months","moveCalendarDate","adjust","newDate","dirtyYear","setYear","DatePickerButton","CalendarDateRange","CalendarDateInput","updateManualInput","handleManualInputError","CalendarYear","openCalendar","CalendarMonth","moveCalendar","CalendarWeek","selectDate","CalendarFooter","emitDateRange","resetDatePicker","WootUIKit","AvatarUploader","Button","Code","ColorPicker","ConfirmDeleteModal","ConfirmModal","ContextMenu","DeleteModal","DropdownItem","DropdownMenu","FeatureToggle","Input","PhoneInput","Label","LoadingState","Modal","ModalHeader","SidemenuIcon","Spinner","SubmitButton","TabsItem","Thumbnail","DatePicker","useEmitter","showNotification","isReconnecting","isReconnected","reconnectTimeout","bannerText","iconName","canRefresh","closeNotification","isInAnyOfTheRoutes","updateWebsocketStatus","handleReconnectionCompleted","handleReconnecting","updateOnlineStatus","refreshPage","actionButtonMessage","routeToBilling","billingBannerMessage","resendVerificationEmail","ActionCableConnector","onMessageUpdated","onPresenceUpdate","onConversationContactChange","onAssigneeChanged","fetchConversationStats","onConversationCreated","onConversationRead","onLogout","AuthAPI","onMessageCreated","onReload","onStatusChange","onConversationUpdated","onTypingOn","clearTimer","initTimer","onTypingOff","onConversationMentioned","timerEvent","CancelTyping","onContactDelete","onContactUpdate","onNotificationCreated","onNotificationDeleted","onNotificationUpdated","onFirstReplyCreated","onCacheInvalidate","snackMessage","ReconnectService","removeEventListeners","handleOnlineEvent","onDisconnect","getSecondsSinceDisconnect","disconnectTime","fetchConversations","fetchFilteredOrSavedConversations","fetchConversationsOnReconnect","_getAppliedConversati","activeFolder","fetchConversationMessagesOnReconnect","fetchNotificationsOnReconnect","revalidateCaches","handleRouteSpecificFetch","authUIFlags","accountUIFlags","showAddAccountModal","small","classObject","over","BUILD","vuelidate","_common","nibbles","nibbleValid","nibble","numeric","hexValid","equalTo","DropCursorView","cursorPos","setCursor","updateOverlay","nodeRect","parentLeft","parentTop","scheduleRemoval","disableDropCursor","GapCursor","GapBookmark","closedBefore","closedAfter","allowGapCursor","findGapCursorFrom","mustMove","$cur","drawGapCursor","createSelectionBetween","dirStr","$found","clickPos","cutOff","undoable","MAX_MATCH","handleTextInput","isInputRules","toUndo","emDash","openDoubleQuote","closeDoubleQuote","openSingleQuote","closeSingleQuote","smartQuotes","joinPredicate","prosemirrorTables","replaceParentNodeOfType","findParentNodeOfType","newTr","replaceNodeAtPos","replaceSelectedNode","_tr$selection","cloneTr","setTextSelection","nextSelection","isSelectableNode","shouldSelectNode","tryToReplace","hasPosition","$insertPos","canInsert","_pos","_pos2","equalNodeType","removeNodeAtPos","tableNodeTypes","roles","tableRole","createCell","cellType","cellContent","isRectSelected","TableMap","$anchorCell","cells","cellsInRect","selectedCells","rectBetween","$headCell","transpose","convertTableNodeToArrayOfRows","tableNode","rowIndex","rowCells","colIndex","cellPos","cell","findCell","convertArrayOfRowsToTableNode","arrayOfNodes","rowsPM","row","newCell","moveRowInArrayOfRows","indexesOrigin","indexesTarget","directionOverride","rowsExtracted","positionOffset","checkInvalidMovements","originIndex","findParentNode","findParentNodeClosestToPos","findParentDomRef","findDomRefAtPos","hasParentNode","findPositionOfNodeBefore","maybeSelection","TEXT_NODE","descend","findChildren","findChildrenByType","findTable","isCellSelection","CellSelection","isTableSelected","getCellsInColumn","columnIndex","getCellsInRow","isRowSelection","findCellClosestToPos","selRect","cellsInFirstRow","cellsInLastRow","selectColumn","selectRow","cloneRowAt","tableNodes","rowPos","cloneRow","rowWidth","rowspan","colspan","rowSpanCells","foundCells","filterCellsInRow","setCellAttrs","removeColumnAt","removeTable","removeColumn","tableStart","removeRowAt","removeRow","findCellRectClosestToPos","findTableClosestToPos","getSelectionRangeInColumn","_loop2","maybeEndIndex","_loop3","maybeCells","firstSelectedColumnCells","firstRowCells","headCell","_i3","columnCells","getSelectionRangeInRow","_loop4","_loop5","firstSelectedRowCells","firstColumnCells","_i4","findParentNodeOfTypeClosestToPos","findParentDomRefOfType","findSelectedNodeOfType","findTextNodes","findInlineNodes","findBlockNodes","findChildrenByAttr","findChildrenByMark","getSelectionRect","isColumnSelected","isRowSelected","getCellsInTable","selectTable","emptyCell","addColumnAt","addColumn","moveRow","originRowIndex","targetRowIndex","tryToFit","indexesOriginRow","indexesTargetRow","newTable","moveTableRow","moveColumn","originColumnIndex","targetColumnIndex","indexesOriginColumn","indexesTargetColumn","moveTableColumn","addRowAt","clonePreviousRow","cloneRowIndex","addRow","removeSelectedColumns","pmTableRect","removeSelectedRows","removeColumnClosestToPos","removeRowClosestToPos","forEachCellInColumn","cellTransform","setCursorToLastCell","forEachCellInRow","createTable","rowsCount","colsCount","withHeaderRow","_tableNodeTypes","tableCell","tableHeader","header_cell","tableRow","headerCells","_i2","removeParentNodeOfType","removeSelectedNode","setParentNodeMarkup","selectParentNodeOfType","removeNodeBefore","readFromCache","addToCache","cacheSize","cachePos","problems","colCount","nextCell","leftA","rightA","topA","bottomA","leftB","rightB","topB","bottomB","positionAt","rowStart","rowEnd","rowEndIndex","hasRowSpan","rowNode","prevRow","findWidth","mapPos","colWidths","cellNode","colwidth","colW","widthIndex","expectedPos","tableMap","badWidths","colWidth","freshColWidth","findBadColWidths","computeMap","getCellAttrs","extraAttrs","widthAttr","getFromDOM","setDOMAttr","cellAttributes","cellAttrs","tableGroup","table_row","table_cell","table_header","tableEditingKey","cellAround","isInTable","selectionCell","$cell","cellNear","pointsAtCell","moveCellForward","inSameTable","$cellA","$cellB","removeColSpan","addColSpan","columnIsHeader","headerCell","_CellSelection","tableChanged","rowSelection","isColSelection","colSelection","rowContent","cellRect","extraLeft","extraRight","forEachCell","anchorTop","headTop","anchorBottom","headBottom","anchorRect","headRect","anchorLeft","headLeft","anchorRight","headRight","anchorCell","CellBookmark","_CellBookmark","drawCellSelection","fixTablesKey","changedDescendants","curSize","fixTables","tablePos","mustAdd","prob","fixTable","selectedRect","refColumn","addColumnBefore","addColumnAfter","mapStart","deleteColumn","rowIsHeader","refRow","addRowBefore","addRowAfter","nextRow","deleteRow","mergeCells","indexTop","indexLeft","indexBottom","indexRight","cellsOverlapRectangle","mergedPos","mergedCell","splitCell","splitCellWithType","getCellType","cellWrapping","baseAttrs","lastCell","setCellAttr","isHeaderEnabledByType","cellPositions","toggleHeader","useDeprecatedLogic","deprecated_toggleHeader","isHeaderRowEnabled","isHeaderColumnEnabled","selectionStartsAt","cellsRect","newType","relativeCellPos","toggleHeaderRow","toggleHeaderColumn","toggleHeaderCell","goToNextCell","findNextCell","deleteTable","deleteCellSelection","baseContent","pastedCells","fitSlice","ensureRectangular","clipCells","newRows","isolateHorizontal","cellTop","cellLeft","isolateVertical","insertCells","recomp","emptyHead","start2","emptyRow","growTable","ArrowLeft","ArrowRight","shiftArrow","Backspace","maybeSetSelection","atEndOfCell","cellSel","handlePaste","startEvent","startDOMCell","domInCell","setCellSelection","cellUnderMouse","$anchor2","starting","mousePos","TableView","defaultCellMinWidth","updateColumnsOnResize","overrideCol","overrideValue","fixedWidth","hasWidth","cssWidth","col2","minWidth","columnResizingPluginKey","columnResizing","handleWidth","cellMinWidth","lastColumnResizable","tableName","ResizeState","pluginState","activeHandle","mousemove","domCellAround","edgeCell","updateHandle","handleMouseMove","mouseleave","handleMouseLeave","win","domWidth","pluginState2","mapIndex","zeroes","updateColumnWidth","draggedWidth","setDragging","which","dragged","displayColumnWidth","startWidth","handleMouseDown2","handleDecorations","_ResizeState","setHandle","resizeMinWidth","tableEditing","allowTableNodeSelection","afterFrom","beforeTo","isCellBoundarySelection","fromCellBoundaryNode","toCellBoundaryNode","isTextSelectionAcrossCells","normalizeSelection","olDOM","ulDOM","liDOM","addListNodes","itemContent","listGroup","wrapRangeInList","doJoin","outerRange","$insert","joinBefore","doWrapInList","itemAttrs","depthBefore","depthAfter","splitListItemKeepMarks","endOfList","liftToOuterList","indexBefore","liftOutOfList","nestedBefore","MarkdownParseState","tokenHandlers","noCloseToken","withoutTrailingNewline","noOp","addText","maybeMerge","openMark","closeMark","toks","openNode","closeNode","nodeType$1","listIsTight","defaultMarkdownParser","MarkdownSerializerState","defaultMarkdownSerializer","delim","closed","inTightList","tightLists","flushClose","atBlank","delimMin","firstDelim","text$1","startOfLine","lead","inner$1","trail","noEsc","markString","isTight","prevTight","getEnclosingWhitespace","escapes","backTicked","lastBackTick","wasOutdented","linkMatch","emailMatch","UNESCAPE_RE","crelt","SVG","prefix$2","getIcon","hashPath","buildSVG","prefix$1","setClass","lastMenuEvent","markMenuEvent","isMenuEvent","renderDropdownItems","listeningOnClose","menuDOM","updates","combineUpdates","something","renderGrouped","separators","localUpdates","localNodes","needSep","hasContent","joinUpItem","liftItem","selectParentNodeItem","undoItem","redoItem","wrapItem","blockTypeItem","spacer","widthForMaxHeight","scrollHandler","menu","contentUpdate","updateFloat","potentialScrollers","getAllWrapping","updateScrollCursor","minHeight","selectionIsInverted","menuRect","scrollable","scrollHeight","findWrappingScrollable","scrollAncestor","editorRect","errorLoggingConfig","Integrations","VueDOMPurifyHTML","WootUiKit","VueFormulate","VTooltip","vuePlugin","AnalyticsPlugin","Multiselect","WootSwitch","WootWizard","FluentIcon","resizeDirective","i18nConfig","commonHelpers","WootConstants","constants","createAxios","$emitter","App","deepFreeze","deepFreezeEs6","ignoreMatch","escapeHTML","inherit","nodeStream","_nodeStream","mergeStreams","nodeStack","selectStream","emitsWrappingTags","HTMLRenderer","parseTree","classPrefix","walk","sublanguage","TokenTree","closeAllNodes","builder","_walk","_collapse","TokenTreeEmitter","addKeyword","addSublanguage","toHTML","finalize","IDENT_RE","UNDERSCORE_IDENT_RE","NUMBER_RE","C_NUMBER_RE","BINARY_NUMBER_RE","BACKSLASH_ESCAPE","relevance","APOS_STRING_MODE","illegal","QUOTE_STRING_MODE","PHRASAL_WORDS_MODE","COMMENT","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","HASH_COMMENT_MODE","NUMBER_MODE","C_NUMBER_MODE","BINARY_NUMBER_MODE","CSS_NUMBER_MODE","REGEXP_MODE","TITLE_MODE","UNDERSCORE_TITLE_MODE","METHOD_GUARD","MODES","RE_STARTERS_RE","SHEBANG","beginShebang","binary","resp","END_SAME_AS_BEGIN","_beginMatch","COMMON_KEYWORDS","compileLanguage","langRe","case_insensitive","MultiRegex","matchIndexes","matchAt","addRule","countMatchGroups","terminators","matcherRe","regexps","backreferenceRe","numCaptures","matchData","ResumableMultiRegex","multiRegexes","regexIndex","getMatcher","resumingScanAtSamePosition","considerAll","m2","skipIfhasPrecedingDot","classNameAliases","compileMode","cmode","__beforeBegin","keywords","beginKeywords","keywordPattern","$pattern","rawKeywords","caseInsensitive","compiledKeywords","splitAndCompile","keywordList","scoreForKeyword","compileKeywords","lexemes","keywordPatternRe","beginRe","endSameAsBegin","endsWithParent","endRe","terminator_end","illegalRe","variants","cached_variants","dependencyOnParent","expandOrCloneMode","buildModeRegex","providedScore","commonKeyword","BuildVuePlugin","Component","detectedLanguage","unknownLanguage","autoDetect","getLanguage","highlightAuto","ignoreIllegals","autodetect","VuePlugin","escape$1","inherit$1","nodeStream$1","mergeStreams$1","NO_MATCH","ArrayProto","SAFE_MODE","fixMarkupRe","LANGUAGE_NOT_FOUND","PLAINTEXT_LANGUAGE","disableAutodetect","noHighlightRe","languageDetectRe","tabReplace","useBR","__emitter","shouldNotHighlight","languageName","continuation","fire","_highlight","codeToHighlight","keywordData","matchText","processBuffer","subLanguage","modeBuffer","continuations","processSubLanguage","keywordRelevance","processKeywords","startNewMode","endOfMode","matchPlusRemainder","lexeme","endsParent","doIgnore","resumeScanAtSamePosition","doBeginMatch","newMode","beforeCallbacks","excludeBegin","returnBegin","doEndMatch","endMode","returnEnd","excludeEnd","lastMatch","processLexeme","textBeforeMatch","badRule","iterations","processContinuations","processedCount","illegalBy","sofar","errorRaised","languageSubset","plaintext","justTextHighlightResult","autoDetection","supersetOf","best","secondBest","second_best","fixMarkup","highlightBlock","blockLanguage","originalStream","resultNode","prevClassName","currentLang","resultLang","buildClassName","relavance","initHighlighting","registerAliases","aliasList","userOptions","initHighlightingOnLoad","languageDefinition","rawDefinition","listLanguages","requireLanguage","debugMode","safeMode","versionString","HLJS","KEYWORD","v7_keywords","LITERAL","NUMBERS","STRINGS","COMMENTS","built_in","v7_system_constants","v8_system_sets_of_values","v8_shared_object","literal","v7_meta_keywords","commentMode","ruleDeclarationMode","HTTP_VERBS","AS3_REST_ARG_MODE","INTEGER_RE","EXPONENT_RE","ID_REGEX","BAD_CHARS","VAR_DECLS","builtInTypeMode","objectHandleMode","genericMode","IP_ADDRESS","nomarkup","STRING","PARAMS","COMMENT_MODE_1","KEYWORDS","NUMBER","SUBST","TEMPLATE_STRING","PARAMS_CONTAINS","cPlusPlus","DECLTYPE_AUTO_RE","NAMESPACE_RE","FUNCTION_TYPE_RE","CPP_PRIMITIVE_TYPES","PREPROCESSOR","FUNCTION_TITLE","CPP_KEYWORDS","EXPRESSION_CONTAINS","EXPRESSION_CONTEXT","FUNCTION_DECLARATION","preprocessor","cLike","ARDUINO_KW","ARDUINO","kws","lookahead","either","TAG_NAME_RE","XML_ENTITIES","XML_META_KEYWORDS","XML_META_PAR_KEYWORDS","APOS_META_STRING_MODE","QUOTE_META_STRING_MODE","TAG_INTERNALS","SHORTKEYS","BACKTICK_ESCAPE","VARIABLE","VAR","BRACED_VAR","HERE_DOC","QUOTE_STRING","ARITHMETIC","KNOWN_SHEBANG","FUNCTION","COMMENT_MODES","CHAR_STRING","PROCEDURE","OBJECT","EXPRESSIONS","SYMBOLSTART","SYMBOL_RE","globals","SYMBOL","COLLECTION","HINT","HINT_COL","LIST","BODY","NAME","DEFAULT_CONTAINS","GLOBAL","LITERALS","BUILT_INS","KEYWORDS$1","JS_IDENT_RE","TITLE","POSSIBLE_PARAMS_RE","COMMANDS","INT_SUFFIX","CRYSTAL_METHOD_RE","CRYSTAL_PATH_RE","CRYSTAL_KEYWORDS","EXPANSION","recursiveParen","Q_STRING","REGEXP","CRYSTAL_DEFAULT_CONTAINS","VERBATIM_STRING","VERBATIM_STRING_NO_LF","SUBST_NO_LF","INTERPOLATED_STRING","INTERPOLATED_VERBATIM_STRING","INTERPOLATED_VERBATIM_STRING_NO_LF","GENERIC_MODIFIER","TYPE_IDENT_RE","AT_IDENTIFIER","RULE","D_KEYWORDS","decimal_integer_re","decimal_integer_nosus_re","hexadecimal_digits_re","decimal_exponent_re","integer_re","escape_sequence_re","D_INTEGER_MODE","D_FLOAT_MODE","D_CHARACTER_MODE","D_STRING_MODE","D_NESTING_COMMENT_MODE","INLINE_HTML","LINK","BOLD","ITALIC","CONTAINABLE","BRACED_SUBST","BUILT_IN_TYPES","NULLABLE_BUILT_IN_TYPES","DIRECTIVE","CLASS","FILTER","DTS_REFERENCE","DTS_KEYWORD","DTS_LABEL","DTS_CELL_PROPERTY","DTS_NODE","ELIXIR_IDENT_RE","ELIXIR_KEYWORDS","SIGIL_DELIMITERS","LOWERCASE_SIGIL","UPCASE_SIGIL","ELIXIR_DEFAULT_CONTAINS","CONSTRUCTOR","RUBY_METHOD_RE","RUBY_KEYWORDS","YARDOCTAG","IRB_OBJECT","digits","RUBY_DEFAULT_CONTAINS","IRB_DEFAULT","BASIC_ATOM_RE","FUNCTION_NAME_RE","ERLANG_RESERVED","NAMED_FUN","FUNCTION_CALL","TUPLE","VAR1","VAR2","RECORD_ACCESS","BLOCK_STATEMENTS","BASIC_MODES","METHOD","OPTIONAL_NUMBER_SUFFIX","OPTIONAL_NUMBER_EXP","FUNCTION_DEF","TYPEPARAM","SYMBOLS","QSTR","ASSIGNMENT","COMMENT_WORD","DESCTEXT","AT_COMMENT_MODE","STRUCT_TYPE","PARSE_PARAMS","DEFINITION","BUILT_IN_REF","STRING_REF","FUNCTION_REF","FUNCTION_REF_PARAMS","GCODE_KEYWORDS","GCODE_CODE","symbol","GO_KEYWORDS","BRACKET_QUOTED_ID_REGEX","PLAIN_ID_REGEX","ANY_ID","IDENTIFIER_REGEX","anyNumberOfTimes","HASH_PARAM_REGEX","HELPER_NAME_OR_PATH_EXPRESSION","HELPER_PARAMETER","SUB_EXPRESSION","HASH","HELPER_PARAMETERS","SUB_EXPRESSION_CONTENTS","OPENING_BLOCK_MUSTACHE_CONTENTS","CLOSING_BLOCK_MUSTACHE_CONTENTS","BASIC_MUSTACHE_CONTENTS","PRAGMA","handlebars","VARIABLES","ARRAY","ANY_KEY","DOCTAGS","CONSTANTS","METHODS","TYPES","FUNCTION_NAME_IDENT_RE","decimalDigits","frac","hexDigits","NUMERIC","JAVA_IDENT_RE","GENERIC_IDENT_RE","ANNOTATION","IDENT_RE$1","FRAGMENT","XML_TAG","isTrulyOpeningTag","afterMatchIndex","hasClosingTag","decimalInteger","HTML_TEMPLATE","CSS_TEMPLATE","SUBST_INTERNALS","SUBST_AND_COMMENTS","PARAMSBLOCK","ALLOWED_COMMENTS","VALUE_CONTAINER","VARIABLE_NAME_RE","DEFAULT","INTERPOLATION","INTERPOLATED_VARIABLE","COMMAND","MACROCALL","LABEL","ANNOTATION_USE_SITE","KOTLIN_NUMBER_MODE","KOTLIN_NESTED_COMMENT","KOTLIN_PAREN_TYPE","KOTLIN_PAREN_TYPE2","LASSO_IDENT_RE","LASSO_ANGLE_RE","LASSO_CLOSE_RE","LASSO_KEYWORDS","HTML_COMMENT","LASSO_NOPROCESS","LASSO_START","LASSO_DATAMEMBER","LASSO_CODE","KNOWN_CONTROL_WORDS","DOUBLE_CARET_VARIANTS","EVERYTHING_BUT_VERBATIM","BRACE_GROUP_NO_VERBATIM","ARGUMENT_BRACES","ARGUMENT_BRACKETS","SPACE_GOBBLER","ARGUMENT_M","ARGUMENT_O","ARGUMENT_AND_THEN","starts_mode","CSNAME","csname","BEGIN_ENV","envname","VERBATIM_DELIMITED_EQUAL","innerName","VERBATIM_DELIMITED_ENV","VERBATIM_DELIMITED_BRACES","INTERP_IDENT_RE","RULES","VALUE","STRING_MODE","IDENT_MODE","PARENS_MODE","VALUE_WITH_RULESETS","MIXIN_GUARD_MODE","RULE_MODE","AT_RULE_MODE","VAR_RULE_MODE","SELECTOR_MODE","LISP_IDENT_RE","MEC_RE","LISP_SIMPLE_NUMBER_RE","IDENT","MEC","QUOTED","QUOTED_ATOM","TITLE1","TITLE2","SUBST_SIMPLE","LSL_STRINGS","LSL_NUMBERS","OPENING_LONG_BRACKET","CLOSING_LONG_BRACKET","LONG_BRACKETS","FUNC","TARGET","SYSTEM_SYMBOLS","BASE_NUMBER_RE","SYSTEM_SYMBOLS_SET","MESSAGES","brace","TRANSPOSE_RE","TRANSPOSE","ATOM","REGEX_MODIFIERS","PERL_KEYWORDS","STRING_CONTAINS","PERL_DEFAULT_CONTAINS","NIX_KEYWORDS","ANTIQUOTE","DEFINES","LANGUAGES","IDENTIFIER_RE","CLASS_KEYWORDS","SPECIAL_VARS","FUNCTIONS","OXYGENE_KEYWORDS","CURLY_COMMENT","PAREN_COMMENT","CURLY_SUBCOMMENT","COMMENT_MODE","DOLLAR_STRING","TYPES_RE","FUNCTIONS_RE","SQL_KW","SQL_BI","SINGLE_QUOTED","DOUBLE_QUOTED","HEREDOC","APOS_STRING","PS_COMMENT","CMDLETS","PS_CLASS","PS_FUNCTION","PS_USING","PS_ARGUMENTS","PS_METHODS","GENTLEMANS_SET","PS_TYPE","PARENTED","LINE_COMMENT","BACKTICK_STRING","WS0","EQUAL_DELIM","WS_DELIM","DELIM","KEY_ALPHANUM","KEY_OTHER","DELIM_AND_VALUE","PROMPT","LITERAL_BRACKET","digitpart","pointfloat","QML_IDENT_RE","ID_ID","QML_ATTRIBUTE","QML_OBJECT","RE_IDENT","RE_MODULE_IDENT","RE_PARAM_TYPEPARAM","RE_PARAM","RE_OPERATOR","RE_OPERATOR_SPACED","RE_NUMBER","OPERATOR_MODE","LIST_CONTENTS_MODES","MODULE_ACCESS_CONTENTS","PARAMS_CONTENTS","FUNCTION_BLOCK_MODE","CONSTRUCTOR_MODE","PATTERN_MATCH_BLOCK_MODE","MODULE_ACCESS_MODE","IDENTIFIER","PROPERTY","STATEMENTS","NUM_SUFFIX","BUILTINS","SCHEME_IDENT_RE","SCHEME_SIMPLE_NUMBER_RE","QUOTED_IDENT","QUOTED_LIST","COMMON_CONTAINS","HEXCOLOR","smali_instr_low_prio","VAR_IDENT_RE","CHAR","HEX_COLOR","LOOKAHEAD_TAG_END","SWIFT_KEYWORDS","BLOCK_COMMENT","URI_CHARACTERS","CONTAINER_STRING","TIMESTAMP","VALUE_MODES","TPID","TPLABEL","FUNCTION_NAMES","TAGS","DECORATOR","swapMode","indx","tsLanguage","javascript","BUILT_IN_FUNCTIONS","BUILT_IN_CALL","XL_KEYWORDS","DOUBLE_QUOTE_TEXT","IMPORT","FUNCTION_DEFINITION","baseIsEqualDeep","equalArrays","equalByTag","equalObjects","getTag","argsTag","arrayTag","objectTag","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","assocIndexOf","pairs","LARGE_ARRAY_SIZE","isMasked","toSource","reIsHostCtor","funcProto","reIsNative","nativeObjectToString","isOwn","unmasked","coreJsData","maskSrcKey","IE_PROTO","Hash","hashClear","hashDelete","hashGet","hashHas","hashSet","getMapData","setCacheAdd","setCacheHas","mapToArray","setToArray","symbolProto","symbolValueOf","getAllKeys","objProps","objLength","objStacked","skipCtor","objValue","objCtor","othCtor","baseGetAllKeys","getSymbols","keysFunc","symbolsFunc","arrayFilter","stubArray","nativeGetSymbols","resIndex","baseKeys","iteratee","typedArrayTags","freeProcess","isPrototype","nativeKeys","DataView","mapTag","promiseTag","weakMapTag","dataViewTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","ctorString","assignMergeValue","baseFor","baseMergeDeep","keysIn","safeGet","srcValue","createBaseFor","fromRight","cloneBuffer","cloneTypedArray","copyArray","initCloneObject","isArrayLikeObject","toPlainObject","mergeFunc","isCommon","isTyped","isDeep","cloneArrayBuffer","typedArray","baseCreate","objectCreate","objectCtorString","copyObject","isNew","nativeKeysIn","isProto","baseRest","isIterateeCall","assigner","overRest","setToString","nativeMax","otherArgs","baseSetToString","shortOut","constant","nativeNow","lastCalled","stamp","createMockComponent","Teleport","Suspense","maxProperties","ERROR","normalizeToSize","utf8Length","memo","memoize","unmemoize","valueWithToJSON","stringified","stringifyValue","numAdded","visitable","visitKey","visitValue","compareAsc","differenceInMonths","isLastMonthNotFull","MINUTES_IN_DAY","MINUTES_IN_ALMOST_TWO_DAYS","MINUTES_IN_MONTH","MINUTES_IN_TWO_MONTHS","dirtyBaseDate","localizeOptions","offsetInSeconds","includeSeconds","nearestMonth","monthsSinceStartOfYear","objectConstructor","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_nonIterableRest","normalizeArguments","_Array$prototype$slic2","arg_1","arg_2","arg_3","arg_4","defaultCountry","MIN_LENGTH_FOR_NSN","MAX_LENGTH_FOR_NSN","MAX_LENGTH_COUNTRY_CODE","VALID_DIGITS","VALID_PUNCTUATION","_createSuper","Derived","hasNativeReflectConstruct","Super","_getPrototypeOf","NewTarget","_assertThisInitialized","_possibleConstructorReturn","ReferenceError","_wrapNativeSuper","Wrapper","ParseError","_Error","subClass","superClass","_inherits","_classCallCheck","pb","DEFAULT_EXT_PREFIX","CALLING_CODE_REG_EXP","Metadata","typeOf","validateMetadata","setVersion","countryCode","v3","nonGeographic","nonGeographical","getCountryMetadata","callingCode","getCountryCodesForCallingCode","countryCodes","countryCallingCodes","selectNumberingPlan","hasCountry","numberingPlan","NumberingPlan","hasCallingCode","getNumberingPlanMetadata","getCountryCodeForCallingCode","IDDPrefix","defaultIDDPrefix","nationalNumberPattern","possibleLengths","nationalPrefixForParsing","nationalPrefixTransformRule","leadingDigits","hasTypes","country_phone_code_to_countries","country_calling_codes","globalMetadataObject","_getFormats","getDefaultCountryMetadataForRegion","Format","_getNationalPrefixFormattingRule","_nationalPrefixForParsing","nationalPrefix","_getNationalPrefixIsOptionalWhenFormatting","_type2","Type","nationalPrefixFormattingRule","nationalPrefixIsOptionalWhenFormattingInNationalFormat","usesNationalPrefix","FIRST_GROUP_ONLY_PREFIX_PATTERN","getCountryCallingCode","countryCallingCode","createExtensionPattern","purpose","possibleSeparatorsBetweenNumberAndExtLabel","possibleCharsAfterExtLabel","optionalExtnSuffix","possibleSeparatorsNumberExtLabelNoComma","MIN_LENGTH_PHONE_NUMBER_PATTERN","VALID_PHONE_NUMBER","VALID_PHONE_NUMBER_START_REG_EXP","VALID_PHONE_NUMBER_WITH_EXTENSION","VALID_PHONE_NUMBER_PATTERN","isViablePhoneNumber","EXTN_PATTERN","DIGITS","parseDigit","character","allowArrayLike","parseIncompletePhoneNumber","_step","_iterator","parsePhoneNumberCharacter","prevParsedCharacters","emitEvent","checkNumberLength","nationalNumber","checkNumberLengthForType","type_info","possible_lengths","mobile_type","mergeArrays","actual_length","minimum_length","isPossibleNumber","matchesEntirely","regular_expression","NON_FIXED_LINE_PHONE_TYPES","getNumberType","isNumberTypeEqualTo","getPossibleCountriesForNumber","possibleCountries","couldNationalNumberBelongToCountry","FIRST_GROUP_PATTERN","formatNationalNumberUsingFormat","useInternationalFormat","withNationalPrefix","formattedNumber","carrierCode","internationalFormat","applyInternationalSeparatorStyle","SINGLE_IDD_PREFIX_REG_EXP","formatExtension","extension","formatNumber","addExtension","formatNationalNumber","formatRFC3966","fromCountry","fromCountryCallingCode","iddPrefix","countryMetadata","getIddPrefix","formatIDD","formatAs","availableFormats","nationalNnumber","leadingDigitsPatterns","lastLeadingDigitsPattern","chooseFormatForNumber","PhoneNumber","countryOrCountryCallingCode","_getCountryAndCountry","metadataJson","isCountryCode","getCountryAndCountryCallingCode","getMetadata","isNonGeographicCallingCode","CAPTURING_DIGIT_PATTERN","extractNationalNumber","_extractNationalNumbe","prefixPattern","prefixMatch","capturedGroupsCount","hasCapturedGroups","prefixBeforeNationalNumber","possiblePositionOfTheFirstCapturedGroup","extractNationalNumberFromPossiblyIncompleteNumber","nationalNumberBefore","nationalNumberAfter","shouldHaveExtractedNationalPrefix","isPossibleIncompleteNationalNumber","extractCountryCallingCode","isNumberWithIddPrefix","numberWithoutIDD","IDDPrefixPattern","matchedGroups","stripIddPrefix","_extractCountryCallin","possibleShorterNumber","possibleShorterNationalNumber","extractCountryCallingCodeFromInternationalNumberWithoutPlusSign","shorterNumber","countryCallingCodeSource","_countryCallingCode","getCountryByCallingCode","nationalPhoneNumber","getCountryByNationalNumber","PLUS_SIGN","RFC3966_PHONE_DIGIT_","RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_","RFC3966_DOMAINNAME_PATTERN_","RFC3966_PREFIX_","RFC3966_PHONE_CONTEXT_","RFC3966_ISDN_SUBADDRESS_","extractFormattedPhoneNumberFromPossibleRfc3966NumberUri","numberToParse","phoneNumberString","extractFormattedPhoneNumber","phoneContext","numberToExtractFrom","indexOfPhoneContext","phoneContextStart","phoneContextEnd","extractPhoneContext","isPhoneContextValid","indexOfNationalNumber","indexOfRfc3966Prefix","indexOfIsdn","MAX_INPUT_STRING_LENGTH","PHONE_NUMBER_START_PATTERN","AFTER_PHONE_NUMBER_END_PATTERN","_parseInput","extract","throwOnError","startsAt","_extractFormattedPhoneNumber","isViablePhoneNumberStart","withExtensionStripped","numberWithoutExtension","extractExtension","parseInput","formattedPhoneNumber","_parsePhoneNumber","defaultCallingCode","exactCountry","parsePhoneNumber","hasSelectedNumberingPlan","__countryCallingCodeSource","extended","possible","isSupportedCountry","parsePhoneNumberWithError","_normalizeArguments","withMetadataArgument"],"mappings":";aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAA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A,M,uEE+DF,IC7EuO,GD6EvO,CACA,YACA,qBACA,iBACA,WAPA,IACA,uDAOA,qBACA,uBACA,iBACA,aACA,eACA,2BAEA,mBACA,UACA,CACA,eACA,qBACA,yBACA,qBACA,wBACA,wBACA,sBAIA,aACA,sBACA,gCACA,6BACA,sCACA,uBACA,uCACA,iEAGA,sBACA,sCACA,eACA,iBAEA,EACA,gBACA,4CACA,gBACA,QACA,EACA,wBACA,mCAIA,4CACA,EACA,iBACA,iEACA,wDAEA,4CACA,EACA,yBACA,0DACA,EACA,qBACA,sDACA,EACA,2BACA,sFACA,EACA,8BACA,2BACA,QADA,EACA,wFACA,EACA,EACA,sBACA,iCAEA,uBACA,oBACA,qBACA,wBACA,GACA,UAEA,OACA,CACA,YACA,iCACA,+BACA,QACA,oBACA,yGAEA,uBACA,wCAEA,CACA,WACA,gCACA,yBACA,QACA,oBACA,8GAEA,sBACA,kCAEA,CACA,aACA,0BACA,0BACA,QACA,oBACA,+GAEA,gBACA,mCAEA,CACA,eACA,6BACA,6BACA,QACA,oBACA,kHAEA,mBACA,sCAEA,CACA,gBACA,6BACA,8BACA,oBACA,sEAEA,uCAGA,EACA,+BACA,2BACA,CACA,CACA,cACA,6BACA,cACA,iBACA,eACA,mCACA,QACA,aACA,sBACA,OACA,4BACA,iBACA,oBACA,wGAhBA,EAqBA,EACA,iBACA,KAEA,cACA,sDACA,GAGA,OACA,wBACA,yDACA,qDACA,yBACA,EACA,oEACA,EACA,iCACA,gDAEA,GACA,GACA,IAEA,kCAEA,GAGA,UACA,0DAEA,sCACA,iCAEA,kCACA,EACA,gBACA,0DACA,EACA,UACA,sCACA,gCACA,4BACA,uBACA,0BACA,sDAGA,EACA,SACA,gBACA,uBACA,uBACA,wDAGA,EACA,0CACA,sCACA,SACA,mCACA,oCAEA,uCACA,2CACA,kCACA,EACA,yBACA,yBACA,EACA,wBACA,yBACA,EACA,wBACA,6BACA,EACA,yBACA,6BACA,EACA,oBACA,8CACA,EACA,qBACA,yBAC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CgCe,MACVk5S,KACArvC,KACAsvC,KACAC,KACAC,KACA3mH,KACAu3E,KACA78B,KACAksE,KACAC,KACAn2E,KACAo2E,KACAvhH,KACAwhH,KACA5lM,KACA6lM,KACAC,KACAC,KACAC,KACA5+M,KACA6+M,KACAC,KACA/mH,KACAgnH,KACAzxL,KACA/jD,KACAy1O,KACA76M,KACA86M,KACAC,KACAC,G,mSC/BU,OACVlB,KACArvC,KACAsvC,KACAC,KACAC,KACA3mH,KACAu3E,KACA78B,KACAksE,KACAC,KACAn2E,KACAo2E,KACAvhH,KACAwhH,KACA5lM,KACA6lM,KACAC,KACAC,KACAC,KACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,8VC3BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAhnH,MACAinH,MACAC,MACA5rM,MACA6rM,MACAC,I,sTCvCU,OACVpB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,sTC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,gUC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,qVC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,MACA/jD,MACAy1O,MACA76M,MACA86M,MACAC,MACAC,I,mRC/BU,OACVlB,MACArvC,MACAsvC,MACAC,MACAC,MACA3mH,MACAu3E,MACA78B,MACAksE,MACAC,MACAn2E,MACAo2E,MACAvhH,MACAwhH,MACA5lM,MACA6lM,MACAC,MACAC,MACAC,MACA5+M,MACA6+M,MACAC,MACA/mH,MACAgnH,MACAzxL,M,gECzBU,O,mVCAA,O,mVCAA,O,mVCAA,O,mVCAA,O,mVCAA,O,mVCQA,KACb3lG,KACAujM,MACA/P,MACAkR,MACAzlB,MACAx9K,MACA0hL,MACAiQ,MACAqR,MACAlL,MACA/J,MACAnQ,MACAua,MACA+9F,MACAhlP,MACAinI,MACAg+G,MACA9rG,MACA+rG,MACAC,MACAC,MACAluG,MACAjrG,MACAo5M,SACAh9G,MACAoP,MACA6tG,MACAC,MACAhpG,MACAipG,MACAj1F,MACAhzJ,MACA0gB,MACAwnO,MACAl+F,MACAm+F,SACAC,SACAvgJ,MACAgiC,M,iUCvEE,EAAuB,WAIzB,SAASw+G,EAAQp2R,QACC,IAAZA,IACFA,EAAU,CAAC,GAKb/I,KAAK/X,KAAOk3S,EAAQ5lP,GACpBv5C,KAAKolK,QAAUr8J,EAAQuqJ,QAAUvqJ,EAAQlB,IACzC7H,KAAKo/R,UAAY9kS,MAAMD,QAAQ0O,EAAQkzE,SAAWlzE,EAAQkzE,QA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G,e,4DCdwL,EC+GjO,CACA,2CCzGgB,YACd,GCRW,WAAkB,IAAItqG,EAAIviE,KAAKy8E,EAAGla,EAAIgoC,MAAM9tB,GAAgC,OAAtBla,EAAIgoC,MAAM4lE,YAAwC,cAAE1zF,EAAG,MAAM,CAACla,EAAImoD,GAAG,YAAY,GAAGnoD,EAAI0L,IAC3J,GACsB,IDSpB,EACA,KACA,KACA,M,SDmGF,iBACA,OACA,UACA,YACA,mBAGA,aACA,sBACA,+BACA,gCACA,+DACA,kCAEA,cACA,8BACA,EACA,eACA,iDACA,EACA,aACA,8BACA,EACA,oBACA,kCAIA,0DAGA,SAQA,OAPA,4BACA,iCACA,eACA,4BAIA,iCACA,oBACA,sCAGA,0BACA,+BACA,eACA,2BAIA,CACA,EACA,qBACA,MACA,uBAAC,KAAD,yBACA,kCAEA,EACA,aACA,OACC,OAAD,IAAC,CAAD,sBACA,mDAEA,EACA,eACA,OACC,OAAD,IAAC,CAAD,sBACA,qDAEA,EACA,kBACA,MACA,wBAAC,KAAD,yBACA,iDAEA,EACA,kBACA,MACA,wBAAC,KAAD,yBACA,iDAEA,EACA,yBACA,MACA,kCAAC,KAAD,yBACA,mDAEA,EACA,yBACA,MACA,sCAAC,KAAD,yBACA,mDAEA,EACA,iBACA,uEACA,EAEA,gBAEA,4BAEA,yBACA,iBACA,mBACA,qBAIA,kBAEA,sBACA,sBACA,6BACA,6BAPA,yHAcA,gDACA,GAEA,SACA,sBACA,8BACA,eAEA,OADA,gBAEA,EACA,2BACA,0CACA,eAKA,OAJA,YACA,EACA,EAGA,EACA,kBACA,+BACA,KACA,mCACA,uCACA,mBACA,wBAGA,EACA,YACA,gCACA,EACA,cACA,kBACA,EACA,kBACA,sBGxQI,EAAY,YACd,GXRW,WAAkB,IAAI1L,EAAIviE,KAAKy8E,EAAGla,EAAIgoC,MAAM9tB,GAAG,OAAOA,EAAG,KAAK,CAACmuB,WAAW,CAAC,CAAC3iH,KAAK,OAAO4iH,QAAQ,SAAS5hH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koC,GAAG,WAAWloC,EAAImoC,GAAGjmF,EAAKg0B,aAAa,YAAY8pB,EAAIkoC,GAAG,UAAUloC,EAAImoC,GAAGjmF,EAAK3e,OAAO,SAAS,IAAI,MAAK,EAAM,cAAcy8D,EAAI0L,IACxc,GACsB,IDUpB,EACA,KACA,WACA,M,kGE2DF,MAuBMw4T,EAAN,SACA,EACA,GAMA,IAJC,EAAD,0DAEC,EAAD,0DACC,EAAD,uCAEA,6BACA,+DACA,+BACA,uBACA,cACA,UACA,UACA,wBAGA,EAEA,OACA,yBACA,2DACA,qBACA,OACA,+BACA,kCACA,qCACA,oCACA,4CACA,6CACA,6CACA,0CACA,gDACA,yCACA,+CACA,mCAGA,yCACA,qCACA,kDAEA,OACA,OACA,6BACA,KACA,2BAEA,KACA,2BA1EA,KA8EA,oBACA,kBACA,iBACA,oBACA,oBACA,sBACA,gBACA,WACA,aACA,uBACA,+BACA,UACA,uBAEA,EACA,UACA,aACA,4BACA,EACA,oBACA,uEACA,EACA,sBACA,gEACA,EACA,4BACA,OACC,KAAD,2DAEA,EACA,oBACA,sCACA,wBACA,GACA,EACA,UACA,8BAIA,CACA,GACA,eACA,YACA,yBACA,mBACA,wBACA,GAEA,aACA,uBACA,mBAEA,8CAEA,GAEA,YACA,yBACA,0BACA,GAEA,6BACA,gDAGA,GACA,eACA,mBACA,YACA,iBAGA,uBACA,mBACA,yBAJA,GAOA,aACA,uBACA,mBAEA,8CACA,GAEA,YACA,yBACA,wBACA,GAEA,6BACA,8CAGA,GACA,gBACA,mBACA,YACA,iBAGA,sBACA,mBACA,yBAJA,GAOA,aACA,uBACA,mBAEA,iDACA,GAEA,YACA,2BACA,uBACA,GAEA,6BACA,8CAlFA,EAsFA,EACA,oBAGA,kEACA,uDAIA,GAEA,OACA,oBACA,mDACA,EACA,kBACA,mDACA,EACA,iBACA,sDACA,EACA,wEACA,4BACA,mBAEA,EACA,WACA,uBACA,yBACA,4BACA,EACA,YACA,4BACA,EACA,yBACA,oBACA,YAEA,UACA,+BACA,0CACA,0BAEA,mDACA,wBACA,0CACA,wCACA,oBACA,6BACA,CAEA,WACA,EACA,qBAEA,qBACA,+BAEA,GAEA,UACA,aACA,WACA,iBACA,aACA,qCACA,uBAEA,EACA,UACA,wBACA,wCACA,6BAOA,iBACA,4BACA,6BAEA,EACA,gBACA,kBACA,4BACA,6BAEA,EACA,SACA,sFACA,aACA,EACA,iBACA,aACA,qCACA,wBAEA,wCAEA,mBACA,EACA,eACA,4CAIA,oCAIA,iCAEA,EACA,2BAIA,EACA,oBAEA,sBAEA,EACA,eACA,iBAGA,4BACA,gCAEA,oBAEA,GACA,mCAEA,EACA,kBACA,0BACA,iBACA,gCAEA,mBACA,EACA,eAEA,eASA,YALA,eACA,8BACA,GAGA,aACA,EACA,+BACA,gCAIA,6BACA,gBACA,4BAGA,mCACA,EACA,mBACA,oDACA,iBACA,wBACA,+BACA,wCACA,qBAEA,iBACA,WACA,gBAEA,gBACA,mBAEA,WACA,gBAEA,WACA,sCAEA,UACA,eAEA,cACA,sBACA,UACA,kBACA,IAIA,EACA,gCACA,8BAGA,8CACA,gCAEA,wBACA,kDAEA,2BAEA,4BAEA,EACA,qBACA,gDACA,iDACA,sBACA,wBACA,0BAEA,EACA,+BACA,8BAGA,sDACA,4BACA,EACA,2BAKA,2BACA,uBACA,kCAGA,4BAEA,CACA,EACA,uBACA,2CACA,EACA,8BACA,+CACA,EACA,oBACA,OACA,YACA,YACA,8BAEA,wBAEA,YACA,YACA,8BAEA,wBAGA,EACA,2FACA,kCAEA,EACA,8DAEA,4CACA,uBACA,EACA,qBACA,oBACA,YAEA,2DACA,YACA,sBAMA,OAHA,2DACA,gCAEA,CACA,EACA,wBACA,qBACA,UACA,2BAGA,oBACA,YAGA,8DACA,GAGA,QACA,kBACA,gBACA,kBAKA,OAHA,6CAEA,6CACA,CACA,EACA,kBACA,oBACA,YAGA,mBACA,2CACA,8BAKA,OAHA,iCACA,sBACA,sCACA,CACA,EACA,kBACA,8BACA,EAC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4Be,SAAS8zY,EAA2BnzI,EAAeC,GAChE,YAAa,EAAGh5Q,WAChB,IAAI64Q,EAAW,YAAOE,GAClBD,EAAY,YAAOE,GAGvB,OAAkB,IAFHH,EAAStgQ,cAAgBugQ,EAAUvgQ,gBAClCsgQ,EAASpgQ,WAAaqgQ,EAAUrgQ,WAElD,C,+BCjCAvvB,EAAOD,QAAU,EAAQ,K,+BCFzB,uDA6Be,SAASkja,EAAoBpzI,EAAeC,GACzD,YAAa,EAAGh5Q,WAChB,IAAIqzB,EAAO,YAAyB0lP,EAAeC,GAAkB,IACrE,OAAO3lP,EAAO,EAAI9wB,KAAKue,MAAMuS,GAAQ9wB,KAAKse,KAAKwS,EACjD,C,uECjCA,I,oBCA2N,EC0G3N,CACA,OACA,OACA,qBACA,YAEA,YACA,aACA,YAEA,aACA,YACA,YAEA,UACA,aACA,YAEA,QACA,YACA,gBAEA,OACA,aACA,aAGA,OACA,OACA,iBACA,gBACA,iBACA,qBACA,kBACA,uBAEA,EACA,UACA,YACA,OACA,CACA,gCACA,aACA,SACA,UAEA,IAEA,EACA,wBACA,gEACA,EACA,4BACA,kCACA,iCACA,mCACA,OACC,EAAD,2BACA,6BACA,8BAGA,EACA,gBACA,8BACA,qBACA,mCAGA,EACA,GAEA,OACA,QACA,gCACA,IACA,iCACA,+CACA,oCACA,2BACA,IAGA,GAEA,UACA,uBACA,EACA,SACA,kBAEA,mBACA,iCACA,wCAEA,oBAEA,EACA,YACA,gCACA,sDACA,EACA,UACA,iCACA,EACA,kBAEA,oBACA,EACA,SACA,oBACA,oDACA,wBACA,EACA,WACA,oBACA,4BACA,qBACA,yCAEA,wBACA,EACA,mBACA,qBACA,4BACA,8CAEA,MACA,oBACA,cAHA,EAIA,IAEA,EACA,mBACA,uBACA,4BACA,sBACA,gCACA,kCACA,qBACA,oCACA,EACA,mBACA,0BACA,aACA,uBACA,IACA,iCACA,yCAEA,EACA,wBACA,qCACA,sBACA,mBACA,qBACA,+BAGA,EACA,gBACA,s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YACA,YACA,gBAEA,aACA,YACA,gBAEA,mBACA,aACA,aAGA,aACA,sBACA,iEAEA,mBACA,kEACA,EACA,qBACA,8DACA,EACA,sBAUA,OATA,kCACA,IACA,yCACA,mBACA,mBACA,EACA,IAGA,YACA,mBACA,wBAIA,EACA,eACA,OACA,cACA,gBACA,cACA,+CACA,uBACA,YACA,uEACA,iCACA,sCACA,sBACA,UACA,QACA,aACA,iBACA,oBACA,4CAEA,oBACA,2BACA,uDAEA,aACA,mDAGA,EACA,eACA,OACA,qBACA,eACA,cACA,8CACA,uBACA,YACA,kEACA,0BACA,uBACA,qBACA,sCACA,+BACA,QACA,cACA,cACA,iBACA,oBACA,mDAIA,EACA,sBACA,OACA,qBACA,oBACA,cACA,YACA,8CACA,uBACA,kEACA,0BACA,uBACA,qBACA,+BACA,QACA,cACA,cACA,iBACA,oBACA,6DAIA,EACA,cACA,OACA,mBACA,cACA,cACA,8CACA,sBACA,WACA,qEACA,iCACA,sCACA,8BACA,QACA,aACA,iBACA,mEAGA,EACA,iBACA,OACA,cACA,4BACA,cACA,kBACA,0BACA,4CACA,UACA,QACA,aACA,iBACA,oBACA,sDAIA,EACA,yBACA,OACA,cACA,8BACA,cACA,kBACA,0BACA,uCACA,UACA,QACA,aACA,iBACA,oBACA,+DAIA,EACA,+BACA,4CACA,6BAUA,OATA,oBACA,2BAEA,0BACA,8BAEA,iCACA,sCAEA,CACA,gBACA,WAEA,GAEA,SACA,oBACA,uBACA,EACA,qBACA,6BACA,EACA,eACA,uDACA,IC/Oe,EAXC,YACd,GCRW,WAAkB,IAAI1L,EAAIviE,KAAKy8E,EAAGla,EAAIgoC,MAAM9tB,GAAG,OAAQla,EAAoB,iBAAEka,EAAG,MAAM,CAAC+tB,YAAY,sKAAsK,CAAC/tB,EAAG,kBAAkB,CAAC7iE,GAAG,CAAC,kBAAkB2oD,EAAIi3G,sBAAsBj3G,EAAIkoC,GAAG,KAAKhuB,EAAG,mBAAmB,CAAC+tB,YAAY,2BAA2BvrD,MAAM,CAAC,KAAO,YAAY,IAAM,OAAO,CAACsjB,EAAI34C,GAAI24C,EAAuB,qBAAE,SAAS62G,GAAU,OAAO38F,EAAG,qBAAqB,CAAClzF,IAAI6vL,EAASC,QAAQp6H,MAAM,CAAC,YAAYm6H,IAAW,IAAG72G,EAAIkoC,GAAG,KAAKloC,EAAI34C,GAAI24C,EAAIw3G,6BAA6Bx3G,EAAIsrV,WAAW7B,YAAY,SAAS5yO,GAAU,OAAO38F,EAAG,qBAAqB,CAAClzF,IAAI6vL,EAAS7vL,IAAI01D,MAAM,CAAC,YAAYm6H,GAAUx/J,GAAG,CAAC,YAAY2oD,EAAIurV,oBAAoB,KAAI,IAAI,GAAGvrV,EAAI0L,IACj0B,GACsB,IDSpB,EACA,KACA,KACA,M,iBEdgN,EC0ClN,CACA,YACA,iBACA,oBAEA,qBACA,OACA,sBACA,aACA,YAEA,kBACA,YACA,aAGA,UACA,CACA,qBAIA,aACA,sBACA,gCACA,6BACA,6BACA,gCACA,6BACA,iEACA,+DACA,mDACA,mCACA,2BAEA,mBACA,8CACA,UAEA,6CACA,eAEA,EACA,EACA,cACA,qEACA,sBAEA,EACA,gCACA,MACA,aAAC,KAAD,uBACA,4CAEA,EACA,iBACA,OC1F+B50B,ED0F/B,eC1FwC,CACtC00W,YAAaA,EAAY10W,GACzB20W,cAAe,CACbzmL,EAAcluL,GACd6hM,EAAS7hM,GACT49H,EAAQ59H,GACRw9H,EAAUx9H,GACV+pC,EAAS/pC,GACT41M,EAAc51M,KARaA,KD2F/B,EACA,mBACA,qCAEA,OADA,gCACA,aACA,YACA,mBACA,QAOA,oCACA,kCAIA,eACA,+BACA,eACA,kBAKA,EACA,sBACA,4CACA,oBAMA,OAHA,WACA,wBACA,EAEA,EACA,oBAKA,OAHA,4BACA,iDACA,EAEA,GAGA,OACA,mBACA,uBACA,GAEA,UACA,mCACA,oCACA,kDACA,kCACA,uCACA,uBACA,EAEA,SACA,mBACA,oCACA,6DAEA,EACA,yBACA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AAG,cAAc,CAACx9B,MAAM,CAAC,KAAO,WAAW,QAAU,QAAQ,eAAe,UAAU,cAAc,QAAQrlC,GAAG,CAAC,MAAQ2oD,EAAIssV,uBAAuB,CAACtsV,EAAIkoC,GAAG,SAASloC,EAAImoC,GAAGnoC,EAAIkoD,GAAG,6DAA6D,UAAUloD,EAAI0L,KAAK1L,EAAIkoC,GAAG,KAAMloC,EAAa,UAAEka,EAAG,MAAM,CAAC+tB,YAAY,mEAAmE,CAAC/tB,EAAG,WAAWla,EAAIkoC,GAAG,KAAKhuB,EAAG,OAAO,CAACla,EAAIkoC,GAAGloC,EAAImoC,GAAGnoC,EAAIkoD,GAAG,sEAAsE,GAAGloD,EAAI0L,MAAM,EAC9nC,GACsB,IDSpB,EACA,KACA,KACA,M,gBEdsO,EC0HxO,CACA,YACA,yBAEA,aACA,UACA,CACA,cAGA,aACA,sBACA,gCACA,6BACA,yCACA,qCAEA,mCACA,qCACA,EACA,2BACA,4BACA,EACA,gCACA,gCACA,EACA,yBACA,iDACA,EACA,cACA,oCACA,EACA,WACA,wCACA,uDAEA,CACA,EACA,cAEA,WADA,6BAEA,EACA,aACA,uCACA,GAEA,UACA,kDACA,EACA,SACA,gBACA,kDACA,EACA,oBACA,MACA,mBACA,qBACA,qBACA,qBACA,EAEA,oDACA,qBAEA,2CACA,QACA,iBACA,mBACA,oCAEA,mBACA,0BACA,6BAEA,mBACA,EACA,kBACA,qBACA,2BACA,oBACA,CACA,EACA,sBACA,sBACA,2BACA,oBACA,CACA,EACA,mBACA,sBACA,UACA,oBACA,CACA,EACA,kBACA,qBACA,sBACA,oBACA,CACA,EACA,qBACA,4CACA,6CACA,EACA,gCACA,mDACA,8BACA,qBACA,gCACA,kCAEA,GAEA,iBACA,kCACA,IAEA,GAEA,EACA,yBACA,mBACA,IC7OI,EAAY,YACd,GXRW,WAAkB,IAAI1L,EAAIviE,KAAKy8E,EAAGla,EAAIgoC,MAAM9tB,GAAG,OAAOA,EAAG,MAAM,CAAC+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Be,SAASugb,EAAa75U,GACnC,YAAa,EAAG1mG,WAChB,IAAIoY,EAAO,YAAOsuF,GAGlB,OAFAtuF,EAAK4iB,QAAQ,GACb5iB,EAAK0iB,SAAS,EAAG,EAAG,EAAG,GAChB1iB,CACT,C,+BC/BA,6DAmCe,SAASqoa,EAAY/5U,EAAWC,GAC7C,YAAa,EAAG3mG,WAChB,IAAIiN,EAAU05F,GAAgB,CAAC,EAC3Bv7E,EAASne,EAAQme,OACjBw7E,EAAqBx7E,GAAUA,EAAOne,SAAWme,EAAOne,QAAQ45F,aAChEC,EAA4C,MAAtBF,EAA6B,EAAI,YAAUA,GACjEC,EAAuC,MAAxB55F,EAAQ45F,aAAuBC,EAAsB,YAAU75F,EAAQ45F,cAE1F,KAAMA,GAAgB,GAAKA,GAAgB,GACzC,MAAM,IAAIrkD,WAAW,oDAEvB,IAAIpqC,EAAO,YAAOsuF,GACdxtF,EAAMd,EAAKe,SACXka,GAAQna,EAAM2tF,EAAe,EAAI,GAAK3tF,EAAM2tF,EAGhD,OAFAzuF,EAAK4iB,QAAQ5iB,EAAKO,UAAY0a,GAC9Bjb,EAAK0iB,SAAS,EAAG,EAAG,EAAG,GAChB1iB,CACT,C","file":"js/application-b134fef93b056eb0e781.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t};\n\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t19: 0,\n \t\t4: 0,\n \t\t5: 0,\n \t\t7: 0,\n \t\t35: 0,\n \t\t44: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t19: 0,\n \t\t4: 0,\n \t\t5: 0,\n \t\t7: 0,\n \t\t35: 0,\n \t\t44: 0\n \t};\n\n\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"18\":\"ajs-destination\",\"20\":\"auto-track\",\"21\":\"legacyVideos\",\"23\":\"queryString\",\"24\":\"remoteMiddleware\",\"25\":\"schemaFilter\",\"31\":\"vendors~tsub-middleware\"}[chunkId]||chunkId) + \"-\" + {\"0\":\"b688c01169e0ca104b00\",\"1\":\"e539d4fb94251b0550e9\",\"2\":\"fc501f102f39f04f3c96\",\"3\":\"847fe9aa54ce23b1f226\",\"6\":\"859f976de72fabf01dcb\",\"8\":\"5f974de095d76fa5f7d6\",\"9\":\"a3793e538dcbd7b530c1\",\"10\":\"5453f52f2cb82cf0302b\",\"11\":\"cbfa394b748351cee8e9\",\"12\":\"649c6cb77893a0dc2266\",\"13\":\"d439a49d480c59cffc6a\",\"14\":\"e17b2e0beaf35a660ab9\",\"15\":\"bf34f5d217fedd314463\",\"16\":\"f41ba18c2c377196d47e\",\"17\":\"d68d4294cad3b11b952e\",\"18\":\"b9e234db66c33fec749e\",\"20\":\"0fa267ac6559a0885662\",\"21\":\"920b6273b5c4f0ff95fc\",\"23\":\"2ebb0765b6d2f5d3a5d1\",\"24\":\"cd2bbe31f3fabe3ce68a\",\"25\":\"c02c84f14d0fa218b82e\",\"31\":\"11968425905bd35e909f\",\"33\":\"92675c3e9a3bfff49cc1\",\"34\":\"0090c31e326a7d2de145\",\"37\":\"acb378757fd8977b3e88\",\"40\":\"73d278116d0740051cd9\",\"41\":\"f9a3d34f1b2677acced7\",\"45\":\"426c62dec079d9fffa99\",\"46\":\"88d122e58b59628dcf5c\",\"47\":\"0a3bdd6373430ced92b1\",\"48\":\"41d807faaa8ef4839275\",\"50\":\"fd8448419a4faf995840\",\"51\":\"4adce1abbcdd5499c741\",\"54\":\"4bfa1b284d4308df63fb\",\"55\":\"45a800263c71f64f8022\",\"56\":\"1c956b9d04e7e7e49c2b\",\"57\":\"f86337c9389ef3b8b27c\",\"59\":\"fefc4525f08e4474692e\",\"60\":\"33a3b40153f8c0316f59\",\"61\":\"476d11e4771115568a68\",\"62\":\"125c8120ae782a2af1ed\",\"63\":\"fd2f51ba8e97459e06a4\",\"64\":\"925b457854478078dafc\",\"65\":\"7f8f2445e96e298683c8\",\"66\":\"7dabe7f1c51a7c4dba5e\",\"67\":\"55c9924b5fab2b8f28bb\",\"69\":\"f5e881da6c0911e3682f\",\"70\":\"0e100c53303b0c467dab\",\"73\":\"59908d5e74a4d3a000fa\",\"74\":\"138412857fc528f80eae\",\"75\":\"4a64a6ff7bb4a8d8fb9c\",\"77\":\"87ca1477a58d3adecf64\",\"78\":\"7f601d7b4ba4e36aa340\",\"79\":\"2db6eb35ee5f14611279\",\"80\":\"5a3ce8784018853afd7d\",\"81\":\"c5b98d81b3b949453657\",\"82\":\"6113ebdc0115b3e1a3bb\",\"83\":\"4b1e4688d81b7052386f\",\"84\":\"854bde627b76621fef36\",\"85\":\"cdabeb3bf89845fb0099\",\"86\":\"714b5ca8a20bc72d73af\",\"87\":\"60865b6c83d08ff62ae1\",\"88\":\"8b8b81641d843661dfff\",\"90\":\"6da0417a0cc4d5e610e8\",\"91\":\"0593b07c699a4d548951\",\"92\":\"9e2a2735289306920bd7\",\"93\":\"2d48fe899dad71410f8c\",\"94\":\"0e8b7f87a69cb50d9ad6\",\"95\":\"777f369345902dab114d\",\"96\":\"b5e79dfa02c77556097f\",\"97\":\"c6e626b1f894d7510c65\",\"98\":\"5b2f5f2d5d1870b0a99e\",\"99\":\"ad1082923c7adf5a64cf\",\"100\":\"a012acbf6d93a09f4cc9\",\"102\":\"a22926144967fa810af2\",\"103\":\"c2cdfb2df3e061fb5828\",\"104\":\"2908a8e3e20a482f47d6\",\"105\":\"f2f5ba74714b0e09d825\",\"106\":\"8d0ea35a02e14196a454\",\"107\":\"5eab629304562a736574\",\"108\":\"8c691e48319e78a0bea0\",\"109\":\"ac89b71467e367383df6\",\"110\":\"0cf0e04d6f27eb6ca4a7\",\"111\":\"ca85ce8970c9eb80c939\",\"112\":\"01a7cd6a60cdb7e445c1\",\"113\":\"6d567688605d1a39ec25\",\"114\":\"da22dcfdf330505d426e\",\"115\":\"cbe9b4e95b897b2fb4f7\",\"116\":\"840447f454bf297e84ca\",\"117\":\"79a97a7bd9fce6121c65\",\"118\":\"a95f2fc260686165bf89\",\"119\":\"1f5a347f7930e101911e\",\"120\":\"b64585a611bb5b6219c5\",\"121\":\"b6bfaa316229212b8b91\",\"122\":\"718538a23133e0cb90ad\",\"123\":\"161415b44754899e2145\",\"124\":\"d4c36d54b90bc46b3216\",\"125\":\"103076a2adc4705a4c2e\",\"126\":\"987339baf9aebc4adc7f\",\"127\":\"b9c52891853b36934ba0\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"10\":1,\"12\":1,\"13\":1,\"14\":1,\"15\":1,\"33\":1,\"34\":1,\"40\":1,\"41\":1,\"45\":1,\"46\":1,\"47\":1,\"48\":1,\"50\":1,\"51\":1,\"54\":1,\"55\":1,\"56\":1,\"57\":1,\"59\":1,\"60\":1,\"61\":1,\"62\":1,\"63\":1,\"64\":1,\"65\":1,\"66\":1,\"67\":1,\"69\":1,\"70\":1,\"73\":1,\"74\":1,\"75\":1,\"77\":1,\"78\":1,\"79\":1,\"80\":1,\"85\":1,\"86\":1,\"87\":1,\"88\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"18\":\"ajs-destination\",\"20\":\"auto-track\",\"21\":\"legacyVideos\",\"23\":\"queryString\",\"24\":\"remoteMiddleware\",\"25\":\"schemaFilter\",\"31\":\"vendors~tsub-middleware\"}[chunkId]||chunkId) + \"-\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"31d6cfe0\",\"3\":\"31d6cfe0\",\"6\":\"31d6cfe0\",\"8\":\"31d6cfe0\",\"9\":\"31d6cfe0\",\"10\":\"868dc120\",\"11\":\"31d6cfe0\",\"12\":\"f3c8c754\",\"13\":\"cf6ad342\",\"14\":\"07b48666\",\"15\":\"c111bd7c\",\"16\":\"31d6cfe0\",\"17\":\"31d6cfe0\",\"18\":\"31d6cfe0\",\"20\":\"31d6cfe0\",\"21\":\"31d6cfe0\",\"23\":\"31d6cfe0\",\"24\":\"31d6cfe0\",\"25\":\"31d6cfe0\",\"31\":\"31d6cfe0\",\"33\":\"8d1a0005\",\"34\":\"7a1e9c36\",\"37\":\"31d6cfe0\",\"40\":\"33250823\",\"41\":\"458dd507\",\"45\":\"a301e44f\",\"46\":\"43e19631\",\"47\":\"7c6146e1\",\"48\":\"01877880\",\"50\":\"c45700fb\",\"51\":\"67edc3d5\",\"54\":\"433af897\",\"55\":\"888e09a6\",\"56\":\"927660e0\",\"57\":\"eafc38eb\",\"59\":\"17338dd6\",\"60\":\"eafc38eb\",\"61\":\"96881f4a\",\"62\":\"5e964961\",\"63\":\"96dbdce3\",\"64\":\"8060671f\",\"65\":\"ad2be88f\",\"66\":\"b5258305\",\"67\":\"2f1af4b9\",\"69\":\"e38cd569\",\"70\":\"e38cd569\",\"73\":\"616e4b6b\",\"74\":\"40d3425c\",\"75\":\"cf949800\",\"77\":\"7e048544\",\"78\":\"7e048544\",\"79\":\"033307bc\",\"80\":\"033307bc\",\"81\":\"31d6cfe0\",\"82\":\"31d6cfe0\",\"83\":\"31d6cfe0\",\"84\":\"31d6cfe0\",\"85\":\"cdf96a09\",\"86\":\"98d0b914\",\"87\":\"38cf8c3d\",\"88\":\"98d06026\",\"90\":\"31d6cfe0\",\"91\":\"31d6cfe0\",\"92\":\"31d6cfe0\",\"93\":\"31d6cfe0\",\"94\":\"31d6cfe0\",\"95\":\"31d6cfe0\",\"96\":\"31d6cfe0\",\"97\":\"31d6cfe0\",\"98\":\"31d6cfe0\",\"99\":\"31d6cfe0\",\"100\":\"31d6cfe0\",\"102\":\"31d6cfe0\",\"103\":\"31d6cfe0\",\"104\":\"31d6cfe0\",\"105\":\"31d6cfe0\",\"106\":\"31d6cfe0\",\"107\":\"31d6cfe0\",\"108\":\"31d6cfe0\",\"109\":\"31d6cfe0\",\"110\":\"31d6cfe0\",\"111\":\"31d6cfe0\",\"112\":\"31d6cfe0\",\"113\":\"31d6cfe0\",\"114\":\"31d6cfe0\",\"115\":\"31d6cfe0\",\"116\":\"31d6cfe0\",\"117\":\"31d6cfe0\",\"118\":\"31d6cfe0\",\"119\":\"31d6cfe0\",\"120\":\"31d6cfe0\",\"121\":\"31d6cfe0\",\"122\":\"31d6cfe0\",\"123\":\"31d6cfe0\",\"124\":\"31d6cfe0\",\"125\":\"31d6cfe0\",\"126\":\"31d6cfe0\",\"127\":\"31d6cfe0\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/packs/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2029);\n","export default {\n AUTHENTICATE: 'AUTHENTICATE',\n CLEAR_USER: 'LOGOUT',\n SET_CURRENT_USER: 'SET_CURRENT_USER',\n SET_CURRENT_USER_AVAILABILITY: 'SET_CURRENT_USER_AVAILABILITY',\n SET_CURRENT_USER_UI_SETTINGS: 'SET_CURRENT_USER_UI_SETTINGS',\n SET_CURRENT_USER_UI_FLAGS: 'SET_CURRENT_USER_UI_FLAGS',\n\n // Chat List\n RECEIVE_CHAT_LIST: 'RECEIVE_CHAT_LIST',\n SET_ALL_CONVERSATION: 'SET_ALL_CONVERSATION',\n EMPTY_ALL_CONVERSATION: 'EMPTY_ALL_CONVERSATION',\n SET_CONV_TAB_META: 'SET_CONV_TAB_META',\n CLEAR_LIST_LOADING_STATUS: 'CLEAR_LIST_LOADING_STATUS',\n SET_LIST_LOADING_STATUS: 'SET_LIST_LOADING_STATUS',\n SET_ALL_MESSAGES_LOADED: 'SET_ALL_MESSAGES_LOADED',\n CLEAR_ALL_MESSAGES_LOADED: 'CLEAR_ALL_MESSAGES_LOADED',\n CHANGE_CHAT_STATUS_FILTER: 'CHANGE_CHAT_STATUS_FILTER',\n CHANGE_CHAT_SORT_FILTER: 'CHANGE_CHAT_SORT_FILTER',\n UPDATE_ASSIGNEE: 'UPDATE_ASSIGNEE',\n UPDATE_CONVERSATION_CONTACT: 'UPDATE_CONVERSATION_CONTACT',\n CLEAR_CONTACT_CONVERSATIONS: 'CLEAR_CONTACT_CONVERSATIONS',\n SET_CONVERSATION_FILTERS: 'SET_CONVERSATION_FILTERS',\n CLEAR_CONVERSATION_FILTERS: 'CLEAR_CONVERSATION_FILTERS',\n SET_CONVERSATION_LAST_SEEN: 'SET_CONVERSATION_LAST_SEEN',\n SET_LAST_MESSAGE_ID_IN_SYNC_CONVERSATION:\n 'SET_LAST_MESSAGE_ID_FOR_SYNC_CONVERSATION',\n SET_DRAFT_MESSAGES: 'SET_DRAFT_MESSAGES',\n REMOVE_DRAFT_MESSAGES: 'REMOVE_DRAFT_MESSAGES',\n SET_REPLY_EDITOR_MODE: 'SET_REPLY_EDITOR_MODE',\n\n SET_CURRENT_CHAT_WINDOW: 'SET_CURRENT_CHAT_WINDOW',\n CLEAR_CURRENT_CHAT_WINDOW: 'CLEAR_CURRENT_CHAT_WINDOW',\n CLEAR_ALL_MESSAGES: 'CLEAR_ALL_MESSAGES',\n CHANGE_CONVERSATION_STATUS: 'CHANGE_CONVERSATION_STATUS',\n ADD_CONVERSATION: 'ADD_CONVERSATION',\n UPDATE_CONVERSATION: 'UPDATE_CONVERSATION',\n MUTE_CONVERSATION: 'MUTE_CONVERSATION',\n UNMUTE_CONVERSATION: 'UNMUTE_CONVERSATION',\n ASSIGN_AGENT: 'ASSIGN_AGENT',\n ASSIGN_TEAM: 'ASSIGN_TEAM',\n ASSIGN_PRIORITY: 'ASSIGN_PRIORITY',\n SET_CHAT_META: 'SET_CHAT_META',\n ADD_MESSAGE: 'ADD_MESSAGE',\n DELETE_MESSAGE: 'DELETE_MESSAGE',\n ADD_PENDING_MESSAGE: 'ADD_PENDING_MESSAGE',\n UPDATE_MESSAGE_UNREAD_COUNT: 'UPDATE_MESSAGE_UNREAD_COUNT',\n SET_PREVIOUS_CONVERSATIONS: 'SET_PREVIOUS_CONVERSATIONS',\n SET_ACTIVE_INBOX: 'SET_ACTIVE_INBOX',\n UPDATE_CONVERSATION_CUSTOM_ATTRIBUTES:\n 'UPDATE_CONVERSATION_CUSTOM_ATTRIBUTES',\n UPDATE_CONVERSATION_LAST_ACTIVITY: 'UPDATE_CONVERSATION_LAST_ACTIVITY',\n SET_MISSING_MESSAGES: 'SET_MISSING_MESSAGES',\n\n SET_ALL_ATTACHMENTS: 'SET_ALL_ATTACHMENTS',\n ADD_CONVERSATION_ATTACHMENTS: 'ADD_CONVERSATION_ATTACHMENTS',\n DELETE_CONVERSATION_ATTACHMENTS: 'DELETE_CONVERSATION_ATTACHMENTS',\n\n SET_CONVERSATION_CAN_REPLY: 'SET_CONVERSATION_CAN_REPLY',\n\n SET_CONTEXT_MENU_CHAT_ID: 'SET_CONTEXT_MENU_CHAT_ID',\n\n SET_CHAT_LIST_FILTERS: 'SET_CHAT_LIST_FILTERS',\n UPDATE_CHAT_LIST_FILTERS: 'UPDATE_CHAT_LIST_FILTERS',\n\n // Inboxes\n SET_INBOXES_UI_FLAG: 'SET_INBOXES_UI_FLAG',\n SET_INBOXES: 'SET_INBOXES',\n SET_INBOX_ITEM: 'SET_INBOX_ITEM',\n ADD_INBOXES: 'ADD_INBOXES',\n EDIT_INBOXES: 'EDIT_INBOXES',\n DELETE_INBOXES: 'DELETE_INBOXES',\n\n // Agent\n SET_ACCOUNT_UI_FLAG: 'SET_ACCOUNT_UI_FLAG',\n SET_ACCOUNT_LIMITS: 'SET_ACCOUNT_LIMITS',\n SET_ACCOUNTS: 'SET_ACCOUNTS',\n ADD_ACCOUNT: 'ADD_ACCOUNT',\n EDIT_ACCOUNT: 'EDIT_ACCOUNT',\n DELETE_ACCOUNT: 'DELETE_AGENT',\n\n // Agent\n SET_AGENT_FETCHING_STATUS: 'SET_AGENT_FETCHING_STATUS',\n SET_AGENT_CREATING_STATUS: 'SET_AGENT_CREATING_STATUS',\n SET_AGENT_UPDATING_STATUS: 'SET_AGENT_UPDATING_STATUS',\n SET_AGENT_DELETING_STATUS: 'SET_AGENT_DELETING_STATUS',\n SET_AGENTS: 'SET_AGENTS',\n ADD_AGENT: 'ADD_AGENT',\n EDIT_AGENT: 'EDIT_AGENT',\n DELETE_AGENT: 'DELETE_AGENT',\n UPDATE_AGENTS_PRESENCE: 'UPDATE_AGENTS_PRESENCE',\n UPDATE_SINGLE_AGENT_PRESENCE: 'UPDATE_SINGLE_AGENT_PRESENCE',\n\n // Canned Response\n SET_CANNED_UI_FLAG: 'SET_CANNED_UI_FLAG',\n SET_CANNED: 'SET_CANNED',\n ADD_CANNED: 'ADD_CANNED',\n EDIT_CANNED: 'EDIT_CANNED',\n DELETE_CANNED: 'DELETE_CANNED',\n\n // Labels\n SET_LABEL_UI_FLAG: 'SET_LABEL_UI_FLAG',\n SET_LABELS: 'SET_LABELS',\n ADD_LABEL: 'ADD_LABEL',\n EDIT_LABEL: 'EDIT_LABEL',\n DELETE_LABEL: 'DELETE_LABEL',\n\n // Integrations\n SET_INTEGRATIONS_UI_FLAG: 'SET_INTEGRATIONS_UI_FLAG',\n SET_INTEGRATIONS: 'SET_INTEGRATIONS',\n ADD_INTEGRATION: 'ADD_INTEGRATION',\n DELETE_INTEGRATION: 'DELETE_INTEGRATION',\n ADD_INTEGRATION_HOOKS: 'ADD_INTEGRATION_HOOKS',\n DELETE_INTEGRATION_HOOKS: 'DELETE_INTEGRATION_HOOKS',\n\n // WebHook\n SET_WEBHOOK_UI_FLAG: 'SET_WEBHOOK_UI_FLAG',\n SET_WEBHOOK: 'SET_WEBHOOK',\n ADD_WEBHOOK: 'ADD_WEBHOOK',\n DELETE_WEBHOOK: 'DELETE_WEBHOOK',\n UPDATE_WEBHOOK: 'UPDATE_WEBHOOK',\n\n // Contacts\n SET_CONTACT_META: 'SET_CONTACT_META',\n SET_CONTACT_UI_FLAG: 'SET_CONTACT_UI_FLAG',\n SET_CONTACT_ITEM: 'SET_CONTACT_ITEM',\n SET_CONTACTS: 'SET_CONTACTS',\n CLEAR_CONTACTS: 'CLEAR_CONTACTS',\n EDIT_CONTACT: 'EDIT_CONTACT',\n DELETE_CONTACT: 'DELETE_CONTACT',\n UPDATE_CONTACTS_PRESENCE: 'UPDATE_CONTACTS_PRESENCE',\n SET_CONTACT_FILTERS: 'SET_CONTACT_FILTERS',\n CLEAR_CONTACT_FILTERS: 'CLEAR_CONTACT_FILTERS',\n\n // Notifications\n SET_NOTIFICATIONS_META: 'SET_NOTIFICATIONS_META',\n SET_NOTIFICATIONS_UNREAD_COUNT: 'SET_NOTIFICATIONS_UNREAD_COUNT',\n SET_NOTIFICATIONS_UI_FLAG: 'SET_NOTIFICATIONS_UI_FLAG',\n UPDATE_NOTIFICATION: 'UPDATE_NOTIFICATION',\n READ_NOTIFICATION: 'READ_NOTIFICATION',\n ADD_NOTIFICATION: 'ADD_NOTIFICATION',\n DELETE_NOTIFICATION: 'DELETE_NOTIFICATION',\n UPDATE_ALL_NOTIFICATIONS: 'UPDATE_ALL_NOTIFICATIONS',\n SET_NOTIFICATIONS_ITEM: 'SET_NOTIFICATIONS_ITEM',\n SET_NOTIFICATIONS: 'SET_NOTIFICATIONS',\n CLEAR_NOTIFICATIONS: 'CLEAR_NOTIFICATIONS',\n EDIT_NOTIFICATIONS: 'EDIT_NOTIFICATIONS',\n UPDATE_NOTIFICATIONS_PRESENCE: 'UPDATE_NOTIFICATIONS_PRESENCE',\n SET_ALL_NOTIFICATIONS_LOADED: 'SET_ALL_NOTIFICATIONS_LOADED',\n DELETE_READ_NOTIFICATIONS: 'DELETE_READ_NOTIFICATIONS',\n DELETE_ALL_NOTIFICATIONS: 'DELETE_ALL_NOTIFICATIONS',\n SNOOZE_NOTIFICATION: 'SNOOZE_NOTIFICATION',\n SET_NOTIFICATION_FILTERS: 'SET_NOTIFICATION_FILTERS',\n UPDATE_NOTIFICATION_FILTERS: 'UPDATE_NOTIFICATION_FILTERS',\n\n // Contact Conversation\n SET_CONTACT_CONVERSATIONS_UI_FLAG: 'SET_CONTACT_CONVERSATIONS_UI_FLAG',\n SET_CONTACT_CONVERSATIONS: 'SET_CONTACT_CONVERSATIONS',\n ADD_CONTACT_CONVERSATION: 'ADD_CONTACT_CONVERSATION',\n DELETE_CONTACT_CONVERSATION: 'DELETE_CONTACT_CONVERSATION',\n\n // Contact Label\n SET_CONTACT_LABELS_UI_FLAG: 'SET_CONTACT_LABELS_UI_FLAG',\n SET_CONTACT_LABELS: 'SET_CONTACT_LABELS',\n\n // Conversation Label\n SET_CONVERSATION_LABELS_UI_FLAG: 'SET_CONVERSATION_LABELS_UI_FLAG',\n SET_CONVERSATION_LABELS: 'SET_CONVERSATION_LABELS',\n SET_BULK_CONVERSATION_LABELS: 'SET_BULK_CONVERSATION_LABELS',\n SET_SELECTED_CONVERSATION_IDS: 'SET_SELECTED_CONVERSATION_IDS',\n CLEAR_SELECTED_CONVERSATION_IDS: 'CLEAR_SELECTED_CONVERSATION_IDS',\n REMOVE_SELECTED_CONVERSATION_IDS: 'REMOVE_SELECTED_CONVERSATION_IDS',\n\n // Reports\n SET_ACCOUNT_REPORTS: 'SET_ACCOUNT_REPORTS',\n SET_HEATMAP_DATA: 'SET_HEATMAP_DATA',\n TOGGLE_HEATMAP_LOADING: 'TOGGLE_HEATMAP_LOADING',\n SET_ACCOUNT_SUMMARY: 'SET_ACCOUNT_SUMMARY',\n SET_BOT_SUMMARY: 'SET_BOT_SUMMARY',\n TOGGLE_ACCOUNT_REPORT_LOADING: 'TOGGLE_ACCOUNT_REPORT_LOADING',\n SET_ACCOUNT_CONVERSATION_METRIC: 'SET_ACCOUNT_CONVERSATION_METRIC',\n TOGGLE_ACCOUNT_CONVERSATION_METRIC_LOADING:\n 'TOGGLE_ACCOUNT_CONVERSATION_METRIC_LOADING',\n SET_AGENT_CONVERSATION_METRIC: 'SET_AGENT_CONVERSATION_METRIC',\n TOGGLE_AGENT_CONVERSATION_METRIC_LOADING:\n 'TOGGLE_AGENT_CONVERSATION_METRIC_LOADING',\n\n // Conversation Metadata\n SET_CONVERSATION_METADATA: 'SET_CONVERSATION_METADATA',\n\n // Conversation Page\n SET_CURRENT_PAGE: 'SET_CURRENT_PAGE',\n SET_CONVERSATION_END_REACHED: 'SET_CONVERSATION_END_REACHED',\n CLEAR_CONVERSATION_PAGE: 'CLEAR_CONVERSATION_PAGE',\n\n // Notification Settings\n SET_USER_NOTIFICATION_UI_FLAG: 'SET_USER_NOTIFICATION_UI_FLAG',\n SET_USER_NOTIFICATION: 'SET_USER_NOTIFICATION',\n\n // User Typing\n ADD_USER_TYPING_TO_CONVERSATION: 'ADD_USER_TYPING_TO_CONVERSATION',\n REMOVE_USER_TYPING_FROM_CONVERSATION: 'REMOVE_USER_TYPING_FROM_CONVERSATION',\n\n // Conversation Search\n SEARCH_CONVERSATIONS_SET: 'SEARCH_CONVERSATIONS_SET',\n SEARCH_CONVERSATIONS_SET_UI_FLAG: 'SEARCH_CONVERSATIONS_SET_UI_FLAG',\n\n // Campaigns\n SET_CAMPAIGN_UI_FLAG: 'SET_CAMPAIGN_UI_FLAG',\n SET_CAMPAIGNS: 'SET_CAMPAIGNS',\n ADD_CAMPAIGN: 'ADD_CAMPAIGN',\n EDIT_CAMPAIGN: 'EDIT_CAMPAIGN',\n DELETE_CAMPAIGN: 'DELETE_CAMPAIGN',\n\n // Contact notes\n SET_CONTACT_NOTES_UI_FLAG: 'SET_CONTACT_NOTES_UI_FLAG',\n SET_CONTACT_NOTES: 'SET_CONTACT_NOTES',\n ADD_CONTACT_NOTE: 'ADD_CONTACT_NOTE',\n EDIT_CONTACT_NOTE: 'EDIT_CONTACT_NOTE',\n DELETE_CONTACT_NOTE: 'DELETE_CONTACT_NOTE',\n\n // CSAT Responses\n SET_CSAT_RESPONSE_UI_FLAG: 'SET_CSAT_RESPONSE_UI_FLAG',\n SET_CSAT_RESPONSE: 'SET_CSAT_RESPONSE',\n SET_CSAT_RESPONSE_METRICS: 'SET_CSAT_RESPONSE_METRICS',\n\n // Custom Attributes\n SET_CUSTOM_ATTRIBUTE_UI_FLAG: 'SET_CUSTOM_ATTRIBUTE_UI_FLAG',\n SET_CUSTOM_ATTRIBUTE: 'SET_CUSTOM_ATTRIBUTE',\n ADD_CUSTOM_ATTRIBUTE: 'ADD_CUSTOM_ATTRIBUTE',\n EDIT_CUSTOM_ATTRIBUTE: 'EDIT_CUSTOM_ATTRIBUTE',\n DELETE_CUSTOM_ATTRIBUTE: 'DELETE_CUSTOM_ATTRIBUTE',\n\n // Automations\n SET_AUTOMATION_UI_FLAG: 'SET_AUTOMATION_UI_FLAG',\n SET_AUTOMATIONS: 'SET_AUTOMATIONS',\n ADD_AUTOMATION: 'ADD_AUTOMATION',\n EDIT_AUTOMATION: 'EDIT_AUTOMATION',\n DELETE_AUTOMATION: 'DELETE_AUTOMATION',\n\n // Custom Views\n SET_CUSTOM_VIEW_UI_FLAG: 'SET_CUSTOM_VIEW_UI_FLAG',\n SET_CUSTOM_VIEW: 'SET_CUSTOM_VIEW',\n ADD_CUSTOM_VIEW: 'ADD_CUSTOM_VIEW',\n UPDATE_CUSTOM_VIEW: 'UPDATE_CUSTOM_VIEW',\n DELETE_CUSTOM_VIEW: 'DELETE_CUSTOM_VIEW',\n SET_ACTIVE_CONVERSATION_FOLDER: 'SET_ACTIVE_CONVERSATION_FOLDER',\n\n // Bulk Actions\n SET_BULK_ACTIONS_FLAG: 'SET_BULK_ACTIONS_FLAG',\n\n // Dashboard Apps\n SET_DASHBOARD_APPS_UI_FLAG: 'SET_DASHBOARD_APPS_UI_FLAG',\n SET_DASHBOARD_APPS: 'SET_DASHBOARD_APPS',\n CREATE_DASHBOARD_APP: 'CREATE_DASHBOARD_APP',\n EDIT_DASHBOARD_APP: 'EDIT_DASHBOARD_APP',\n DELETE_DASHBOARD_APP: 'DELETE_DASHBOARD_APP',\n\n // Help center\n ADD_ARTICLE: 'ADD_ARTICLE',\n ADD_ARTICLE_ID: 'ADD_ARTICLE_ID',\n ADD_MANY_ARTICLES: 'ADD_MANY_ARTICLES',\n ADD_MANY_ARTICLES_ID: 'ADD_MANY_ARTICLES_ID',\n SET_ARTICLES_META: 'SET_ARTICLES_META',\n UPDATE_ARTICLE_FLAG: 'UPDATE_ARTICLE_FLAG',\n ADD_ARTICLE_FLAG: 'ADD_ARTICLE_FLAG',\n UPDATE_ARTICLE: 'UPDATE_ARTICLE',\n CLEAR_ARTICLES: 'CLEAR_ARTICLES',\n REMOVE_ARTICLE: 'REMOVE_ARTICLE',\n REMOVE_ARTICLE_ID: 'REMOVE_ARTICLE_ID',\n SET_UI_FLAG: 'SET_UI_FLAG',\n\n // Help Center -- Categories\n ADD_CATEGORY: 'ADD_CATEGORY',\n ADD_CATEGORY_ID: 'ADD_CATEGORY_ID',\n ADD_MANY_CATEGORIES: 'ADD_MANY_CATEGORIES',\n ADD_MANY_CATEGORIES_ID: 'ADD_MANY_CATEGORIES_ID',\n ADD_CATEGORY_FLAG: 'ADD_CATEGORY_FLAG',\n CLEAR_CATEGORIES: 'CLEAR_CATEGORIES',\n UPDATE_CATEGORY: 'UPDATE_CATEGORY',\n REMOVE_CATEGORY: 'REMOVE_CATEGORY',\n REMOVE_CATEGORY_ID: 'REMOVE_CATEGORY_ID',\n\n // Agent Bots\n SET_AGENT_BOT_UI_FLAG: 'SET_AGENT_BOT_UI_FLAG',\n SET_AGENT_BOTS: 'SET_AGENT_BOTS',\n ADD_AGENT_BOT: 'ADD_AGENT_BOT',\n EDIT_AGENT_BOT: 'EDIT_AGENT_BOT',\n DELETE_AGENT_BOT: 'DELETE_AGENT_BOT',\n SET_AGENT_BOT_INBOX: 'SET_AGENT_BOT_INBOX',\n\n // MACROS\n SET_MACROS_UI_FLAG: 'SET_MACROS_UI_FLAG',\n SET_MACROS: 'SET_MACROS',\n ADD_MACRO: 'ADD_MACRO',\n EDIT_MACRO: 'EDIT_MACRO',\n DELETE_MACRO: 'DELETE_MACRO',\n\n // Full Search\n FULL_SEARCH_SET: 'FULL_SEARCH_SET',\n CONTACT_SEARCH_SET: 'CONTACT_SEARCH_SET',\n CONTACT_SEARCH_SET_UI_FLAG: 'CONTACT_SEARCH_SET_UI_FLAG',\n CONVERSATION_SEARCH_SET: 'CONVERSATION_SEARCH_SET',\n CONVERSATION_SEARCH_SET_UI_FLAG: 'CONVERSATION_SEARCH_SET_UI_FLAG',\n MESSAGE_SEARCH_SET: 'MESSAGE_SEARCH_SET',\n MESSAGE_SEARCH_SET_UI_FLAG: 'MESSAGE_SEARCH_SET_UI_FLAG',\n FULL_SEARCH_SET_UI_FLAG: 'FULL_SEARCH_SET_UI_FLAG',\n SET_CONVERSATION_PARTICIPANTS_UI_FLAG:\n 'SET_CONVERSATION_PARTICIPANTS_UI_FLAG',\n SET_CONVERSATION_PARTICIPANTS: 'SET_CONVERSATION_PARTICIPANTS',\n\n // Audit Logs\n SET_AUDIT_LOGS_UI_FLAG: 'SET_AUDIT_LOGS_UI_FLAG',\n SET_AUDIT_LOGS: 'SET_AUDIT_LOGS',\n SET_AUDIT_LOGS_META: 'SET_AUDIT_LOGS_META',\n\n // SLA\n SET_SLA_UI_FLAG: 'SET_SLA_UI_FLAG',\n SET_SLA: 'SET_SLA',\n ADD_SLA: 'ADD_SLA',\n EDIT_SLA: 'EDIT_SLA',\n DELETE_SLA: 'DELETE_SLA',\n\n // SLA Reports\n SET_SLA_REPORTS_UI_FLAG: 'SET_SLA_REPORTS_UI_FLAG',\n SET_SLA_REPORTS: 'SET_SLA_REPORTS',\n SET_SLA_REPORTS_METRICS: 'SET_SLA_REPORTS_METRICS',\n SET_SLA_REPORTS_META: 'SET_SLA_REPORTS_META',\n\n // SUBSCRIPTION\n SET_SUBSCRIPTION: 'SET_SUBSCRIPTION',\n SET_INVOICES: 'SET_INVOICES',\n};\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst {\n toString\n} = Object.prototype;\nconst {\n getPrototypeOf\n} = Object;\nconst kindOf = (cache => thing => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\nconst kindOfTest = type => {\n type = type.toLowerCase();\n return thing => kindOf(thing) === type;\n};\nconst typeOfTest = type => thing => typeof thing === type;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst {\n isArray\n} = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n result = ArrayBuffer.isView(val);\n } else {\n result = val && val.buffer && isArrayBuffer(val.buffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = thing => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = thing => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = val => {\n if (kindOf(val) !== 'object') {\n return false;\n }\n const prototype = getPrototypeOf(val);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);\n};\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = val => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nconst isFormData = thing => {\n let kind;\n return thing && (typeof FormData === 'function' && thing instanceof FormData || isFunction(thing.append) && ((kind = kindOf(thing)) === 'formdata' ||\n // detect form-data instance\n kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]'));\n};\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\nconst [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = str => str.trim ? str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Boolean} [allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn) {\n let {\n allOwnKeys = false\n } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\nfunction findKey(obj, key) {\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== \"undefined\") return globalThis;\n return typeof self !== \"undefined\" ? self : typeof window !== 'undefined' ? window : global;\n})();\nconst isContextDefined = context => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */\n) {\n const {\n caseless\n } = isContextDefined(this) && this || {};\n const result = {};\n const assignValue = (val, key) => {\n const targetKey = caseless && findKey(result, key) || key;\n if (isPlainObject(result[targetKey]) && isPlainObject(val)) {\n result[targetKey] = merge(result[targetKey], val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else {\n result[targetKey] = val;\n }\n };\n for (let i = 0, l = arguments.length; i < l; i++) {\n arguments[i] && forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Boolean} [allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = function (a, b, thisArg) {\n let {\n allOwnKeys\n } = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n forEach(b, (val, key) => {\n if (thisArg && isFunction(val)) {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n }, {\n allOwnKeys\n });\n return a;\n};\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = content => {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n};\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n constructor.prototype.constructor = constructor;\n Object.defineProperty(constructor, 'super', {\n value: superConstructor.prototype\n });\n props && Object.assign(constructor.prototype, props);\n};\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n return destObj;\n};\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n};\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = thing => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n};\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = (TypedArray => {\n // eslint-disable-next-line func-names\n return thing => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[Symbol.iterator];\n const iterator = generator.call(obj);\n let result;\n while ((result = iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n};\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n return arr;\n};\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\nconst toCamelCase = str => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g, function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n });\n};\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (_ref => {\n let {\n hasOwnProperty\n } = _ref;\n return (obj, prop) => hasOwnProperty.call(obj, prop);\n})(Object.prototype);\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n Object.defineProperties(obj, reducedDescriptors);\n};\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = obj => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {\n return false;\n }\n const value = obj[name];\n if (!isFunction(value)) return;\n descriptor.enumerable = false;\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error('Can not rewrite read-only method \\'' + name + '\\'');\n };\n }\n });\n};\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n const define = arr => {\n arr.forEach(value => {\n obj[value] = true;\n });\n };\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n return obj;\n};\nconst noop = () => {};\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite(value = +value) ? value : defaultValue;\n};\nconst ALPHA = 'abcdefghijklmnopqrstuvwxyz';\nconst DIGIT = '0123456789';\nconst ALPHABET = {\n DIGIT,\n ALPHA,\n ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT\n};\nconst generateString = function () {\n let size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 16;\n let alphabet = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ALPHABET.ALPHA_DIGIT;\n let str = '';\n const {\n length\n } = alphabet;\n while (size--) {\n str += alphabet[Math.random() * length | 0];\n }\n return str;\n};\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]);\n}\nconst toJSONObject = obj => {\n const stack = new Array(10);\n const visit = (source, i) => {\n if (isObject(source)) {\n if (stack.indexOf(source) >= 0) {\n return;\n }\n if (!('toJSON' in source)) {\n stack[i] = source;\n const target = isArray(source) ? [] : {};\n forEach(source, (value, key) => {\n const reducedValue = visit(value, i + 1);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n stack[i] = undefined;\n return target;\n }\n }\n return source;\n };\n return visit(obj, 0);\n};\nconst isAsyncFn = kindOfTest('AsyncFunction');\nconst isThenable = thing => thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);\n\n// original code\n// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34\n\nconst _setImmediate = ((setImmediateSupported, postMessageSupported) => {\n if (setImmediateSupported) {\n return setImmediate;\n }\n return postMessageSupported ? ((token, callbacks) => {\n _global.addEventListener(\"message\", _ref2 => {\n let {\n source,\n data\n } = _ref2;\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n }, false);\n return cb => {\n callbacks.push(cb);\n _global.postMessage(token, \"*\");\n };\n })(`axios@${Math.random()}`, []) : cb => setTimeout(cb);\n})(typeof setImmediate === 'function', isFunction(_global.postMessage));\nconst asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate;\n\n// *********************\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty,\n // an alias to avoid ESLint no-prototype-builtins detection\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n ALPHABET,\n generateString,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap\n};","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n };\n return extendStatics(d, b);\n};\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null) throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nexport var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) {\n if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\");\n return f;\n }\n var kind = contextIn.kind,\n key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _,\n done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) {\n if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\");\n extraInitializers.push(accept(f || null));\n };\n var result = (0, decorators[i])(kind === \"accessor\" ? {\n get: descriptor.get,\n set: descriptor.set\n } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n } else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n}\n;\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n}\n;\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n}\n;\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", {\n configurable: true,\n value: prefix ? \"\".concat(prefix, \" \", name) : name\n });\n}\n;\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nexport function __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nexport var __createBinding = Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = {\n enumerable: true,\n get: function () {\n return m[k];\n }\n };\n }\n Object.defineProperty(o, k2, desc);\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n};\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];\n return r;\n}\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []),\n i,\n q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () {\n return this;\n }, i;\n function awaitReturn(f) {\n return function (v) {\n return Promise.resolve(v).then(f, reject);\n };\n }\n function verb(n, f) {\n if (g[n]) {\n i[n] = function (v) {\n return new Promise(function (a, b) {\n q.push([n, v, a, b]) > 1 || resume(n, v);\n });\n };\n if (f) i[n] = f(i[n]);\n }\n }\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\n }\n function step(r) {\n r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n }\n function fulfill(value) {\n resume(\"next\", value);\n }\n function reject(value) {\n resume(\"throw\", value);\n }\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n throw e;\n }), verb(\"return\"), i[Symbol.iterator] = function () {\n return this;\n }, i;\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: false\n } : f ? f(v) : v;\n } : f;\n }\n}\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator],\n i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i);\n function verb(n) {\n i[n] = o[n] && function (v) {\n return new Promise(function (resolve, reject) {\n v = o[n](v), settle(resolve, reject, v.done, v.value);\n });\n };\n }\n function settle(resolve, reject, d, v) {\n Promise.resolve(v).then(function (v) {\n resolve({\n value: v,\n done: d\n });\n }, reject);\n }\n}\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n return cooked;\n}\n;\nvar __setModuleDefault = Object.create ? function (o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function (o, v) {\n o[\"default\"] = v;\n};\nvar ownKeys = function (o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\nexport function __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n default: mod\n };\n}\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;\n}\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || typeof receiver !== \"object\" && typeof receiver !== \"function\") throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function () {\n try {\n inner.call(this);\n } catch (e) {\n return Promise.reject(e);\n }\n };\n env.stack.push({\n value: value,\n dispose: dispose,\n async: async\n });\n } else if (async) {\n env.stack.push({\n async: true\n });\n }\n return value;\n}\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r,\n s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function (e) {\n fail(e);\n return next();\n });\n } else s |= 1;\n } catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : d + ext + \".\" + cm.toLowerCase() + \"js\";\n });\n }\n return path;\n}\nexport default {\n __extends: __extends,\n __assign: __assign,\n __rest: __rest,\n __decorate: __decorate,\n __param: __param,\n __esDecorate: __esDecorate,\n __runInitializers: __runInitializers,\n __propKey: __propKey,\n __setFunctionName: __setFunctionName,\n __metadata: __metadata,\n __awaiter: __awaiter,\n __generator: __generator,\n __createBinding: __createBinding,\n __exportStar: __exportStar,\n __values: __values,\n __read: __read,\n __spread: __spread,\n __spreadArrays: __spreadArrays,\n __spreadArray: __spreadArray,\n __await: __await,\n __asyncGenerator: __asyncGenerator,\n __asyncDelegator: __asyncDelegator,\n __asyncValues: __asyncValues,\n __makeTemplateObject: __makeTemplateObject,\n __importStar: __importStar,\n __importDefault: __importDefault,\n __classPrivateFieldGet: __classPrivateFieldGet,\n __classPrivateFieldSet: __classPrivateFieldSet,\n __classPrivateFieldIn: __classPrivateFieldIn,\n __addDisposableResource: __addDisposableResource,\n __disposeResources: __disposeResources,\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension\n};","var VueModule = require('vue')\n\n// get the real Vue https://github.com/vueuse/vue-demi/issues/192\nvar Vue = VueModule.default || VueModule\n\nexports.Vue = Vue\nexports.Vue2 = Vue\nexports.isVue2 = true\nexports.isVue3 = false\nexports.install = function () {}\nexports.warn = Vue.util.warn\n\n// createApp polyfill\nexports.createApp = function (rootComponent, rootProps) {\n var vm\n var provide = {}\n var app = {\n config: Vue.config,\n use: Vue.use.bind(Vue),\n mixin: Vue.mixin.bind(Vue),\n component: Vue.component.bind(Vue),\n provide: function (key, value) {\n provide[key] = value\n return this\n },\n directive: function (name, dir) {\n if (dir) {\n Vue.directive(name, dir)\n return app\n } else {\n return Vue.directive(name)\n }\n },\n mount: function (el, hydrating) {\n if (!vm) {\n vm = new Vue(Object.assign({ propsData: rootProps }, rootComponent, { provide: Object.assign(provide, rootComponent.provide) }))\n vm.$mount(el, hydrating)\n return vm\n } else {\n return vm\n }\n },\n unmount: function () {\n if (vm) {\n vm.$destroy()\n vm = undefined\n }\n },\n }\n return app\n}\n\nObject.keys(VueModule).forEach(function (key) {\n exports[key] = VueModule[key]\n})\n\n// Not implemented https://github.com/vuejs/core/pull/8111, falls back to getCurrentInstance()\nexports.hasInjectionContext = function() {\n return !!VueModule.getCurrentInstance()\n}","if (process.env.NODE_ENV === 'production') {\n module.exports = require('./vue.common.prod.js');\n} else {\n module.exports = require('./vue.common.dev.js');\n}","'use strict';\n\nvar vueDemi = require('vue-demi');\n\nfunction computedEager(fn, options) {\n var _a;\n const result = vueDemi.shallowRef();\n vueDemi.watchEffect(() => {\n result.value = fn();\n }, {\n ...options,\n flush: (_a = options == null ? void 0 : options.flush) != null ? _a : \"sync\"\n });\n return vueDemi.readonly(result);\n}\n\nfunction computedWithControl(source, fn) {\n let v = void 0;\n let track;\n let trigger;\n const dirty = vueDemi.ref(true);\n const update = () => {\n dirty.value = true;\n trigger();\n };\n vueDemi.watch(source, update, { flush: \"sync\" });\n const get = typeof fn === \"function\" ? fn : fn.get;\n const set = typeof fn === \"function\" ? void 0 : fn.set;\n const result = vueDemi.customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n if (dirty.value) {\n v = get();\n dirty.value = false;\n }\n track();\n return v;\n },\n set(v2) {\n set == null ? void 0 : set(v2);\n }\n };\n });\n if (Object.isExtensible(result))\n result.trigger = update;\n return result;\n}\n\nfunction tryOnScopeDispose(fn) {\n if (vueDemi.getCurrentScope()) {\n vueDemi.onScopeDispose(fn);\n return true;\n }\n return false;\n}\n\nfunction createEventHook() {\n const fns = /* @__PURE__ */ new Set();\n const off = (fn) => {\n fns.delete(fn);\n };\n const on = (fn) => {\n fns.add(fn);\n const offFn = () => off(fn);\n tryOnScopeDispose(offFn);\n return {\n off: offFn\n };\n };\n const trigger = (...args) => {\n return Promise.all(Array.from(fns).map((fn) => fn(...args)));\n };\n return {\n on,\n off,\n trigger\n };\n}\n\nfunction createGlobalState(stateFactory) {\n let initialized = false;\n let state;\n const scope = vueDemi.effectScope(true);\n return (...args) => {\n if (!initialized) {\n state = scope.run(() => stateFactory(...args));\n initialized = true;\n }\n return state;\n };\n}\n\nconst localProvidedStateMap = /* @__PURE__ */ new WeakMap();\n\nconst provideLocal = (key, value) => {\n var _a;\n const instance = (_a = vueDemi.getCurrentInstance()) == null ? void 0 : _a.proxy;\n if (instance == null)\n throw new Error(\"provideLocal must be called in setup\");\n if (!localProvidedStateMap.has(instance))\n localProvidedStateMap.set(instance, /* @__PURE__ */ Object.create(null));\n const localProvidedState = localProvidedStateMap.get(instance);\n localProvidedState[key] = value;\n vueDemi.provide(key, value);\n};\n\nconst injectLocal = (...args) => {\n var _a;\n const key = args[0];\n const instance = (_a = vueDemi.getCurrentInstance()) == null ? void 0 : _a.proxy;\n if (instance == null)\n throw new Error(\"injectLocal must be called in setup\");\n if (localProvidedStateMap.has(instance) && key in localProvidedStateMap.get(instance))\n return localProvidedStateMap.get(instance)[key];\n return vueDemi.inject(...args);\n};\n\nfunction createInjectionState(composable, options) {\n const key = (options == null ? void 0 : options.injectionKey) || Symbol(composable.name || \"InjectionState\");\n const defaultValue = options == null ? void 0 : options.defaultValue;\n const useProvidingState = (...args) => {\n const state = composable(...args);\n provideLocal(key, state);\n return state;\n };\n const useInjectedState = () => injectLocal(key, defaultValue);\n return [useProvidingState, useInjectedState];\n}\n\nfunction createSharedComposable(composable) {\n let subscribers = 0;\n let state;\n let scope;\n const dispose = () => {\n subscribers -= 1;\n if (scope && subscribers <= 0) {\n scope.stop();\n state = void 0;\n scope = void 0;\n }\n };\n return (...args) => {\n subscribers += 1;\n if (!state) {\n scope = vueDemi.effectScope(true);\n state = scope.run(() => composable(...args));\n }\n tryOnScopeDispose(dispose);\n return state;\n };\n}\n\nfunction extendRef(ref, extend, { enumerable = false, unwrap = true } = {}) {\n if (!vueDemi.isVue3 && !vueDemi.version.startsWith(\"2.7.\")) {\n if (process.env.NODE_ENV !== \"production\")\n throw new Error(\"[VueUse] extendRef only works in Vue 2.7 or above.\");\n return;\n }\n for (const [key, value] of Object.entries(extend)) {\n if (key === \"value\")\n continue;\n if (vueDemi.isRef(value) && unwrap) {\n Object.defineProperty(ref, key, {\n get() {\n return value.value;\n },\n set(v) {\n value.value = v;\n },\n enumerable\n });\n } else {\n Object.defineProperty(ref, key, { value, enumerable });\n }\n }\n return ref;\n}\n\nfunction get(obj, key) {\n if (key == null)\n return vueDemi.unref(obj);\n return vueDemi.unref(obj)[key];\n}\n\nfunction isDefined(v) {\n return vueDemi.unref(v) != null;\n}\n\nfunction makeDestructurable(obj, arr) {\n if (typeof Symbol !== \"undefined\") {\n const clone = { ...obj };\n Object.defineProperty(clone, Symbol.iterator, {\n enumerable: false,\n value() {\n let index = 0;\n return {\n next: () => ({\n value: arr[index++],\n done: index > arr.length\n })\n };\n }\n });\n return clone;\n } else {\n return Object.assign([...arr], obj);\n }\n}\n\nfunction toValue(r) {\n return typeof r === \"function\" ? r() : vueDemi.unref(r);\n}\nconst resolveUnref = toValue;\n\nfunction reactify(fn, options) {\n const unrefFn = (options == null ? void 0 : options.computedGetter) === false ? vueDemi.unref : toValue;\n return function(...args) {\n return vueDemi.computed(() => fn.apply(this, args.map((i) => unrefFn(i))));\n };\n}\n\nfunction reactifyObject(obj, optionsOrKeys = {}) {\n let keys = [];\n let options;\n if (Array.isArray(optionsOrKeys)) {\n keys = optionsOrKeys;\n } else {\n options = optionsOrKeys;\n const { includeOwnProperties = true } = optionsOrKeys;\n keys.push(...Object.keys(obj));\n if (includeOwnProperties)\n keys.push(...Object.getOwnPropertyNames(obj));\n }\n return Object.fromEntries(\n keys.map((key) => {\n const value = obj[key];\n return [\n key,\n typeof value === \"function\" ? reactify(value.bind(obj), options) : value\n ];\n })\n );\n}\n\nfunction toReactive(objectRef) {\n if (!vueDemi.isRef(objectRef))\n return vueDemi.reactive(objectRef);\n const proxy = new Proxy({}, {\n get(_, p, receiver) {\n return vueDemi.unref(Reflect.get(objectRef.value, p, receiver));\n },\n set(_, p, value) {\n if (vueDemi.isRef(objectRef.value[p]) && !vueDemi.isRef(value))\n objectRef.value[p].value = value;\n else\n objectRef.value[p] = value;\n return true;\n },\n deleteProperty(_, p) {\n return Reflect.deleteProperty(objectRef.value, p);\n },\n has(_, p) {\n return Reflect.has(objectRef.value, p);\n },\n ownKeys() {\n return Object.keys(objectRef.value);\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true\n };\n }\n });\n return vueDemi.reactive(proxy);\n}\n\nfunction reactiveComputed(fn) {\n return toReactive(vueDemi.computed(fn));\n}\n\nfunction reactiveOmit(obj, ...keys) {\n const flatKeys = keys.flat();\n const predicate = flatKeys[0];\n return reactiveComputed(() => typeof predicate === \"function\" ? Object.fromEntries(Object.entries(vueDemi.toRefs(obj)).filter(([k, v]) => !predicate(toValue(v), k))) : Object.fromEntries(Object.entries(vueDemi.toRefs(obj)).filter((e) => !flatKeys.includes(e[0]))));\n}\n\nconst isClient = typeof window !== \"undefined\" && typeof document !== \"undefined\";\nconst isWorker = typeof WorkerGlobalScope !== \"undefined\" && globalThis instanceof WorkerGlobalScope;\nconst isDef = (val) => typeof val !== \"undefined\";\nconst notNullish = (val) => val != null;\nconst assert = (condition, ...infos) => {\n if (!condition)\n console.warn(...infos);\n};\nconst toString = Object.prototype.toString;\nconst isObject = (val) => toString.call(val) === \"[object Object]\";\nconst now = () => Date.now();\nconst timestamp = () => +Date.now();\nconst clamp = (n, min, max) => Math.min(max, Math.max(min, n));\nconst noop = () => {\n};\nconst rand = (min, max) => {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min + 1)) + min;\n};\nconst hasOwn = (val, key) => Object.prototype.hasOwnProperty.call(val, key);\nconst isIOS = /* @__PURE__ */ getIsIOS();\nfunction getIsIOS() {\n var _a, _b;\n return isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_b = window == null ? void 0 : window.navigator) == null ? void 0 : _b.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));\n}\n\nfunction createFilterWrapper(filter, fn) {\n function wrapper(...args) {\n return new Promise((resolve, reject) => {\n Promise.resolve(filter(() => fn.apply(this, args), { fn, thisArg: this, args })).then(resolve).catch(reject);\n });\n }\n return wrapper;\n}\nconst bypassFilter = (invoke) => {\n return invoke();\n};\nfunction debounceFilter(ms, options = {}) {\n let timer;\n let maxTimer;\n let lastRejector = noop;\n const _clearTimeout = (timer2) => {\n clearTimeout(timer2);\n lastRejector();\n lastRejector = noop;\n };\n const filter = (invoke) => {\n const duration = toValue(ms);\n const maxDuration = toValue(options.maxWait);\n if (timer)\n _clearTimeout(timer);\n if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {\n if (maxTimer) {\n _clearTimeout(maxTimer);\n maxTimer = null;\n }\n return Promise.resolve(invoke());\n }\n return new Promise((resolve, reject) => {\n lastRejector = options.rejectOnCancel ? reject : resolve;\n if (maxDuration && !maxTimer) {\n maxTimer = setTimeout(() => {\n if (timer)\n _clearTimeout(timer);\n maxTimer = null;\n resolve(invoke());\n }, maxDuration);\n }\n timer = setTimeout(() => {\n if (maxTimer)\n _clearTimeout(maxTimer);\n maxTimer = null;\n resolve(invoke());\n }, duration);\n });\n };\n return filter;\n}\nfunction throttleFilter(...args) {\n let lastExec = 0;\n let timer;\n let isLeading = true;\n let lastRejector = noop;\n let lastValue;\n let ms;\n let trailing;\n let leading;\n let rejectOnCancel;\n if (!vueDemi.isRef(args[0]) && typeof args[0] === \"object\")\n ({ delay: ms, trailing = true, leading = true, rejectOnCancel = false } = args[0]);\n else\n [ms, trailing = true, leading = true, rejectOnCancel = false] = args;\n const clear = () => {\n if (timer) {\n clearTimeout(timer);\n timer = void 0;\n lastRejector();\n lastRejector = noop;\n }\n };\n const filter = (_invoke) => {\n const duration = toValue(ms);\n const elapsed = Date.now() - lastExec;\n const invoke = () => {\n return lastValue = _invoke();\n };\n clear();\n if (duration <= 0) {\n lastExec = Date.now();\n return invoke();\n }\n if (elapsed > duration && (leading || !isLeading)) {\n lastExec = Date.now();\n invoke();\n } else if (trailing) {\n lastValue = new Promise((resolve, reject) => {\n lastRejector = rejectOnCancel ? reject : resolve;\n timer = setTimeout(() => {\n lastExec = Date.now();\n isLeading = true;\n resolve(invoke());\n clear();\n }, Math.max(0, duration - elapsed));\n });\n }\n if (!leading && !timer)\n timer = setTimeout(() => isLeading = true, duration);\n isLeading = false;\n return lastValue;\n };\n return filter;\n}\nfunction pausableFilter(extendFilter = bypassFilter) {\n const isActive = vueDemi.ref(true);\n function pause() {\n isActive.value = false;\n }\n function resume() {\n isActive.value = true;\n }\n const eventFilter = (...args) => {\n if (isActive.value)\n extendFilter(...args);\n };\n return { isActive: vueDemi.readonly(isActive), pause, resume, eventFilter };\n}\n\nconst directiveHooks = {\n mounted: vueDemi.isVue3 ? \"mounted\" : \"inserted\",\n updated: vueDemi.isVue3 ? \"updated\" : \"componentUpdated\",\n unmounted: vueDemi.isVue3 ? \"unmounted\" : \"unbind\"\n};\n\nfunction cacheStringFunction(fn) {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, \"-$1\").toLowerCase());\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\n\nfunction promiseTimeout(ms, throwOnTimeout = false, reason = \"Timeout\") {\n return new Promise((resolve, reject) => {\n if (throwOnTimeout)\n setTimeout(() => reject(reason), ms);\n else\n setTimeout(resolve, ms);\n });\n}\nfunction identity(arg) {\n return arg;\n}\nfunction createSingletonPromise(fn) {\n let _promise;\n function wrapper() {\n if (!_promise)\n _promise = fn();\n return _promise;\n }\n wrapper.reset = async () => {\n const _prev = _promise;\n _promise = void 0;\n if (_prev)\n await _prev;\n };\n return wrapper;\n}\nfunction invoke(fn) {\n return fn();\n}\nfunction containsProp(obj, ...props) {\n return props.some((k) => k in obj);\n}\nfunction increaseWithUnit(target, delta) {\n var _a;\n if (typeof target === \"number\")\n return target + delta;\n const value = ((_a = target.match(/^-?\\d+\\.?\\d*/)) == null ? void 0 : _a[0]) || \"\";\n const unit = target.slice(value.length);\n const result = Number.parseFloat(value) + delta;\n if (Number.isNaN(result))\n return target;\n return result + unit;\n}\nfunction objectPick(obj, keys, omitUndefined = false) {\n return keys.reduce((n, k) => {\n if (k in obj) {\n if (!omitUndefined || obj[k] !== void 0)\n n[k] = obj[k];\n }\n return n;\n }, {});\n}\nfunction objectOmit(obj, keys, omitUndefined = false) {\n return Object.fromEntries(Object.entries(obj).filter(([key, value]) => {\n return (!omitUndefined || value !== void 0) && !keys.includes(key);\n }));\n}\nfunction objectEntries(obj) {\n return Object.entries(obj);\n}\nfunction getLifeCycleTarget(target) {\n return target || vueDemi.getCurrentInstance();\n}\n\nfunction toRef(...args) {\n if (args.length !== 1)\n return vueDemi.toRef(...args);\n const r = args[0];\n return typeof r === \"function\" ? vueDemi.readonly(vueDemi.customRef(() => ({ get: r, set: noop }))) : vueDemi.ref(r);\n}\nconst resolveRef = toRef;\n\nfunction reactivePick(obj, ...keys) {\n const flatKeys = keys.flat();\n const predicate = flatKeys[0];\n return reactiveComputed(() => typeof predicate === \"function\" ? Object.fromEntries(Object.entries(vueDemi.toRefs(obj)).filter(([k, v]) => predicate(toValue(v), k))) : Object.fromEntries(flatKeys.map((k) => [k, toRef(obj, k)])));\n}\n\nfunction refAutoReset(defaultValue, afterMs = 1e4) {\n return vueDemi.customRef((track, trigger) => {\n let value = toValue(defaultValue);\n let timer;\n const resetAfter = () => setTimeout(() => {\n value = toValue(defaultValue);\n trigger();\n }, toValue(afterMs));\n tryOnScopeDispose(() => {\n clearTimeout(timer);\n });\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n trigger();\n clearTimeout(timer);\n timer = resetAfter();\n }\n };\n });\n}\n\nfunction useDebounceFn(fn, ms = 200, options = {}) {\n return createFilterWrapper(\n debounceFilter(ms, options),\n fn\n );\n}\n\nfunction refDebounced(value, ms = 200, options = {}) {\n const debounced = vueDemi.ref(value.value);\n const updater = useDebounceFn(() => {\n debounced.value = value.value;\n }, ms, options);\n vueDemi.watch(value, () => updater());\n return debounced;\n}\n\nfunction refDefault(source, defaultValue) {\n return vueDemi.computed({\n get() {\n var _a;\n return (_a = source.value) != null ? _a : defaultValue;\n },\n set(value) {\n source.value = value;\n }\n });\n}\n\nfunction useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {\n return createFilterWrapper(\n throttleFilter(ms, trailing, leading, rejectOnCancel),\n fn\n );\n}\n\nfunction refThrottled(value, delay = 200, trailing = true, leading = true) {\n if (delay <= 0)\n return value;\n const throttled = vueDemi.ref(value.value);\n const updater = useThrottleFn(() => {\n throttled.value = value.value;\n }, delay, trailing, leading);\n vueDemi.watch(value, () => updater());\n return throttled;\n}\n\nfunction refWithControl(initial, options = {}) {\n let source = initial;\n let track;\n let trigger;\n const ref = vueDemi.customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n return get();\n },\n set(v) {\n set(v);\n }\n };\n });\n function get(tracking = true) {\n if (tracking)\n track();\n return source;\n }\n function set(value, triggering = true) {\n var _a, _b;\n if (value === source)\n return;\n const old = source;\n if (((_a = options.onBeforeChange) == null ? void 0 : _a.call(options, value, old)) === false)\n return;\n source = value;\n (_b = options.onChanged) == null ? void 0 : _b.call(options, value, old);\n if (triggering)\n trigger();\n }\n const untrackedGet = () => get(false);\n const silentSet = (v) => set(v, false);\n const peek = () => get(false);\n const lay = (v) => set(v, false);\n return extendRef(\n ref,\n {\n get,\n set,\n untrackedGet,\n silentSet,\n peek,\n lay\n },\n { enumerable: true }\n );\n}\nconst controlledRef = refWithControl;\n\nfunction set(...args) {\n if (args.length === 2) {\n const [ref, value] = args;\n ref.value = value;\n }\n if (args.length === 3) {\n if (vueDemi.isVue2) {\n vueDemi.set(...args);\n } else {\n const [target, key, value] = args;\n target[key] = value;\n }\n }\n}\n\nfunction watchWithFilter(source, cb, options = {}) {\n const {\n eventFilter = bypassFilter,\n ...watchOptions\n } = options;\n return vueDemi.watch(\n source,\n createFilterWrapper(\n eventFilter,\n cb\n ),\n watchOptions\n );\n}\n\nfunction watchPausable(source, cb, options = {}) {\n const {\n eventFilter: filter,\n ...watchOptions\n } = options;\n const { eventFilter, pause, resume, isActive } = pausableFilter(filter);\n const stop = watchWithFilter(\n source,\n cb,\n {\n ...watchOptions,\n eventFilter\n }\n );\n return { stop, pause, resume, isActive };\n}\n\nfunction syncRef(left, right, ...[options]) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true,\n direction = \"both\",\n transform = {}\n } = options || {};\n const watchers = [];\n const transformLTR = \"ltr\" in transform && transform.ltr || ((v) => v);\n const transformRTL = \"rtl\" in transform && transform.rtl || ((v) => v);\n if (direction === \"both\" || direction === \"ltr\") {\n watchers.push(watchPausable(\n left,\n (newValue) => {\n watchers.forEach((w) => w.pause());\n right.value = transformLTR(newValue);\n watchers.forEach((w) => w.resume());\n },\n { flush, deep, immediate }\n ));\n }\n if (direction === \"both\" || direction === \"rtl\") {\n watchers.push(watchPausable(\n right,\n (newValue) => {\n watchers.forEach((w) => w.pause());\n left.value = transformRTL(newValue);\n watchers.forEach((w) => w.resume());\n },\n { flush, deep, immediate }\n ));\n }\n const stop = () => {\n watchers.forEach((w) => w.stop());\n };\n return stop;\n}\n\nfunction syncRefs(source, targets, options = {}) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true\n } = options;\n if (!Array.isArray(targets))\n targets = [targets];\n return vueDemi.watch(\n source,\n (newValue) => targets.forEach((target) => target.value = newValue),\n { flush, deep, immediate }\n );\n}\n\nfunction toRefs(objectRef, options = {}) {\n if (!vueDemi.isRef(objectRef))\n return vueDemi.toRefs(objectRef);\n const result = Array.isArray(objectRef.value) ? Array.from({ length: objectRef.value.length }) : {};\n for (const key in objectRef.value) {\n result[key] = vueDemi.customRef(() => ({\n get() {\n return objectRef.value[key];\n },\n set(v) {\n var _a;\n const replaceRef = (_a = toValue(options.replaceRef)) != null ? _a : true;\n if (replaceRef) {\n if (Array.isArray(objectRef.value)) {\n const copy = [...objectRef.value];\n copy[key] = v;\n objectRef.value = copy;\n } else {\n const newObject = { ...objectRef.value, [key]: v };\n Object.setPrototypeOf(newObject, Object.getPrototypeOf(objectRef.value));\n objectRef.value = newObject;\n }\n } else {\n objectRef.value[key] = v;\n }\n }\n }));\n }\n return result;\n}\n\nfunction tryOnBeforeMount(fn, sync = true, target) {\n const instance = getLifeCycleTarget(target);\n if (instance)\n vueDemi.onBeforeMount(fn, target);\n else if (sync)\n fn();\n else\n vueDemi.nextTick(fn);\n}\n\nfunction tryOnBeforeUnmount(fn, target) {\n const instance = getLifeCycleTarget(target);\n if (instance)\n vueDemi.onBeforeUnmount(fn, target);\n}\n\nfunction tryOnMounted(fn, sync = true, target) {\n const instance = getLifeCycleTarget();\n if (instance)\n vueDemi.onMounted(fn, target);\n else if (sync)\n fn();\n else\n vueDemi.nextTick(fn);\n}\n\nfunction tryOnUnmounted(fn, target) {\n const instance = getLifeCycleTarget(target);\n if (instance)\n vueDemi.onUnmounted(fn, target);\n}\n\nfunction createUntil(r, isNot = false) {\n function toMatch(condition, { flush = \"sync\", deep = false, timeout, throwOnTimeout } = {}) {\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = vueDemi.watch(\n r,\n (v) => {\n if (condition(v) !== isNot) {\n stop == null ? void 0 : stop();\n resolve(v);\n }\n },\n {\n flush,\n deep,\n immediate: true\n }\n );\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(\n promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => stop == null ? void 0 : stop())\n );\n }\n return Promise.race(promises);\n }\n function toBe(value, options) {\n if (!vueDemi.isRef(value))\n return toMatch((v) => v === value, options);\n const { flush = \"sync\", deep = false, timeout, throwOnTimeout } = options != null ? options : {};\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = vueDemi.watch(\n [r, value],\n ([v1, v2]) => {\n if (isNot !== (v1 === v2)) {\n stop == null ? void 0 : stop();\n resolve(v1);\n }\n },\n {\n flush,\n deep,\n immediate: true\n }\n );\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(\n promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => {\n stop == null ? void 0 : stop();\n return toValue(r);\n })\n );\n }\n return Promise.race(promises);\n }\n function toBeTruthy(options) {\n return toMatch((v) => Boolean(v), options);\n }\n function toBeNull(options) {\n return toBe(null, options);\n }\n function toBeUndefined(options) {\n return toBe(void 0, options);\n }\n function toBeNaN(options) {\n return toMatch(Number.isNaN, options);\n }\n function toContains(value, options) {\n return toMatch((v) => {\n const array = Array.from(v);\n return array.includes(value) || array.includes(toValue(value));\n }, options);\n }\n function changed(options) {\n return changedTimes(1, options);\n }\n function changedTimes(n = 1, options) {\n let count = -1;\n return toMatch(() => {\n count += 1;\n return count >= n;\n }, options);\n }\n if (Array.isArray(toValue(r))) {\n const instance = {\n toMatch,\n toContains,\n changed,\n changedTimes,\n get not() {\n return createUntil(r, !isNot);\n }\n };\n return instance;\n } else {\n const instance = {\n toMatch,\n toBe,\n toBeTruthy,\n toBeNull,\n toBeNaN,\n toBeUndefined,\n changed,\n changedTimes,\n get not() {\n return createUntil(r, !isNot);\n }\n };\n return instance;\n }\n}\nfunction until(r) {\n return createUntil(r);\n}\n\nfunction defaultComparator(value, othVal) {\n return value === othVal;\n}\nfunction useArrayDifference(...args) {\n var _a;\n const list = args[0];\n const values = args[1];\n let compareFn = (_a = args[2]) != null ? _a : defaultComparator;\n if (typeof compareFn === \"string\") {\n const key = compareFn;\n compareFn = (value, othVal) => value[key] === othVal[key];\n }\n return vueDemi.computed(() => toValue(list).filter((x) => toValue(values).findIndex((y) => compareFn(x, y)) === -1));\n}\n\nfunction useArrayEvery(list, fn) {\n return vueDemi.computed(() => toValue(list).every((element, index, array) => fn(toValue(element), index, array)));\n}\n\nfunction useArrayFilter(list, fn) {\n return vueDemi.computed(() => toValue(list).map((i) => toValue(i)).filter(fn));\n}\n\nfunction useArrayFind(list, fn) {\n return vueDemi.computed(() => toValue(\n toValue(list).find((element, index, array) => fn(toValue(element), index, array))\n ));\n}\n\nfunction useArrayFindIndex(list, fn) {\n return vueDemi.computed(() => toValue(list).findIndex((element, index, array) => fn(toValue(element), index, array)));\n}\n\nfunction findLast(arr, cb) {\n let index = arr.length;\n while (index-- > 0) {\n if (cb(arr[index], index, arr))\n return arr[index];\n }\n return void 0;\n}\nfunction useArrayFindLast(list, fn) {\n return vueDemi.computed(() => toValue(\n !Array.prototype.findLast ? findLast(toValue(list), (element, index, array) => fn(toValue(element), index, array)) : toValue(list).findLast((element, index, array) => fn(toValue(element), index, array))\n ));\n}\n\nfunction isArrayIncludesOptions(obj) {\n return isObject(obj) && containsProp(obj, \"formIndex\", \"comparator\");\n}\nfunction useArrayIncludes(...args) {\n var _a;\n const list = args[0];\n const value = args[1];\n let comparator = args[2];\n let formIndex = 0;\n if (isArrayIncludesOptions(comparator)) {\n formIndex = (_a = comparator.fromIndex) != null ? _a : 0;\n comparator = comparator.comparator;\n }\n if (typeof comparator === \"string\") {\n const key = comparator;\n comparator = (element, value2) => element[key] === toValue(value2);\n }\n comparator = comparator != null ? comparator : (element, value2) => element === toValue(value2);\n return vueDemi.computed(() => toValue(list).slice(formIndex).some((element, index, array) => comparator(\n toValue(element),\n toValue(value),\n index,\n toValue(array)\n )));\n}\n\nfunction useArrayJoin(list, separator) {\n return vueDemi.computed(() => toValue(list).map((i) => toValue(i)).join(toValue(separator)));\n}\n\nfunction useArrayMap(list, fn) {\n return vueDemi.computed(() => toValue(list).map((i) => toValue(i)).map(fn));\n}\n\nfunction useArrayReduce(list, reducer, ...args) {\n const reduceCallback = (sum, value, index) => reducer(toValue(sum), toValue(value), index);\n return vueDemi.computed(() => {\n const resolved = toValue(list);\n return args.length ? resolved.reduce(reduceCallback, toValue(args[0])) : resolved.reduce(reduceCallback);\n });\n}\n\nfunction useArraySome(list, fn) {\n return vueDemi.computed(() => toValue(list).some((element, index, array) => fn(toValue(element), index, array)));\n}\n\nfunction uniq(array) {\n return Array.from(new Set(array));\n}\nfunction uniqueElementsBy(array, fn) {\n return array.reduce((acc, v) => {\n if (!acc.some((x) => fn(v, x, array)))\n acc.push(v);\n return acc;\n }, []);\n}\nfunction useArrayUnique(list, compareFn) {\n return vueDemi.computed(() => {\n const resolvedList = toValue(list).map((element) => toValue(element));\n return compareFn ? uniqueElementsBy(resolvedList, compareFn) : uniq(resolvedList);\n });\n}\n\nfunction useCounter(initialValue = 0, options = {}) {\n let _initialValue = vueDemi.unref(initialValue);\n const count = vueDemi.ref(initialValue);\n const {\n max = Number.POSITIVE_INFINITY,\n min = Number.NEGATIVE_INFINITY\n } = options;\n const inc = (delta = 1) => count.value = Math.max(Math.min(max, count.value + delta), min);\n const dec = (delta = 1) => count.value = Math.min(Math.max(min, count.value - delta), max);\n const get = () => count.value;\n const set = (val) => count.value = Math.max(min, Math.min(max, val));\n const reset = (val = _initialValue) => {\n _initialValue = val;\n return set(val);\n };\n return { count, inc, dec, get, set, reset };\n}\n\nconst REGEX_PARSE = /^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[T\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/i;\nconst REGEX_FORMAT = /[YMDHhms]o|\\[([^\\]]+)\\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;\nfunction defaultMeridiem(hours, minutes, isLowercase, hasPeriod) {\n let m = hours < 12 ? \"AM\" : \"PM\";\n if (hasPeriod)\n m = m.split(\"\").reduce((acc, curr) => acc += `${curr}.`, \"\");\n return isLowercase ? m.toLowerCase() : m;\n}\nfunction formatOrdinal(num) {\n const suffixes = [\"th\", \"st\", \"nd\", \"rd\"];\n const v = num % 100;\n return num + (suffixes[(v - 20) % 10] || suffixes[v] || suffixes[0]);\n}\nfunction formatDate(date, formatStr, options = {}) {\n var _a;\n const years = date.getFullYear();\n const month = date.getMonth();\n const days = date.getDate();\n const hours = date.getHours();\n const minutes = date.getMinutes();\n const seconds = date.getSeconds();\n const milliseconds = date.getMilliseconds();\n const day = date.getDay();\n const meridiem = (_a = options.customMeridiem) != null ? _a : defaultMeridiem;\n const matches = {\n Yo: () => formatOrdinal(years),\n YY: () => String(years).slice(-2),\n YYYY: () => years,\n M: () => month + 1,\n Mo: () => formatOrdinal(month + 1),\n MM: () => `${month + 1}`.padStart(2, \"0\"),\n MMM: () => date.toLocaleDateString(options.locales, { month: \"short\" }),\n MMMM: () => date.toLocaleDateString(options.locales, { month: \"long\" }),\n D: () => String(days),\n Do: () => formatOrdinal(days),\n DD: () => `${days}`.padStart(2, \"0\"),\n H: () => String(hours),\n Ho: () => formatOrdinal(hours),\n HH: () => `${hours}`.padStart(2, \"0\"),\n h: () => `${hours % 12 || 12}`.padStart(1, \"0\"),\n ho: () => formatOrdinal(hours % 12 || 12),\n hh: () => `${hours % 12 || 12}`.padStart(2, \"0\"),\n m: () => String(minutes),\n mo: () => formatOrdinal(minutes),\n mm: () => `${minutes}`.padStart(2, \"0\"),\n s: () => String(seconds),\n so: () => formatOrdinal(seconds),\n ss: () => `${seconds}`.padStart(2, \"0\"),\n SSS: () => `${milliseconds}`.padStart(3, \"0\"),\n d: () => day,\n dd: () => date.toLocaleDateString(options.locales, { weekday: \"narrow\" }),\n ddd: () => date.toLocaleDateString(options.locales, { weekday: \"short\" }),\n dddd: () => date.toLocaleDateString(options.locales, { weekday: \"long\" }),\n A: () => meridiem(hours, minutes),\n AA: () => meridiem(hours, minutes, false, true),\n a: () => meridiem(hours, minutes, true),\n aa: () => meridiem(hours, minutes, true, true)\n };\n return formatStr.replace(REGEX_FORMAT, (match, $1) => {\n var _a2, _b;\n return (_b = $1 != null ? $1 : (_a2 = matches[match]) == null ? void 0 : _a2.call(matches)) != null ? _b : match;\n });\n}\nfunction normalizeDate(date) {\n if (date === null)\n return new Date(Number.NaN);\n if (date === void 0)\n return /* @__PURE__ */ new Date();\n if (date instanceof Date)\n return new Date(date);\n if (typeof date === \"string\" && !/Z$/i.test(date)) {\n const d = date.match(REGEX_PARSE);\n if (d) {\n const m = d[2] - 1 || 0;\n const ms = (d[7] || \"0\").substring(0, 3);\n return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);\n }\n }\n return new Date(date);\n}\nfunction useDateFormat(date, formatStr = \"HH:mm:ss\", options = {}) {\n return vueDemi.computed(() => formatDate(normalizeDate(toValue(date)), toValue(formatStr), options));\n}\n\nfunction useIntervalFn(cb, interval = 1e3, options = {}) {\n const {\n immediate = true,\n immediateCallback = false\n } = options;\n let timer = null;\n const isActive = vueDemi.ref(false);\n function clean() {\n if (timer) {\n clearInterval(timer);\n timer = null;\n }\n }\n function pause() {\n isActive.value = false;\n clean();\n }\n function resume() {\n const intervalValue = toValue(interval);\n if (intervalValue <= 0)\n return;\n isActive.value = true;\n if (immediateCallback)\n cb();\n clean();\n timer = setInterval(cb, intervalValue);\n }\n if (immediate && isClient)\n resume();\n if (vueDemi.isRef(interval) || typeof interval === \"function\") {\n const stopWatch = vueDemi.watch(interval, () => {\n if (isActive.value && isClient)\n resume();\n });\n tryOnScopeDispose(stopWatch);\n }\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nfunction useInterval(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n immediate = true,\n callback\n } = options;\n const counter = vueDemi.ref(0);\n const update = () => counter.value += 1;\n const reset = () => {\n counter.value = 0;\n };\n const controls = useIntervalFn(\n callback ? () => {\n update();\n callback(counter.value);\n } : update,\n interval,\n { immediate }\n );\n if (exposeControls) {\n return {\n counter,\n reset,\n ...controls\n };\n } else {\n return counter;\n }\n}\n\nfunction useLastChanged(source, options = {}) {\n var _a;\n const ms = vueDemi.ref((_a = options.initialValue) != null ? _a : null);\n vueDemi.watch(\n source,\n () => ms.value = timestamp(),\n options\n );\n return ms;\n}\n\nfunction useTimeoutFn(cb, interval, options = {}) {\n const {\n immediate = true\n } = options;\n const isPending = vueDemi.ref(false);\n let timer = null;\n function clear() {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n }\n function stop() {\n isPending.value = false;\n clear();\n }\n function start(...args) {\n clear();\n isPending.value = true;\n timer = setTimeout(() => {\n isPending.value = false;\n timer = null;\n cb(...args);\n }, toValue(interval));\n }\n if (immediate) {\n isPending.value = true;\n if (isClient)\n start();\n }\n tryOnScopeDispose(stop);\n return {\n isPending: vueDemi.readonly(isPending),\n start,\n stop\n };\n}\n\nfunction useTimeout(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n callback\n } = options;\n const controls = useTimeoutFn(\n callback != null ? callback : noop,\n interval,\n options\n );\n const ready = vueDemi.computed(() => !controls.isPending.value);\n if (exposeControls) {\n return {\n ready,\n ...controls\n };\n } else {\n return ready;\n }\n}\n\nfunction useToNumber(value, options = {}) {\n const {\n method = \"parseFloat\",\n radix,\n nanToZero\n } = options;\n return vueDemi.computed(() => {\n let resolved = toValue(value);\n if (typeof resolved === \"string\")\n resolved = Number[method](resolved, radix);\n if (nanToZero && Number.isNaN(resolved))\n resolved = 0;\n return resolved;\n });\n}\n\nfunction useToString(value) {\n return vueDemi.computed(() => `${toValue(value)}`);\n}\n\nfunction useToggle(initialValue = false, options = {}) {\n const {\n truthyValue = true,\n falsyValue = false\n } = options;\n const valueIsRef = vueDemi.isRef(initialValue);\n const _value = vueDemi.ref(initialValue);\n function toggle(value) {\n if (arguments.length) {\n _value.value = value;\n return _value.value;\n } else {\n const truthy = toValue(truthyValue);\n _value.value = _value.value === truthy ? toValue(falsyValue) : truthy;\n return _value.value;\n }\n }\n if (valueIsRef)\n return toggle;\n else\n return [_value, toggle];\n}\n\nfunction watchArray(source, cb, options) {\n let oldList = (options == null ? void 0 : options.immediate) ? [] : [...source instanceof Function ? source() : Array.isArray(source) ? source : toValue(source)];\n return vueDemi.watch(source, (newList, _, onCleanup) => {\n const oldListRemains = Array.from({ length: oldList.length });\n const added = [];\n for (const obj of newList) {\n let found = false;\n for (let i = 0; i < oldList.length; i++) {\n if (!oldListRemains[i] && obj === oldList[i]) {\n oldListRemains[i] = true;\n found = true;\n break;\n }\n }\n if (!found)\n added.push(obj);\n }\n const removed = oldList.filter((_2, i) => !oldListRemains[i]);\n cb(newList, oldList, added, removed, onCleanup);\n oldList = [...newList];\n }, options);\n}\n\nfunction watchAtMost(source, cb, options) {\n const {\n count,\n ...watchOptions\n } = options;\n const current = vueDemi.ref(0);\n const stop = watchWithFilter(\n source,\n (...args) => {\n current.value += 1;\n if (current.value >= toValue(count))\n vueDemi.nextTick(() => stop());\n cb(...args);\n },\n watchOptions\n );\n return { count: current, stop };\n}\n\nfunction watchDebounced(source, cb, options = {}) {\n const {\n debounce = 0,\n maxWait = void 0,\n ...watchOptions\n } = options;\n return watchWithFilter(\n source,\n cb,\n {\n ...watchOptions,\n eventFilter: debounceFilter(debounce, { maxWait })\n }\n );\n}\n\nfunction watchDeep(source, cb, options) {\n return vueDemi.watch(\n source,\n cb,\n {\n ...options,\n deep: true\n }\n );\n}\n\nfunction watchIgnorable(source, cb, options = {}) {\n const {\n eventFilter = bypassFilter,\n ...watchOptions\n } = options;\n const filteredCb = createFilterWrapper(\n eventFilter,\n cb\n );\n let ignoreUpdates;\n let ignorePrevAsyncUpdates;\n let stop;\n if (watchOptions.flush === \"sync\") {\n const ignore = vueDemi.ref(false);\n ignorePrevAsyncUpdates = () => {\n };\n ignoreUpdates = (updater) => {\n ignore.value = true;\n updater();\n ignore.value = false;\n };\n stop = vueDemi.watch(\n source,\n (...args) => {\n if (!ignore.value)\n filteredCb(...args);\n },\n watchOptions\n );\n } else {\n const disposables = [];\n const ignoreCounter = vueDemi.ref(0);\n const syncCounter = vueDemi.ref(0);\n ignorePrevAsyncUpdates = () => {\n ignoreCounter.value = syncCounter.value;\n };\n disposables.push(\n vueDemi.watch(\n source,\n () => {\n syncCounter.value++;\n },\n { ...watchOptions, flush: \"sync\" }\n )\n );\n ignoreUpdates = (updater) => {\n const syncCounterPrev = syncCounter.value;\n updater();\n ignoreCounter.value += syncCounter.value - syncCounterPrev;\n };\n disposables.push(\n vueDemi.watch(\n source,\n (...args) => {\n const ignore = ignoreCounter.value > 0 && ignoreCounter.value === syncCounter.value;\n ignoreCounter.value = 0;\n syncCounter.value = 0;\n if (ignore)\n return;\n filteredCb(...args);\n },\n watchOptions\n )\n );\n stop = () => {\n disposables.forEach((fn) => fn());\n };\n }\n return { stop, ignoreUpdates, ignorePrevAsyncUpdates };\n}\n\nfunction watchImmediate(source, cb, options) {\n return vueDemi.watch(\n source,\n cb,\n {\n ...options,\n immediate: true\n }\n );\n}\n\nfunction watchOnce(source, cb, options) {\n const stop = vueDemi.watch(source, (...args) => {\n vueDemi.nextTick(() => stop());\n return cb(...args);\n }, options);\n return stop;\n}\n\nfunction watchThrottled(source, cb, options = {}) {\n const {\n throttle = 0,\n trailing = true,\n leading = true,\n ...watchOptions\n } = options;\n return watchWithFilter(\n source,\n cb,\n {\n ...watchOptions,\n eventFilter: throttleFilter(throttle, trailing, leading)\n }\n );\n}\n\nfunction watchTriggerable(source, cb, options = {}) {\n let cleanupFn;\n function onEffect() {\n if (!cleanupFn)\n return;\n const fn = cleanupFn;\n cleanupFn = void 0;\n fn();\n }\n function onCleanup(callback) {\n cleanupFn = callback;\n }\n const _cb = (value, oldValue) => {\n onEffect();\n return cb(value, oldValue, onCleanup);\n };\n const res = watchIgnorable(source, _cb, options);\n const { ignoreUpdates } = res;\n const trigger = () => {\n let res2;\n ignoreUpdates(() => {\n res2 = _cb(getWatchSources(source), getOldValue(source));\n });\n return res2;\n };\n return {\n ...res,\n trigger\n };\n}\nfunction getWatchSources(sources) {\n if (vueDemi.isReactive(sources))\n return sources;\n if (Array.isArray(sources))\n return sources.map((item) => toValue(item));\n return toValue(sources);\n}\nfunction getOldValue(source) {\n return Array.isArray(source) ? source.map(() => void 0) : void 0;\n}\n\nfunction whenever(source, cb, options) {\n const stop = vueDemi.watch(\n source,\n (v, ov, onInvalidate) => {\n if (v) {\n if (options == null ? void 0 : options.once)\n vueDemi.nextTick(() => stop());\n cb(v, ov, onInvalidate);\n }\n },\n {\n ...options,\n once: false\n }\n );\n return stop;\n}\n\nexports.assert = assert;\nexports.autoResetRef = refAutoReset;\nexports.bypassFilter = bypassFilter;\nexports.camelize = camelize;\nexports.clamp = clamp;\nexports.computedEager = computedEager;\nexports.computedWithControl = computedWithControl;\nexports.containsProp = containsProp;\nexports.controlledComputed = computedWithControl;\nexports.controlledRef = controlledRef;\nexports.createEventHook = createEventHook;\nexports.createFilterWrapper = createFilterWrapper;\nexports.createGlobalState = createGlobalState;\nexports.createInjectionState = createInjectionState;\nexports.createReactiveFn = reactify;\nexports.createSharedComposable = createSharedComposable;\nexports.createSingletonPromise = createSingletonPromise;\nexports.debounceFilter = debounceFilter;\nexports.debouncedRef = refDebounced;\nexports.debouncedWatch = watchDebounced;\nexports.directiveHooks = directiveHooks;\nexports.eagerComputed = computedEager;\nexports.extendRef = extendRef;\nexports.formatDate = formatDate;\nexports.get = get;\nexports.getLifeCycleTarget = getLifeCycleTarget;\nexports.hasOwn = hasOwn;\nexports.hyphenate = hyphenate;\nexports.identity = identity;\nexports.ignorableWatch = watchIgnorable;\nexports.increaseWithUnit = increaseWithUnit;\nexports.injectLocal = injectLocal;\nexports.invoke = invoke;\nexports.isClient = isClient;\nexports.isDef = isDef;\nexports.isDefined = isDefined;\nexports.isIOS = isIOS;\nexports.isObject = isObject;\nexports.isWorker = isWorker;\nexports.makeDestructurable = makeDestructurable;\nexports.noop = noop;\nexports.normalizeDate = normalizeDate;\nexports.notNullish = notNullish;\nexports.now = now;\nexports.objectEntries = objectEntries;\nexports.objectOmit = objectOmit;\nexports.objectPick = objectPick;\nexports.pausableFilter = pausableFilter;\nexports.pausableWatch = watchPausable;\nexports.promiseTimeout = promiseTimeout;\nexports.provideLocal = provideLocal;\nexports.rand = rand;\nexports.reactify = reactify;\nexports.reactifyObject = reactifyObject;\nexports.reactiveComputed = reactiveComputed;\nexports.reactiveOmit = reactiveOmit;\nexports.reactivePick = reactivePick;\nexports.refAutoReset = refAutoReset;\nexports.refDebounced = refDebounced;\nexports.refDefault = refDefault;\nexports.refThrottled = refThrottled;\nexports.refWithControl = refWithControl;\nexports.resolveRef = resolveRef;\nexports.resolveUnref = resolveUnref;\nexports.set = set;\nexports.syncRef = syncRef;\nexports.syncRefs = syncRefs;\nexports.throttleFilter = throttleFilter;\nexports.throttledRef = refThrottled;\nexports.throttledWatch = watchThrottled;\nexports.timestamp = timestamp;\nexports.toReactive = toReactive;\nexports.toRef = toRef;\nexports.toRefs = toRefs;\nexports.toValue = toValue;\nexports.tryOnBeforeMount = tryOnBeforeMount;\nexports.tryOnBeforeUnmount = tryOnBeforeUnmount;\nexports.tryOnMounted = tryOnMounted;\nexports.tryOnScopeDispose = tryOnScopeDispose;\nexports.tryOnUnmounted = tryOnUnmounted;\nexports.until = until;\nexports.useArrayDifference = useArrayDifference;\nexports.useArrayEvery = useArrayEvery;\nexports.useArrayFilter = useArrayFilter;\nexports.useArrayFind = useArrayFind;\nexports.useArrayFindIndex = useArrayFindIndex;\nexports.useArrayFindLast = useArrayFindLast;\nexports.useArrayIncludes = useArrayIncludes;\nexports.useArrayJoin = useArrayJoin;\nexports.useArrayMap = useArrayMap;\nexports.useArrayReduce = useArrayReduce;\nexports.useArraySome = useArraySome;\nexports.useArrayUnique = useArrayUnique;\nexports.useCounter = useCounter;\nexports.useDateFormat = useDateFormat;\nexports.useDebounce = refDebounced;\nexports.useDebounceFn = useDebounceFn;\nexports.useInterval = useInterval;\nexports.useIntervalFn = useIntervalFn;\nexports.useLastChanged = useLastChanged;\nexports.useThrottle = refThrottled;\nexports.useThrottleFn = useThrottleFn;\nexports.useTimeout = useTimeout;\nexports.useTimeoutFn = useTimeoutFn;\nexports.useToNumber = useToNumber;\nexports.useToString = useToString;\nexports.useToggle = useToggle;\nexports.watchArray = watchArray;\nexports.watchAtMost = watchAtMost;\nexports.watchDebounced = watchDebounced;\nexports.watchDeep = watchDeep;\nexports.watchIgnorable = watchIgnorable;\nexports.watchImmediate = watchImmediate;\nexports.watchOnce = watchOnce;\nexports.watchPausable = watchPausable;\nexports.watchThrottled = watchThrottled;\nexports.watchTriggerable = watchTriggerable;\nexports.watchWithFilter = watchWithFilter;\nexports.whenever = whenever;\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","//! moment.js\n//! version : 2.30.1\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.moment = factory();\n})(this, function () {\n 'use strict';\n\n var hookCallback;\n function hooks() {\n return hookCallback.apply(null, arguments);\n }\n\n // This is done to register the method called with moment()\n // without creating circular dependencies.\n function setHookCallback(callback) {\n hookCallback = callback;\n }\n function isArray(input) {\n return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';\n }\n function isObject(input) {\n // IE8 will treat undefined and null as object if it wasn't for\n // input != null\n return input != null && Object.prototype.toString.call(input) === '[object Object]';\n }\n function hasOwnProp(a, b) {\n return Object.prototype.hasOwnProperty.call(a, b);\n }\n function isObjectEmpty(obj) {\n if (Object.getOwnPropertyNames) {\n return Object.getOwnPropertyNames(obj).length === 0;\n } else {\n var k;\n for (k in obj) {\n if (hasOwnProp(obj, k)) {\n return false;\n }\n }\n return true;\n }\n }\n function isUndefined(input) {\n return input === void 0;\n }\n function isNumber(input) {\n return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';\n }\n function isDate(input) {\n return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';\n }\n function map(arr, fn) {\n var res = [],\n i,\n arrLen = arr.length;\n for (i = 0; i < arrLen; ++i) {\n res.push(fn(arr[i], i));\n }\n return res;\n }\n function extend(a, b) {\n for (var i in b) {\n if (hasOwnProp(b, i)) {\n a[i] = b[i];\n }\n }\n if (hasOwnProp(b, 'toString')) {\n a.toString = b.toString;\n }\n if (hasOwnProp(b, 'valueOf')) {\n a.valueOf = b.valueOf;\n }\n return a;\n }\n function createUTC(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, true).utc();\n }\n function defaultParsingFlags() {\n // We need to deep clone this object.\n return {\n empty: false,\n unusedTokens: [],\n unusedInput: [],\n overflow: -2,\n charsLeftOver: 0,\n nullInput: false,\n invalidEra: null,\n invalidMonth: null,\n invalidFormat: false,\n userInvalidated: false,\n iso: false,\n parsedDateParts: [],\n era: null,\n meridiem: null,\n rfc2822: false,\n weekdayMismatch: false\n };\n }\n function getParsingFlags(m) {\n if (m._pf == null) {\n m._pf = defaultParsingFlags();\n }\n return m._pf;\n }\n var some;\n if (Array.prototype.some) {\n some = Array.prototype.some;\n } else {\n some = function (fun) {\n var t = Object(this),\n len = t.length >>> 0,\n i;\n for (i = 0; i < len; i++) {\n if (i in t && fun.call(this, t[i], i, t)) {\n return true;\n }\n }\n return false;\n };\n }\n function isValid(m) {\n var flags = null,\n parsedParts = false,\n isNowValid = m._d && !isNaN(m._d.getTime());\n if (isNowValid) {\n flags = getParsingFlags(m);\n parsedParts = some.call(flags.parsedDateParts, function (i) {\n return i != null;\n });\n isNowValid = flags.overflow < 0 && !flags.empty && !flags.invalidEra && !flags.invalidMonth && !flags.invalidWeekday && !flags.weekdayMismatch && !flags.nullInput && !flags.invalidFormat && !flags.userInvalidated && (!flags.meridiem || flags.meridiem && parsedParts);\n if (m._strict) {\n isNowValid = isNowValid && flags.charsLeftOver === 0 && flags.unusedTokens.length === 0 && flags.bigHour === undefined;\n }\n }\n if (Object.isFrozen == null || !Object.isFrozen(m)) {\n m._isValid = isNowValid;\n } else {\n return isNowValid;\n }\n return m._isValid;\n }\n function createInvalid(flags) {\n var m = createUTC(NaN);\n if (flags != null) {\n extend(getParsingFlags(m), flags);\n } else {\n getParsingFlags(m).userInvalidated = true;\n }\n return m;\n }\n\n // Plugins that add properties should also add the key here (null value),\n // so we can properly clone ourselves.\n var momentProperties = hooks.momentProperties = [],\n updateInProgress = false;\n function copyConfig(to, from) {\n var i,\n prop,\n val,\n momentPropertiesLen = momentProperties.length;\n if (!isUndefined(from._isAMomentObject)) {\n to._isAMomentObject = from._isAMomentObject;\n }\n if (!isUndefined(from._i)) {\n to._i = from._i;\n }\n if (!isUndefined(from._f)) {\n to._f = from._f;\n }\n if (!isUndefined(from._l)) {\n to._l = from._l;\n }\n if (!isUndefined(from._strict)) {\n to._strict = from._strict;\n }\n if (!isUndefined(from._tzm)) {\n to._tzm = from._tzm;\n }\n if (!isUndefined(from._isUTC)) {\n to._isUTC = from._isUTC;\n }\n if (!isUndefined(from._offset)) {\n to._offset = from._offset;\n }\n if (!isUndefined(from._pf)) {\n to._pf = getParsingFlags(from);\n }\n if (!isUndefined(from._locale)) {\n to._locale = from._locale;\n }\n if (momentPropertiesLen > 0) {\n for (i = 0; i < momentPropertiesLen; i++) {\n prop = momentProperties[i];\n val = from[prop];\n if (!isUndefined(val)) {\n to[prop] = val;\n }\n }\n }\n return to;\n }\n\n // Moment prototype object\n function Moment(config) {\n copyConfig(this, config);\n this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n if (!this.isValid()) {\n this._d = new Date(NaN);\n }\n // Prevent infinite loop in case updateOffset creates new moment\n // objects.\n if (updateInProgress === false) {\n updateInProgress = true;\n hooks.updateOffset(this);\n updateInProgress = false;\n }\n }\n function isMoment(obj) {\n return obj instanceof Moment || obj != null && obj._isAMomentObject != null;\n }\n function warn(msg) {\n if (hooks.suppressDeprecationWarnings === false && typeof console !== 'undefined' && console.warn) {\n console.warn('Deprecation warning: ' + msg);\n }\n }\n function deprecate(msg, fn) {\n var firstTime = true;\n return extend(function () {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(null, msg);\n }\n if (firstTime) {\n var args = [],\n arg,\n i,\n key,\n argLen = arguments.length;\n for (i = 0; i < argLen; i++) {\n arg = '';\n if (typeof arguments[i] === 'object') {\n arg += '\\n[' + i + '] ';\n for (key in arguments[0]) {\n if (hasOwnProp(arguments[0], key)) {\n arg += key + ': ' + arguments[0][key] + ', ';\n }\n }\n arg = arg.slice(0, -2); // Remove trailing comma and space\n } else {\n arg = arguments[i];\n }\n args.push(arg);\n }\n warn(msg + '\\nArguments: ' + Array.prototype.slice.call(args).join('') + '\\n' + new Error().stack);\n firstTime = false;\n }\n return fn.apply(this, arguments);\n }, fn);\n }\n var deprecations = {};\n function deprecateSimple(name, msg) {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(name, msg);\n }\n if (!deprecations[name]) {\n warn(msg);\n deprecations[name] = true;\n }\n }\n hooks.suppressDeprecationWarnings = false;\n hooks.deprecationHandler = null;\n function isFunction(input) {\n return typeof Function !== 'undefined' && input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';\n }\n function set(config) {\n var prop, i;\n for (i in config) {\n if (hasOwnProp(config, i)) {\n prop = config[i];\n if (isFunction(prop)) {\n this[i] = prop;\n } else {\n this['_' + i] = prop;\n }\n }\n }\n this._config = config;\n // Lenient ordinal parsing accepts just a number in addition to\n // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + '|' + /\\d{1,2}/.source);\n }\n function mergeConfigs(parentConfig, childConfig) {\n var res = extend({}, parentConfig),\n prop;\n for (prop in childConfig) {\n if (hasOwnProp(childConfig, prop)) {\n if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n res[prop] = {};\n extend(res[prop], parentConfig[prop]);\n extend(res[prop], childConfig[prop]);\n } else if (childConfig[prop] != null) {\n res[prop] = childConfig[prop];\n } else {\n delete res[prop];\n }\n }\n }\n for (prop in parentConfig) {\n if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject(parentConfig[prop])) {\n // make sure changes to properties don't modify parent config\n res[prop] = extend({}, res[prop]);\n }\n }\n return res;\n }\n function Locale(config) {\n if (config != null) {\n this.set(config);\n }\n }\n var keys;\n if (Object.keys) {\n keys = Object.keys;\n } else {\n keys = function (obj) {\n var i,\n res = [];\n for (i in obj) {\n if (hasOwnProp(obj, i)) {\n res.push(i);\n }\n }\n return res;\n };\n }\n var defaultCalendar = {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n };\n function calendar(key, mom, now) {\n var output = this._calendar[key] || this._calendar['sameElse'];\n return isFunction(output) ? output.call(mom, now) : output;\n }\n function zeroFill(number, targetLength, forceSign) {\n var absNumber = '' + Math.abs(number),\n zerosToFill = targetLength - absNumber.length,\n sign = number >= 0;\n return (sign ? forceSign ? '+' : '' : '-') + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;\n }\n var formattingTokens = /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n formatFunctions = {},\n formatTokenFunctions = {};\n\n // token: 'M'\n // padded: ['MM', 2]\n // ordinal: 'Mo'\n // callback: function () { this.month() + 1 }\n function addFormatToken(token, padded, ordinal, callback) {\n var func = callback;\n if (typeof callback === 'string') {\n func = function () {\n return this[callback]();\n };\n }\n if (token) {\n formatTokenFunctions[token] = func;\n }\n if (padded) {\n formatTokenFunctions[padded[0]] = function () {\n return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n };\n }\n if (ordinal) {\n formatTokenFunctions[ordinal] = function () {\n return this.localeData().ordinal(func.apply(this, arguments), token);\n };\n }\n }\n function removeFormattingTokens(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|\\]$/g, '');\n }\n return input.replace(/\\\\/g, '');\n }\n function makeFormatFunction(format) {\n var array = format.match(formattingTokens),\n i,\n length;\n for (i = 0, length = array.length; i < length; i++) {\n if (formatTokenFunctions[array[i]]) {\n array[i] = formatTokenFunctions[array[i]];\n } else {\n array[i] = removeFormattingTokens(array[i]);\n }\n }\n return function (mom) {\n var output = '',\n i;\n for (i = 0; i < length; i++) {\n output += isFunction(array[i]) ? array[i].call(mom, format) : array[i];\n }\n return output;\n };\n }\n\n // format date using native date object\n function formatMoment(m, format) {\n if (!m.isValid()) {\n return m.localeData().invalidDate();\n }\n format = expandFormat(format, m.localeData());\n formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format);\n return formatFunctions[format](m);\n }\n function expandFormat(format, locale) {\n var i = 5;\n function replaceLongDateFormatTokens(input) {\n return locale.longDateFormat(input) || input;\n }\n localFormattingTokens.lastIndex = 0;\n while (i >= 0 && localFormattingTokens.test(format)) {\n format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);\n localFormattingTokens.lastIndex = 0;\n i -= 1;\n }\n return format;\n }\n var defaultLongDateFormat = {\n LTS: 'h:mm:ss A',\n LT: 'h:mm A',\n L: 'MM/DD/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A'\n };\n function longDateFormat(key) {\n var format = this._longDateFormat[key],\n formatUpper = this._longDateFormat[key.toUpperCase()];\n if (format || !formatUpper) {\n return format;\n }\n this._longDateFormat[key] = formatUpper.match(formattingTokens).map(function (tok) {\n if (tok === 'MMMM' || tok === 'MM' || tok === 'DD' || tok === 'dddd') {\n return tok.slice(1);\n }\n return tok;\n }).join('');\n return this._longDateFormat[key];\n }\n var defaultInvalidDate = 'Invalid date';\n function invalidDate() {\n return this._invalidDate;\n }\n var defaultOrdinal = '%d',\n defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n function ordinal(number) {\n return this._ordinal.replace('%d', number);\n }\n var defaultRelativeTime = {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n w: 'a week',\n ww: '%d weeks',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n };\n function relativeTime(number, withoutSuffix, string, isFuture) {\n var output = this._relativeTime[string];\n return isFunction(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);\n }\n function pastFuture(diff, output) {\n var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n }\n var aliases = {\n D: 'date',\n dates: 'date',\n date: 'date',\n d: 'day',\n days: 'day',\n day: 'day',\n e: 'weekday',\n weekdays: 'weekday',\n weekday: 'weekday',\n E: 'isoWeekday',\n isoweekdays: 'isoWeekday',\n isoweekday: 'isoWeekday',\n DDD: 'dayOfYear',\n dayofyears: 'dayOfYear',\n dayofyear: 'dayOfYear',\n h: 'hour',\n hours: 'hour',\n hour: 'hour',\n ms: 'millisecond',\n milliseconds: 'millisecond',\n millisecond: 'millisecond',\n m: 'minute',\n minutes: 'minute',\n minute: 'minute',\n M: 'month',\n months: 'month',\n month: 'month',\n Q: 'quarter',\n quarters: 'quarter',\n quarter: 'quarter',\n s: 'second',\n seconds: 'second',\n second: 'second',\n gg: 'weekYear',\n weekyears: 'weekYear',\n weekyear: 'weekYear',\n GG: 'isoWeekYear',\n isoweekyears: 'isoWeekYear',\n isoweekyear: 'isoWeekYear',\n w: 'week',\n weeks: 'week',\n week: 'week',\n W: 'isoWeek',\n isoweeks: 'isoWeek',\n isoweek: 'isoWeek',\n y: 'year',\n years: 'year',\n year: 'year'\n };\n function normalizeUnits(units) {\n return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined;\n }\n function normalizeObjectUnits(inputObject) {\n var normalizedInput = {},\n normalizedProp,\n prop;\n for (prop in inputObject) {\n if (hasOwnProp(inputObject, prop)) {\n normalizedProp = normalizeUnits(prop);\n if (normalizedProp) {\n normalizedInput[normalizedProp] = inputObject[prop];\n }\n }\n }\n return normalizedInput;\n }\n var priorities = {\n date: 9,\n day: 11,\n weekday: 11,\n isoWeekday: 11,\n dayOfYear: 4,\n hour: 13,\n millisecond: 16,\n minute: 14,\n month: 8,\n quarter: 7,\n second: 15,\n weekYear: 1,\n isoWeekYear: 1,\n week: 5,\n isoWeek: 5,\n year: 1\n };\n function getPrioritizedUnits(unitsObj) {\n var units = [],\n u;\n for (u in unitsObj) {\n if (hasOwnProp(unitsObj, u)) {\n units.push({\n unit: u,\n priority: priorities[u]\n });\n }\n }\n units.sort(function (a, b) {\n return a.priority - b.priority;\n });\n return units;\n }\n var match1 = /\\d/,\n // 0 - 9\n match2 = /\\d\\d/,\n // 00 - 99\n match3 = /\\d{3}/,\n // 000 - 999\n match4 = /\\d{4}/,\n // 0000 - 9999\n match6 = /[+-]?\\d{6}/,\n // -999999 - 999999\n match1to2 = /\\d\\d?/,\n // 0 - 99\n match3to4 = /\\d\\d\\d\\d?/,\n // 999 - 9999\n match5to6 = /\\d\\d\\d\\d\\d\\d?/,\n // 99999 - 999999\n match1to3 = /\\d{1,3}/,\n // 0 - 999\n match1to4 = /\\d{1,4}/,\n // 0 - 9999\n match1to6 = /[+-]?\\d{1,6}/,\n // -999999 - 999999\n matchUnsigned = /\\d+/,\n // 0 - inf\n matchSigned = /[+-]?\\d+/,\n // -inf - inf\n matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi,\n // +00:00 -00:00 +0000 -0000 or Z\n matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi,\n // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/,\n // 123456789 123456789.123\n // any word (or two) characters or numbers including two/three word month in arabic.\n // includes scottish gaelic two word and hyphenated months\n matchWord = /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n match1to2NoLeadingZero = /^[1-9]\\d?/,\n // 1-99\n match1to2HasZero = /^([1-9]\\d|\\d)/,\n // 0-99\n regexes;\n regexes = {};\n function addRegexToken(token, regex, strictRegex) {\n regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) {\n return isStrict && strictRegex ? strictRegex : regex;\n };\n }\n function getParseRegexForToken(token, config) {\n if (!hasOwnProp(regexes, token)) {\n return new RegExp(unescapeFormat(token));\n }\n return regexes[token](config._strict, config._locale);\n }\n\n // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n function unescapeFormat(s) {\n return regexEscape(s.replace('\\\\', '').replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g, function (matched, p1, p2, p3, p4) {\n return p1 || p2 || p3 || p4;\n }));\n }\n function regexEscape(s) {\n return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n }\n function absFloor(number) {\n if (number < 0) {\n // -0 -> 0\n return Math.ceil(number) || 0;\n } else {\n return Math.floor(number);\n }\n }\n function toInt(argumentForCoercion) {\n var coercedNumber = +argumentForCoercion,\n value = 0;\n if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n value = absFloor(coercedNumber);\n }\n return value;\n }\n var tokens = {};\n function addParseToken(token, callback) {\n var i,\n func = callback,\n tokenLen;\n if (typeof token === 'string') {\n token = [token];\n }\n if (isNumber(callback)) {\n func = function (input, array) {\n array[callback] = toInt(input);\n };\n }\n tokenLen = token.length;\n for (i = 0; i < tokenLen; i++) {\n tokens[token[i]] = func;\n }\n }\n function addWeekParseToken(token, callback) {\n addParseToken(token, function (input, array, config, token) {\n config._w = config._w || {};\n callback(input, config._w, config, token);\n });\n }\n function addTimeToArrayFromToken(token, input, config) {\n if (input != null && hasOwnProp(tokens, token)) {\n tokens[token](input, config._a, config, token);\n }\n }\n function isLeapYear(year) {\n return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;\n }\n var YEAR = 0,\n MONTH = 1,\n DATE = 2,\n HOUR = 3,\n MINUTE = 4,\n SECOND = 5,\n MILLISECOND = 6,\n WEEK = 7,\n WEEKDAY = 8;\n\n // FORMATTING\n\n addFormatToken('Y', 0, 0, function () {\n var y = this.year();\n return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n });\n addFormatToken(0, ['YY', 2], 0, function () {\n return this.year() % 100;\n });\n addFormatToken(0, ['YYYY', 4], 0, 'year');\n addFormatToken(0, ['YYYYY', 5], 0, 'year');\n addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n // PARSING\n\n addRegexToken('Y', matchSigned);\n addRegexToken('YY', match1to2, match2);\n addRegexToken('YYYY', match1to4, match4);\n addRegexToken('YYYYY', match1to6, match6);\n addRegexToken('YYYYYY', match1to6, match6);\n addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n addParseToken('YYYY', function (input, array) {\n array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n });\n addParseToken('YY', function (input, array) {\n array[YEAR] = hooks.parseTwoDigitYear(input);\n });\n addParseToken('Y', function (input, array) {\n array[YEAR] = parseInt(input, 10);\n });\n\n // HELPERS\n\n function daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n }\n\n // HOOKS\n\n hooks.parseTwoDigitYear = function (input) {\n return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n };\n\n // MOMENTS\n\n var getSetYear = makeGetSet('FullYear', true);\n function getIsLeapYear() {\n return isLeapYear(this.year());\n }\n function makeGetSet(unit, keepTime) {\n return function (value) {\n if (value != null) {\n set$1(this, unit, value);\n hooks.updateOffset(this, keepTime);\n return this;\n } else {\n return get(this, unit);\n }\n };\n }\n function get(mom, unit) {\n if (!mom.isValid()) {\n return NaN;\n }\n var d = mom._d,\n isUTC = mom._isUTC;\n switch (unit) {\n case 'Milliseconds':\n return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds();\n case 'Seconds':\n return isUTC ? d.getUTCSeconds() : d.getSeconds();\n case 'Minutes':\n return isUTC ? d.getUTCMinutes() : d.getMinutes();\n case 'Hours':\n return isUTC ? d.getUTCHours() : d.getHours();\n case 'Date':\n return isUTC ? d.getUTCDate() : d.getDate();\n case 'Day':\n return isUTC ? d.getUTCDay() : d.getDay();\n case 'Month':\n return isUTC ? d.getUTCMonth() : d.getMonth();\n case 'FullYear':\n return isUTC ? d.getUTCFullYear() : d.getFullYear();\n default:\n return NaN;\n // Just in case\n }\n }\n function set$1(mom, unit, value) {\n var d, isUTC, year, month, date;\n if (!mom.isValid() || isNaN(value)) {\n return;\n }\n d = mom._d;\n isUTC = mom._isUTC;\n switch (unit) {\n case 'Milliseconds':\n return void (isUTC ? d.setUTCMilliseconds(value) : d.setMilliseconds(value));\n case 'Seconds':\n return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value));\n case 'Minutes':\n return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value));\n case 'Hours':\n return void (isUTC ? d.setUTCHours(value) : d.setHours(value));\n case 'Date':\n return void (isUTC ? d.setUTCDate(value) : d.setDate(value));\n // case 'Day': // Not real\n // return void (isUTC ? d.setUTCDay(value) : d.setDay(value));\n // case 'Month': // Not used because we need to pass two variables\n // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));\n case 'FullYear':\n break;\n // See below ...\n default:\n return;\n // Just in case\n }\n year = value;\n month = mom.month();\n date = mom.date();\n date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date;\n void (isUTC ? d.setUTCFullYear(year, month, date) : d.setFullYear(year, month, date));\n }\n\n // MOMENTS\n\n function stringGet(units) {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units]();\n }\n return this;\n }\n function stringSet(units, value) {\n if (typeof units === 'object') {\n units = normalizeObjectUnits(units);\n var prioritized = getPrioritizedUnits(units),\n i,\n prioritizedLen = prioritized.length;\n for (i = 0; i < prioritizedLen; i++) {\n this[prioritized[i].unit](units[prioritized[i].unit]);\n }\n } else {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units](value);\n }\n }\n return this;\n }\n function mod(n, x) {\n return (n % x + x) % x;\n }\n var indexOf;\n if (Array.prototype.indexOf) {\n indexOf = Array.prototype.indexOf;\n } else {\n indexOf = function (o) {\n // I know\n var i;\n for (i = 0; i < this.length; ++i) {\n if (this[i] === o) {\n return i;\n }\n }\n return -1;\n };\n }\n function daysInMonth(year, month) {\n if (isNaN(year) || isNaN(month)) {\n return NaN;\n }\n var modMonth = mod(month, 12);\n year += (month - modMonth) / 12;\n return modMonth === 1 ? isLeapYear(year) ? 29 : 28 : 31 - modMonth % 7 % 2;\n }\n\n // FORMATTING\n\n addFormatToken('M', ['MM', 2], 'Mo', function () {\n return this.month() + 1;\n });\n addFormatToken('MMM', 0, 0, function (format) {\n return this.localeData().monthsShort(this, format);\n });\n addFormatToken('MMMM', 0, 0, function (format) {\n return this.localeData().months(this, format);\n });\n\n // PARSING\n\n addRegexToken('M', match1to2, match1to2NoLeadingZero);\n addRegexToken('MM', match1to2, match2);\n addRegexToken('MMM', function (isStrict, locale) {\n return locale.monthsShortRegex(isStrict);\n });\n addRegexToken('MMMM', function (isStrict, locale) {\n return locale.monthsRegex(isStrict);\n });\n addParseToken(['M', 'MM'], function (input, array) {\n array[MONTH] = toInt(input) - 1;\n });\n addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n var month = config._locale.monthsParse(input, token, config._strict);\n // if we didn't find a month name, mark the date as invalid.\n if (month != null) {\n array[MONTH] = month;\n } else {\n getParsingFlags(config).invalidMonth = input;\n }\n });\n\n // LOCALES\n\n var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n defaultMonthsShortRegex = matchWord,\n defaultMonthsRegex = matchWord;\n function localeMonths(m, format) {\n if (!m) {\n return isArray(this._months) ? this._months : this._months['standalone'];\n }\n return isArray(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];\n }\n function localeMonthsShort(m, format) {\n if (!m) {\n return isArray(this._monthsShort) ? this._monthsShort : this._monthsShort['standalone'];\n }\n return isArray(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];\n }\n function handleStrictParse(monthName, format, strict) {\n var i,\n ii,\n mom,\n llc = monthName.toLocaleLowerCase();\n if (!this._monthsParse) {\n // this is not used\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n for (i = 0; i < 12; ++i) {\n mom = createUTC([2000, i]);\n this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase();\n this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n }\n }\n if (strict) {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n function localeMonthsParse(monthName, format, strict) {\n var i, mom, regex;\n if (this._monthsParseExact) {\n return handleStrictParse.call(this, monthName, format, strict);\n }\n if (!this._monthsParse) {\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n }\n\n // TODO: add sorting\n // Sorting makes sure if one month (or abbr) is a prefix of another\n // see sorting in computeMonthsParse\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n if (strict && !this._longMonthsParse[i]) {\n this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');\n this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i');\n }\n if (!strict && !this._monthsParse[i]) {\n regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {\n return i;\n } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {\n return i;\n } else if (!strict && this._monthsParse[i].test(monthName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function setMonth(mom, value) {\n if (!mom.isValid()) {\n // No op\n return mom;\n }\n if (typeof value === 'string') {\n if (/^\\d+$/.test(value)) {\n value = toInt(value);\n } else {\n value = mom.localeData().monthsParse(value);\n // TODO: Another silent failure?\n if (!isNumber(value)) {\n return mom;\n }\n }\n }\n var month = value,\n date = mom.date();\n date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month));\n void (mom._isUTC ? mom._d.setUTCMonth(month, date) : mom._d.setMonth(month, date));\n return mom;\n }\n function getSetMonth(value) {\n if (value != null) {\n setMonth(this, value);\n hooks.updateOffset(this, true);\n return this;\n } else {\n return get(this, 'Month');\n }\n }\n function getDaysInMonth() {\n return daysInMonth(this.year(), this.month());\n }\n function monthsShortRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsShortStrictRegex;\n } else {\n return this._monthsShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsShortRegex')) {\n this._monthsShortRegex = defaultMonthsShortRegex;\n }\n return this._monthsShortStrictRegex && isStrict ? this._monthsShortStrictRegex : this._monthsShortRegex;\n }\n }\n function monthsRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsStrictRegex;\n } else {\n return this._monthsRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsRegex')) {\n this._monthsRegex = defaultMonthsRegex;\n }\n return this._monthsStrictRegex && isStrict ? this._monthsStrictRegex : this._monthsRegex;\n }\n }\n function computeMonthsParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n var shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n shortP,\n longP;\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n shortP = regexEscape(this.monthsShort(mom, ''));\n longP = regexEscape(this.months(mom, ''));\n shortPieces.push(shortP);\n longPieces.push(longP);\n mixedPieces.push(longP);\n mixedPieces.push(shortP);\n }\n // Sorting makes sure if one month (or abbr) is a prefix of another it\n // will match the longer piece.\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._monthsShortRegex = this._monthsRegex;\n this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n }\n function createDate(y, m, d, h, M, s, ms) {\n // can't just apply() to create a date:\n // https://stackoverflow.com/q/181348\n var date;\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n date = new Date(y + 400, m, d, h, M, s, ms);\n if (isFinite(date.getFullYear())) {\n date.setFullYear(y);\n }\n } else {\n date = new Date(y, m, d, h, M, s, ms);\n }\n return date;\n }\n function createUTCDate(y) {\n var date, args;\n // the Date.UTC function remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n args = Array.prototype.slice.call(arguments);\n // preserve leap years using a full 400 year cycle, then reset\n args[0] = y + 400;\n date = new Date(Date.UTC.apply(null, args));\n if (isFinite(date.getUTCFullYear())) {\n date.setUTCFullYear(y);\n }\n } else {\n date = new Date(Date.UTC.apply(null, arguments));\n }\n return date;\n }\n\n // start-of-first-week - start-of-year\n function firstWeekOffset(year, dow, doy) {\n var\n // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n fwd = 7 + dow - doy,\n // first-week day local weekday -- which local weekday is fwd\n fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n return -fwdlw + fwd - 1;\n }\n\n // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n var localWeekday = (7 + weekday - dow) % 7,\n weekOffset = firstWeekOffset(year, dow, doy),\n dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n resYear,\n resDayOfYear;\n if (dayOfYear <= 0) {\n resYear = year - 1;\n resDayOfYear = daysInYear(resYear) + dayOfYear;\n } else if (dayOfYear > daysInYear(year)) {\n resYear = year + 1;\n resDayOfYear = dayOfYear - daysInYear(year);\n } else {\n resYear = year;\n resDayOfYear = dayOfYear;\n }\n return {\n year: resYear,\n dayOfYear: resDayOfYear\n };\n }\n function weekOfYear(mom, dow, doy) {\n var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n resWeek,\n resYear;\n if (week < 1) {\n resYear = mom.year() - 1;\n resWeek = week + weeksInYear(resYear, dow, doy);\n } else if (week > weeksInYear(mom.year(), dow, doy)) {\n resWeek = week - weeksInYear(mom.year(), dow, doy);\n resYear = mom.year() + 1;\n } else {\n resYear = mom.year();\n resWeek = week;\n }\n return {\n week: resWeek,\n year: resYear\n };\n }\n function weeksInYear(year, dow, doy) {\n var weekOffset = firstWeekOffset(year, dow, doy),\n weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n }\n\n // FORMATTING\n\n addFormatToken('w', ['ww', 2], 'wo', 'week');\n addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n // PARSING\n\n addRegexToken('w', match1to2, match1to2NoLeadingZero);\n addRegexToken('ww', match1to2, match2);\n addRegexToken('W', match1to2, match1to2NoLeadingZero);\n addRegexToken('WW', match1to2, match2);\n addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {\n week[token.substr(0, 1)] = toInt(input);\n });\n\n // HELPERS\n\n // LOCALES\n\n function localeWeek(mom) {\n return weekOfYear(mom, this._week.dow, this._week.doy).week;\n }\n var defaultLocaleWeek = {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n };\n function localeFirstDayOfWeek() {\n return this._week.dow;\n }\n function localeFirstDayOfYear() {\n return this._week.doy;\n }\n\n // MOMENTS\n\n function getSetWeek(input) {\n var week = this.localeData().week(this);\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n function getSetISOWeek(input) {\n var week = weekOfYear(this, 1, 4).week;\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('d', 0, 'do', 'day');\n addFormatToken('dd', 0, 0, function (format) {\n return this.localeData().weekdaysMin(this, format);\n });\n addFormatToken('ddd', 0, 0, function (format) {\n return this.localeData().weekdaysShort(this, format);\n });\n addFormatToken('dddd', 0, 0, function (format) {\n return this.localeData().weekdays(this, format);\n });\n addFormatToken('e', 0, 0, 'weekday');\n addFormatToken('E', 0, 0, 'isoWeekday');\n\n // PARSING\n\n addRegexToken('d', match1to2);\n addRegexToken('e', match1to2);\n addRegexToken('E', match1to2);\n addRegexToken('dd', function (isStrict, locale) {\n return locale.weekdaysMinRegex(isStrict);\n });\n addRegexToken('ddd', function (isStrict, locale) {\n return locale.weekdaysShortRegex(isStrict);\n });\n addRegexToken('dddd', function (isStrict, locale) {\n return locale.weekdaysRegex(isStrict);\n });\n addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n var weekday = config._locale.weekdaysParse(input, token, config._strict);\n // if we didn't get a weekday name, mark the date as invalid\n if (weekday != null) {\n week.d = weekday;\n } else {\n getParsingFlags(config).invalidWeekday = input;\n }\n });\n addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n week[token] = toInt(input);\n });\n\n // HELPERS\n\n function parseWeekday(input, locale) {\n if (typeof input !== 'string') {\n return input;\n }\n if (!isNaN(input)) {\n return parseInt(input, 10);\n }\n input = locale.weekdaysParse(input);\n if (typeof input === 'number') {\n return input;\n }\n return null;\n }\n function parseIsoWeekday(input, locale) {\n if (typeof input === 'string') {\n return locale.weekdaysParse(input) % 7 || 7;\n }\n return isNaN(input) ? null : input;\n }\n\n // LOCALES\n function shiftWeekdays(ws, n) {\n return ws.slice(n, 7).concat(ws.slice(0, n));\n }\n var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n defaultWeekdaysRegex = matchWord,\n defaultWeekdaysShortRegex = matchWord,\n defaultWeekdaysMinRegex = matchWord;\n function localeWeekdays(m, format) {\n var weekdays = isArray(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format) ? 'format' : 'standalone'];\n return m === true ? shiftWeekdays(weekdays, this._week.dow) : m ? weekdays[m.day()] : weekdays;\n }\n function localeWeekdaysShort(m) {\n return m === true ? shiftWeekdays(this._weekdaysShort, this._week.dow) : m ? this._weekdaysShort[m.day()] : this._weekdaysShort;\n }\n function localeWeekdaysMin(m) {\n return m === true ? shiftWeekdays(this._weekdaysMin, this._week.dow) : m ? this._weekdaysMin[m.day()] : this._weekdaysMin;\n }\n function handleStrictParse$1(weekdayName, format, strict) {\n var i,\n ii,\n mom,\n llc = weekdayName.toLocaleLowerCase();\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._minWeekdaysParse = [];\n for (i = 0; i < 7; ++i) {\n mom = createUTC([2000, 1]).day(i);\n this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();\n this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();\n this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n }\n }\n if (strict) {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n function localeWeekdaysParse(weekdayName, format, strict) {\n var i, mom, regex;\n if (this._weekdaysParseExact) {\n return handleStrictParse$1.call(this, weekdayName, format, strict);\n }\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._minWeekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._fullWeekdaysParse = [];\n }\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n\n mom = createUTC([2000, 1]).day(i);\n if (strict && !this._fullWeekdaysParse[i]) {\n this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$', 'i');\n this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$', 'i');\n this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$', 'i');\n }\n if (!this._weekdaysParse[i]) {\n regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');\n this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function getSetDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var day = get(this, 'Day');\n if (input != null) {\n input = parseWeekday(input, this.localeData());\n return this.add(input - day, 'd');\n } else {\n return day;\n }\n }\n function getSetLocaleDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n return input == null ? weekday : this.add(input - weekday, 'd');\n }\n function getSetISODayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n // behaves the same as moment#day except\n // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n // as a setter, sunday should belong to the previous week.\n\n if (input != null) {\n var weekday = parseIsoWeekday(input, this.localeData());\n return this.day(this.day() % 7 ? weekday : weekday - 7);\n } else {\n return this.day() || 7;\n }\n }\n function weekdaysRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysStrictRegex;\n } else {\n return this._weekdaysRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n this._weekdaysRegex = defaultWeekdaysRegex;\n }\n return this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex;\n }\n }\n function weekdaysShortRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysShortStrictRegex;\n } else {\n return this._weekdaysShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n }\n return this._weekdaysShortStrictRegex && isStrict ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex;\n }\n }\n function weekdaysMinRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysMinStrictRegex;\n } else {\n return this._weekdaysMinRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n }\n return this._weekdaysMinStrictRegex && isStrict ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex;\n }\n }\n function computeWeekdaysParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n var minPieces = [],\n shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n minp,\n shortp,\n longp;\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n minp = regexEscape(this.weekdaysMin(mom, ''));\n shortp = regexEscape(this.weekdaysShort(mom, ''));\n longp = regexEscape(this.weekdays(mom, ''));\n minPieces.push(minp);\n shortPieces.push(shortp);\n longPieces.push(longp);\n mixedPieces.push(minp);\n mixedPieces.push(shortp);\n mixedPieces.push(longp);\n }\n // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n // will match the longer piece.\n minPieces.sort(cmpLenRev);\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._weekdaysShortRegex = this._weekdaysRegex;\n this._weekdaysMinRegex = this._weekdaysRegex;\n this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');\n }\n\n // FORMATTING\n\n function hFormat() {\n return this.hours() % 12 || 12;\n }\n function kFormat() {\n return this.hours() || 24;\n }\n addFormatToken('H', ['HH', 2], 0, 'hour');\n addFormatToken('h', ['hh', 2], 0, hFormat);\n addFormatToken('k', ['kk', 2], 0, kFormat);\n addFormatToken('hmm', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n });\n addFormatToken('hmmss', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);\n });\n addFormatToken('Hmm', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2);\n });\n addFormatToken('Hmmss', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);\n });\n function meridiem(token, lowercase) {\n addFormatToken(token, 0, 0, function () {\n return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);\n });\n }\n meridiem('a', true);\n meridiem('A', false);\n\n // PARSING\n\n function matchMeridiem(isStrict, locale) {\n return locale._meridiemParse;\n }\n addRegexToken('a', matchMeridiem);\n addRegexToken('A', matchMeridiem);\n addRegexToken('H', match1to2, match1to2HasZero);\n addRegexToken('h', match1to2, match1to2NoLeadingZero);\n addRegexToken('k', match1to2, match1to2NoLeadingZero);\n addRegexToken('HH', match1to2, match2);\n addRegexToken('hh', match1to2, match2);\n addRegexToken('kk', match1to2, match2);\n addRegexToken('hmm', match3to4);\n addRegexToken('hmmss', match5to6);\n addRegexToken('Hmm', match3to4);\n addRegexToken('Hmmss', match5to6);\n addParseToken(['H', 'HH'], HOUR);\n addParseToken(['k', 'kk'], function (input, array, config) {\n var kInput = toInt(input);\n array[HOUR] = kInput === 24 ? 0 : kInput;\n });\n addParseToken(['a', 'A'], function (input, array, config) {\n config._isPm = config._locale.isPM(input);\n config._meridiem = input;\n });\n addParseToken(['h', 'hh'], function (input, array, config) {\n array[HOUR] = toInt(input);\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('Hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n });\n addParseToken('Hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n });\n\n // LOCALES\n\n function localeIsPM(input) {\n // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n // Using charAt should be more compatible.\n return (input + '').toLowerCase().charAt(0) === 'p';\n }\n var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n // Setting the hour should keep the time, because the user explicitly\n // specified which hour they want. So trying to maintain the same hour (in\n // a new timezone) makes sense. Adding/subtracting hours does not follow\n // this rule.\n getSetHour = makeGetSet('Hours', true);\n function localeMeridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'pm' : 'PM';\n } else {\n return isLower ? 'am' : 'AM';\n }\n }\n var baseConfig = {\n calendar: defaultCalendar,\n longDateFormat: defaultLongDateFormat,\n invalidDate: defaultInvalidDate,\n ordinal: defaultOrdinal,\n dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n relativeTime: defaultRelativeTime,\n months: defaultLocaleMonths,\n monthsShort: defaultLocaleMonthsShort,\n week: defaultLocaleWeek,\n weekdays: defaultLocaleWeekdays,\n weekdaysMin: defaultLocaleWeekdaysMin,\n weekdaysShort: defaultLocaleWeekdaysShort,\n meridiemParse: defaultLocaleMeridiemParse\n };\n\n // internal storage for locale config files\n var locales = {},\n localeFamilies = {},\n globalLocale;\n function commonPrefix(arr1, arr2) {\n var i,\n minl = Math.min(arr1.length, arr2.length);\n for (i = 0; i < minl; i += 1) {\n if (arr1[i] !== arr2[i]) {\n return i;\n }\n }\n return minl;\n }\n function normalizeLocale(key) {\n return key ? key.toLowerCase().replace('_', '-') : key;\n }\n\n // pick the locale from the array\n // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n function chooseLocale(names) {\n var i = 0,\n j,\n next,\n locale,\n split;\n while (i < names.length) {\n split = normalizeLocale(names[i]).split('-');\n j = split.length;\n next = normalizeLocale(names[i + 1]);\n next = next ? next.split('-') : null;\n while (j > 0) {\n locale = loadLocale(split.slice(0, j).join('-'));\n if (locale) {\n return locale;\n }\n if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {\n //the next array item is better than a shallower substring of this one\n break;\n }\n j--;\n }\n i++;\n }\n return globalLocale;\n }\n function isLocaleNameSane(name) {\n // Prevent names that look like filesystem paths, i.e contain '/' or '\\'\n // Ensure name is available and function returns boolean\n return !!(name && name.match('^[^/\\\\\\\\]*$'));\n }\n function loadLocale(name) {\n var oldLocale = null,\n aliasedRequire;\n // TODO: Find a better way to register and load all the locales in Node\n if (locales[name] === undefined && typeof module !== 'undefined' && module && module.exports && isLocaleNameSane(name)) {\n try {\n oldLocale = globalLocale._abbr;\n aliasedRequire = require;\n aliasedRequire('./locale/' + name);\n getSetGlobalLocale(oldLocale);\n } catch (e) {\n // mark as not found to avoid repeating expensive file require call causing high CPU\n // when trying to find en-US, en_US, en-us for every format call\n locales[name] = null; // null means not found\n }\n }\n return locales[name];\n }\n\n // This function will load locale and then set the global locale. If\n // no arguments are passed in, it will simply return the current global\n // locale key.\n function getSetGlobalLocale(key, values) {\n var data;\n if (key) {\n if (isUndefined(values)) {\n data = getLocale(key);\n } else {\n data = defineLocale(key, values);\n }\n if (data) {\n // moment.duration._locale = moment._locale = data;\n globalLocale = data;\n } else {\n if (typeof console !== 'undefined' && console.warn) {\n //warn user if arguments are passed but the locale could not be set\n console.warn('Locale ' + key + ' not found. Did you forget to load it?');\n }\n }\n }\n return globalLocale._abbr;\n }\n function defineLocale(name, config) {\n if (config !== null) {\n var locale,\n parentConfig = baseConfig;\n config.abbr = name;\n if (locales[name] != null) {\n deprecateSimple('defineLocaleOverride', 'use moment.updateLocale(localeName, config) to change ' + 'an existing locale. moment.defineLocale(localeName, ' + 'config) should only be used for creating a new locale ' + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.');\n parentConfig = locales[name]._config;\n } else if (config.parentLocale != null) {\n if (locales[config.parentLocale] != null) {\n parentConfig = locales[config.parentLocale]._config;\n } else {\n locale = loadLocale(config.parentLocale);\n if (locale != null) {\n parentConfig = locale._config;\n } else {\n if (!localeFamilies[config.parentLocale]) {\n localeFamilies[config.parentLocale] = [];\n }\n localeFamilies[config.parentLocale].push({\n name: name,\n config: config\n });\n return null;\n }\n }\n }\n locales[name] = new Locale(mergeConfigs(parentConfig, config));\n if (localeFamilies[name]) {\n localeFamilies[name].forEach(function (x) {\n defineLocale(x.name, x.config);\n });\n }\n\n // backwards compat for now: also set the locale\n // make sure we set the locale AFTER all child locales have been\n // created, so we won't end up with the child locale set.\n getSetGlobalLocale(name);\n return locales[name];\n } else {\n // useful for testing\n delete locales[name];\n return null;\n }\n }\n function updateLocale(name, config) {\n if (config != null) {\n var locale,\n tmpLocale,\n parentConfig = baseConfig;\n if (locales[name] != null && locales[name].parentLocale != null) {\n // Update existing child locale in-place to avoid memory-leaks\n locales[name].set(mergeConfigs(locales[name]._config, config));\n } else {\n // MERGE\n tmpLocale = loadLocale(name);\n if (tmpLocale != null) {\n parentConfig = tmpLocale._config;\n }\n config = mergeConfigs(parentConfig, config);\n if (tmpLocale == null) {\n // updateLocale is called for creating a new locale\n // Set abbr so it will have a name (getters return\n // undefined otherwise).\n config.abbr = name;\n }\n locale = new Locale(config);\n locale.parentLocale = locales[name];\n locales[name] = locale;\n }\n\n // backwards compat for now: also set the locale\n getSetGlobalLocale(name);\n } else {\n // pass null for config to unupdate, useful for tests\n if (locales[name] != null) {\n if (locales[name].parentLocale != null) {\n locales[name] = locales[name].parentLocale;\n if (name === getSetGlobalLocale()) {\n getSetGlobalLocale(name);\n }\n } else if (locales[name] != null) {\n delete locales[name];\n }\n }\n }\n return locales[name];\n }\n\n // returns locale data\n function getLocale(key) {\n var locale;\n if (key && key._locale && key._locale._abbr) {\n key = key._locale._abbr;\n }\n if (!key) {\n return globalLocale;\n }\n if (!isArray(key)) {\n //short-circuit everything else\n locale = loadLocale(key);\n if (locale) {\n return locale;\n }\n key = [key];\n }\n return chooseLocale(key);\n }\n function listLocales() {\n return keys(locales);\n }\n function checkOverflow(m) {\n var overflow,\n a = m._a;\n if (a && getParsingFlags(m).overflow === -2) {\n overflow = a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : a[HOUR] < 0 || a[HOUR] > 24 || a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0) ? HOUR : a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : -1;\n if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {\n overflow = DATE;\n }\n if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n overflow = WEEK;\n }\n if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n overflow = WEEKDAY;\n }\n getParsingFlags(m).overflow = overflow;\n }\n return m;\n }\n\n // iso 8601 regex\n // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n var extendedIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n basicIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n isoDates = [['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/], ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/], ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/], ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false], ['YYYY-DDD', /\\d{4}-\\d{3}/], ['YYYY-MM', /\\d{4}-\\d\\d/, false], ['YYYYYYMMDD', /[+-]\\d{10}/], ['YYYYMMDD', /\\d{8}/], ['GGGG[W]WWE', /\\d{4}W\\d{3}/], ['GGGG[W]WW', /\\d{4}W\\d{2}/, false], ['YYYYDDD', /\\d{7}/], ['YYYYMM', /\\d{6}/, false], ['YYYY', /\\d{4}/, false]],\n // iso time formats and regexes\n isoTimes = [['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/], ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/], ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/], ['HH:mm', /\\d\\d:\\d\\d/], ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/], ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/], ['HHmmss', /\\d\\d\\d\\d\\d\\d/], ['HHmm', /\\d\\d\\d\\d/], ['HH', /\\d\\d/]],\n aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n obsOffsets = {\n UT: 0,\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60\n };\n\n // date from iso format\n function configFromISO(config) {\n var i,\n l,\n string = config._i,\n match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n allowTime,\n dateFormat,\n timeFormat,\n tzFormat,\n isoDatesLen = isoDates.length,\n isoTimesLen = isoTimes.length;\n if (match) {\n getParsingFlags(config).iso = true;\n for (i = 0, l = isoDatesLen; i < l; i++) {\n if (isoDates[i][1].exec(match[1])) {\n dateFormat = isoDates[i][0];\n allowTime = isoDates[i][2] !== false;\n break;\n }\n }\n if (dateFormat == null) {\n config._isValid = false;\n return;\n }\n if (match[3]) {\n for (i = 0, l = isoTimesLen; i < l; i++) {\n if (isoTimes[i][1].exec(match[3])) {\n // match[2] should be 'T' or space\n timeFormat = (match[2] || ' ') + isoTimes[i][0];\n break;\n }\n }\n if (timeFormat == null) {\n config._isValid = false;\n return;\n }\n }\n if (!allowTime && timeFormat != null) {\n config._isValid = false;\n return;\n }\n if (match[4]) {\n if (tzRegex.exec(match[4])) {\n tzFormat = 'Z';\n } else {\n config._isValid = false;\n return;\n }\n }\n config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n configFromStringAndFormat(config);\n } else {\n config._isValid = false;\n }\n }\n function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {\n var result = [untruncateYear(yearStr), defaultLocaleMonthsShort.indexOf(monthStr), parseInt(dayStr, 10), parseInt(hourStr, 10), parseInt(minuteStr, 10)];\n if (secondStr) {\n result.push(parseInt(secondStr, 10));\n }\n return result;\n }\n function untruncateYear(yearStr) {\n var year = parseInt(yearStr, 10);\n if (year <= 49) {\n return 2000 + year;\n } else if (year <= 999) {\n return 1900 + year;\n }\n return year;\n }\n function preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s.replace(/\\([^()]*\\)|[\\n\\t]/g, ' ').replace(/(\\s\\s+)/g, ' ').replace(/^\\s\\s*/, '').replace(/\\s\\s*$/, '');\n }\n function checkWeekday(weekdayStr, parsedInput, config) {\n if (weekdayStr) {\n // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay();\n if (weekdayProvided !== weekdayActual) {\n getParsingFlags(config).weekdayMismatch = true;\n config._isValid = false;\n return false;\n }\n }\n return true;\n }\n function calculateOffset(obsOffset, militaryOffset, numOffset) {\n if (obsOffset) {\n return obsOffsets[obsOffset];\n } else if (militaryOffset) {\n // the only allowed military tz is Z\n return 0;\n } else {\n var hm = parseInt(numOffset, 10),\n m = hm % 100,\n h = (hm - m) / 100;\n return h * 60 + m;\n }\n }\n\n // date and time from ref 2822 format\n function configFromRFC2822(config) {\n var match = rfc2822.exec(preprocessRFC2822(config._i)),\n parsedArray;\n if (match) {\n parsedArray = extractFromRFC2822Strings(match[4], match[3], match[2], match[5], match[6], match[7]);\n if (!checkWeekday(match[1], parsedArray, config)) {\n return;\n }\n config._a = parsedArray;\n config._tzm = calculateOffset(match[8], match[9], match[10]);\n config._d = createUTCDate.apply(null, config._a);\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n getParsingFlags(config).rfc2822 = true;\n } else {\n config._isValid = false;\n }\n }\n\n // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n function configFromString(config) {\n var matched = aspNetJsonRegex.exec(config._i);\n if (matched !== null) {\n config._d = new Date(+matched[1]);\n return;\n }\n configFromISO(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n configFromRFC2822(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n if (config._strict) {\n config._isValid = false;\n } else {\n // Final attempt, use Input Fallback\n hooks.createFromInputFallback(config);\n }\n }\n hooks.createFromInputFallback = deprecate('value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', function (config) {\n config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n });\n\n // Pick the first defined of two or three arguments.\n function defaults(a, b, c) {\n if (a != null) {\n return a;\n }\n if (b != null) {\n return b;\n }\n return c;\n }\n function currentDateArray(config) {\n // hooks is actually the exported moment object\n var nowValue = new Date(hooks.now());\n if (config._useUTC) {\n return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];\n }\n return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n }\n\n // convert an array to a date.\n // the array should mirror the parameters below\n // note: all values past the year are optional and will default to the lowest possible value.\n // [year, month, day , hour, minute, second, millisecond]\n function configFromArray(config) {\n var i,\n date,\n input = [],\n currentDate,\n expectedWeekday,\n yearToUse;\n if (config._d) {\n return;\n }\n currentDate = currentDateArray(config);\n\n //compute day of the year from weeks and weekdays\n if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n dayOfYearFromWeekInfo(config);\n }\n\n //if the day of the year is set, figure out what it is\n if (config._dayOfYear != null) {\n yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {\n getParsingFlags(config)._overflowDayOfYear = true;\n }\n date = createUTCDate(yearToUse, 0, config._dayOfYear);\n config._a[MONTH] = date.getUTCMonth();\n config._a[DATE] = date.getUTCDate();\n }\n\n // Default to current date.\n // * if no year, month, day of month are given, default to today\n // * if day of month is given, default month and year\n // * if month is given, default only year\n // * if year is given, don't default anything\n for (i = 0; i < 3 && config._a[i] == null; ++i) {\n config._a[i] = input[i] = currentDate[i];\n }\n\n // Zero out whatever was not defaulted, including time\n for (; i < 7; i++) {\n config._a[i] = input[i] = config._a[i] == null ? i === 2 ? 1 : 0 : config._a[i];\n }\n\n // Check for 24:00:00.000\n if (config._a[HOUR] === 24 && config._a[MINUTE] === 0 && config._a[SECOND] === 0 && config._a[MILLISECOND] === 0) {\n config._nextDay = true;\n config._a[HOUR] = 0;\n }\n config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);\n expectedWeekday = config._useUTC ? config._d.getUTCDay() : config._d.getDay();\n\n // Apply timezone offset from input. The actual utcOffset can be changed\n // with parseZone.\n if (config._tzm != null) {\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n }\n if (config._nextDay) {\n config._a[HOUR] = 24;\n }\n\n // check for mismatching day of week\n if (config._w && typeof config._w.d !== 'undefined' && config._w.d !== expectedWeekday) {\n getParsingFlags(config).weekdayMismatch = true;\n }\n }\n function dayOfYearFromWeekInfo(config) {\n var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n w = config._w;\n if (w.GG != null || w.W != null || w.E != null) {\n dow = 1;\n doy = 4;\n\n // TODO: We need to take the current isoWeekYear, but that depends on\n // how we interpret now (local, utc, fixed offset). So create\n // a now version of current config (take local/utc/offset flags, and\n // create now).\n weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year);\n week = defaults(w.W, 1);\n weekday = defaults(w.E, 1);\n if (weekday < 1 || weekday > 7) {\n weekdayOverflow = true;\n }\n } else {\n dow = config._locale._week.dow;\n doy = config._locale._week.doy;\n curWeek = weekOfYear(createLocal(), dow, doy);\n weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n // Default to current week.\n week = defaults(w.w, curWeek.week);\n if (w.d != null) {\n // weekday -- low day numbers are considered next week\n weekday = w.d;\n if (weekday < 0 || weekday > 6) {\n weekdayOverflow = true;\n }\n } else if (w.e != null) {\n // local weekday -- counting starts from beginning of week\n weekday = w.e + dow;\n if (w.e < 0 || w.e > 6) {\n weekdayOverflow = true;\n }\n } else {\n // default to beginning of week\n weekday = dow;\n }\n }\n if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n getParsingFlags(config)._overflowWeeks = true;\n } else if (weekdayOverflow != null) {\n getParsingFlags(config)._overflowWeekday = true;\n } else {\n temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n config._a[YEAR] = temp.year;\n config._dayOfYear = temp.dayOfYear;\n }\n }\n\n // constant that refers to the ISO standard\n hooks.ISO_8601 = function () {};\n\n // constant that refers to the RFC 2822 form\n hooks.RFC_2822 = function () {};\n\n // date from string and format string\n function configFromStringAndFormat(config) {\n // TODO: Move this to another part of the creation flow to prevent circular deps\n if (config._f === hooks.ISO_8601) {\n configFromISO(config);\n return;\n }\n if (config._f === hooks.RFC_2822) {\n configFromRFC2822(config);\n return;\n }\n config._a = [];\n getParsingFlags(config).empty = true;\n\n // This array is used to make a Date, either with `new Date` or `Date.UTC`\n var string = '' + config._i,\n i,\n parsedInput,\n tokens,\n token,\n skipped,\n stringLength = string.length,\n totalParsedInputLength = 0,\n era,\n tokenLen;\n tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];\n tokenLen = tokens.length;\n for (i = 0; i < tokenLen; i++) {\n token = tokens[i];\n parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];\n if (parsedInput) {\n skipped = string.substr(0, string.indexOf(parsedInput));\n if (skipped.length > 0) {\n getParsingFlags(config).unusedInput.push(skipped);\n }\n string = string.slice(string.indexOf(parsedInput) + parsedInput.length);\n totalParsedInputLength += parsedInput.length;\n }\n // don't parse if it's not a known token\n if (formatTokenFunctions[token]) {\n if (parsedInput) {\n getParsingFlags(config).empty = false;\n } else {\n getParsingFlags(config).unusedTokens.push(token);\n }\n addTimeToArrayFromToken(token, parsedInput, config);\n } else if (config._strict && !parsedInput) {\n getParsingFlags(config).unusedTokens.push(token);\n }\n }\n\n // add remaining unparsed input length to the string\n getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;\n if (string.length > 0) {\n getParsingFlags(config).unusedInput.push(string);\n }\n\n // clear _12h flag if hour is <= 12\n if (config._a[HOUR] <= 12 && getParsingFlags(config).bigHour === true && config._a[HOUR] > 0) {\n getParsingFlags(config).bigHour = undefined;\n }\n getParsingFlags(config).parsedDateParts = config._a.slice(0);\n getParsingFlags(config).meridiem = config._meridiem;\n // handle meridiem\n config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);\n\n // handle era\n era = getParsingFlags(config).era;\n if (era !== null) {\n config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n }\n configFromArray(config);\n checkOverflow(config);\n }\n function meridiemFixWrap(locale, hour, meridiem) {\n var isPm;\n if (meridiem == null) {\n // nothing to do\n return hour;\n }\n if (locale.meridiemHour != null) {\n return locale.meridiemHour(hour, meridiem);\n } else if (locale.isPM != null) {\n // Fallback\n isPm = locale.isPM(meridiem);\n if (isPm && hour < 12) {\n hour += 12;\n }\n if (!isPm && hour === 12) {\n hour = 0;\n }\n return hour;\n } else {\n // this is not supposed to happen\n return hour;\n }\n }\n\n // date from string and array of format strings\n function configFromStringAndArray(config) {\n var tempConfig,\n bestMoment,\n scoreToBeat,\n i,\n currentScore,\n validFormatFound,\n bestFormatIsValid = false,\n configfLen = config._f.length;\n if (configfLen === 0) {\n getParsingFlags(config).invalidFormat = true;\n config._d = new Date(NaN);\n return;\n }\n for (i = 0; i < configfLen; i++) {\n currentScore = 0;\n validFormatFound = false;\n tempConfig = copyConfig({}, config);\n if (config._useUTC != null) {\n tempConfig._useUTC = config._useUTC;\n }\n tempConfig._f = config._f[i];\n configFromStringAndFormat(tempConfig);\n if (isValid(tempConfig)) {\n validFormatFound = true;\n }\n\n // if there is any input that was not parsed add a penalty for that format\n currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n //or tokens\n currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n getParsingFlags(tempConfig).score = currentScore;\n if (!bestFormatIsValid) {\n if (scoreToBeat == null || currentScore < scoreToBeat || validFormatFound) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n if (validFormatFound) {\n bestFormatIsValid = true;\n }\n }\n } else {\n if (currentScore < scoreToBeat) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n }\n }\n }\n extend(config, bestMoment || tempConfig);\n }\n function configFromObject(config) {\n if (config._d) {\n return;\n }\n var i = normalizeObjectUnits(config._i),\n dayOrDate = i.day === undefined ? i.date : i.day;\n config._a = map([i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], function (obj) {\n return obj && parseInt(obj, 10);\n });\n configFromArray(config);\n }\n function createFromConfig(config) {\n var res = new Moment(checkOverflow(prepareConfig(config)));\n if (res._nextDay) {\n // Adding is smart enough around DST\n res.add(1, 'd');\n res._nextDay = undefined;\n }\n return res;\n }\n function prepareConfig(config) {\n var input = config._i,\n format = config._f;\n config._locale = config._locale || getLocale(config._l);\n if (input === null || format === undefined && input === '') {\n return createInvalid({\n nullInput: true\n });\n }\n if (typeof input === 'string') {\n config._i = input = config._locale.preparse(input);\n }\n if (isMoment(input)) {\n return new Moment(checkOverflow(input));\n } else if (isDate(input)) {\n config._d = input;\n } else if (isArray(format)) {\n configFromStringAndArray(config);\n } else if (format) {\n configFromStringAndFormat(config);\n } else {\n configFromInput(config);\n }\n if (!isValid(config)) {\n config._d = null;\n }\n return config;\n }\n function configFromInput(config) {\n var input = config._i;\n if (isUndefined(input)) {\n config._d = new Date(hooks.now());\n } else if (isDate(input)) {\n config._d = new Date(input.valueOf());\n } else if (typeof input === 'string') {\n configFromString(config);\n } else if (isArray(input)) {\n config._a = map(input.slice(0), function (obj) {\n return parseInt(obj, 10);\n });\n configFromArray(config);\n } else if (isObject(input)) {\n configFromObject(config);\n } else if (isNumber(input)) {\n // from milliseconds\n config._d = new Date(input);\n } else {\n hooks.createFromInputFallback(config);\n }\n }\n function createLocalOrUTC(input, format, locale, strict, isUTC) {\n var c = {};\n if (format === true || format === false) {\n strict = format;\n format = undefined;\n }\n if (locale === true || locale === false) {\n strict = locale;\n locale = undefined;\n }\n if (isObject(input) && isObjectEmpty(input) || isArray(input) && input.length === 0) {\n input = undefined;\n }\n // object construction must be done this way.\n // https://github.com/moment/moment/issues/1423\n c._isAMomentObject = true;\n c._useUTC = c._isUTC = isUTC;\n c._l = locale;\n c._i = input;\n c._f = format;\n c._strict = strict;\n return createFromConfig(c);\n }\n function createLocal(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, false);\n }\n var prototypeMin = deprecate('moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other < this ? this : other;\n } else {\n return createInvalid();\n }\n }),\n prototypeMax = deprecate('moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other > this ? this : other;\n } else {\n return createInvalid();\n }\n });\n\n // Pick a moment m from moments so that m[fn](other) is true for all\n // other. This relies on the function fn to be transitive.\n //\n // moments should either be an array of moment objects or an array, whose\n // first element is an array of moment objects.\n function pickBy(fn, moments) {\n var res, i;\n if (moments.length === 1 && isArray(moments[0])) {\n moments = moments[0];\n }\n if (!moments.length) {\n return createLocal();\n }\n res = moments[0];\n for (i = 1; i < moments.length; ++i) {\n if (!moments[i].isValid() || moments[i][fn](res)) {\n res = moments[i];\n }\n }\n return res;\n }\n\n // TODO: Use [].sort instead?\n function min() {\n var args = [].slice.call(arguments, 0);\n return pickBy('isBefore', args);\n }\n function max() {\n var args = [].slice.call(arguments, 0);\n return pickBy('isAfter', args);\n }\n var now = function () {\n return Date.now ? Date.now() : +new Date();\n };\n var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'];\n function isDurationValid(m) {\n var key,\n unitHasDecimal = false,\n i,\n orderLen = ordering.length;\n for (key in m) {\n if (hasOwnProp(m, key) && !(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {\n return false;\n }\n }\n for (i = 0; i < orderLen; ++i) {\n if (m[ordering[i]]) {\n if (unitHasDecimal) {\n return false; // only allow non-integers for smallest unit\n }\n if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n unitHasDecimal = true;\n }\n }\n }\n return true;\n }\n function isValid$1() {\n return this._isValid;\n }\n function createInvalid$1() {\n return createDuration(NaN);\n }\n function Duration(duration) {\n var normalizedInput = normalizeObjectUnits(duration),\n years = normalizedInput.year || 0,\n quarters = normalizedInput.quarter || 0,\n months = normalizedInput.month || 0,\n weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n days = normalizedInput.day || 0,\n hours = normalizedInput.hour || 0,\n minutes = normalizedInput.minute || 0,\n seconds = normalizedInput.second || 0,\n milliseconds = normalizedInput.millisecond || 0;\n this._isValid = isDurationValid(normalizedInput);\n\n // representation for dateAddRemove\n this._milliseconds = +milliseconds + seconds * 1e3 +\n // 1000\n minutes * 6e4 +\n // 1000 * 60\n hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n // Because of dateAddRemove treats 24 hours as different from a\n // day when working around DST, we need to store them separately\n this._days = +days + weeks * 7;\n // It is impossible to translate months into days without knowing\n // which months you are are talking about, so we have to store\n // it separately.\n this._months = +months + quarters * 3 + years * 12;\n this._data = {};\n this._locale = getLocale();\n this._bubble();\n }\n function isDuration(obj) {\n return obj instanceof Duration;\n }\n function absRound(number) {\n if (number < 0) {\n return Math.round(-1 * number) * -1;\n } else {\n return Math.round(number);\n }\n }\n\n // compare two arrays, return the number of differences\n function compareArrays(array1, array2, dontConvert) {\n var len = Math.min(array1.length, array2.length),\n lengthDiff = Math.abs(array1.length - array2.length),\n diffs = 0,\n i;\n for (i = 0; i < len; i++) {\n if (dontConvert && array1[i] !== array2[i] || !dontConvert && toInt(array1[i]) !== toInt(array2[i])) {\n diffs++;\n }\n }\n return diffs + lengthDiff;\n }\n\n // FORMATTING\n\n function offset(token, separator) {\n addFormatToken(token, 0, 0, function () {\n var offset = this.utcOffset(),\n sign = '+';\n if (offset < 0) {\n offset = -offset;\n sign = '-';\n }\n return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~offset % 60, 2);\n });\n }\n offset('Z', ':');\n offset('ZZ', '');\n\n // PARSING\n\n addRegexToken('Z', matchShortOffset);\n addRegexToken('ZZ', matchShortOffset);\n addParseToken(['Z', 'ZZ'], function (input, array, config) {\n config._useUTC = true;\n config._tzm = offsetFromString(matchShortOffset, input);\n });\n\n // HELPERS\n\n // timezone chunker\n // '+10:00' > ['10', '00']\n // '-1530' > ['-15', '30']\n var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n function offsetFromString(matcher, string) {\n var matches = (string || '').match(matcher),\n chunk,\n parts,\n minutes;\n if (matches === null) {\n return null;\n }\n chunk = matches[matches.length - 1] || [];\n parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n minutes = +(parts[1] * 60) + toInt(parts[2]);\n return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n }\n\n // Return a moment from input, that is local/utc/zone equivalent to model.\n function cloneWithOffset(input, model) {\n var res, diff;\n if (model._isUTC) {\n res = model.clone();\n diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf();\n // Use low-level api, because this fn is low-level api.\n res._d.setTime(res._d.valueOf() + diff);\n hooks.updateOffset(res, false);\n return res;\n } else {\n return createLocal(input).local();\n }\n }\n function getDateOffset(m) {\n // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n // https://github.com/moment/moment/pull/1871\n return -Math.round(m._d.getTimezoneOffset());\n }\n\n // HOOKS\n\n // This function will be called whenever a moment is mutated.\n // It is intended to keep the offset in sync with the timezone.\n hooks.updateOffset = function () {};\n\n // MOMENTS\n\n // keepLocalTime = true means only change the timezone, without\n // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n // +0200, so we adjust the time as needed, to be valid.\n //\n // Keeping the time actually adds/subtracts (one hour)\n // from the actual represented time. That is why we call updateOffset\n // a second time. In case it wants us to change the offset again\n // _changeInProgress == true case, then we have to adjust, because\n // there is no such time in the given timezone.\n function getSetOffset(input, keepLocalTime, keepMinutes) {\n var offset = this._offset || 0,\n localAdjust;\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n if (input != null) {\n if (typeof input === 'string') {\n input = offsetFromString(matchShortOffset, input);\n if (input === null) {\n return this;\n }\n } else if (Math.abs(input) < 16 && !keepMinutes) {\n input = input * 60;\n }\n if (!this._isUTC && keepLocalTime) {\n localAdjust = getDateOffset(this);\n }\n this._offset = input;\n this._isUTC = true;\n if (localAdjust != null) {\n this.add(localAdjust, 'm');\n }\n if (offset !== input) {\n if (!keepLocalTime || this._changeInProgress) {\n addSubtract(this, createDuration(input - offset, 'm'), 1, false);\n } else if (!this._changeInProgress) {\n this._changeInProgress = true;\n hooks.updateOffset(this, true);\n this._changeInProgress = null;\n }\n }\n return this;\n } else {\n return this._isUTC ? offset : getDateOffset(this);\n }\n }\n function getSetZone(input, keepLocalTime) {\n if (input != null) {\n if (typeof input !== 'string') {\n input = -input;\n }\n this.utcOffset(input, keepLocalTime);\n return this;\n } else {\n return -this.utcOffset();\n }\n }\n function setOffsetToUTC(keepLocalTime) {\n return this.utcOffset(0, keepLocalTime);\n }\n function setOffsetToLocal(keepLocalTime) {\n if (this._isUTC) {\n this.utcOffset(0, keepLocalTime);\n this._isUTC = false;\n if (keepLocalTime) {\n this.subtract(getDateOffset(this), 'm');\n }\n }\n return this;\n }\n function setOffsetToParsedOffset() {\n if (this._tzm != null) {\n this.utcOffset(this._tzm, false, true);\n } else if (typeof this._i === 'string') {\n var tZone = offsetFromString(matchOffset, this._i);\n if (tZone != null) {\n this.utcOffset(tZone);\n } else {\n this.utcOffset(0, true);\n }\n }\n return this;\n }\n function hasAlignedHourOffset(input) {\n if (!this.isValid()) {\n return false;\n }\n input = input ? createLocal(input).utcOffset() : 0;\n return (this.utcOffset() - input) % 60 === 0;\n }\n function isDaylightSavingTime() {\n return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();\n }\n function isDaylightSavingTimeShifted() {\n if (!isUndefined(this._isDSTShifted)) {\n return this._isDSTShifted;\n }\n var c = {},\n other;\n copyConfig(c, this);\n c = prepareConfig(c);\n if (c._a) {\n other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n this._isDSTShifted = this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n } else {\n this._isDSTShifted = false;\n }\n return this._isDSTShifted;\n }\n function isLocal() {\n return this.isValid() ? !this._isUTC : false;\n }\n function isUtcOffset() {\n return this.isValid() ? this._isUTC : false;\n }\n function isUtc() {\n return this.isValid() ? this._isUTC && this._offset === 0 : false;\n }\n\n // ASP.NET json date format regex\n var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n // and further modified to allow for strings containing both week and day\n isoRegex = /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n function createDuration(input, key) {\n var duration = input,\n // matching against regexp is expensive, do it on demand\n match = null,\n sign,\n ret,\n diffRes;\n if (isDuration(input)) {\n duration = {\n ms: input._milliseconds,\n d: input._days,\n M: input._months\n };\n } else if (isNumber(input) || !isNaN(+input)) {\n duration = {};\n if (key) {\n duration[key] = +input;\n } else {\n duration.milliseconds = +input;\n }\n } else if (match = aspNetRegex.exec(input)) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: 0,\n d: toInt(match[DATE]) * sign,\n h: toInt(match[HOUR]) * sign,\n m: toInt(match[MINUTE]) * sign,\n s: toInt(match[SECOND]) * sign,\n ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match\n };\n } else if (match = isoRegex.exec(input)) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: parseIso(match[2], sign),\n M: parseIso(match[3], sign),\n w: parseIso(match[4], sign),\n d: parseIso(match[5], sign),\n h: parseIso(match[6], sign),\n m: parseIso(match[7], sign),\n s: parseIso(match[8], sign)\n };\n } else if (duration == null) {\n // checks for null or undefined\n duration = {};\n } else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) {\n diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));\n duration = {};\n duration.ms = diffRes.milliseconds;\n duration.M = diffRes.months;\n }\n ret = new Duration(duration);\n if (isDuration(input) && hasOwnProp(input, '_locale')) {\n ret._locale = input._locale;\n }\n if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n ret._isValid = input._isValid;\n }\n return ret;\n }\n createDuration.fn = Duration.prototype;\n createDuration.invalid = createInvalid$1;\n function parseIso(inp, sign) {\n // We'd normally use ~~inp for this, but unfortunately it also\n // converts floats to ints.\n // inp may be undefined, so careful calling replace on it.\n var res = inp && parseFloat(inp.replace(',', '.'));\n // apply sign while we're at it\n return (isNaN(res) ? 0 : res) * sign;\n }\n function positiveMomentsDifference(base, other) {\n var res = {};\n res.months = other.month() - base.month() + (other.year() - base.year()) * 12;\n if (base.clone().add(res.months, 'M').isAfter(other)) {\n --res.months;\n }\n res.milliseconds = +other - +base.clone().add(res.months, 'M');\n return res;\n }\n function momentsDifference(base, other) {\n var res;\n if (!(base.isValid() && other.isValid())) {\n return {\n milliseconds: 0,\n months: 0\n };\n }\n other = cloneWithOffset(other, base);\n if (base.isBefore(other)) {\n res = positiveMomentsDifference(base, other);\n } else {\n res = positiveMomentsDifference(other, base);\n res.milliseconds = -res.milliseconds;\n res.months = -res.months;\n }\n return res;\n }\n\n // TODO: remove 'name' arg after deprecation is removed\n function createAdder(direction, name) {\n return function (val, period) {\n var dur, tmp;\n //invert the arguments, but complain about it\n if (period !== null && !isNaN(+period)) {\n deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.');\n tmp = val;\n val = period;\n period = tmp;\n }\n dur = createDuration(val, period);\n addSubtract(this, dur, direction);\n return this;\n };\n }\n function addSubtract(mom, duration, isAdding, updateOffset) {\n var milliseconds = duration._milliseconds,\n days = absRound(duration._days),\n months = absRound(duration._months);\n if (!mom.isValid()) {\n // No op\n return;\n }\n updateOffset = updateOffset == null ? true : updateOffset;\n if (months) {\n setMonth(mom, get(mom, 'Month') + months * isAdding);\n }\n if (days) {\n set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n }\n if (milliseconds) {\n mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n }\n if (updateOffset) {\n hooks.updateOffset(mom, days || months);\n }\n }\n var add = createAdder(1, 'add'),\n subtract = createAdder(-1, 'subtract');\n function isString(input) {\n return typeof input === 'string' || input instanceof String;\n }\n\n // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n function isMomentInput(input) {\n return isMoment(input) || isDate(input) || isString(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === undefined;\n }\n function isMomentInputObject(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = ['years', 'year', 'y', 'months', 'month', 'M', 'days', 'day', 'd', 'dates', 'date', 'D', 'hours', 'hour', 'h', 'minutes', 'minute', 'm', 'seconds', 'second', 's', 'milliseconds', 'millisecond', 'ms'],\n i,\n property,\n propertyLen = properties.length;\n for (i = 0; i < propertyLen; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n return objectTest && propertyTest;\n }\n function isNumberOrStringArray(input) {\n var arrayTest = isArray(input),\n dataTypeTest = false;\n if (arrayTest) {\n dataTypeTest = input.filter(function (item) {\n return !isNumber(item) && isString(input);\n }).length === 0;\n }\n return arrayTest && dataTypeTest;\n }\n function isCalendarSpec(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = ['sameDay', 'nextDay', 'lastDay', 'nextWeek', 'lastWeek', 'sameElse'],\n i,\n property;\n for (i = 0; i < properties.length; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n return objectTest && propertyTest;\n }\n function getCalendarFormat(myMoment, now) {\n var diff = myMoment.diff(now, 'days', true);\n return diff < -6 ? 'sameElse' : diff < -1 ? 'lastWeek' : diff < 0 ? 'lastDay' : diff < 1 ? 'sameDay' : diff < 2 ? 'nextDay' : diff < 7 ? 'nextWeek' : 'sameElse';\n }\n function calendar$1(time, formats) {\n // Support for single parameter, formats only overload to the calendar function\n if (arguments.length === 1) {\n if (!arguments[0]) {\n time = undefined;\n formats = undefined;\n } else if (isMomentInput(arguments[0])) {\n time = arguments[0];\n formats = undefined;\n } else if (isCalendarSpec(arguments[0])) {\n formats = arguments[0];\n time = undefined;\n }\n }\n // We want to compare the start of today, vs this.\n // Getting start-of-today depends on whether we're local/utc/offset or not.\n var now = time || createLocal(),\n sod = cloneWithOffset(now, this).startOf('day'),\n format = hooks.calendarFormat(this, sod) || 'sameElse',\n output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]);\n return this.format(output || this.localeData().calendar(format, this, createLocal(now)));\n }\n function clone() {\n return new Moment(this);\n }\n function isAfter(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() > localInput.valueOf();\n } else {\n return localInput.valueOf() < this.clone().startOf(units).valueOf();\n }\n }\n function isBefore(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() < localInput.valueOf();\n } else {\n return this.clone().endOf(units).valueOf() < localInput.valueOf();\n }\n }\n function isBetween(from, to, units, inclusivity) {\n var localFrom = isMoment(from) ? from : createLocal(from),\n localTo = isMoment(to) ? to : createLocal(to);\n if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n return false;\n }\n inclusivity = inclusivity || '()';\n return (inclusivity[0] === '(' ? this.isAfter(localFrom, units) : !this.isBefore(localFrom, units)) && (inclusivity[1] === ')' ? this.isBefore(localTo, units) : !this.isAfter(localTo, units));\n }\n function isSame(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input),\n inputMs;\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() === localInput.valueOf();\n } else {\n inputMs = localInput.valueOf();\n return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();\n }\n }\n function isSameOrAfter(input, units) {\n return this.isSame(input, units) || this.isAfter(input, units);\n }\n function isSameOrBefore(input, units) {\n return this.isSame(input, units) || this.isBefore(input, units);\n }\n function diff(input, units, asFloat) {\n var that, zoneDelta, output;\n if (!this.isValid()) {\n return NaN;\n }\n that = cloneWithOffset(input, this);\n if (!that.isValid()) {\n return NaN;\n }\n zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n units = normalizeUnits(units);\n switch (units) {\n case 'year':\n output = monthDiff(this, that) / 12;\n break;\n case 'month':\n output = monthDiff(this, that);\n break;\n case 'quarter':\n output = monthDiff(this, that) / 3;\n break;\n case 'second':\n output = (this - that) / 1e3;\n break;\n // 1000\n case 'minute':\n output = (this - that) / 6e4;\n break;\n // 1000 * 60\n case 'hour':\n output = (this - that) / 36e5;\n break;\n // 1000 * 60 * 60\n case 'day':\n output = (this - that - zoneDelta) / 864e5;\n break;\n // 1000 * 60 * 60 * 24, negate dst\n case 'week':\n output = (this - that - zoneDelta) / 6048e5;\n break;\n // 1000 * 60 * 60 * 24 * 7, negate dst\n default:\n output = this - that;\n }\n return asFloat ? output : absFloor(output);\n }\n function monthDiff(a, b) {\n if (a.date() < b.date()) {\n // end-of-month calculations work correct when the start month has more\n // days than the end month.\n return -monthDiff(b, a);\n }\n // difference in months\n var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n // b is in (anchor - 1 month, anchor + 1 month)\n anchor = a.clone().add(wholeMonthDiff, 'months'),\n anchor2,\n adjust;\n if (b - anchor < 0) {\n anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor - anchor2);\n } else {\n anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor2 - anchor);\n }\n\n //check for negative zero, return zero if negative zero\n return -(wholeMonthDiff + adjust) || 0;\n }\n hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n function toString() {\n return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n }\n function toISOString(keepOffset) {\n if (!this.isValid()) {\n return null;\n }\n var utc = keepOffset !== true,\n m = utc ? this.clone().utc() : this;\n if (m.year() < 0 || m.year() > 9999) {\n return formatMoment(m, utc ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ');\n }\n if (isFunction(Date.prototype.toISOString)) {\n // native implementation is ~50x faster, use it when we can\n if (utc) {\n return this.toDate().toISOString();\n } else {\n return new Date(this.valueOf() + this.utcOffset() * 60 * 1000).toISOString().replace('Z', formatMoment(m, 'Z'));\n }\n }\n return formatMoment(m, utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ');\n }\n\n /**\n * Return a human readable representation of a moment that can\n * also be evaluated to get a new moment which is the same\n *\n * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n */\n function inspect() {\n if (!this.isValid()) {\n return 'moment.invalid(/* ' + this._i + ' */)';\n }\n var func = 'moment',\n zone = '',\n prefix,\n year,\n datetime,\n suffix;\n if (!this.isLocal()) {\n func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n zone = 'Z';\n }\n prefix = '[' + func + '(\"]';\n year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n datetime = '-MM-DD[T]HH:mm:ss.SSS';\n suffix = zone + '[\")]';\n return this.format(prefix + year + datetime + suffix);\n }\n function format(inputString) {\n if (!inputString) {\n inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;\n }\n var output = formatMoment(this, inputString);\n return this.localeData().postformat(output);\n }\n function from(time, withoutSuffix) {\n if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {\n return createDuration({\n to: this,\n from: time\n }).locale(this.locale()).humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n function fromNow(withoutSuffix) {\n return this.from(createLocal(), withoutSuffix);\n }\n function to(time, withoutSuffix) {\n if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {\n return createDuration({\n from: this,\n to: time\n }).locale(this.locale()).humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n function toNow(withoutSuffix) {\n return this.to(createLocal(), withoutSuffix);\n }\n\n // If passed a locale key, it will set the locale for this\n // instance. Otherwise, it will return the locale configuration\n // variables for this instance.\n function locale(key) {\n var newLocaleData;\n if (key === undefined) {\n return this._locale._abbr;\n } else {\n newLocaleData = getLocale(key);\n if (newLocaleData != null) {\n this._locale = newLocaleData;\n }\n return this;\n }\n }\n var lang = deprecate('moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', function (key) {\n if (key === undefined) {\n return this.localeData();\n } else {\n return this.locale(key);\n }\n });\n function localeData() {\n return this._locale;\n }\n var MS_PER_SECOND = 1000,\n MS_PER_MINUTE = 60 * MS_PER_SECOND,\n MS_PER_HOUR = 60 * MS_PER_MINUTE,\n MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n // actual modulo - handles negative numbers (for dates before 1970):\n function mod$1(dividend, divisor) {\n return (dividend % divisor + divisor) % divisor;\n }\n function localStartOfDate(y, m, d) {\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return new Date(y, m, d).valueOf();\n }\n }\n function utcStartOfDate(y, m, d) {\n // Date.UTC remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return Date.UTC(y, m, d);\n }\n }\n function startOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n switch (units) {\n case 'year':\n time = startOfDate(this.year(), 0, 1);\n break;\n case 'quarter':\n time = startOfDate(this.year(), this.month() - this.month() % 3, 1);\n break;\n case 'month':\n time = startOfDate(this.year(), this.month(), 1);\n break;\n case 'week':\n time = startOfDate(this.year(), this.month(), this.date() - this.weekday());\n break;\n case 'isoWeek':\n time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date());\n break;\n case 'hour':\n time = this._d.valueOf();\n time -= mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR);\n break;\n case 'minute':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_MINUTE);\n break;\n case 'second':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_SECOND);\n break;\n }\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n function endOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n switch (units) {\n case 'year':\n time = startOfDate(this.year() + 1, 0, 1) - 1;\n break;\n case 'quarter':\n time = startOfDate(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;\n break;\n case 'month':\n time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n break;\n case 'week':\n time = startOfDate(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;\n break;\n case 'isoWeek':\n time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n break;\n case 'hour':\n time = this._d.valueOf();\n time += MS_PER_HOUR - mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR) - 1;\n break;\n case 'minute':\n time = this._d.valueOf();\n time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n break;\n case 'second':\n time = this._d.valueOf();\n time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n break;\n }\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n function valueOf() {\n return this._d.valueOf() - (this._offset || 0) * 60000;\n }\n function unix() {\n return Math.floor(this.valueOf() / 1000);\n }\n function toDate() {\n return new Date(this.valueOf());\n }\n function toArray() {\n var m = this;\n return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];\n }\n function toObject() {\n var m = this;\n return {\n years: m.year(),\n months: m.month(),\n date: m.date(),\n hours: m.hours(),\n minutes: m.minutes(),\n seconds: m.seconds(),\n milliseconds: m.milliseconds()\n };\n }\n function toJSON() {\n // new Date(NaN).toJSON() === null\n return this.isValid() ? this.toISOString() : null;\n }\n function isValid$2() {\n return isValid(this);\n }\n function parsingFlags() {\n return extend({}, getParsingFlags(this));\n }\n function invalidAt() {\n return getParsingFlags(this).overflow;\n }\n function creationData() {\n return {\n input: this._i,\n format: this._f,\n locale: this._locale,\n isUTC: this._isUTC,\n strict: this._strict\n };\n }\n addFormatToken('N', 0, 0, 'eraAbbr');\n addFormatToken('NN', 0, 0, 'eraAbbr');\n addFormatToken('NNN', 0, 0, 'eraAbbr');\n addFormatToken('NNNN', 0, 0, 'eraName');\n addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n addFormatToken('y', ['yy', 2], 0, 'eraYear');\n addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n addRegexToken('N', matchEraAbbr);\n addRegexToken('NN', matchEraAbbr);\n addRegexToken('NNN', matchEraAbbr);\n addRegexToken('NNNN', matchEraName);\n addRegexToken('NNNNN', matchEraNarrow);\n addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (input, array, config, token) {\n var era = config._locale.erasParse(input, token, config._strict);\n if (era) {\n getParsingFlags(config).era = era;\n } else {\n getParsingFlags(config).invalidEra = input;\n }\n });\n addRegexToken('y', matchUnsigned);\n addRegexToken('yy', matchUnsigned);\n addRegexToken('yyy', matchUnsigned);\n addRegexToken('yyyy', matchUnsigned);\n addRegexToken('yo', matchEraYearOrdinal);\n addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n addParseToken(['yo'], function (input, array, config, token) {\n var match;\n if (config._locale._eraYearOrdinalRegex) {\n match = input.match(config._locale._eraYearOrdinalRegex);\n }\n if (config._locale.eraYearOrdinalParse) {\n array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n } else {\n array[YEAR] = parseInt(input, 10);\n }\n });\n function localeEras(m, format) {\n var i,\n l,\n date,\n eras = this._eras || getLocale('en')._eras;\n for (i = 0, l = eras.length; i < l; ++i) {\n switch (typeof eras[i].since) {\n case 'string':\n // truncate time\n date = hooks(eras[i].since).startOf('day');\n eras[i].since = date.valueOf();\n break;\n }\n switch (typeof eras[i].until) {\n case 'undefined':\n eras[i].until = +Infinity;\n break;\n case 'string':\n // truncate time\n date = hooks(eras[i].until).startOf('day').valueOf();\n eras[i].until = date.valueOf();\n break;\n }\n }\n return eras;\n }\n function localeErasParse(eraName, format, strict) {\n var i,\n l,\n eras = this.eras(),\n name,\n abbr,\n narrow;\n eraName = eraName.toUpperCase();\n for (i = 0, l = eras.length; i < l; ++i) {\n name = eras[i].name.toUpperCase();\n abbr = eras[i].abbr.toUpperCase();\n narrow = eras[i].narrow.toUpperCase();\n if (strict) {\n switch (format) {\n case 'N':\n case 'NN':\n case 'NNN':\n if (abbr === eraName) {\n return eras[i];\n }\n break;\n case 'NNNN':\n if (name === eraName) {\n return eras[i];\n }\n break;\n case 'NNNNN':\n if (narrow === eraName) {\n return eras[i];\n }\n break;\n }\n } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n return eras[i];\n }\n }\n }\n function localeErasConvertYear(era, year) {\n var dir = era.since <= era.until ? +1 : -1;\n if (year === undefined) {\n return hooks(era.since).year();\n } else {\n return hooks(era.since).year() + (year - era.offset) * dir;\n }\n }\n function getEraName() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].name;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].name;\n }\n }\n return '';\n }\n function getEraNarrow() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].narrow;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].narrow;\n }\n }\n return '';\n }\n function getEraAbbr() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].abbr;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].abbr;\n }\n }\n return '';\n }\n function getEraYear() {\n var i,\n l,\n dir,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until || eras[i].until <= val && val <= eras[i].since) {\n return (this.year() - hooks(eras[i].since).year()) * dir + eras[i].offset;\n }\n }\n return this.year();\n }\n function erasNameRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNameRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNameRegex : this._erasRegex;\n }\n function erasAbbrRegex(isStrict) {\n if (!hasOwnProp(this, '_erasAbbrRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasAbbrRegex : this._erasRegex;\n }\n function erasNarrowRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNarrowRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNarrowRegex : this._erasRegex;\n }\n function matchEraAbbr(isStrict, locale) {\n return locale.erasAbbrRegex(isStrict);\n }\n function matchEraName(isStrict, locale) {\n return locale.erasNameRegex(isStrict);\n }\n function matchEraNarrow(isStrict, locale) {\n return locale.erasNarrowRegex(isStrict);\n }\n function matchEraYearOrdinal(isStrict, locale) {\n return locale._eraYearOrdinalRegex || matchUnsigned;\n }\n function computeErasParse() {\n var abbrPieces = [],\n namePieces = [],\n narrowPieces = [],\n mixedPieces = [],\n i,\n l,\n erasName,\n erasAbbr,\n erasNarrow,\n eras = this.eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n erasName = regexEscape(eras[i].name);\n erasAbbr = regexEscape(eras[i].abbr);\n erasNarrow = regexEscape(eras[i].narrow);\n namePieces.push(erasName);\n abbrPieces.push(erasAbbr);\n narrowPieces.push(erasNarrow);\n mixedPieces.push(erasName);\n mixedPieces.push(erasAbbr);\n mixedPieces.push(erasNarrow);\n }\n this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n this._erasNarrowRegex = new RegExp('^(' + narrowPieces.join('|') + ')', 'i');\n }\n\n // FORMATTING\n\n addFormatToken(0, ['gg', 2], 0, function () {\n return this.weekYear() % 100;\n });\n addFormatToken(0, ['GG', 2], 0, function () {\n return this.isoWeekYear() % 100;\n });\n function addWeekYearFormatToken(token, getter) {\n addFormatToken(0, [token, token.length], 0, getter);\n }\n addWeekYearFormatToken('gggg', 'weekYear');\n addWeekYearFormatToken('ggggg', 'weekYear');\n addWeekYearFormatToken('GGGG', 'isoWeekYear');\n addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n // ALIASES\n\n // PARSING\n\n addRegexToken('G', matchSigned);\n addRegexToken('g', matchSigned);\n addRegexToken('GG', match1to2, match2);\n addRegexToken('gg', match1to2, match2);\n addRegexToken('GGGG', match1to4, match4);\n addRegexToken('gggg', match1to4, match4);\n addRegexToken('GGGGG', match1to6, match6);\n addRegexToken('ggggg', match1to6, match6);\n addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {\n week[token.substr(0, 2)] = toInt(input);\n });\n addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n week[token] = hooks.parseTwoDigitYear(input);\n });\n\n // MOMENTS\n\n function getSetWeekYear(input) {\n return getSetWeekYearHelper.call(this, input, this.week(), this.weekday() + this.localeData()._week.dow, this.localeData()._week.dow, this.localeData()._week.doy);\n }\n function getSetISOWeekYear(input) {\n return getSetWeekYearHelper.call(this, input, this.isoWeek(), this.isoWeekday(), 1, 4);\n }\n function getISOWeeksInYear() {\n return weeksInYear(this.year(), 1, 4);\n }\n function getISOWeeksInISOWeekYear() {\n return weeksInYear(this.isoWeekYear(), 1, 4);\n }\n function getWeeksInYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n }\n function getWeeksInWeekYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n }\n function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n var weeksTarget;\n if (input == null) {\n return weekOfYear(this, dow, doy).year;\n } else {\n weeksTarget = weeksInYear(input, dow, doy);\n if (week > weeksTarget) {\n week = weeksTarget;\n }\n return setWeekAll.call(this, input, week, weekday, dow, doy);\n }\n }\n function setWeekAll(weekYear, week, weekday, dow, doy) {\n var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n this.year(date.getUTCFullYear());\n this.month(date.getUTCMonth());\n this.date(date.getUTCDate());\n return this;\n }\n\n // FORMATTING\n\n addFormatToken('Q', 0, 'Qo', 'quarter');\n\n // PARSING\n\n addRegexToken('Q', match1);\n addParseToken('Q', function (input, array) {\n array[MONTH] = (toInt(input) - 1) * 3;\n });\n\n // MOMENTS\n\n function getSetQuarter(input) {\n return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);\n }\n\n // FORMATTING\n\n addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n // PARSING\n\n addRegexToken('D', match1to2, match1to2NoLeadingZero);\n addRegexToken('DD', match1to2, match2);\n addRegexToken('Do', function (isStrict, locale) {\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n return isStrict ? locale._dayOfMonthOrdinalParse || locale._ordinalParse : locale._dayOfMonthOrdinalParseLenient;\n });\n addParseToken(['D', 'DD'], DATE);\n addParseToken('Do', function (input, array) {\n array[DATE] = toInt(input.match(match1to2)[0]);\n });\n\n // MOMENTS\n\n var getSetDayOfMonth = makeGetSet('Date', true);\n\n // FORMATTING\n\n addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n // PARSING\n\n addRegexToken('DDD', match1to3);\n addRegexToken('DDDD', match3);\n addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n config._dayOfYear = toInt(input);\n });\n\n // HELPERS\n\n // MOMENTS\n\n function getSetDayOfYear(input) {\n var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1;\n return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('m', ['mm', 2], 0, 'minute');\n\n // PARSING\n\n addRegexToken('m', match1to2, match1to2HasZero);\n addRegexToken('mm', match1to2, match2);\n addParseToken(['m', 'mm'], MINUTE);\n\n // MOMENTS\n\n var getSetMinute = makeGetSet('Minutes', false);\n\n // FORMATTING\n\n addFormatToken('s', ['ss', 2], 0, 'second');\n\n // PARSING\n\n addRegexToken('s', match1to2, match1to2HasZero);\n addRegexToken('ss', match1to2, match2);\n addParseToken(['s', 'ss'], SECOND);\n\n // MOMENTS\n\n var getSetSecond = makeGetSet('Seconds', false);\n\n // FORMATTING\n\n addFormatToken('S', 0, 0, function () {\n return ~~(this.millisecond() / 100);\n });\n addFormatToken(0, ['SS', 2], 0, function () {\n return ~~(this.millisecond() / 10);\n });\n addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n addFormatToken(0, ['SSSS', 4], 0, function () {\n return this.millisecond() * 10;\n });\n addFormatToken(0, ['SSSSS', 5], 0, function () {\n return this.millisecond() * 100;\n });\n addFormatToken(0, ['SSSSSS', 6], 0, function () {\n return this.millisecond() * 1000;\n });\n addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n return this.millisecond() * 10000;\n });\n addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n return this.millisecond() * 100000;\n });\n addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n return this.millisecond() * 1000000;\n });\n\n // PARSING\n\n addRegexToken('S', match1to3, match1);\n addRegexToken('SS', match1to3, match2);\n addRegexToken('SSS', match1to3, match3);\n var token, getSetMillisecond;\n for (token = 'SSSS'; token.length <= 9; token += 'S') {\n addRegexToken(token, matchUnsigned);\n }\n function parseMs(input, array) {\n array[MILLISECOND] = toInt(('0.' + input) * 1000);\n }\n for (token = 'S'; token.length <= 9; token += 'S') {\n addParseToken(token, parseMs);\n }\n getSetMillisecond = makeGetSet('Milliseconds', false);\n\n // FORMATTING\n\n addFormatToken('z', 0, 0, 'zoneAbbr');\n addFormatToken('zz', 0, 0, 'zoneName');\n\n // MOMENTS\n\n function getZoneAbbr() {\n return this._isUTC ? 'UTC' : '';\n }\n function getZoneName() {\n return this._isUTC ? 'Coordinated Universal Time' : '';\n }\n var proto = Moment.prototype;\n proto.add = add;\n proto.calendar = calendar$1;\n proto.clone = clone;\n proto.diff = diff;\n proto.endOf = endOf;\n proto.format = format;\n proto.from = from;\n proto.fromNow = fromNow;\n proto.to = to;\n proto.toNow = toNow;\n proto.get = stringGet;\n proto.invalidAt = invalidAt;\n proto.isAfter = isAfter;\n proto.isBefore = isBefore;\n proto.isBetween = isBetween;\n proto.isSame = isSame;\n proto.isSameOrAfter = isSameOrAfter;\n proto.isSameOrBefore = isSameOrBefore;\n proto.isValid = isValid$2;\n proto.lang = lang;\n proto.locale = locale;\n proto.localeData = localeData;\n proto.max = prototypeMax;\n proto.min = prototypeMin;\n proto.parsingFlags = parsingFlags;\n proto.set = stringSet;\n proto.startOf = startOf;\n proto.subtract = subtract;\n proto.toArray = toArray;\n proto.toObject = toObject;\n proto.toDate = toDate;\n proto.toISOString = toISOString;\n proto.inspect = inspect;\n if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n return 'Moment<' + this.format() + '>';\n };\n }\n proto.toJSON = toJSON;\n proto.toString = toString;\n proto.unix = unix;\n proto.valueOf = valueOf;\n proto.creationData = creationData;\n proto.eraName = getEraName;\n proto.eraNarrow = getEraNarrow;\n proto.eraAbbr = getEraAbbr;\n proto.eraYear = getEraYear;\n proto.year = getSetYear;\n proto.isLeapYear = getIsLeapYear;\n proto.weekYear = getSetWeekYear;\n proto.isoWeekYear = getSetISOWeekYear;\n proto.quarter = proto.quarters = getSetQuarter;\n proto.month = getSetMonth;\n proto.daysInMonth = getDaysInMonth;\n proto.week = proto.weeks = getSetWeek;\n proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n proto.weeksInYear = getWeeksInYear;\n proto.weeksInWeekYear = getWeeksInWeekYear;\n proto.isoWeeksInYear = getISOWeeksInYear;\n proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n proto.date = getSetDayOfMonth;\n proto.day = proto.days = getSetDayOfWeek;\n proto.weekday = getSetLocaleDayOfWeek;\n proto.isoWeekday = getSetISODayOfWeek;\n proto.dayOfYear = getSetDayOfYear;\n proto.hour = proto.hours = getSetHour;\n proto.minute = proto.minutes = getSetMinute;\n proto.second = proto.seconds = getSetSecond;\n proto.millisecond = proto.milliseconds = getSetMillisecond;\n proto.utcOffset = getSetOffset;\n proto.utc = setOffsetToUTC;\n proto.local = setOffsetToLocal;\n proto.parseZone = setOffsetToParsedOffset;\n proto.hasAlignedHourOffset = hasAlignedHourOffset;\n proto.isDST = isDaylightSavingTime;\n proto.isLocal = isLocal;\n proto.isUtcOffset = isUtcOffset;\n proto.isUtc = isUtc;\n proto.isUTC = isUtc;\n proto.zoneAbbr = getZoneAbbr;\n proto.zoneName = getZoneName;\n proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);\n proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);\n proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear);\n proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone);\n proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted);\n function createUnix(input) {\n return createLocal(input * 1000);\n }\n function createInZone() {\n return createLocal.apply(null, arguments).parseZone();\n }\n function preParsePostFormat(string) {\n return string;\n }\n var proto$1 = Locale.prototype;\n proto$1.calendar = calendar;\n proto$1.longDateFormat = longDateFormat;\n proto$1.invalidDate = invalidDate;\n proto$1.ordinal = ordinal;\n proto$1.preparse = preParsePostFormat;\n proto$1.postformat = preParsePostFormat;\n proto$1.relativeTime = relativeTime;\n proto$1.pastFuture = pastFuture;\n proto$1.set = set;\n proto$1.eras = localeEras;\n proto$1.erasParse = localeErasParse;\n proto$1.erasConvertYear = localeErasConvertYear;\n proto$1.erasAbbrRegex = erasAbbrRegex;\n proto$1.erasNameRegex = erasNameRegex;\n proto$1.erasNarrowRegex = erasNarrowRegex;\n proto$1.months = localeMonths;\n proto$1.monthsShort = localeMonthsShort;\n proto$1.monthsParse = localeMonthsParse;\n proto$1.monthsRegex = monthsRegex;\n proto$1.monthsShortRegex = monthsShortRegex;\n proto$1.week = localeWeek;\n proto$1.firstDayOfYear = localeFirstDayOfYear;\n proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n proto$1.weekdays = localeWeekdays;\n proto$1.weekdaysMin = localeWeekdaysMin;\n proto$1.weekdaysShort = localeWeekdaysShort;\n proto$1.weekdaysParse = localeWeekdaysParse;\n proto$1.weekdaysRegex = weekdaysRegex;\n proto$1.weekdaysShortRegex = weekdaysShortRegex;\n proto$1.weekdaysMinRegex = weekdaysMinRegex;\n proto$1.isPM = localeIsPM;\n proto$1.meridiem = localeMeridiem;\n function get$1(format, index, field, setter) {\n var locale = getLocale(),\n utc = createUTC().set(setter, index);\n return locale[field](utc, format);\n }\n function listMonthsImpl(format, index, field) {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n format = format || '';\n if (index != null) {\n return get$1(format, index, field, 'month');\n }\n var i,\n out = [];\n for (i = 0; i < 12; i++) {\n out[i] = get$1(format, i, field, 'month');\n }\n return out;\n }\n\n // ()\n // (5)\n // (fmt, 5)\n // (fmt)\n // (true)\n // (true, 5)\n // (true, fmt, 5)\n // (true, fmt)\n function listWeekdaysImpl(localeSorted, format, index, field) {\n if (typeof localeSorted === 'boolean') {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n format = format || '';\n } else {\n format = localeSorted;\n index = format;\n localeSorted = false;\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n format = format || '';\n }\n var locale = getLocale(),\n shift = localeSorted ? locale._week.dow : 0,\n i,\n out = [];\n if (index != null) {\n return get$1(format, (index + shift) % 7, field, 'day');\n }\n for (i = 0; i < 7; i++) {\n out[i] = get$1(format, (i + shift) % 7, field, 'day');\n }\n return out;\n }\n function listMonths(format, index) {\n return listMonthsImpl(format, index, 'months');\n }\n function listMonthsShort(format, index) {\n return listMonthsImpl(format, index, 'monthsShort');\n }\n function listWeekdays(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n }\n function listWeekdaysShort(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n }\n function listWeekdaysMin(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n }\n getSetGlobalLocale('en', {\n eras: [{\n since: '0001-01-01',\n until: +Infinity,\n offset: 1,\n name: 'Anno Domini',\n narrow: 'AD',\n abbr: 'AD'\n }, {\n since: '0000-12-31',\n until: -Infinity,\n offset: 1,\n name: 'Before Christ',\n narrow: 'BC',\n abbr: 'BC'\n }],\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function (number) {\n var b = number % 10,\n output = toInt(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n }\n });\n\n // Side effect imports\n\n hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale);\n hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale);\n var mathAbs = Math.abs;\n function abs() {\n var data = this._data;\n this._milliseconds = mathAbs(this._milliseconds);\n this._days = mathAbs(this._days);\n this._months = mathAbs(this._months);\n data.milliseconds = mathAbs(data.milliseconds);\n data.seconds = mathAbs(data.seconds);\n data.minutes = mathAbs(data.minutes);\n data.hours = mathAbs(data.hours);\n data.months = mathAbs(data.months);\n data.years = mathAbs(data.years);\n return this;\n }\n function addSubtract$1(duration, input, value, direction) {\n var other = createDuration(input, value);\n duration._milliseconds += direction * other._milliseconds;\n duration._days += direction * other._days;\n duration._months += direction * other._months;\n return duration._bubble();\n }\n\n // supports only 2.0-style add(1, 's') or add(duration)\n function add$1(input, value) {\n return addSubtract$1(this, input, value, 1);\n }\n\n // supports only 2.0-style subtract(1, 's') or subtract(duration)\n function subtract$1(input, value) {\n return addSubtract$1(this, input, value, -1);\n }\n function absCeil(number) {\n if (number < 0) {\n return Math.floor(number);\n } else {\n return Math.ceil(number);\n }\n }\n function bubble() {\n var milliseconds = this._milliseconds,\n days = this._days,\n months = this._months,\n data = this._data,\n seconds,\n minutes,\n hours,\n years,\n monthsFromDays;\n\n // if we have a mix of positive and negative values, bubble down first\n // check: https://github.com/moment/moment/issues/2166\n if (!(milliseconds >= 0 && days >= 0 && months >= 0 || milliseconds <= 0 && days <= 0 && months <= 0)) {\n milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n days = 0;\n months = 0;\n }\n\n // The following code bubbles up values, see the tests for\n // examples of what that means.\n data.milliseconds = milliseconds % 1000;\n seconds = absFloor(milliseconds / 1000);\n data.seconds = seconds % 60;\n minutes = absFloor(seconds / 60);\n data.minutes = minutes % 60;\n hours = absFloor(minutes / 60);\n data.hours = hours % 24;\n days += absFloor(hours / 24);\n\n // convert days to months\n monthsFromDays = absFloor(daysToMonths(days));\n months += monthsFromDays;\n days -= absCeil(monthsToDays(monthsFromDays));\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n data.days = days;\n data.months = months;\n data.years = years;\n return this;\n }\n function daysToMonths(days) {\n // 400 years have 146097 days (taking into account leap year rules)\n // 400 years have 12 months === 4800\n return days * 4800 / 146097;\n }\n function monthsToDays(months) {\n // the reverse of daysToMonths\n return months * 146097 / 4800;\n }\n function as(units) {\n if (!this.isValid()) {\n return NaN;\n }\n var days,\n months,\n milliseconds = this._milliseconds;\n units = normalizeUnits(units);\n if (units === 'month' || units === 'quarter' || units === 'year') {\n days = this._days + milliseconds / 864e5;\n months = this._months + daysToMonths(days);\n switch (units) {\n case 'month':\n return months;\n case 'quarter':\n return months / 3;\n case 'year':\n return months / 12;\n }\n } else {\n // handle milliseconds separately because of floating point math errors (issue #1867)\n days = this._days + Math.round(monthsToDays(this._months));\n switch (units) {\n case 'week':\n return days / 7 + milliseconds / 6048e5;\n case 'day':\n return days + milliseconds / 864e5;\n case 'hour':\n return days * 24 + milliseconds / 36e5;\n case 'minute':\n return days * 1440 + milliseconds / 6e4;\n case 'second':\n return days * 86400 + milliseconds / 1000;\n // Math.floor prevents floating point math errors here\n case 'millisecond':\n return Math.floor(days * 864e5) + milliseconds;\n default:\n throw new Error('Unknown unit ' + units);\n }\n }\n }\n function makeAs(alias) {\n return function () {\n return this.as(alias);\n };\n }\n var asMilliseconds = makeAs('ms'),\n asSeconds = makeAs('s'),\n asMinutes = makeAs('m'),\n asHours = makeAs('h'),\n asDays = makeAs('d'),\n asWeeks = makeAs('w'),\n asMonths = makeAs('M'),\n asQuarters = makeAs('Q'),\n asYears = makeAs('y'),\n valueOf$1 = asMilliseconds;\n function clone$1() {\n return createDuration(this);\n }\n function get$2(units) {\n units = normalizeUnits(units);\n return this.isValid() ? this[units + 's']() : NaN;\n }\n function makeGetter(name) {\n return function () {\n return this.isValid() ? this._data[name] : NaN;\n };\n }\n var milliseconds = makeGetter('milliseconds'),\n seconds = makeGetter('seconds'),\n minutes = makeGetter('minutes'),\n hours = makeGetter('hours'),\n days = makeGetter('days'),\n months = makeGetter('months'),\n years = makeGetter('years');\n function weeks() {\n return absFloor(this.days() / 7);\n }\n var round = Math.round,\n thresholds = {\n ss: 44,\n // a few seconds to seconds\n s: 45,\n // seconds to minute\n m: 45,\n // minutes to hour\n h: 22,\n // hours to day\n d: 26,\n // days to month/week\n w: null,\n // weeks to month\n M: 11 // months to year\n };\n\n // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n }\n function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n var duration = createDuration(posNegDuration).abs(),\n seconds = round(duration.as('s')),\n minutes = round(duration.as('m')),\n hours = round(duration.as('h')),\n days = round(duration.as('d')),\n months = round(duration.as('M')),\n weeks = round(duration.as('w')),\n years = round(duration.as('y')),\n a = seconds <= thresholds.ss && ['s', seconds] || seconds < thresholds.s && ['ss', seconds] || minutes <= 1 && ['m'] || minutes < thresholds.m && ['mm', minutes] || hours <= 1 && ['h'] || hours < thresholds.h && ['hh', hours] || days <= 1 && ['d'] || days < thresholds.d && ['dd', days];\n if (thresholds.w != null) {\n a = a || weeks <= 1 && ['w'] || weeks < thresholds.w && ['ww', weeks];\n }\n a = a || months <= 1 && ['M'] || months < thresholds.M && ['MM', months] || years <= 1 && ['y'] || ['yy', years];\n a[2] = withoutSuffix;\n a[3] = +posNegDuration > 0;\n a[4] = locale;\n return substituteTimeAgo.apply(null, a);\n }\n\n // This function allows you to set the rounding function for relative time strings\n function getSetRelativeTimeRounding(roundingFunction) {\n if (roundingFunction === undefined) {\n return round;\n }\n if (typeof roundingFunction === 'function') {\n round = roundingFunction;\n return true;\n }\n return false;\n }\n\n // This function allows you to set a threshold for relative time strings\n function getSetRelativeTimeThreshold(threshold, limit) {\n if (thresholds[threshold] === undefined) {\n return false;\n }\n if (limit === undefined) {\n return thresholds[threshold];\n }\n thresholds[threshold] = limit;\n if (threshold === 's') {\n thresholds.ss = limit - 1;\n }\n return true;\n }\n function humanize(argWithSuffix, argThresholds) {\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n var withSuffix = false,\n th = thresholds,\n locale,\n output;\n if (typeof argWithSuffix === 'object') {\n argThresholds = argWithSuffix;\n argWithSuffix = false;\n }\n if (typeof argWithSuffix === 'boolean') {\n withSuffix = argWithSuffix;\n }\n if (typeof argThresholds === 'object') {\n th = Object.assign({}, thresholds, argThresholds);\n if (argThresholds.s != null && argThresholds.ss == null) {\n th.ss = argThresholds.s - 1;\n }\n }\n locale = this.localeData();\n output = relativeTime$1(this, !withSuffix, th, locale);\n if (withSuffix) {\n output = locale.pastFuture(+this, output);\n }\n return locale.postformat(output);\n }\n var abs$1 = Math.abs;\n function sign(x) {\n return (x > 0) - (x < 0) || +x;\n }\n function toISOString$1() {\n // for ISO strings we do not use the normal bubbling rules:\n // * milliseconds bubble up until they become hours\n // * days do not bubble at all\n // * months bubble up until they become years\n // This is because there is no context-free conversion between hours and days\n // (think of clock changes)\n // and also not between days and months (28-31 days per month)\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n var seconds = abs$1(this._milliseconds) / 1000,\n days = abs$1(this._days),\n months = abs$1(this._months),\n minutes,\n hours,\n years,\n s,\n total = this.asSeconds(),\n totalSign,\n ymSign,\n daysSign,\n hmsSign;\n if (!total) {\n // this is the same as C#'s (Noda) and python (isodate)...\n // but not other JS (goog.date)\n return 'P0D';\n }\n\n // 3600 seconds -> 60 minutes -> 1 hour\n minutes = absFloor(seconds / 60);\n hours = absFloor(minutes / 60);\n seconds %= 60;\n minutes %= 60;\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n totalSign = total < 0 ? '-' : '';\n ymSign = sign(this._months) !== sign(total) ? '-' : '';\n daysSign = sign(this._days) !== sign(total) ? '-' : '';\n hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n return totalSign + 'P' + (years ? ymSign + years + 'Y' : '') + (months ? ymSign + months + 'M' : '') + (days ? daysSign + days + 'D' : '') + (hours || minutes || seconds ? 'T' : '') + (hours ? hmsSign + hours + 'H' : '') + (minutes ? hmsSign + minutes + 'M' : '') + (seconds ? hmsSign + s + 'S' : '');\n }\n var proto$2 = Duration.prototype;\n proto$2.isValid = isValid$1;\n proto$2.abs = abs;\n proto$2.add = add$1;\n proto$2.subtract = subtract$1;\n proto$2.as = as;\n proto$2.asMilliseconds = asMilliseconds;\n proto$2.asSeconds = asSeconds;\n proto$2.asMinutes = asMinutes;\n proto$2.asHours = asHours;\n proto$2.asDays = asDays;\n proto$2.asWeeks = asWeeks;\n proto$2.asMonths = asMonths;\n proto$2.asQuarters = asQuarters;\n proto$2.asYears = asYears;\n proto$2.valueOf = valueOf$1;\n proto$2._bubble = bubble;\n proto$2.clone = clone$1;\n proto$2.get = get$2;\n proto$2.milliseconds = milliseconds;\n proto$2.seconds = seconds;\n proto$2.minutes = minutes;\n proto$2.hours = hours;\n proto$2.days = days;\n proto$2.weeks = weeks;\n proto$2.months = months;\n proto$2.years = years;\n proto$2.humanize = humanize;\n proto$2.toISOString = toISOString$1;\n proto$2.toString = toISOString$1;\n proto$2.toJSON = toISOString$1;\n proto$2.locale = locale;\n proto$2.localeData = localeData;\n proto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1);\n proto$2.lang = lang;\n\n // FORMATTING\n\n addFormatToken('X', 0, 0, 'unix');\n addFormatToken('x', 0, 0, 'valueOf');\n\n // PARSING\n\n addRegexToken('x', matchSigned);\n addRegexToken('X', matchTimestamp);\n addParseToken('X', function (input, array, config) {\n config._d = new Date(parseFloat(input) * 1000);\n });\n addParseToken('x', function (input, array, config) {\n config._d = new Date(toInt(input));\n });\n\n //! moment.js\n\n hooks.version = '2.30.1';\n setHookCallback(createLocal);\n hooks.fn = proto;\n hooks.min = min;\n hooks.max = max;\n hooks.now = now;\n hooks.utc = createUTC;\n hooks.unix = createUnix;\n hooks.months = listMonths;\n hooks.isDate = isDate;\n hooks.locale = getSetGlobalLocale;\n hooks.invalid = createInvalid;\n hooks.duration = createDuration;\n hooks.isMoment = isMoment;\n hooks.weekdays = listWeekdays;\n hooks.parseZone = createInZone;\n hooks.localeData = getLocale;\n hooks.isDuration = isDuration;\n hooks.monthsShort = listMonthsShort;\n hooks.weekdaysMin = listWeekdaysMin;\n hooks.defineLocale = defineLocale;\n hooks.updateLocale = updateLocale;\n hooks.locales = listLocales;\n hooks.weekdaysShort = listWeekdaysShort;\n hooks.normalizeUnits = normalizeUnits;\n hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n hooks.calendarFormat = getCalendarFormat;\n hooks.prototype = proto;\n\n // currently HTML5 input type only supports 24-hour formats\n hooks.HTML5_FMT = {\n DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm',\n // \n DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss',\n // \n DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS',\n // \n DATE: 'YYYY-MM-DD',\n // \n TIME: 'HH:mm',\n // \n TIME_SECONDS: 'HH:mm:ss',\n // \n TIME_MS: 'HH:mm:ss.SSS',\n // \n WEEK: 'GGGG-[W]WW',\n // \n MONTH: 'YYYY-MM' // \n };\n return hooks;\n});","export default function requiredArgs(required, args) {\n if (args.length < required) {\n throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');\n }\n}","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\nfunction AxiosError(message, code, config, request, response) {\n Error.call(this);\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n } else {\n this.stack = new Error().stack;\n }\n this.message = message;\n this.name = 'AxiosError';\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n if (response) {\n this.response = response;\n this.status = response.status ? response.status : null;\n }\n}\nutils.inherits(AxiosError, Error, {\n toJSON: function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: utils.toJSONObject(this.config),\n code: this.code,\n status: this.status\n };\n }\n});\nconst prototype = AxiosError.prototype;\nconst descriptors = {};\n['ERR_BAD_OPTION_VALUE', 'ERR_BAD_OPTION', 'ECONNABORTED', 'ETIMEDOUT', 'ERR_NETWORK', 'ERR_FR_TOO_MANY_REDIRECTS', 'ERR_DEPRECATED', 'ERR_BAD_RESPONSE', 'ERR_BAD_REQUEST', 'ERR_CANCELED', 'ERR_NOT_SUPPORT', 'ERR_INVALID_URL'\n// eslint-disable-next-line func-names\n].forEach(code => {\n descriptors[code] = {\n value: code\n };\n});\nObject.defineProperties(AxiosError, descriptors);\nObject.defineProperty(prototype, 'isAxiosError', {\n value: true\n});\n\n// eslint-disable-next-line func-names\nAxiosError.from = (error, code, config, request, response, customProps) => {\n const axiosError = Object.create(prototype);\n utils.toFlatObject(error, axiosError, function filter(obj) {\n return obj !== Error.prototype;\n }, prop => {\n return prop !== 'isAxiosError';\n });\n AxiosError.call(axiosError, error.message, code, config, request, response);\n axiosError.cause = error;\n axiosError.name = error.name;\n customProps && Object.assign(axiosError, customProps);\n return axiosError;\n};\nexport default AxiosError;","export const frontendURL = (path, params) => {\n const stringifiedParams = params ? `?${new URLSearchParams(params)}` : '';\n return `/app/${path}${stringifiedParams}`;\n};\n\nexport const conversationUrl = ({\n accountId,\n activeInbox,\n id,\n label,\n teamId,\n conversationType = '',\n foldersId,\n}) => {\n let url = `accounts/${accountId}/conversations/${id}`;\n if (activeInbox) {\n url = `accounts/${accountId}/inbox/${activeInbox}/conversations/${id}`;\n } else if (label) {\n url = `accounts/${accountId}/label/${label}/conversations/${id}`;\n } else if (teamId) {\n url = `accounts/${accountId}/team/${teamId}/conversations/${id}`;\n } else if (foldersId && foldersId !== 0) {\n url = `accounts/${accountId}/custom_view/${foldersId}/conversations/${id}`;\n } else if (conversationType === 'mention') {\n url = `accounts/${accountId}/mentions/conversations/${id}`;\n } else if (conversationType === 'participating') {\n url = `accounts/${accountId}/participating/conversations/${id}`;\n } else if (conversationType === 'unattended') {\n url = `accounts/${accountId}/unattended/conversations/${id}`;\n }\n return url;\n};\n\nexport const conversationListPageURL = ({\n accountId,\n conversationType = '',\n inboxId,\n label,\n teamId,\n customViewId,\n}) => {\n let url = `accounts/${accountId}/dashboard`;\n if (label) {\n url = `accounts/${accountId}/label/${label}`;\n } else if (teamId) {\n url = `accounts/${accountId}/team/${teamId}`;\n } else if (inboxId) {\n url = `accounts/${accountId}/inbox/${inboxId}`;\n } else if (customViewId) {\n url = `accounts/${accountId}/custom_view/${customViewId}`;\n } else if (conversationType) {\n const urlMap = {\n mention: 'mentions/conversations',\n unattended: 'unattended/conversations',\n };\n url = `accounts/${accountId}/${urlMap[conversationType]}`;\n }\n return frontendURL(url);\n};\n\nexport const isValidURL = value => {\n /* eslint-disable no-useless-escape */\n const URL_REGEX =\n /^https?:\\/\\/(?:www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_\\+.~#?&//=]*)$/gm;\n return URL_REGEX.test(value);\n};\n\nexport const getArticleSearchURL = ({\n host,\n portalSlug,\n pageNumber,\n locale,\n status,\n authorId,\n categorySlug,\n sort,\n query,\n}) => {\n const queryParams = new URLSearchParams({});\n\n const params = {\n page: pageNumber,\n locale,\n status,\n author_id: authorId,\n category_slug: categorySlug,\n sort,\n query,\n };\n\n Object.entries(params).forEach(([key, value]) => {\n if (value !== null && value !== undefined) {\n queryParams.set(key, value);\n }\n });\n\n return `${host}/${portalSlug}/articles?${queryParams.toString()}`;\n};\n\nexport const hasValidAvatarUrl = avatarUrl => {\n try {\n const { host: avatarUrlHost } = new URL(avatarUrl);\n const isFromGravatar = ['www.gravatar.com', 'gravatar'].includes(\n avatarUrlHost\n );\n return avatarUrl && !isFromGravatar;\n } catch (error) {\n return false;\n }\n};\n","// ::- Persistent data structure representing an ordered mapping from\n// strings to values, with some convenient update methods.\nfunction OrderedMap(content) {\n this.content = content;\n}\nOrderedMap.prototype = {\n constructor: OrderedMap,\n find: function (key) {\n for (var i = 0; i < this.content.length; i += 2) if (this.content[i] === key) return i;\n return -1;\n },\n // :: (string) → ?any\n // Retrieve the value stored under `key`, or return undefined when\n // no such key exists.\n get: function (key) {\n var found = this.find(key);\n return found == -1 ? undefined : this.content[found + 1];\n },\n // :: (string, any, ?string) → OrderedMap\n // Create a new map by replacing the value of `key` with a new\n // value, or adding a binding to the end of the map. If `newKey` is\n // given, the key of the binding will be replaced with that key.\n update: function (key, value, newKey) {\n var self = newKey && newKey != key ? this.remove(newKey) : this;\n var found = self.find(key),\n content = self.content.slice();\n if (found == -1) {\n content.push(newKey || key, value);\n } else {\n content[found + 1] = value;\n if (newKey) content[found] = newKey;\n }\n return new OrderedMap(content);\n },\n // :: (string) → OrderedMap\n // Return a map with the given key removed, if it existed.\n remove: function (key) {\n var found = this.find(key);\n if (found == -1) return this;\n var content = this.content.slice();\n content.splice(found, 2);\n return new OrderedMap(content);\n },\n // :: (string, any) → OrderedMap\n // Add a new key to the start of the map.\n addToStart: function (key, value) {\n return new OrderedMap([key, value].concat(this.remove(key).content));\n },\n // :: (string, any) → OrderedMap\n // Add a new key to the end of the map.\n addToEnd: function (key, value) {\n var content = this.remove(key).content.slice();\n content.push(key, value);\n return new OrderedMap(content);\n },\n // :: (string, string, any) → OrderedMap\n // Add a key after the given key. If `place` is not found, the new\n // key is added to the end.\n addBefore: function (place, key, value) {\n var without = this.remove(key),\n content = without.content.slice();\n var found = without.find(place);\n content.splice(found == -1 ? content.length : found, 0, key, value);\n return new OrderedMap(content);\n },\n // :: ((key: string, value: any))\n // Call the given function for each key/value pair in the map, in\n // order.\n forEach: function (f) {\n for (var i = 0; i < this.content.length; i += 2) f(this.content[i], this.content[i + 1]);\n },\n // :: (union) → OrderedMap\n // Create a new map by prepending the keys in this map that don't\n // appear in `map` before the keys in `map`.\n prepend: function (map) {\n map = OrderedMap.from(map);\n if (!map.size) return this;\n return new OrderedMap(map.content.concat(this.subtract(map).content));\n },\n // :: (union) → OrderedMap\n // Create a new map by appending the keys in this map that don't\n // appear in `map` after the keys in `map`.\n append: function (map) {\n map = OrderedMap.from(map);\n if (!map.size) return this;\n return new OrderedMap(this.subtract(map).content.concat(map.content));\n },\n // :: (union) → OrderedMap\n // Create a map containing all the keys in this map that don't\n // appear in `map`.\n subtract: function (map) {\n var result = this;\n map = OrderedMap.from(map);\n for (var i = 0; i < map.content.length; i += 2) result = result.remove(map.content[i]);\n return result;\n },\n // :: () → Object\n // Turn ordered map into a plain object.\n toObject: function () {\n var result = {};\n this.forEach(function (key, value) {\n result[key] = value;\n });\n return result;\n },\n // :: number\n // The amount of keys in this map.\n get size() {\n return this.content.length >> 1;\n }\n};\n\n// :: (?union) → OrderedMap\n// Return a map with the given content. If null, create an empty\n// map. If given an ordered map, return that map itself. If given an\n// object, create a map from the object's properties.\nOrderedMap.from = function (value) {\n if (value instanceof OrderedMap) return value;\n var content = [];\n if (value) for (var prop in value) content.push(prop, value[prop]);\n return new OrderedMap(content);\n};\nexport default OrderedMap;","import OrderedMap from 'orderedmap';\nfunction findDiffStart(a, b, pos) {\n for (let i = 0;; i++) {\n if (i == a.childCount || i == b.childCount) return a.childCount == b.childCount ? null : pos;\n let childA = a.child(i),\n childB = b.child(i);\n if (childA == childB) {\n pos += childA.nodeSize;\n continue;\n }\n if (!childA.sameMarkup(childB)) return pos;\n if (childA.isText && childA.text != childB.text) {\n for (let j = 0; childA.text[j] == childB.text[j]; j++) pos++;\n return pos;\n }\n if (childA.content.size || childB.content.size) {\n let inner = findDiffStart(childA.content, childB.content, pos + 1);\n if (inner != null) return inner;\n }\n pos += childA.nodeSize;\n }\n}\nfunction findDiffEnd(a, b, posA, posB) {\n for (let iA = a.childCount, iB = b.childCount;;) {\n if (iA == 0 || iB == 0) return iA == iB ? null : {\n a: posA,\n b: posB\n };\n let childA = a.child(--iA),\n childB = b.child(--iB),\n size = childA.nodeSize;\n if (childA == childB) {\n posA -= size;\n posB -= size;\n continue;\n }\n if (!childA.sameMarkup(childB)) return {\n a: posA,\n b: posB\n };\n if (childA.isText && childA.text != childB.text) {\n let same = 0,\n minSize = Math.min(childA.text.length, childB.text.length);\n while (same < minSize && childA.text[childA.text.length - same - 1] == childB.text[childB.text.length - same - 1]) {\n same++;\n posA--;\n posB--;\n }\n return {\n a: posA,\n b: posB\n };\n }\n if (childA.content.size || childB.content.size) {\n let inner = findDiffEnd(childA.content, childB.content, posA - 1, posB - 1);\n if (inner) return inner;\n }\n posA -= size;\n posB -= size;\n }\n}\n\n/**\nA fragment represents a node's collection of child nodes.\n\nLike nodes, fragments are persistent data structures, and you\nshould not mutate them or their content. Rather, you create new\ninstances whenever needed. The API tries to make this easy.\n*/\nclass Fragment {\n /**\n @internal\n */\n constructor(\n /**\n The child nodes in this fragment.\n */\n content, size) {\n this.content = content;\n this.size = size || 0;\n if (size == null) for (let i = 0; i < content.length; i++) this.size += content[i].nodeSize;\n }\n /**\n Invoke a callback for all descendant nodes between the given two\n positions (relative to start of this fragment). Doesn't descend\n into a node when the callback returns `false`.\n */\n nodesBetween(from, to, f) {\n let nodeStart = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n let parent = arguments.length > 4 ? arguments[4] : undefined;\n for (let i = 0, pos = 0; pos < to; i++) {\n let child = this.content[i],\n end = pos + child.nodeSize;\n if (end > from && f(child, nodeStart + pos, parent || null, i) !== false && child.content.size) {\n let start = pos + 1;\n child.nodesBetween(Math.max(0, from - start), Math.min(child.content.size, to - start), f, nodeStart + start);\n }\n pos = end;\n }\n }\n /**\n Call the given callback for every descendant node. `pos` will be\n relative to the start of the fragment. The callback may return\n `false` to prevent traversal of a given node's children.\n */\n descendants(f) {\n this.nodesBetween(0, this.size, f);\n }\n /**\n Extract the text between `from` and `to`. See the same method on\n [`Node`](https://prosemirror.net/docs/ref/#model.Node.textBetween).\n */\n textBetween(from, to, blockSeparator, leafText) {\n let text = \"\",\n first = true;\n this.nodesBetween(from, to, (node, pos) => {\n let nodeText = node.isText ? node.text.slice(Math.max(from, pos) - pos, to - pos) : !node.isLeaf ? \"\" : leafText ? typeof leafText === \"function\" ? leafText(node) : leafText : node.type.spec.leafText ? node.type.spec.leafText(node) : \"\";\n if (node.isBlock && (node.isLeaf && nodeText || node.isTextblock) && blockSeparator) {\n if (first) first = false;else text += blockSeparator;\n }\n text += nodeText;\n }, 0);\n return text;\n }\n /**\n Create a new fragment containing the combined content of this\n fragment and the other.\n */\n append(other) {\n if (!other.size) return this;\n if (!this.size) return other;\n let last = this.lastChild,\n first = other.firstChild,\n content = this.content.slice(),\n i = 0;\n if (last.isText && last.sameMarkup(first)) {\n content[content.length - 1] = last.withText(last.text + first.text);\n i = 1;\n }\n for (; i < other.content.length; i++) content.push(other.content[i]);\n return new Fragment(content, this.size + other.size);\n }\n /**\n Cut out the sub-fragment between the two given positions.\n */\n cut(from) {\n let to = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.size;\n if (from == 0 && to == this.size) return this;\n let result = [],\n size = 0;\n if (to > from) for (let i = 0, pos = 0; pos < to; i++) {\n let child = this.content[i],\n end = pos + child.nodeSize;\n if (end > from) {\n if (pos < from || end > to) {\n if (child.isText) child = child.cut(Math.max(0, from - pos), Math.min(child.text.length, to - pos));else child = child.cut(Math.max(0, from - pos - 1), Math.min(child.content.size, to - pos - 1));\n }\n result.push(child);\n size += child.nodeSize;\n }\n pos = end;\n }\n return new Fragment(result, size);\n }\n /**\n @internal\n */\n cutByIndex(from, to) {\n if (from == to) return Fragment.empty;\n if (from == 0 && to == this.content.length) return this;\n return new Fragment(this.content.slice(from, to));\n }\n /**\n Create a new fragment in which the node at the given index is\n replaced by the given node.\n */\n replaceChild(index, node) {\n let current = this.content[index];\n if (current == node) return this;\n let copy = this.content.slice();\n let size = this.size + node.nodeSize - current.nodeSize;\n copy[index] = node;\n return new Fragment(copy, size);\n }\n /**\n Create a new fragment by prepending the given node to this\n fragment.\n */\n addToStart(node) {\n return new Fragment([node].concat(this.content), this.size + node.nodeSize);\n }\n /**\n Create a new fragment by appending the given node to this\n fragment.\n */\n addToEnd(node) {\n return new Fragment(this.content.concat(node), this.size + node.nodeSize);\n }\n /**\n Compare this fragment to another one.\n */\n eq(other) {\n if (this.content.length != other.content.length) return false;\n for (let i = 0; i < this.content.length; i++) if (!this.content[i].eq(other.content[i])) return false;\n return true;\n }\n /**\n The first child of the fragment, or `null` if it is empty.\n */\n get firstChild() {\n return this.content.length ? this.content[0] : null;\n }\n /**\n The last child of the fragment, or `null` if it is empty.\n */\n get lastChild() {\n return this.content.length ? this.content[this.content.length - 1] : null;\n }\n /**\n The number of child nodes in this fragment.\n */\n get childCount() {\n return this.content.length;\n }\n /**\n Get the child node at the given index. Raise an error when the\n index is out of range.\n */\n child(index) {\n let found = this.content[index];\n if (!found) throw new RangeError(\"Index \" + index + \" out of range for \" + this);\n return found;\n }\n /**\n Get the child node at the given index, if it exists.\n */\n maybeChild(index) {\n return this.content[index] || null;\n }\n /**\n Call `f` for every child node, passing the node, its offset\n into this parent node, and its index.\n */\n forEach(f) {\n for (let i = 0, p = 0; i < this.content.length; i++) {\n let child = this.content[i];\n f(child, p, i);\n p += child.nodeSize;\n }\n }\n /**\n Find the first position at which this fragment and another\n fragment differ, or `null` if they are the same.\n */\n findDiffStart(other) {\n let pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return findDiffStart(this, other, pos);\n }\n /**\n Find the first position, searching from the end, at which this\n fragment and the given fragment differ, or `null` if they are\n the same. Since this position will not be the same in both\n nodes, an object with two separate positions is returned.\n */\n findDiffEnd(other) {\n let pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.size;\n let otherPos = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : other.size;\n return findDiffEnd(this, other, pos, otherPos);\n }\n /**\n Find the index and inner offset corresponding to a given relative\n position in this fragment. The result object will be reused\n (overwritten) the next time the function is called. @internal\n */\n findIndex(pos) {\n let round = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;\n if (pos == 0) return retIndex(0, pos);\n if (pos == this.size) return retIndex(this.content.length, pos);\n if (pos > this.size || pos < 0) throw new RangeError(`Position ${pos} outside of fragment (${this})`);\n for (let i = 0, curPos = 0;; i++) {\n let cur = this.child(i),\n end = curPos + cur.nodeSize;\n if (end >= pos) {\n if (end == pos || round > 0) return retIndex(i + 1, end);\n return retIndex(i, curPos);\n }\n curPos = end;\n }\n }\n /**\n Return a debugging string that describes this fragment.\n */\n toString() {\n return \"<\" + this.toStringInner() + \">\";\n }\n /**\n @internal\n */\n toStringInner() {\n return this.content.join(\", \");\n }\n /**\n Create a JSON-serializeable representation of this fragment.\n */\n toJSON() {\n return this.content.length ? this.content.map(n => n.toJSON()) : null;\n }\n /**\n Deserialize a fragment from its JSON representation.\n */\n static fromJSON(schema, value) {\n if (!value) return Fragment.empty;\n if (!Array.isArray(value)) throw new RangeError(\"Invalid input for Fragment.fromJSON\");\n return new Fragment(value.map(schema.nodeFromJSON));\n }\n /**\n Build a fragment from an array of nodes. Ensures that adjacent\n text nodes with the same marks are joined together.\n */\n static fromArray(array) {\n if (!array.length) return Fragment.empty;\n let joined,\n size = 0;\n for (let i = 0; i < array.length; i++) {\n let node = array[i];\n size += node.nodeSize;\n if (i && node.isText && array[i - 1].sameMarkup(node)) {\n if (!joined) joined = array.slice(0, i);\n joined[joined.length - 1] = node.withText(joined[joined.length - 1].text + node.text);\n } else if (joined) {\n joined.push(node);\n }\n }\n return new Fragment(joined || array, size);\n }\n /**\n Create a fragment from something that can be interpreted as a\n set of nodes. For `null`, it returns the empty fragment. For a\n fragment, the fragment itself. For a node or array of nodes, a\n fragment containing those nodes.\n */\n static from(nodes) {\n if (!nodes) return Fragment.empty;\n if (nodes instanceof Fragment) return nodes;\n if (Array.isArray(nodes)) return this.fromArray(nodes);\n if (nodes.attrs) return new Fragment([nodes], nodes.nodeSize);\n throw new RangeError(\"Can not convert \" + nodes + \" to a Fragment\" + (nodes.nodesBetween ? \" (looks like multiple versions of prosemirror-model were loaded)\" : \"\"));\n }\n}\n/**\nAn empty fragment. Intended to be reused whenever a node doesn't\ncontain anything (rather than allocating a new empty fragment for\neach leaf node).\n*/\nFragment.empty = new Fragment([], 0);\nconst found = {\n index: 0,\n offset: 0\n};\nfunction retIndex(index, offset) {\n found.index = index;\n found.offset = offset;\n return found;\n}\nfunction compareDeep(a, b) {\n if (a === b) return true;\n if (!(a && typeof a == \"object\") || !(b && typeof b == \"object\")) return false;\n let array = Array.isArray(a);\n if (Array.isArray(b) != array) return false;\n if (array) {\n if (a.length != b.length) return false;\n for (let i = 0; i < a.length; i++) if (!compareDeep(a[i], b[i])) return false;\n } else {\n for (let p in a) if (!(p in b) || !compareDeep(a[p], b[p])) return false;\n for (let p in b) if (!(p in a)) return false;\n }\n return true;\n}\n\n/**\nA mark is a piece of information that can be attached to a node,\nsuch as it being emphasized, in code font, or a link. It has a\ntype and optionally a set of attributes that provide further\ninformation (such as the target of the link). Marks are created\nthrough a `Schema`, which controls which types exist and which\nattributes they have.\n*/\nclass Mark {\n /**\n @internal\n */\n constructor(\n /**\n The type of this mark.\n */\n type,\n /**\n The attributes associated with this mark.\n */\n attrs) {\n this.type = type;\n this.attrs = attrs;\n }\n /**\n Given a set of marks, create a new set which contains this one as\n well, in the right position. If this mark is already in the set,\n the set itself is returned. If any marks that are set to be\n [exclusive](https://prosemirror.net/docs/ref/#model.MarkSpec.excludes) with this mark are present,\n those are replaced by this one.\n */\n addToSet(set) {\n let copy,\n placed = false;\n for (let i = 0; i < set.length; i++) {\n let other = set[i];\n if (this.eq(other)) return set;\n if (this.type.excludes(other.type)) {\n if (!copy) copy = set.slice(0, i);\n } else if (other.type.excludes(this.type)) {\n return set;\n } else {\n if (!placed && other.type.rank > this.type.rank) {\n if (!copy) copy = set.slice(0, i);\n copy.push(this);\n placed = true;\n }\n if (copy) copy.push(other);\n }\n }\n if (!copy) copy = set.slice();\n if (!placed) copy.push(this);\n return copy;\n }\n /**\n Remove this mark from the given set, returning a new set. If this\n mark is not in the set, the set itself is returned.\n */\n removeFromSet(set) {\n for (let i = 0; i < set.length; i++) if (this.eq(set[i])) return set.slice(0, i).concat(set.slice(i + 1));\n return set;\n }\n /**\n Test whether this mark is in the given set of marks.\n */\n isInSet(set) {\n for (let i = 0; i < set.length; i++) if (this.eq(set[i])) return true;\n return false;\n }\n /**\n Test whether this mark has the same type and attributes as\n another mark.\n */\n eq(other) {\n return this == other || this.type == other.type && compareDeep(this.attrs, other.attrs);\n }\n /**\n Convert this mark to a JSON-serializeable representation.\n */\n toJSON() {\n let obj = {\n type: this.type.name\n };\n for (let _ in this.attrs) {\n obj.attrs = this.attrs;\n break;\n }\n return obj;\n }\n /**\n Deserialize a mark from JSON.\n */\n static fromJSON(schema, json) {\n if (!json) throw new RangeError(\"Invalid input for Mark.fromJSON\");\n let type = schema.marks[json.type];\n if (!type) throw new RangeError(`There is no mark type ${json.type} in this schema`);\n let mark = type.create(json.attrs);\n type.checkAttrs(mark.attrs);\n return mark;\n }\n /**\n Test whether two sets of marks are identical.\n */\n static sameSet(a, b) {\n if (a == b) return true;\n if (a.length != b.length) return false;\n for (let i = 0; i < a.length; i++) if (!a[i].eq(b[i])) return false;\n return true;\n }\n /**\n Create a properly sorted mark set from null, a single mark, or an\n unsorted array of marks.\n */\n static setFrom(marks) {\n if (!marks || Array.isArray(marks) && marks.length == 0) return Mark.none;\n if (marks instanceof Mark) return [marks];\n let copy = marks.slice();\n copy.sort((a, b) => a.type.rank - b.type.rank);\n return copy;\n }\n}\n/**\nThe empty set of marks.\n*/\nMark.none = [];\n\n/**\nError type raised by [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) when\ngiven an invalid replacement.\n*/\nclass ReplaceError extends Error {}\n/*\nReplaceError = function(this: any, message: string) {\n let err = Error.call(this, message)\n ;(err as any).__proto__ = ReplaceError.prototype\n return err\n} as any\n\nReplaceError.prototype = Object.create(Error.prototype)\nReplaceError.prototype.constructor = ReplaceError\nReplaceError.prototype.name = \"ReplaceError\"\n*/\n/**\nA slice represents a piece cut out of a larger document. It\nstores not only a fragment, but also the depth up to which nodes on\nboth side are ‘open’ (cut through).\n*/\nclass Slice {\n /**\n Create a slice. When specifying a non-zero open depth, you must\n make sure that there are nodes of at least that depth at the\n appropriate side of the fragment—i.e. if the fragment is an\n empty paragraph node, `openStart` and `openEnd` can't be greater\n than 1.\n \n It is not necessary for the content of open nodes to conform to\n the schema's content constraints, though it should be a valid\n start/end/middle for such a node, depending on which sides are\n open.\n */\n constructor(\n /**\n The slice's content.\n */\n content,\n /**\n The open depth at the start of the fragment.\n */\n openStart,\n /**\n The open depth at the end.\n */\n openEnd) {\n this.content = content;\n this.openStart = openStart;\n this.openEnd = openEnd;\n }\n /**\n The size this slice would add when inserted into a document.\n */\n get size() {\n return this.content.size - this.openStart - this.openEnd;\n }\n /**\n @internal\n */\n insertAt(pos, fragment) {\n let content = insertInto(this.content, pos + this.openStart, fragment);\n return content && new Slice(content, this.openStart, this.openEnd);\n }\n /**\n @internal\n */\n removeBetween(from, to) {\n return new Slice(removeRange(this.content, from + this.openStart, to + this.openStart), this.openStart, this.openEnd);\n }\n /**\n Tests whether this slice is equal to another slice.\n */\n eq(other) {\n return this.content.eq(other.content) && this.openStart == other.openStart && this.openEnd == other.openEnd;\n }\n /**\n @internal\n */\n toString() {\n return this.content + \"(\" + this.openStart + \",\" + this.openEnd + \")\";\n }\n /**\n Convert a slice to a JSON-serializable representation.\n */\n toJSON() {\n if (!this.content.size) return null;\n let json = {\n content: this.content.toJSON()\n };\n if (this.openStart > 0) json.openStart = this.openStart;\n if (this.openEnd > 0) json.openEnd = this.openEnd;\n return json;\n }\n /**\n Deserialize a slice from its JSON representation.\n */\n static fromJSON(schema, json) {\n if (!json) return Slice.empty;\n let openStart = json.openStart || 0,\n openEnd = json.openEnd || 0;\n if (typeof openStart != \"number\" || typeof openEnd != \"number\") throw new RangeError(\"Invalid input for Slice.fromJSON\");\n return new Slice(Fragment.fromJSON(schema, json.content), openStart, openEnd);\n }\n /**\n Create a slice from a fragment by taking the maximum possible\n open value on both side of the fragment.\n */\n static maxOpen(fragment) {\n let openIsolating = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n let openStart = 0,\n openEnd = 0;\n for (let n = fragment.firstChild; n && !n.isLeaf && (openIsolating || !n.type.spec.isolating); n = n.firstChild) openStart++;\n for (let n = fragment.lastChild; n && !n.isLeaf && (openIsolating || !n.type.spec.isolating); n = n.lastChild) openEnd++;\n return new Slice(fragment, openStart, openEnd);\n }\n}\n/**\nThe empty slice.\n*/\nSlice.empty = new Slice(Fragment.empty, 0, 0);\nfunction removeRange(content, from, to) {\n let {\n index,\n offset\n } = content.findIndex(from),\n child = content.maybeChild(index);\n let {\n index: indexTo,\n offset: offsetTo\n } = content.findIndex(to);\n if (offset == from || child.isText) {\n if (offsetTo != to && !content.child(indexTo).isText) throw new RangeError(\"Removing non-flat range\");\n return content.cut(0, from).append(content.cut(to));\n }\n if (index != indexTo) throw new RangeError(\"Removing non-flat range\");\n return content.replaceChild(index, child.copy(removeRange(child.content, from - offset - 1, to - offset - 1)));\n}\nfunction insertInto(content, dist, insert, parent) {\n let {\n index,\n offset\n } = content.findIndex(dist),\n child = content.maybeChild(index);\n if (offset == dist || child.isText) {\n if (parent && !parent.canReplace(index, index, insert)) return null;\n return content.cut(0, dist).append(insert).append(content.cut(dist));\n }\n let inner = insertInto(child.content, dist - offset - 1, insert);\n return inner && content.replaceChild(index, child.copy(inner));\n}\nfunction replace($from, $to, slice) {\n if (slice.openStart > $from.depth) throw new ReplaceError(\"Inserted content deeper than insertion position\");\n if ($from.depth - slice.openStart != $to.depth - slice.openEnd) throw new ReplaceError(\"Inconsistent open depths\");\n return replaceOuter($from, $to, slice, 0);\n}\nfunction replaceOuter($from, $to, slice, depth) {\n let index = $from.index(depth),\n node = $from.node(depth);\n if (index == $to.index(depth) && depth < $from.depth - slice.openStart) {\n let inner = replaceOuter($from, $to, slice, depth + 1);\n return node.copy(node.content.replaceChild(index, inner));\n } else if (!slice.content.size) {\n return close(node, replaceTwoWay($from, $to, depth));\n } else if (!slice.openStart && !slice.openEnd && $from.depth == depth && $to.depth == depth) {\n // Simple, flat case\n let parent = $from.parent,\n content = parent.content;\n return close(parent, content.cut(0, $from.parentOffset).append(slice.content).append(content.cut($to.parentOffset)));\n } else {\n let {\n start,\n end\n } = prepareSliceForReplace(slice, $from);\n return close(node, replaceThreeWay($from, start, end, $to, depth));\n }\n}\nfunction checkJoin(main, sub) {\n if (!sub.type.compatibleContent(main.type)) throw new ReplaceError(\"Cannot join \" + sub.type.name + \" onto \" + main.type.name);\n}\nfunction joinable($before, $after, depth) {\n let node = $before.node(depth);\n checkJoin(node, $after.node(depth));\n return node;\n}\nfunction addNode(child, target) {\n let last = target.length - 1;\n if (last >= 0 && child.isText && child.sameMarkup(target[last])) target[last] = child.withText(target[last].text + child.text);else target.push(child);\n}\nfunction addRange($start, $end, depth, target) {\n let node = ($end || $start).node(depth);\n let startIndex = 0,\n endIndex = $end ? $end.index(depth) : node.childCount;\n if ($start) {\n startIndex = $start.index(depth);\n if ($start.depth > depth) {\n startIndex++;\n } else if ($start.textOffset) {\n addNode($start.nodeAfter, target);\n startIndex++;\n }\n }\n for (let i = startIndex; i < endIndex; i++) addNode(node.child(i), target);\n if ($end && $end.depth == depth && $end.textOffset) addNode($end.nodeBefore, target);\n}\nfunction close(node, content) {\n node.type.checkContent(content);\n return node.copy(content);\n}\nfunction replaceThreeWay($from, $start, $end, $to, depth) {\n let openStart = $from.depth > depth && joinable($from, $start, depth + 1);\n let openEnd = $to.depth > depth && joinable($end, $to, depth + 1);\n let content = [];\n addRange(null, $from, depth, content);\n if (openStart && openEnd && $start.index(depth) == $end.index(depth)) {\n checkJoin(openStart, openEnd);\n addNode(close(openStart, replaceThreeWay($from, $start, $end, $to, depth + 1)), content);\n } else {\n if (openStart) addNode(close(openStart, replaceTwoWay($from, $start, depth + 1)), content);\n addRange($start, $end, depth, content);\n if (openEnd) addNode(close(openEnd, replaceTwoWay($end, $to, depth + 1)), content);\n }\n addRange($to, null, depth, content);\n return new Fragment(content);\n}\nfunction replaceTwoWay($from, $to, depth) {\n let content = [];\n addRange(null, $from, depth, content);\n if ($from.depth > depth) {\n let type = joinable($from, $to, depth + 1);\n addNode(close(type, replaceTwoWay($from, $to, depth + 1)), content);\n }\n addRange($to, null, depth, content);\n return new Fragment(content);\n}\nfunction prepareSliceForReplace(slice, $along) {\n let extra = $along.depth - slice.openStart,\n parent = $along.node(extra);\n let node = parent.copy(slice.content);\n for (let i = extra - 1; i >= 0; i--) node = $along.node(i).copy(Fragment.from(node));\n return {\n start: node.resolveNoCache(slice.openStart + extra),\n end: node.resolveNoCache(node.content.size - slice.openEnd - extra)\n };\n}\n\n/**\nYou can [_resolve_](https://prosemirror.net/docs/ref/#model.Node.resolve) a position to get more\ninformation about it. Objects of this class represent such a\nresolved position, providing various pieces of context\ninformation, and some helper methods.\n\nThroughout this interface, methods that take an optional `depth`\nparameter will interpret undefined as `this.depth` and negative\nnumbers as `this.depth + value`.\n*/\nclass ResolvedPos {\n /**\n @internal\n */\n constructor(\n /**\n The position that was resolved.\n */\n pos,\n /**\n @internal\n */\n path,\n /**\n The offset this position has into its parent node.\n */\n parentOffset) {\n this.pos = pos;\n this.path = path;\n this.parentOffset = parentOffset;\n this.depth = path.length / 3 - 1;\n }\n /**\n @internal\n */\n resolveDepth(val) {\n if (val == null) return this.depth;\n if (val < 0) return this.depth + val;\n return val;\n }\n /**\n The parent node that the position points into. Note that even if\n a position points into a text node, that node is not considered\n the parent—text nodes are ‘flat’ in this model, and have no content.\n */\n get parent() {\n return this.node(this.depth);\n }\n /**\n The root node in which the position was resolved.\n */\n get doc() {\n return this.node(0);\n }\n /**\n The ancestor node at the given level. `p.node(p.depth)` is the\n same as `p.parent`.\n */\n node(depth) {\n return this.path[this.resolveDepth(depth) * 3];\n }\n /**\n The index into the ancestor at the given level. If this points\n at the 3rd node in the 2nd paragraph on the top level, for\n example, `p.index(0)` is 1 and `p.index(1)` is 2.\n */\n index(depth) {\n return this.path[this.resolveDepth(depth) * 3 + 1];\n }\n /**\n The index pointing after this position into the ancestor at the\n given level.\n */\n indexAfter(depth) {\n depth = this.resolveDepth(depth);\n return this.index(depth) + (depth == this.depth && !this.textOffset ? 0 : 1);\n }\n /**\n The (absolute) position at the start of the node at the given\n level.\n */\n start(depth) {\n depth = this.resolveDepth(depth);\n return depth == 0 ? 0 : this.path[depth * 3 - 1] + 1;\n }\n /**\n The (absolute) position at the end of the node at the given\n level.\n */\n end(depth) {\n depth = this.resolveDepth(depth);\n return this.start(depth) + this.node(depth).content.size;\n }\n /**\n The (absolute) position directly before the wrapping node at the\n given level, or, when `depth` is `this.depth + 1`, the original\n position.\n */\n before(depth) {\n depth = this.resolveDepth(depth);\n if (!depth) throw new RangeError(\"There is no position before the top-level node\");\n return depth == this.depth + 1 ? this.pos : this.path[depth * 3 - 1];\n }\n /**\n The (absolute) position directly after the wrapping node at the\n given level, or the original position when `depth` is `this.depth + 1`.\n */\n after(depth) {\n depth = this.resolveDepth(depth);\n if (!depth) throw new RangeError(\"There is no position after the top-level node\");\n return depth == this.depth + 1 ? this.pos : this.path[depth * 3 - 1] + this.path[depth * 3].nodeSize;\n }\n /**\n When this position points into a text node, this returns the\n distance between the position and the start of the text node.\n Will be zero for positions that point between nodes.\n */\n get textOffset() {\n return this.pos - this.path[this.path.length - 1];\n }\n /**\n Get the node directly after the position, if any. If the position\n points into a text node, only the part of that node after the\n position is returned.\n */\n get nodeAfter() {\n let parent = this.parent,\n index = this.index(this.depth);\n if (index == parent.childCount) return null;\n let dOff = this.pos - this.path[this.path.length - 1],\n child = parent.child(index);\n return dOff ? parent.child(index).cut(dOff) : child;\n }\n /**\n Get the node directly before the position, if any. If the\n position points into a text node, only the part of that node\n before the position is returned.\n */\n get nodeBefore() {\n let index = this.index(this.depth);\n let dOff = this.pos - this.path[this.path.length - 1];\n if (dOff) return this.parent.child(index).cut(0, dOff);\n return index == 0 ? null : this.parent.child(index - 1);\n }\n /**\n Get the position at the given index in the parent node at the\n given depth (which defaults to `this.depth`).\n */\n posAtIndex(index, depth) {\n depth = this.resolveDepth(depth);\n let node = this.path[depth * 3],\n pos = depth == 0 ? 0 : this.path[depth * 3 - 1] + 1;\n for (let i = 0; i < index; i++) pos += node.child(i).nodeSize;\n return pos;\n }\n /**\n Get the marks at this position, factoring in the surrounding\n marks' [`inclusive`](https://prosemirror.net/docs/ref/#model.MarkSpec.inclusive) property. If the\n position is at the start of a non-empty node, the marks of the\n node after it (if any) are returned.\n */\n marks() {\n let parent = this.parent,\n index = this.index();\n // In an empty parent, return the empty array\n if (parent.content.size == 0) return Mark.none;\n // When inside a text node, just return the text node's marks\n if (this.textOffset) return parent.child(index).marks;\n let main = parent.maybeChild(index - 1),\n other = parent.maybeChild(index);\n // If the `after` flag is true of there is no node before, make\n // the node after this position the main reference.\n if (!main) {\n let tmp = main;\n main = other;\n other = tmp;\n }\n // Use all marks in the main node, except those that have\n // `inclusive` set to false and are not present in the other node.\n let marks = main.marks;\n for (var i = 0; i < marks.length; i++) if (marks[i].type.spec.inclusive === false && (!other || !marks[i].isInSet(other.marks))) marks = marks[i--].removeFromSet(marks);\n return marks;\n }\n /**\n Get the marks after the current position, if any, except those\n that are non-inclusive and not present at position `$end`. This\n is mostly useful for getting the set of marks to preserve after a\n deletion. Will return `null` if this position is at the end of\n its parent node or its parent node isn't a textblock (in which\n case no marks should be preserved).\n */\n marksAcross($end) {\n let after = this.parent.maybeChild(this.index());\n if (!after || !after.isInline) return null;\n let marks = after.marks,\n next = $end.parent.maybeChild($end.index());\n for (var i = 0; i < marks.length; i++) if (marks[i].type.spec.inclusive === false && (!next || !marks[i].isInSet(next.marks))) marks = marks[i--].removeFromSet(marks);\n return marks;\n }\n /**\n The depth up to which this position and the given (non-resolved)\n position share the same parent nodes.\n */\n sharedDepth(pos) {\n for (let depth = this.depth; depth > 0; depth--) if (this.start(depth) <= pos && this.end(depth) >= pos) return depth;\n return 0;\n }\n /**\n Returns a range based on the place where this position and the\n given position diverge around block content. If both point into\n the same textblock, for example, a range around that textblock\n will be returned. If they point into different blocks, the range\n around those blocks in their shared ancestor is returned. You can\n pass in an optional predicate that will be called with a parent\n node to see if a range into that parent is acceptable.\n */\n blockRange() {\n let other = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this;\n let pred = arguments.length > 1 ? arguments[1] : undefined;\n if (other.pos < this.pos) return other.blockRange(this);\n for (let d = this.depth - (this.parent.inlineContent || this.pos == other.pos ? 1 : 0); d >= 0; d--) if (other.pos <= this.end(d) && (!pred || pred(this.node(d)))) return new NodeRange(this, other, d);\n return null;\n }\n /**\n Query whether the given position shares the same parent node.\n */\n sameParent(other) {\n return this.pos - this.parentOffset == other.pos - other.parentOffset;\n }\n /**\n Return the greater of this and the given position.\n */\n max(other) {\n return other.pos > this.pos ? other : this;\n }\n /**\n Return the smaller of this and the given position.\n */\n min(other) {\n return other.pos < this.pos ? other : this;\n }\n /**\n @internal\n */\n toString() {\n let str = \"\";\n for (let i = 1; i <= this.depth; i++) str += (str ? \"/\" : \"\") + this.node(i).type.name + \"_\" + this.index(i - 1);\n return str + \":\" + this.parentOffset;\n }\n /**\n @internal\n */\n static resolve(doc, pos) {\n if (!(pos >= 0 && pos <= doc.content.size)) throw new RangeError(\"Position \" + pos + \" out of range\");\n let path = [];\n let start = 0,\n parentOffset = pos;\n for (let node = doc;;) {\n let {\n index,\n offset\n } = node.content.findIndex(parentOffset);\n let rem = parentOffset - offset;\n path.push(node, index, start + offset);\n if (!rem) break;\n node = node.child(index);\n if (node.isText) break;\n parentOffset = rem - 1;\n start += offset + 1;\n }\n return new ResolvedPos(pos, path, parentOffset);\n }\n /**\n @internal\n */\n static resolveCached(doc, pos) {\n let cache = resolveCache.get(doc);\n if (cache) {\n for (let i = 0; i < cache.elts.length; i++) {\n let elt = cache.elts[i];\n if (elt.pos == pos) return elt;\n }\n } else {\n resolveCache.set(doc, cache = new ResolveCache());\n }\n let result = cache.elts[cache.i] = ResolvedPos.resolve(doc, pos);\n cache.i = (cache.i + 1) % resolveCacheSize;\n return result;\n }\n}\nclass ResolveCache {\n constructor() {\n this.elts = [];\n this.i = 0;\n }\n}\nconst resolveCacheSize = 12,\n resolveCache = new WeakMap();\n/**\nRepresents a flat range of content, i.e. one that starts and\nends in the same node.\n*/\nclass NodeRange {\n /**\n Construct a node range. `$from` and `$to` should point into the\n same node until at least the given `depth`, since a node range\n denotes an adjacent set of nodes in a single parent node.\n */\n constructor(\n /**\n A resolved position along the start of the content. May have a\n `depth` greater than this object's `depth` property, since\n these are the positions that were used to compute the range,\n not re-resolved positions directly at its boundaries.\n */\n $from,\n /**\n A position along the end of the content. See\n caveat for [`$from`](https://prosemirror.net/docs/ref/#model.NodeRange.$from).\n */\n $to,\n /**\n The depth of the node that this range points into.\n */\n depth) {\n this.$from = $from;\n this.$to = $to;\n this.depth = depth;\n }\n /**\n The position at the start of the range.\n */\n get start() {\n return this.$from.before(this.depth + 1);\n }\n /**\n The position at the end of the range.\n */\n get end() {\n return this.$to.after(this.depth + 1);\n }\n /**\n The parent node that the range points into.\n */\n get parent() {\n return this.$from.node(this.depth);\n }\n /**\n The start index of the range in the parent node.\n */\n get startIndex() {\n return this.$from.index(this.depth);\n }\n /**\n The end index of the range in the parent node.\n */\n get endIndex() {\n return this.$to.indexAfter(this.depth);\n }\n}\nconst emptyAttrs = Object.create(null);\n/**\nThis class represents a node in the tree that makes up a\nProseMirror document. So a document is an instance of `Node`, with\nchildren that are also instances of `Node`.\n\nNodes are persistent data structures. Instead of changing them, you\ncreate new ones with the content you want. Old ones keep pointing\nat the old document shape. This is made cheaper by sharing\nstructure between the old and new data as much as possible, which a\ntree shape like this (without back pointers) makes easy.\n\n**Do not** directly mutate the properties of a `Node` object. See\n[the guide](/docs/guide/#doc) for more information.\n*/\nclass Node {\n /**\n @internal\n */\n constructor(\n /**\n The type of node that this is.\n */\n type,\n /**\n An object mapping attribute names to values. The kind of\n attributes allowed and required are\n [determined](https://prosemirror.net/docs/ref/#model.NodeSpec.attrs) by the node type.\n */\n attrs,\n // A fragment holding the node's children.\n content) {\n let marks = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : Mark.none;\n this.type = type;\n this.attrs = attrs;\n this.marks = marks;\n this.content = content || Fragment.empty;\n }\n /**\n The array of this node's child nodes.\n */\n get children() {\n return this.content.content;\n }\n /**\n The size of this node, as defined by the integer-based [indexing\n scheme](/docs/guide/#doc.indexing). For text nodes, this is the\n amount of characters. For other leaf nodes, it is one. For\n non-leaf nodes, it is the size of the content plus two (the\n start and end token).\n */\n get nodeSize() {\n return this.isLeaf ? 1 : 2 + this.content.size;\n }\n /**\n The number of children that the node has.\n */\n get childCount() {\n return this.content.childCount;\n }\n /**\n Get the child node at the given index. Raises an error when the\n index is out of range.\n */\n child(index) {\n return this.content.child(index);\n }\n /**\n Get the child node at the given index, if it exists.\n */\n maybeChild(index) {\n return this.content.maybeChild(index);\n }\n /**\n Call `f` for every child node, passing the node, its offset\n into this parent node, and its index.\n */\n forEach(f) {\n this.content.forEach(f);\n }\n /**\n Invoke a callback for all descendant nodes recursively between\n the given two positions that are relative to start of this\n node's content. The callback is invoked with the node, its\n position relative to the original node (method receiver),\n its parent node, and its child index. When the callback returns\n false for a given node, that node's children will not be\n recursed over. The last parameter can be used to specify a\n starting position to count from.\n */\n nodesBetween(from, to, f) {\n let startPos = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n this.content.nodesBetween(from, to, f, startPos, this);\n }\n /**\n Call the given callback for every descendant node. Doesn't\n descend into a node when the callback returns `false`.\n */\n descendants(f) {\n this.nodesBetween(0, this.content.size, f);\n }\n /**\n Concatenates all the text nodes found in this fragment and its\n children.\n */\n get textContent() {\n return this.isLeaf && this.type.spec.leafText ? this.type.spec.leafText(this) : this.textBetween(0, this.content.size, \"\");\n }\n /**\n Get all text between positions `from` and `to`. When\n `blockSeparator` is given, it will be inserted to separate text\n from different block nodes. If `leafText` is given, it'll be\n inserted for every non-text leaf node encountered, otherwise\n [`leafText`](https://prosemirror.net/docs/ref/#model.NodeSpec^leafText) will be used.\n */\n textBetween(from, to, blockSeparator, leafText) {\n return this.content.textBetween(from, to, blockSeparator, leafText);\n }\n /**\n Returns this node's first child, or `null` if there are no\n children.\n */\n get firstChild() {\n return this.content.firstChild;\n }\n /**\n Returns this node's last child, or `null` if there are no\n children.\n */\n get lastChild() {\n return this.content.lastChild;\n }\n /**\n Test whether two nodes represent the same piece of document.\n */\n eq(other) {\n return this == other || this.sameMarkup(other) && this.content.eq(other.content);\n }\n /**\n Compare the markup (type, attributes, and marks) of this node to\n those of another. Returns `true` if both have the same markup.\n */\n sameMarkup(other) {\n return this.hasMarkup(other.type, other.attrs, other.marks);\n }\n /**\n Check whether this node's markup correspond to the given type,\n attributes, and marks.\n */\n hasMarkup(type, attrs, marks) {\n return this.type == type && compareDeep(this.attrs, attrs || type.defaultAttrs || emptyAttrs) && Mark.sameSet(this.marks, marks || Mark.none);\n }\n /**\n Create a new node with the same markup as this node, containing\n the given content (or empty, if no content is given).\n */\n copy() {\n let content = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n if (content == this.content) return this;\n return new Node(this.type, this.attrs, content, this.marks);\n }\n /**\n Create a copy of this node, with the given set of marks instead\n of the node's own marks.\n */\n mark(marks) {\n return marks == this.marks ? this : new Node(this.type, this.attrs, this.content, marks);\n }\n /**\n Create a copy of this node with only the content between the\n given positions. If `to` is not given, it defaults to the end of\n the node.\n */\n cut(from) {\n let to = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.content.size;\n if (from == 0 && to == this.content.size) return this;\n return this.copy(this.content.cut(from, to));\n }\n /**\n Cut out the part of the document between the given positions, and\n return it as a `Slice` object.\n */\n slice(from) {\n let to = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.content.size;\n let includeParents = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n if (from == to) return Slice.empty;\n let $from = this.resolve(from),\n $to = this.resolve(to);\n let depth = includeParents ? 0 : $from.sharedDepth(to);\n let start = $from.start(depth),\n node = $from.node(depth);\n let content = node.content.cut($from.pos - start, $to.pos - start);\n return new Slice(content, $from.depth - depth, $to.depth - depth);\n }\n /**\n Replace the part of the document between the given positions with\n the given slice. The slice must 'fit', meaning its open sides\n must be able to connect to the surrounding content, and its\n content nodes must be valid children for the node they are placed\n into. If any of this is violated, an error of type\n [`ReplaceError`](https://prosemirror.net/docs/ref/#model.ReplaceError) is thrown.\n */\n replace(from, to, slice) {\n return replace(this.resolve(from), this.resolve(to), slice);\n }\n /**\n Find the node directly after the given position.\n */\n nodeAt(pos) {\n for (let node = this;;) {\n let {\n index,\n offset\n } = node.content.findIndex(pos);\n node = node.maybeChild(index);\n if (!node) return null;\n if (offset == pos || node.isText) return node;\n pos -= offset + 1;\n }\n }\n /**\n Find the (direct) child node after the given offset, if any,\n and return it along with its index and offset relative to this\n node.\n */\n childAfter(pos) {\n let {\n index,\n offset\n } = this.content.findIndex(pos);\n return {\n node: this.content.maybeChild(index),\n index,\n offset\n };\n }\n /**\n Find the (direct) child node before the given offset, if any,\n and return it along with its index and offset relative to this\n node.\n */\n childBefore(pos) {\n if (pos == 0) return {\n node: null,\n index: 0,\n offset: 0\n };\n let {\n index,\n offset\n } = this.content.findIndex(pos);\n if (offset < pos) return {\n node: this.content.child(index),\n index,\n offset\n };\n let node = this.content.child(index - 1);\n return {\n node,\n index: index - 1,\n offset: offset - node.nodeSize\n };\n }\n /**\n Resolve the given position in the document, returning an\n [object](https://prosemirror.net/docs/ref/#model.ResolvedPos) with information about its context.\n */\n resolve(pos) {\n return ResolvedPos.resolveCached(this, pos);\n }\n /**\n @internal\n */\n resolveNoCache(pos) {\n return ResolvedPos.resolve(this, pos);\n }\n /**\n Test whether a given mark or mark type occurs in this document\n between the two given positions.\n */\n rangeHasMark(from, to, type) {\n let found = false;\n if (to > from) this.nodesBetween(from, to, node => {\n if (type.isInSet(node.marks)) found = true;\n return !found;\n });\n return found;\n }\n /**\n True when this is a block (non-inline node)\n */\n get isBlock() {\n return this.type.isBlock;\n }\n /**\n True when this is a textblock node, a block node with inline\n content.\n */\n get isTextblock() {\n return this.type.isTextblock;\n }\n /**\n True when this node allows inline content.\n */\n get inlineContent() {\n return this.type.inlineContent;\n }\n /**\n True when this is an inline node (a text node or a node that can\n appear among text).\n */\n get isInline() {\n return this.type.isInline;\n }\n /**\n True when this is a text node.\n */\n get isText() {\n return this.type.isText;\n }\n /**\n True when this is a leaf node.\n */\n get isLeaf() {\n return this.type.isLeaf;\n }\n /**\n True when this is an atom, i.e. when it does not have directly\n editable content. This is usually the same as `isLeaf`, but can\n be configured with the [`atom` property](https://prosemirror.net/docs/ref/#model.NodeSpec.atom)\n on a node's spec (typically used when the node is displayed as\n an uneditable [node view](https://prosemirror.net/docs/ref/#view.NodeView)).\n */\n get isAtom() {\n return this.type.isAtom;\n }\n /**\n Return a string representation of this node for debugging\n purposes.\n */\n toString() {\n if (this.type.spec.toDebugString) return this.type.spec.toDebugString(this);\n let name = this.type.name;\n if (this.content.size) name += \"(\" + this.content.toStringInner() + \")\";\n return wrapMarks(this.marks, name);\n }\n /**\n Get the content match in this node at the given index.\n */\n contentMatchAt(index) {\n let match = this.type.contentMatch.matchFragment(this.content, 0, index);\n if (!match) throw new Error(\"Called contentMatchAt on a node with invalid content\");\n return match;\n }\n /**\n Test whether replacing the range between `from` and `to` (by\n child index) with the given replacement fragment (which defaults\n to the empty fragment) would leave the node's content valid. You\n can optionally pass `start` and `end` indices into the\n replacement fragment.\n */\n canReplace(from, to) {\n let replacement = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Fragment.empty;\n let start = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n let end = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : replacement.childCount;\n let one = this.contentMatchAt(from).matchFragment(replacement, start, end);\n let two = one && one.matchFragment(this.content, to);\n if (!two || !two.validEnd) return false;\n for (let i = start; i < end; i++) if (!this.type.allowsMarks(replacement.child(i).marks)) return false;\n return true;\n }\n /**\n Test whether replacing the range `from` to `to` (by index) with\n a node of the given type would leave the node's content valid.\n */\n canReplaceWith(from, to, type, marks) {\n if (marks && !this.type.allowsMarks(marks)) return false;\n let start = this.contentMatchAt(from).matchType(type);\n let end = start && start.matchFragment(this.content, to);\n return end ? end.validEnd : false;\n }\n /**\n Test whether the given node's content could be appended to this\n node. If that node is empty, this will only return true if there\n is at least one node type that can appear in both nodes (to avoid\n merging completely incompatible nodes).\n */\n canAppend(other) {\n if (other.content.size) return this.canReplace(this.childCount, this.childCount, other.content);else return this.type.compatibleContent(other.type);\n }\n /**\n Check whether this node and its descendants conform to the\n schema, and raise an exception when they do not.\n */\n check() {\n this.type.checkContent(this.content);\n this.type.checkAttrs(this.attrs);\n let copy = Mark.none;\n for (let i = 0; i < this.marks.length; i++) {\n let mark = this.marks[i];\n mark.type.checkAttrs(mark.attrs);\n copy = mark.addToSet(copy);\n }\n if (!Mark.sameSet(copy, this.marks)) throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(m => m.type.name)}`);\n this.content.forEach(node => node.check());\n }\n /**\n Return a JSON-serializeable representation of this node.\n */\n toJSON() {\n let obj = {\n type: this.type.name\n };\n for (let _ in this.attrs) {\n obj.attrs = this.attrs;\n break;\n }\n if (this.content.size) obj.content = this.content.toJSON();\n if (this.marks.length) obj.marks = this.marks.map(n => n.toJSON());\n return obj;\n }\n /**\n Deserialize a node from its JSON representation.\n */\n static fromJSON(schema, json) {\n if (!json) throw new RangeError(\"Invalid input for Node.fromJSON\");\n let marks = undefined;\n if (json.marks) {\n if (!Array.isArray(json.marks)) throw new RangeError(\"Invalid mark data for Node.fromJSON\");\n marks = json.marks.map(schema.markFromJSON);\n }\n if (json.type == \"text\") {\n if (typeof json.text != \"string\") throw new RangeError(\"Invalid text node in JSON\");\n return schema.text(json.text, marks);\n }\n let content = Fragment.fromJSON(schema, json.content);\n let node = schema.nodeType(json.type).create(json.attrs, content, marks);\n node.type.checkAttrs(node.attrs);\n return node;\n }\n}\nNode.prototype.text = undefined;\nclass TextNode extends Node {\n /**\n @internal\n */\n constructor(type, attrs, content, marks) {\n super(type, attrs, null, marks);\n if (!content) throw new RangeError(\"Empty text nodes are not allowed\");\n this.text = content;\n }\n toString() {\n if (this.type.spec.toDebugString) return this.type.spec.toDebugString(this);\n return wrapMarks(this.marks, JSON.stringify(this.text));\n }\n get textContent() {\n return this.text;\n }\n textBetween(from, to) {\n return this.text.slice(from, to);\n }\n get nodeSize() {\n return this.text.length;\n }\n mark(marks) {\n return marks == this.marks ? this : new TextNode(this.type, this.attrs, this.text, marks);\n }\n withText(text) {\n if (text == this.text) return this;\n return new TextNode(this.type, this.attrs, text, this.marks);\n }\n cut() {\n let from = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n let to = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.text.length;\n if (from == 0 && to == this.text.length) return this;\n return this.withText(this.text.slice(from, to));\n }\n eq(other) {\n return this.sameMarkup(other) && this.text == other.text;\n }\n toJSON() {\n let base = super.toJSON();\n base.text = this.text;\n return base;\n }\n}\nfunction wrapMarks(marks, str) {\n for (let i = marks.length - 1; i >= 0; i--) str = marks[i].type.name + \"(\" + str + \")\";\n return str;\n}\n\n/**\nInstances of this class represent a match state of a node type's\n[content expression](https://prosemirror.net/docs/ref/#model.NodeSpec.content), and can be used to\nfind out whether further content matches here, and whether a given\nposition is a valid end of the node.\n*/\nclass ContentMatch {\n /**\n @internal\n */\n constructor(\n /**\n True when this match state represents a valid end of the node.\n */\n validEnd) {\n this.validEnd = validEnd;\n /**\n @internal\n */\n this.next = [];\n /**\n @internal\n */\n this.wrapCache = [];\n }\n /**\n @internal\n */\n static parse(string, nodeTypes) {\n let stream = new TokenStream(string, nodeTypes);\n if (stream.next == null) return ContentMatch.empty;\n let expr = parseExpr(stream);\n if (stream.next) stream.err(\"Unexpected trailing text\");\n let match = dfa(nfa(expr));\n checkForDeadEnds(match, stream);\n return match;\n }\n /**\n Match a node type, returning a match after that node if\n successful.\n */\n matchType(type) {\n for (let i = 0; i < this.next.length; i++) if (this.next[i].type == type) return this.next[i].next;\n return null;\n }\n /**\n Try to match a fragment. Returns the resulting match when\n successful.\n */\n matchFragment(frag) {\n let start = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n let end = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : frag.childCount;\n let cur = this;\n for (let i = start; cur && i < end; i++) cur = cur.matchType(frag.child(i).type);\n return cur;\n }\n /**\n @internal\n */\n get inlineContent() {\n return this.next.length != 0 && this.next[0].type.isInline;\n }\n /**\n Get the first matching node type at this match position that can\n be generated.\n */\n get defaultType() {\n for (let i = 0; i < this.next.length; i++) {\n let {\n type\n } = this.next[i];\n if (!(type.isText || type.hasRequiredAttrs())) return type;\n }\n return null;\n }\n /**\n @internal\n */\n compatible(other) {\n for (let i = 0; i < this.next.length; i++) for (let j = 0; j < other.next.length; j++) if (this.next[i].type == other.next[j].type) return true;\n return false;\n }\n /**\n Try to match the given fragment, and if that fails, see if it can\n be made to match by inserting nodes in front of it. When\n successful, return a fragment of inserted nodes (which may be\n empty if nothing had to be inserted). When `toEnd` is true, only\n return a fragment if the resulting match goes to the end of the\n content expression.\n */\n fillBefore(after) {\n let toEnd = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n let startIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n let seen = [this];\n function search(match, types) {\n let finished = match.matchFragment(after, startIndex);\n if (finished && (!toEnd || finished.validEnd)) return Fragment.from(types.map(tp => tp.createAndFill()));\n for (let i = 0; i < match.next.length; i++) {\n let {\n type,\n next\n } = match.next[i];\n if (!(type.isText || type.hasRequiredAttrs()) && seen.indexOf(next) == -1) {\n seen.push(next);\n let found = search(next, types.concat(type));\n if (found) return found;\n }\n }\n return null;\n }\n return search(this, []);\n }\n /**\n Find a set of wrapping node types that would allow a node of the\n given type to appear at this position. The result may be empty\n (when it fits directly) and will be null when no such wrapping\n exists.\n */\n findWrapping(target) {\n for (let i = 0; i < this.wrapCache.length; i += 2) if (this.wrapCache[i] == target) return this.wrapCache[i + 1];\n let computed = this.computeWrapping(target);\n this.wrapCache.push(target, computed);\n return computed;\n }\n /**\n @internal\n */\n computeWrapping(target) {\n let seen = Object.create(null),\n active = [{\n match: this,\n type: null,\n via: null\n }];\n while (active.length) {\n let current = active.shift(),\n match = current.match;\n if (match.matchType(target)) {\n let result = [];\n for (let obj = current; obj.type; obj = obj.via) result.push(obj.type);\n return result.reverse();\n }\n for (let i = 0; i < match.next.length; i++) {\n let {\n type,\n next\n } = match.next[i];\n if (!type.isLeaf && !type.hasRequiredAttrs() && !(type.name in seen) && (!current.type || next.validEnd)) {\n active.push({\n match: type.contentMatch,\n type,\n via: current\n });\n seen[type.name] = true;\n }\n }\n }\n return null;\n }\n /**\n The number of outgoing edges this node has in the finite\n automaton that describes the content expression.\n */\n get edgeCount() {\n return this.next.length;\n }\n /**\n Get the _n_​th outgoing edge from this node in the finite\n automaton that describes the content expression.\n */\n edge(n) {\n if (n >= this.next.length) throw new RangeError(`There's no ${n}th edge in this content match`);\n return this.next[n];\n }\n /**\n @internal\n */\n toString() {\n let seen = [];\n function scan(m) {\n seen.push(m);\n for (let i = 0; i < m.next.length; i++) if (seen.indexOf(m.next[i].next) == -1) scan(m.next[i].next);\n }\n scan(this);\n return seen.map((m, i) => {\n let out = i + (m.validEnd ? \"*\" : \" \") + \" \";\n for (let i = 0; i < m.next.length; i++) out += (i ? \", \" : \"\") + m.next[i].type.name + \"->\" + seen.indexOf(m.next[i].next);\n return out;\n }).join(\"\\n\");\n }\n}\n/**\n@internal\n*/\nContentMatch.empty = new ContentMatch(true);\nclass TokenStream {\n constructor(string, nodeTypes) {\n this.string = string;\n this.nodeTypes = nodeTypes;\n this.inline = null;\n this.pos = 0;\n this.tokens = string.split(/\\s*(?=\\b|\\W|$)/);\n if (this.tokens[this.tokens.length - 1] == \"\") this.tokens.pop();\n if (this.tokens[0] == \"\") this.tokens.shift();\n }\n get next() {\n return this.tokens[this.pos];\n }\n eat(tok) {\n return this.next == tok && (this.pos++ || true);\n }\n err(str) {\n throw new SyntaxError(str + \" (in content expression '\" + this.string + \"')\");\n }\n}\nfunction parseExpr(stream) {\n let exprs = [];\n do {\n exprs.push(parseExprSeq(stream));\n } while (stream.eat(\"|\"));\n return exprs.length == 1 ? exprs[0] : {\n type: \"choice\",\n exprs\n };\n}\nfunction parseExprSeq(stream) {\n let exprs = [];\n do {\n exprs.push(parseExprSubscript(stream));\n } while (stream.next && stream.next != \")\" && stream.next != \"|\");\n return exprs.length == 1 ? exprs[0] : {\n type: \"seq\",\n exprs\n };\n}\nfunction parseExprSubscript(stream) {\n let expr = parseExprAtom(stream);\n for (;;) {\n if (stream.eat(\"+\")) expr = {\n type: \"plus\",\n expr\n };else if (stream.eat(\"*\")) expr = {\n type: \"star\",\n expr\n };else if (stream.eat(\"?\")) expr = {\n type: \"opt\",\n expr\n };else if (stream.eat(\"{\")) expr = parseExprRange(stream, expr);else break;\n }\n return expr;\n}\nfunction parseNum(stream) {\n if (/\\D/.test(stream.next)) stream.err(\"Expected number, got '\" + stream.next + \"'\");\n let result = Number(stream.next);\n stream.pos++;\n return result;\n}\nfunction parseExprRange(stream, expr) {\n let min = parseNum(stream),\n max = min;\n if (stream.eat(\",\")) {\n if (stream.next != \"}\") max = parseNum(stream);else max = -1;\n }\n if (!stream.eat(\"}\")) stream.err(\"Unclosed braced range\");\n return {\n type: \"range\",\n min,\n max,\n expr\n };\n}\nfunction resolveName(stream, name) {\n let types = stream.nodeTypes,\n type = types[name];\n if (type) return [type];\n let result = [];\n for (let typeName in types) {\n let type = types[typeName];\n if (type.isInGroup(name)) result.push(type);\n }\n if (result.length == 0) stream.err(\"No node type or group '\" + name + \"' found\");\n return result;\n}\nfunction parseExprAtom(stream) {\n if (stream.eat(\"(\")) {\n let expr = parseExpr(stream);\n if (!stream.eat(\")\")) stream.err(\"Missing closing paren\");\n return expr;\n } else if (!/\\W/.test(stream.next)) {\n let exprs = resolveName(stream, stream.next).map(type => {\n if (stream.inline == null) stream.inline = type.isInline;else if (stream.inline != type.isInline) stream.err(\"Mixing inline and block content\");\n return {\n type: \"name\",\n value: type\n };\n });\n stream.pos++;\n return exprs.length == 1 ? exprs[0] : {\n type: \"choice\",\n exprs\n };\n } else {\n stream.err(\"Unexpected token '\" + stream.next + \"'\");\n }\n}\n// Construct an NFA from an expression as returned by the parser. The\n// NFA is represented as an array of states, which are themselves\n// arrays of edges, which are `{term, to}` objects. The first state is\n// the entry state and the last node is the success state.\n//\n// Note that unlike typical NFAs, the edge ordering in this one is\n// significant, in that it is used to contruct filler content when\n// necessary.\nfunction nfa(expr) {\n let nfa = [[]];\n connect(compile(expr, 0), node());\n return nfa;\n function node() {\n return nfa.push([]) - 1;\n }\n function edge(from, to, term) {\n let edge = {\n term,\n to\n };\n nfa[from].push(edge);\n return edge;\n }\n function connect(edges, to) {\n edges.forEach(edge => edge.to = to);\n }\n function compile(expr, from) {\n if (expr.type == \"choice\") {\n return expr.exprs.reduce((out, expr) => out.concat(compile(expr, from)), []);\n } else if (expr.type == \"seq\") {\n for (let i = 0;; i++) {\n let next = compile(expr.exprs[i], from);\n if (i == expr.exprs.length - 1) return next;\n connect(next, from = node());\n }\n } else if (expr.type == \"star\") {\n let loop = node();\n edge(from, loop);\n connect(compile(expr.expr, loop), loop);\n return [edge(loop)];\n } else if (expr.type == \"plus\") {\n let loop = node();\n connect(compile(expr.expr, from), loop);\n connect(compile(expr.expr, loop), loop);\n return [edge(loop)];\n } else if (expr.type == \"opt\") {\n return [edge(from)].concat(compile(expr.expr, from));\n } else if (expr.type == \"range\") {\n let cur = from;\n for (let i = 0; i < expr.min; i++) {\n let next = node();\n connect(compile(expr.expr, cur), next);\n cur = next;\n }\n if (expr.max == -1) {\n connect(compile(expr.expr, cur), cur);\n } else {\n for (let i = expr.min; i < expr.max; i++) {\n let next = node();\n edge(cur, next);\n connect(compile(expr.expr, cur), next);\n cur = next;\n }\n }\n return [edge(cur)];\n } else if (expr.type == \"name\") {\n return [edge(from, undefined, expr.value)];\n } else {\n throw new Error(\"Unknown expr type\");\n }\n }\n}\nfunction cmp(a, b) {\n return b - a;\n}\n// Get the set of nodes reachable by null edges from `node`. Omit\n// nodes with only a single null-out-edge, since they may lead to\n// needless duplicated nodes.\nfunction nullFrom(nfa, node) {\n let result = [];\n scan(node);\n return result.sort(cmp);\n function scan(node) {\n let edges = nfa[node];\n if (edges.length == 1 && !edges[0].term) return scan(edges[0].to);\n result.push(node);\n for (let i = 0; i < edges.length; i++) {\n let {\n term,\n to\n } = edges[i];\n if (!term && result.indexOf(to) == -1) scan(to);\n }\n }\n}\n// Compiles an NFA as produced by `nfa` into a DFA, modeled as a set\n// of state objects (`ContentMatch` instances) with transitions\n// between them.\nfunction dfa(nfa) {\n let labeled = Object.create(null);\n return explore(nullFrom(nfa, 0));\n function explore(states) {\n let out = [];\n states.forEach(node => {\n nfa[node].forEach(_ref => {\n let {\n term,\n to\n } = _ref;\n if (!term) return;\n let set;\n for (let i = 0; i < out.length; i++) if (out[i][0] == term) set = out[i][1];\n nullFrom(nfa, to).forEach(node => {\n if (!set) out.push([term, set = []]);\n if (set.indexOf(node) == -1) set.push(node);\n });\n });\n });\n let state = labeled[states.join(\",\")] = new ContentMatch(states.indexOf(nfa.length - 1) > -1);\n for (let i = 0; i < out.length; i++) {\n let states = out[i][1].sort(cmp);\n state.next.push({\n type: out[i][0],\n next: labeled[states.join(\",\")] || explore(states)\n });\n }\n return state;\n }\n}\nfunction checkForDeadEnds(match, stream) {\n for (let i = 0, work = [match]; i < work.length; i++) {\n let state = work[i],\n dead = !state.validEnd,\n nodes = [];\n for (let j = 0; j < state.next.length; j++) {\n let {\n type,\n next\n } = state.next[j];\n nodes.push(type.name);\n if (dead && !(type.isText || type.hasRequiredAttrs())) dead = false;\n if (work.indexOf(next) == -1) work.push(next);\n }\n if (dead) stream.err(\"Only non-generatable nodes (\" + nodes.join(\", \") + \") in a required position (see https://prosemirror.net/docs/guide/#generatable)\");\n }\n}\n\n// For node types where all attrs have a default value (or which don't\n// have any attributes), build up a single reusable default attribute\n// object, and use it for all nodes that don't specify specific\n// attributes.\nfunction defaultAttrs(attrs) {\n let defaults = Object.create(null);\n for (let attrName in attrs) {\n let attr = attrs[attrName];\n if (!attr.hasDefault) return null;\n defaults[attrName] = attr.default;\n }\n return defaults;\n}\nfunction computeAttrs(attrs, value) {\n let built = Object.create(null);\n for (let name in attrs) {\n let given = value && value[name];\n if (given === undefined) {\n let attr = attrs[name];\n if (attr.hasDefault) given = attr.default;else throw new RangeError(\"No value supplied for attribute \" + name);\n }\n built[name] = given;\n }\n return built;\n}\nfunction checkAttrs(attrs, values, type, name) {\n for (let name in values) if (!(name in attrs)) throw new RangeError(`Unsupported attribute ${name} for ${type} of type ${name}`);\n for (let name in attrs) {\n let attr = attrs[name];\n if (attr.validate) attr.validate(values[name]);\n }\n}\nfunction initAttrs(typeName, attrs) {\n let result = Object.create(null);\n if (attrs) for (let name in attrs) result[name] = new Attribute(typeName, name, attrs[name]);\n return result;\n}\n/**\nNode types are objects allocated once per `Schema` and used to\n[tag](https://prosemirror.net/docs/ref/#model.Node.type) `Node` instances. They contain information\nabout the node type, such as its name and what kind of node it\nrepresents.\n*/\nclass NodeType {\n /**\n @internal\n */\n constructor(\n /**\n The name the node type has in this schema.\n */\n name,\n /**\n A link back to the `Schema` the node type belongs to.\n */\n schema,\n /**\n The spec that this type is based on\n */\n spec) {\n this.name = name;\n this.schema = schema;\n this.spec = spec;\n /**\n The set of marks allowed in this node. `null` means all marks\n are allowed.\n */\n this.markSet = null;\n this.groups = spec.group ? spec.group.split(\" \") : [];\n this.attrs = initAttrs(name, spec.attrs);\n this.defaultAttrs = defaultAttrs(this.attrs);\n this.contentMatch = null;\n this.inlineContent = null;\n this.isBlock = !(spec.inline || name == \"text\");\n this.isText = name == \"text\";\n }\n /**\n True if this is an inline type.\n */\n get isInline() {\n return !this.isBlock;\n }\n /**\n True if this is a textblock type, a block that contains inline\n content.\n */\n get isTextblock() {\n return this.isBlock && this.inlineContent;\n }\n /**\n True for node types that allow no content.\n */\n get isLeaf() {\n return this.contentMatch == ContentMatch.empty;\n }\n /**\n True when this node is an atom, i.e. when it does not have\n directly editable content.\n */\n get isAtom() {\n return this.isLeaf || !!this.spec.atom;\n }\n /**\n Return true when this node type is part of the given\n [group](https://prosemirror.net/docs/ref/#model.NodeSpec.group).\n */\n isInGroup(group) {\n return this.groups.indexOf(group) > -1;\n }\n /**\n The node type's [whitespace](https://prosemirror.net/docs/ref/#model.NodeSpec.whitespace) option.\n */\n get whitespace() {\n return this.spec.whitespace || (this.spec.code ? \"pre\" : \"normal\");\n }\n /**\n Tells you whether this node type has any required attributes.\n */\n hasRequiredAttrs() {\n for (let n in this.attrs) if (this.attrs[n].isRequired) return true;\n return false;\n }\n /**\n Indicates whether this node allows some of the same content as\n the given node type.\n */\n compatibleContent(other) {\n return this == other || this.contentMatch.compatible(other.contentMatch);\n }\n /**\n @internal\n */\n computeAttrs(attrs) {\n if (!attrs && this.defaultAttrs) return this.defaultAttrs;else return computeAttrs(this.attrs, attrs);\n }\n /**\n Create a `Node` of this type. The given attributes are\n checked and defaulted (you can pass `null` to use the type's\n defaults entirely, if no required attributes exist). `content`\n may be a `Fragment`, a node, an array of nodes, or\n `null`. Similarly `marks` may be `null` to default to the empty\n set of marks.\n */\n create() {\n let attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n let content = arguments.length > 1 ? arguments[1] : undefined;\n let marks = arguments.length > 2 ? arguments[2] : undefined;\n if (this.isText) throw new Error(\"NodeType.create can't construct text nodes\");\n return new Node(this, this.computeAttrs(attrs), Fragment.from(content), Mark.setFrom(marks));\n }\n /**\n Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content\n against the node type's content restrictions, and throw an error\n if it doesn't match.\n */\n createChecked() {\n let attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n let content = arguments.length > 1 ? arguments[1] : undefined;\n let marks = arguments.length > 2 ? arguments[2] : undefined;\n content = Fragment.from(content);\n this.checkContent(content);\n return new Node(this, this.computeAttrs(attrs), content, Mark.setFrom(marks));\n }\n /**\n Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is\n necessary to add nodes to the start or end of the given fragment\n to make it fit the node. If no fitting wrapping can be found,\n return null. Note that, due to the fact that required nodes can\n always be created, this will always succeed if you pass null or\n `Fragment.empty` as content.\n */\n createAndFill() {\n let attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n let content = arguments.length > 1 ? arguments[1] : undefined;\n let marks = arguments.length > 2 ? arguments[2] : undefined;\n attrs = this.computeAttrs(attrs);\n content = Fragment.from(content);\n if (content.size) {\n let before = this.contentMatch.fillBefore(content);\n if (!before) return null;\n content = before.append(content);\n }\n let matched = this.contentMatch.matchFragment(content);\n let after = matched && matched.fillBefore(Fragment.empty, true);\n if (!after) return null;\n return new Node(this, attrs, content.append(after), Mark.setFrom(marks));\n }\n /**\n Returns true if the given fragment is valid content for this node\n type.\n */\n validContent(content) {\n let result = this.contentMatch.matchFragment(content);\n if (!result || !result.validEnd) return false;\n for (let i = 0; i < content.childCount; i++) if (!this.allowsMarks(content.child(i).marks)) return false;\n return true;\n }\n /**\n Throws a RangeError if the given fragment is not valid content for this\n node type.\n @internal\n */\n checkContent(content) {\n if (!this.validContent(content)) throw new RangeError(`Invalid content for node ${this.name}: ${content.toString().slice(0, 50)}`);\n }\n /**\n @internal\n */\n checkAttrs(attrs) {\n checkAttrs(this.attrs, attrs, \"node\", this.name);\n }\n /**\n Check whether the given mark type is allowed in this node.\n */\n allowsMarkType(markType) {\n return this.markSet == null || this.markSet.indexOf(markType) > -1;\n }\n /**\n Test whether the given set of marks are allowed in this node.\n */\n allowsMarks(marks) {\n if (this.markSet == null) return true;\n for (let i = 0; i < marks.length; i++) if (!this.allowsMarkType(marks[i].type)) return false;\n return true;\n }\n /**\n Removes the marks that are not allowed in this node from the given set.\n */\n allowedMarks(marks) {\n if (this.markSet == null) return marks;\n let copy;\n for (let i = 0; i < marks.length; i++) {\n if (!this.allowsMarkType(marks[i].type)) {\n if (!copy) copy = marks.slice(0, i);\n } else if (copy) {\n copy.push(marks[i]);\n }\n }\n return !copy ? marks : copy.length ? copy : Mark.none;\n }\n /**\n @internal\n */\n static compile(nodes, schema) {\n let result = Object.create(null);\n nodes.forEach((name, spec) => result[name] = new NodeType(name, schema, spec));\n let topType = schema.spec.topNode || \"doc\";\n if (!result[topType]) throw new RangeError(\"Schema is missing its top node type ('\" + topType + \"')\");\n if (!result.text) throw new RangeError(\"Every schema needs a 'text' type\");\n for (let _ in result.text.attrs) throw new RangeError(\"The text node type should not have attributes\");\n return result;\n }\n}\nfunction validateType(typeName, attrName, type) {\n let types = type.split(\"|\");\n return value => {\n let name = value === null ? \"null\" : typeof value;\n if (types.indexOf(name) < 0) throw new RangeError(`Expected value of type ${types} for attribute ${attrName} on type ${typeName}, got ${name}`);\n };\n}\n// Attribute descriptors\nclass Attribute {\n constructor(typeName, attrName, options) {\n this.hasDefault = Object.prototype.hasOwnProperty.call(options, \"default\");\n this.default = options.default;\n this.validate = typeof options.validate == \"string\" ? validateType(typeName, attrName, options.validate) : options.validate;\n }\n get isRequired() {\n return !this.hasDefault;\n }\n}\n// Marks\n/**\nLike nodes, marks (which are associated with nodes to signify\nthings like emphasis or being part of a link) are\n[tagged](https://prosemirror.net/docs/ref/#model.Mark.type) with type objects, which are\ninstantiated once per `Schema`.\n*/\nclass MarkType {\n /**\n @internal\n */\n constructor(\n /**\n The name of the mark type.\n */\n name,\n /**\n @internal\n */\n rank,\n /**\n The schema that this mark type instance is part of.\n */\n schema,\n /**\n The spec on which the type is based.\n */\n spec) {\n this.name = name;\n this.rank = rank;\n this.schema = schema;\n this.spec = spec;\n this.attrs = initAttrs(name, spec.attrs);\n this.excluded = null;\n let defaults = defaultAttrs(this.attrs);\n this.instance = defaults ? new Mark(this, defaults) : null;\n }\n /**\n Create a mark of this type. `attrs` may be `null` or an object\n containing only some of the mark's attributes. The others, if\n they have defaults, will be added.\n */\n create() {\n let attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n if (!attrs && this.instance) return this.instance;\n return new Mark(this, computeAttrs(this.attrs, attrs));\n }\n /**\n @internal\n */\n static compile(marks, schema) {\n let result = Object.create(null),\n rank = 0;\n marks.forEach((name, spec) => result[name] = new MarkType(name, rank++, schema, spec));\n return result;\n }\n /**\n When there is a mark of this type in the given set, a new set\n without it is returned. Otherwise, the input set is returned.\n */\n removeFromSet(set) {\n for (var i = 0; i < set.length; i++) if (set[i].type == this) {\n set = set.slice(0, i).concat(set.slice(i + 1));\n i--;\n }\n return set;\n }\n /**\n Tests whether there is a mark of this type in the given set.\n */\n isInSet(set) {\n for (let i = 0; i < set.length; i++) if (set[i].type == this) return set[i];\n }\n /**\n @internal\n */\n checkAttrs(attrs) {\n checkAttrs(this.attrs, attrs, \"mark\", this.name);\n }\n /**\n Queries whether a given mark type is\n [excluded](https://prosemirror.net/docs/ref/#model.MarkSpec.excludes) by this one.\n */\n excludes(other) {\n return this.excluded.indexOf(other) > -1;\n }\n}\n/**\nA document schema. Holds [node](https://prosemirror.net/docs/ref/#model.NodeType) and [mark\ntype](https://prosemirror.net/docs/ref/#model.MarkType) objects for the nodes and marks that may\noccur in conforming documents, and provides functionality for\ncreating and deserializing such documents.\n\nWhen given, the type parameters provide the names of the nodes and\nmarks in this schema.\n*/\nclass Schema {\n /**\n Construct a schema from a schema [specification](https://prosemirror.net/docs/ref/#model.SchemaSpec).\n */\n constructor(spec) {\n /**\n The [linebreak\n replacement](https://prosemirror.net/docs/ref/#model.NodeSpec.linebreakReplacement) node defined\n in this schema, if any.\n */\n this.linebreakReplacement = null;\n /**\n An object for storing whatever values modules may want to\n compute and cache per schema. (If you want to store something\n in it, try to use property names unlikely to clash.)\n */\n this.cached = Object.create(null);\n let instanceSpec = this.spec = {};\n for (let prop in spec) instanceSpec[prop] = spec[prop];\n instanceSpec.nodes = OrderedMap.from(spec.nodes), instanceSpec.marks = OrderedMap.from(spec.marks || {}), this.nodes = NodeType.compile(this.spec.nodes, this);\n this.marks = MarkType.compile(this.spec.marks, this);\n let contentExprCache = Object.create(null);\n for (let prop in this.nodes) {\n if (prop in this.marks) throw new RangeError(prop + \" can not be both a node and a mark\");\n let type = this.nodes[prop],\n contentExpr = type.spec.content || \"\",\n markExpr = type.spec.marks;\n type.contentMatch = contentExprCache[contentExpr] || (contentExprCache[contentExpr] = ContentMatch.parse(contentExpr, this.nodes));\n type.inlineContent = type.contentMatch.inlineContent;\n if (type.spec.linebreakReplacement) {\n if (this.linebreakReplacement) throw new RangeError(\"Multiple linebreak nodes defined\");\n if (!type.isInline || !type.isLeaf) throw new RangeError(\"Linebreak replacement nodes must be inline leaf nodes\");\n this.linebreakReplacement = type;\n }\n type.markSet = markExpr == \"_\" ? null : markExpr ? gatherMarks(this, markExpr.split(\" \")) : markExpr == \"\" || !type.inlineContent ? [] : null;\n }\n for (let prop in this.marks) {\n let type = this.marks[prop],\n excl = type.spec.excludes;\n type.excluded = excl == null ? [type] : excl == \"\" ? [] : gatherMarks(this, excl.split(\" \"));\n }\n this.nodeFromJSON = this.nodeFromJSON.bind(this);\n this.markFromJSON = this.markFromJSON.bind(this);\n this.topNodeType = this.nodes[this.spec.topNode || \"doc\"];\n this.cached.wrappings = Object.create(null);\n }\n /**\n Create a node in this schema. The `type` may be a string or a\n `NodeType` instance. Attributes will be extended with defaults,\n `content` may be a `Fragment`, `null`, a `Node`, or an array of\n nodes.\n */\n node(type) {\n let attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n let content = arguments.length > 2 ? arguments[2] : undefined;\n let marks = arguments.length > 3 ? arguments[3] : undefined;\n if (typeof type == \"string\") type = this.nodeType(type);else if (!(type instanceof NodeType)) throw new RangeError(\"Invalid node type: \" + type);else if (type.schema != this) throw new RangeError(\"Node type from different schema used (\" + type.name + \")\");\n return type.createChecked(attrs, content, marks);\n }\n /**\n Create a text node in the schema. Empty text nodes are not\n allowed.\n */\n text(text, marks) {\n let type = this.nodes.text;\n return new TextNode(type, type.defaultAttrs, text, Mark.setFrom(marks));\n }\n /**\n Create a mark with the given type and attributes.\n */\n mark(type, attrs) {\n if (typeof type == \"string\") type = this.marks[type];\n return type.create(attrs);\n }\n /**\n Deserialize a node from its JSON representation. This method is\n bound.\n */\n nodeFromJSON(json) {\n return Node.fromJSON(this, json);\n }\n /**\n Deserialize a mark from its JSON representation. This method is\n bound.\n */\n markFromJSON(json) {\n return Mark.fromJSON(this, json);\n }\n /**\n @internal\n */\n nodeType(name) {\n let found = this.nodes[name];\n if (!found) throw new RangeError(\"Unknown node type: \" + name);\n return found;\n }\n}\nfunction gatherMarks(schema, marks) {\n let found = [];\n for (let i = 0; i < marks.length; i++) {\n let name = marks[i],\n mark = schema.marks[name],\n ok = mark;\n if (mark) {\n found.push(mark);\n } else {\n for (let prop in schema.marks) {\n let mark = schema.marks[prop];\n if (name == \"_\" || mark.spec.group && mark.spec.group.split(\" \").indexOf(name) > -1) found.push(ok = mark);\n }\n }\n if (!ok) throw new SyntaxError(\"Unknown mark type: '\" + marks[i] + \"'\");\n }\n return found;\n}\nfunction isTagRule(rule) {\n return rule.tag != null;\n}\nfunction isStyleRule(rule) {\n return rule.style != null;\n}\n/**\nA DOM parser represents a strategy for parsing DOM content into a\nProseMirror document conforming to a given schema. Its behavior is\ndefined by an array of [rules](https://prosemirror.net/docs/ref/#model.ParseRule).\n*/\nclass DOMParser {\n /**\n Create a parser that targets the given schema, using the given\n parsing rules.\n */\n constructor(\n /**\n The schema into which the parser parses.\n */\n schema,\n /**\n The set of [parse rules](https://prosemirror.net/docs/ref/#model.ParseRule) that the parser\n uses, in order of precedence.\n */\n rules) {\n this.schema = schema;\n this.rules = rules;\n /**\n @internal\n */\n this.tags = [];\n /**\n @internal\n */\n this.styles = [];\n let matchedStyles = this.matchedStyles = [];\n rules.forEach(rule => {\n if (isTagRule(rule)) {\n this.tags.push(rule);\n } else if (isStyleRule(rule)) {\n let prop = /[^=]*/.exec(rule.style)[0];\n if (matchedStyles.indexOf(prop) < 0) matchedStyles.push(prop);\n this.styles.push(rule);\n }\n });\n // Only normalize list elements when lists in the schema can't directly contain themselves\n this.normalizeLists = !this.tags.some(r => {\n if (!/^(ul|ol)\\b/.test(r.tag) || !r.node) return false;\n let node = schema.nodes[r.node];\n return node.contentMatch.matchType(node);\n });\n }\n /**\n Parse a document from the content of a DOM node.\n */\n parse(dom) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let context = new ParseContext(this, options, false);\n context.addAll(dom, Mark.none, options.from, options.to);\n return context.finish();\n }\n /**\n Parses the content of the given DOM node, like\n [`parse`](https://prosemirror.net/docs/ref/#model.DOMParser.parse), and takes the same set of\n options. But unlike that method, which produces a whole node,\n this one returns a slice that is open at the sides, meaning that\n the schema constraints aren't applied to the start of nodes to\n the left of the input and the end of nodes at the end.\n */\n parseSlice(dom) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let context = new ParseContext(this, options, true);\n context.addAll(dom, Mark.none, options.from, options.to);\n return Slice.maxOpen(context.finish());\n }\n /**\n @internal\n */\n matchTag(dom, context, after) {\n for (let i = after ? this.tags.indexOf(after) + 1 : 0; i < this.tags.length; i++) {\n let rule = this.tags[i];\n if (matches(dom, rule.tag) && (rule.namespace === undefined || dom.namespaceURI == rule.namespace) && (!rule.context || context.matchesContext(rule.context))) {\n if (rule.getAttrs) {\n let result = rule.getAttrs(dom);\n if (result === false) continue;\n rule.attrs = result || undefined;\n }\n return rule;\n }\n }\n }\n /**\n @internal\n */\n matchStyle(prop, value, context, after) {\n for (let i = after ? this.styles.indexOf(after) + 1 : 0; i < this.styles.length; i++) {\n let rule = this.styles[i],\n style = rule.style;\n if (style.indexOf(prop) != 0 || rule.context && !context.matchesContext(rule.context) ||\n // Test that the style string either precisely matches the prop,\n // or has an '=' sign after the prop, followed by the given\n // value.\n style.length > prop.length && (style.charCodeAt(prop.length) != 61 || style.slice(prop.length + 1) != value)) continue;\n if (rule.getAttrs) {\n let result = rule.getAttrs(value);\n if (result === false) continue;\n rule.attrs = result || undefined;\n }\n return rule;\n }\n }\n /**\n @internal\n */\n static schemaRules(schema) {\n let result = [];\n function insert(rule) {\n let priority = rule.priority == null ? 50 : rule.priority,\n i = 0;\n for (; i < result.length; i++) {\n let next = result[i],\n nextPriority = next.priority == null ? 50 : next.priority;\n if (nextPriority < priority) break;\n }\n result.splice(i, 0, rule);\n }\n for (let name in schema.marks) {\n let rules = schema.marks[name].spec.parseDOM;\n if (rules) rules.forEach(rule => {\n insert(rule = copy(rule));\n if (!(rule.mark || rule.ignore || rule.clearMark)) rule.mark = name;\n });\n }\n for (let name in schema.nodes) {\n let rules = schema.nodes[name].spec.parseDOM;\n if (rules) rules.forEach(rule => {\n insert(rule = copy(rule));\n if (!(rule.node || rule.ignore || rule.mark)) rule.node = name;\n });\n }\n return result;\n }\n /**\n Construct a DOM parser using the parsing rules listed in a\n schema's [node specs](https://prosemirror.net/docs/ref/#model.NodeSpec.parseDOM), reordered by\n [priority](https://prosemirror.net/docs/ref/#model.ParseRule.priority).\n */\n static fromSchema(schema) {\n return schema.cached.domParser || (schema.cached.domParser = new DOMParser(schema, DOMParser.schemaRules(schema)));\n }\n}\nconst blockTags = {\n address: true,\n article: true,\n aside: true,\n blockquote: true,\n canvas: true,\n dd: true,\n div: true,\n dl: true,\n fieldset: true,\n figcaption: true,\n figure: true,\n footer: true,\n form: true,\n h1: true,\n h2: true,\n h3: true,\n h4: true,\n h5: true,\n h6: true,\n header: true,\n hgroup: true,\n hr: true,\n li: true,\n noscript: true,\n ol: true,\n output: true,\n p: true,\n pre: true,\n section: true,\n table: true,\n tfoot: true,\n ul: true\n};\nconst ignoreTags = {\n head: true,\n noscript: true,\n object: true,\n script: true,\n style: true,\n title: true\n};\nconst listTags = {\n ol: true,\n ul: true\n};\n// Using a bitfield for node context options\nconst OPT_PRESERVE_WS = 1,\n OPT_PRESERVE_WS_FULL = 2,\n OPT_OPEN_LEFT = 4;\nfunction wsOptionsFor(type, preserveWhitespace, base) {\n if (preserveWhitespace != null) return (preserveWhitespace ? OPT_PRESERVE_WS : 0) | (preserveWhitespace === \"full\" ? OPT_PRESERVE_WS_FULL : 0);\n return type && type.whitespace == \"pre\" ? OPT_PRESERVE_WS | OPT_PRESERVE_WS_FULL : base & ~OPT_OPEN_LEFT;\n}\nclass NodeContext {\n constructor(type, attrs, marks, solid, match, options) {\n this.type = type;\n this.attrs = attrs;\n this.marks = marks;\n this.solid = solid;\n this.options = options;\n this.content = [];\n // Marks applied to the node's children\n this.activeMarks = Mark.none;\n this.match = match || (options & OPT_OPEN_LEFT ? null : type.contentMatch);\n }\n findWrapping(node) {\n if (!this.match) {\n if (!this.type) return [];\n let fill = this.type.contentMatch.fillBefore(Fragment.from(node));\n if (fill) {\n this.match = this.type.contentMatch.matchFragment(fill);\n } else {\n let start = this.type.contentMatch,\n wrap;\n if (wrap = start.findWrapping(node.type)) {\n this.match = start;\n return wrap;\n } else {\n return null;\n }\n }\n }\n return this.match.findWrapping(node.type);\n }\n finish(openEnd) {\n if (!(this.options & OPT_PRESERVE_WS)) {\n // Strip trailing whitespace\n let last = this.content[this.content.length - 1],\n m;\n if (last && last.isText && (m = /[ \\t\\r\\n\\u000c]+$/.exec(last.text))) {\n let text = last;\n if (last.text.length == m[0].length) this.content.pop();else this.content[this.content.length - 1] = text.withText(text.text.slice(0, text.text.length - m[0].length));\n }\n }\n let content = Fragment.from(this.content);\n if (!openEnd && this.match) content = content.append(this.match.fillBefore(Fragment.empty, true));\n return this.type ? this.type.create(this.attrs, content, this.marks) : content;\n }\n inlineContext(node) {\n if (this.type) return this.type.inlineContent;\n if (this.content.length) return this.content[0].isInline;\n return node.parentNode && !blockTags.hasOwnProperty(node.parentNode.nodeName.toLowerCase());\n }\n}\nclass ParseContext {\n constructor(\n // The parser we are using.\n parser,\n // The options passed to this parse.\n options, isOpen) {\n this.parser = parser;\n this.options = options;\n this.isOpen = isOpen;\n this.open = 0;\n this.localPreserveWS = false;\n let topNode = options.topNode,\n topContext;\n let topOptions = wsOptionsFor(null, options.preserveWhitespace, 0) | (isOpen ? OPT_OPEN_LEFT : 0);\n if (topNode) topContext = new NodeContext(topNode.type, topNode.attrs, Mark.none, true, options.topMatch || topNode.type.contentMatch, topOptions);else if (isOpen) topContext = new NodeContext(null, null, Mark.none, true, null, topOptions);else topContext = new NodeContext(parser.schema.topNodeType, null, Mark.none, true, null, topOptions);\n this.nodes = [topContext];\n this.find = options.findPositions;\n this.needsBlock = false;\n }\n get top() {\n return this.nodes[this.open];\n }\n // Add a DOM node to the content. Text is inserted as text node,\n // otherwise, the node is passed to `addElement` or, if it has a\n // `style` attribute, `addElementWithStyles`.\n addDOM(dom, marks) {\n if (dom.nodeType == 3) this.addTextNode(dom, marks);else if (dom.nodeType == 1) this.addElement(dom, marks);\n }\n addTextNode(dom, marks) {\n let value = dom.nodeValue;\n let top = this.top,\n preserveWS = top.options & OPT_PRESERVE_WS_FULL ? \"full\" : this.localPreserveWS || (top.options & OPT_PRESERVE_WS) > 0;\n if (preserveWS === \"full\" || top.inlineContext(dom) || /[^ \\t\\r\\n\\u000c]/.test(value)) {\n if (!preserveWS) {\n value = value.replace(/[ \\t\\r\\n\\u000c]+/g, \" \");\n // If this starts with whitespace, and there is no node before it, or\n // a hard break, or a text node that ends with whitespace, strip the\n // leading space.\n if (/^[ \\t\\r\\n\\u000c]/.test(value) && this.open == this.nodes.length - 1) {\n let nodeBefore = top.content[top.content.length - 1];\n let domNodeBefore = dom.previousSibling;\n if (!nodeBefore || domNodeBefore && domNodeBefore.nodeName == 'BR' || nodeBefore.isText && /[ \\t\\r\\n\\u000c]$/.test(nodeBefore.text)) value = value.slice(1);\n }\n } else if (preserveWS !== \"full\") {\n value = value.replace(/\\r?\\n|\\r/g, \" \");\n } else {\n value = value.replace(/\\r\\n?/g, \"\\n\");\n }\n if (value) this.insertNode(this.parser.schema.text(value), marks);\n this.findInText(dom);\n } else {\n this.findInside(dom);\n }\n }\n // Try to find a handler for the given tag and use that to parse. If\n // none is found, the element's content nodes are added directly.\n addElement(dom, marks, matchAfter) {\n let outerWS = this.localPreserveWS,\n top = this.top;\n if (dom.tagName == \"PRE\" || /pre/.test(dom.style && dom.style.whiteSpace)) this.localPreserveWS = true;\n let name = dom.nodeName.toLowerCase(),\n ruleID;\n if (listTags.hasOwnProperty(name) && this.parser.normalizeLists) normalizeList(dom);\n let rule = this.options.ruleFromNode && this.options.ruleFromNode(dom) || (ruleID = this.parser.matchTag(dom, this, matchAfter));\n out: if (rule ? rule.ignore : ignoreTags.hasOwnProperty(name)) {\n this.findInside(dom);\n this.ignoreFallback(dom, marks);\n } else if (!rule || rule.skip || rule.closeParent) {\n if (rule && rule.closeParent) this.open = Math.max(0, this.open - 1);else if (rule && rule.skip.nodeType) dom = rule.skip;\n let sync,\n oldNeedsBlock = this.needsBlock;\n if (blockTags.hasOwnProperty(name)) {\n if (top.content.length && top.content[0].isInline && this.open) {\n this.open--;\n top = this.top;\n }\n sync = true;\n if (!top.type) this.needsBlock = true;\n } else if (!dom.firstChild) {\n this.leafFallback(dom, marks);\n break out;\n }\n let innerMarks = rule && rule.skip ? marks : this.readStyles(dom, marks);\n if (innerMarks) this.addAll(dom, innerMarks);\n if (sync) this.sync(top);\n this.needsBlock = oldNeedsBlock;\n } else {\n let innerMarks = this.readStyles(dom, marks);\n if (innerMarks) this.addElementByRule(dom, rule, innerMarks, rule.consuming === false ? ruleID : undefined);\n }\n this.localPreserveWS = outerWS;\n }\n // Called for leaf DOM nodes that would otherwise be ignored\n leafFallback(dom, marks) {\n if (dom.nodeName == \"BR\" && this.top.type && this.top.type.inlineContent) this.addTextNode(dom.ownerDocument.createTextNode(\"\\n\"), marks);\n }\n // Called for ignored nodes\n ignoreFallback(dom, marks) {\n // Ignored BR nodes should at least create an inline context\n if (dom.nodeName == \"BR\" && (!this.top.type || !this.top.type.inlineContent)) this.findPlace(this.parser.schema.text(\"-\"), marks);\n }\n // Run any style parser associated with the node's styles. Either\n // return an updated array of marks, or null to indicate some of the\n // styles had a rule with `ignore` set.\n readStyles(dom, marks) {\n let styles = dom.style;\n // Because many properties will only show up in 'normalized' form\n // in `style.item` (i.e. text-decoration becomes\n // text-decoration-line, text-decoration-color, etc), we directly\n // query the styles mentioned in our rules instead of iterating\n // over the items.\n if (styles && styles.length) for (let i = 0; i < this.parser.matchedStyles.length; i++) {\n let name = this.parser.matchedStyles[i],\n value = styles.getPropertyValue(name);\n if (value) for (let after = undefined;;) {\n let rule = this.parser.matchStyle(name, value, this, after);\n if (!rule) break;\n if (rule.ignore) return null;\n if (rule.clearMark) marks = marks.filter(m => !rule.clearMark(m));else marks = marks.concat(this.parser.schema.marks[rule.mark].create(rule.attrs));\n if (rule.consuming === false) after = rule;else break;\n }\n }\n return marks;\n }\n // Look up a handler for the given node. If none are found, return\n // false. Otherwise, apply it, use its return value to drive the way\n // the node's content is wrapped, and return true.\n addElementByRule(dom, rule, marks, continueAfter) {\n let sync, nodeType;\n if (rule.node) {\n nodeType = this.parser.schema.nodes[rule.node];\n if (!nodeType.isLeaf) {\n let inner = this.enter(nodeType, rule.attrs || null, marks, rule.preserveWhitespace);\n if (inner) {\n sync = true;\n marks = inner;\n }\n } else if (!this.insertNode(nodeType.create(rule.attrs), marks)) {\n this.leafFallback(dom, marks);\n }\n } else {\n let markType = this.parser.schema.marks[rule.mark];\n marks = marks.concat(markType.create(rule.attrs));\n }\n let startIn = this.top;\n if (nodeType && nodeType.isLeaf) {\n this.findInside(dom);\n } else if (continueAfter) {\n this.addElement(dom, marks, continueAfter);\n } else if (rule.getContent) {\n this.findInside(dom);\n rule.getContent(dom, this.parser.schema).forEach(node => this.insertNode(node, marks));\n } else {\n let contentDOM = dom;\n if (typeof rule.contentElement == \"string\") contentDOM = dom.querySelector(rule.contentElement);else if (typeof rule.contentElement == \"function\") contentDOM = rule.contentElement(dom);else if (rule.contentElement) contentDOM = rule.contentElement;\n this.findAround(dom, contentDOM, true);\n this.addAll(contentDOM, marks);\n this.findAround(dom, contentDOM, false);\n }\n if (sync && this.sync(startIn)) this.open--;\n }\n // Add all child nodes between `startIndex` and `endIndex` (or the\n // whole node, if not given). If `sync` is passed, use it to\n // synchronize after every block element.\n addAll(parent, marks, startIndex, endIndex) {\n let index = startIndex || 0;\n for (let dom = startIndex ? parent.childNodes[startIndex] : parent.firstChild, end = endIndex == null ? null : parent.childNodes[endIndex]; dom != end; dom = dom.nextSibling, ++index) {\n this.findAtPoint(parent, index);\n this.addDOM(dom, marks);\n }\n this.findAtPoint(parent, index);\n }\n // Try to find a way to fit the given node type into the current\n // context. May add intermediate wrappers and/or leave non-solid\n // nodes that we're in.\n findPlace(node, marks) {\n let route, sync;\n for (let depth = this.open; depth >= 0; depth--) {\n let cx = this.nodes[depth];\n let found = cx.findWrapping(node);\n if (found && (!route || route.length > found.length)) {\n route = found;\n sync = cx;\n if (!found.length) break;\n }\n if (cx.solid) break;\n }\n if (!route) return null;\n this.sync(sync);\n for (let i = 0; i < route.length; i++) marks = this.enterInner(route[i], null, marks, false);\n return marks;\n }\n // Try to insert the given node, adjusting the context when needed.\n insertNode(node, marks) {\n if (node.isInline && this.needsBlock && !this.top.type) {\n let block = this.textblockFromContext();\n if (block) marks = this.enterInner(block, null, marks);\n }\n let innerMarks = this.findPlace(node, marks);\n if (innerMarks) {\n this.closeExtra();\n let top = this.top;\n if (top.match) top.match = top.match.matchType(node.type);\n let nodeMarks = Mark.none;\n for (let m of innerMarks.concat(node.marks)) if (top.type ? top.type.allowsMarkType(m.type) : markMayApply(m.type, node.type)) nodeMarks = m.addToSet(nodeMarks);\n top.content.push(node.mark(nodeMarks));\n return true;\n }\n return false;\n }\n // Try to start a node of the given type, adjusting the context when\n // necessary.\n enter(type, attrs, marks, preserveWS) {\n let innerMarks = this.findPlace(type.create(attrs), marks);\n if (innerMarks) innerMarks = this.enterInner(type, attrs, marks, true, preserveWS);\n return innerMarks;\n }\n // Open a node of the given type\n enterInner(type, attrs, marks) {\n let solid = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n let preserveWS = arguments.length > 4 ? arguments[4] : undefined;\n this.closeExtra();\n let top = this.top;\n top.match = top.match && top.match.matchType(type);\n let options = wsOptionsFor(type, preserveWS, top.options);\n if (top.options & OPT_OPEN_LEFT && top.content.length == 0) options |= OPT_OPEN_LEFT;\n let applyMarks = Mark.none;\n marks = marks.filter(m => {\n if (top.type ? top.type.allowsMarkType(m.type) : markMayApply(m.type, type)) {\n applyMarks = m.addToSet(applyMarks);\n return false;\n }\n return true;\n });\n this.nodes.push(new NodeContext(type, attrs, applyMarks, solid, null, options));\n this.open++;\n return marks;\n }\n // Make sure all nodes above this.open are finished and added to\n // their parents\n closeExtra() {\n let openEnd = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n let i = this.nodes.length - 1;\n if (i > this.open) {\n for (; i > this.open; i--) this.nodes[i - 1].content.push(this.nodes[i].finish(openEnd));\n this.nodes.length = this.open + 1;\n }\n }\n finish() {\n this.open = 0;\n this.closeExtra(this.isOpen);\n return this.nodes[0].finish(!!(this.isOpen || this.options.topOpen));\n }\n sync(to) {\n for (let i = this.open; i >= 0; i--) {\n if (this.nodes[i] == to) {\n this.open = i;\n return true;\n } else if (this.localPreserveWS) {\n this.nodes[i].options |= OPT_PRESERVE_WS;\n }\n }\n return false;\n }\n get currentPos() {\n this.closeExtra();\n let pos = 0;\n for (let i = this.open; i >= 0; i--) {\n let content = this.nodes[i].content;\n for (let j = content.length - 1; j >= 0; j--) pos += content[j].nodeSize;\n if (i) pos++;\n }\n return pos;\n }\n findAtPoint(parent, offset) {\n if (this.find) for (let i = 0; i < this.find.length; i++) {\n if (this.find[i].node == parent && this.find[i].offset == offset) this.find[i].pos = this.currentPos;\n }\n }\n findInside(parent) {\n if (this.find) for (let i = 0; i < this.find.length; i++) {\n if (this.find[i].pos == null && parent.nodeType == 1 && parent.contains(this.find[i].node)) this.find[i].pos = this.currentPos;\n }\n }\n findAround(parent, content, before) {\n if (parent != content && this.find) for (let i = 0; i < this.find.length; i++) {\n if (this.find[i].pos == null && parent.nodeType == 1 && parent.contains(this.find[i].node)) {\n let pos = content.compareDocumentPosition(this.find[i].node);\n if (pos & (before ? 2 : 4)) this.find[i].pos = this.currentPos;\n }\n }\n }\n findInText(textNode) {\n if (this.find) for (let i = 0; i < this.find.length; i++) {\n if (this.find[i].node == textNode) this.find[i].pos = this.currentPos - (textNode.nodeValue.length - this.find[i].offset);\n }\n }\n // Determines whether the given context string matches this context.\n matchesContext(context) {\n if (context.indexOf(\"|\") > -1) return context.split(/\\s*\\|\\s*/).some(this.matchesContext, this);\n let parts = context.split(\"/\");\n let option = this.options.context;\n let useRoot = !this.isOpen && (!option || option.parent.type == this.nodes[0].type);\n let minDepth = -(option ? option.depth + 1 : 0) + (useRoot ? 0 : 1);\n let match = (i, depth) => {\n for (; i >= 0; i--) {\n let part = parts[i];\n if (part == \"\") {\n if (i == parts.length - 1 || i == 0) continue;\n for (; depth >= minDepth; depth--) if (match(i - 1, depth)) return true;\n return false;\n } else {\n let next = depth > 0 || depth == 0 && useRoot ? this.nodes[depth].type : option && depth >= minDepth ? option.node(depth - minDepth).type : null;\n if (!next || next.name != part && !next.isInGroup(part)) return false;\n depth--;\n }\n }\n return true;\n };\n return match(parts.length - 1, this.open);\n }\n textblockFromContext() {\n let $context = this.options.context;\n if ($context) for (let d = $context.depth; d >= 0; d--) {\n let deflt = $context.node(d).contentMatchAt($context.indexAfter(d)).defaultType;\n if (deflt && deflt.isTextblock && deflt.defaultAttrs) return deflt;\n }\n for (let name in this.parser.schema.nodes) {\n let type = this.parser.schema.nodes[name];\n if (type.isTextblock && type.defaultAttrs) return type;\n }\n }\n}\n// Kludge to work around directly nested list nodes produced by some\n// tools and allowed by browsers to mean that the nested list is\n// actually part of the list item above it.\nfunction normalizeList(dom) {\n for (let child = dom.firstChild, prevItem = null; child; child = child.nextSibling) {\n let name = child.nodeType == 1 ? child.nodeName.toLowerCase() : null;\n if (name && listTags.hasOwnProperty(name) && prevItem) {\n prevItem.appendChild(child);\n child = prevItem;\n } else if (name == \"li\") {\n prevItem = child;\n } else if (name) {\n prevItem = null;\n }\n }\n}\n// Apply a CSS selector.\nfunction matches(dom, selector) {\n return (dom.matches || dom.msMatchesSelector || dom.webkitMatchesSelector || dom.mozMatchesSelector).call(dom, selector);\n}\nfunction copy(obj) {\n let copy = {};\n for (let prop in obj) copy[prop] = obj[prop];\n return copy;\n}\n// Used when finding a mark at the top level of a fragment parse.\n// Checks whether it would be reasonable to apply a given mark type to\n// a given node, by looking at the way the mark occurs in the schema.\nfunction markMayApply(markType, nodeType) {\n let nodes = nodeType.schema.nodes;\n for (let name in nodes) {\n let parent = nodes[name];\n if (!parent.allowsMarkType(markType)) continue;\n let seen = [],\n scan = match => {\n seen.push(match);\n for (let i = 0; i < match.edgeCount; i++) {\n let {\n type,\n next\n } = match.edge(i);\n if (type == nodeType) return true;\n if (seen.indexOf(next) < 0 && scan(next)) return true;\n }\n };\n if (scan(parent.contentMatch)) return true;\n }\n}\n\n/**\nA DOM serializer knows how to convert ProseMirror nodes and\nmarks of various types to DOM nodes.\n*/\nclass DOMSerializer {\n /**\n Create a serializer. `nodes` should map node names to functions\n that take a node and return a description of the corresponding\n DOM. `marks` does the same for mark names, but also gets an\n argument that tells it whether the mark's content is block or\n inline content (for typical use, it'll always be inline). A mark\n serializer may be `null` to indicate that marks of that type\n should not be serialized.\n */\n constructor(\n /**\n The node serialization functions.\n */\n nodes,\n /**\n The mark serialization functions.\n */\n marks) {\n this.nodes = nodes;\n this.marks = marks;\n }\n /**\n Serialize the content of this fragment to a DOM fragment. When\n not in the browser, the `document` option, containing a DOM\n document, should be passed so that the serializer can create\n nodes.\n */\n serializeFragment(fragment) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let target = arguments.length > 2 ? arguments[2] : undefined;\n if (!target) target = doc(options).createDocumentFragment();\n let top = target,\n active = [];\n fragment.forEach(node => {\n if (active.length || node.marks.length) {\n let keep = 0,\n rendered = 0;\n while (keep < active.length && rendered < node.marks.length) {\n let next = node.marks[rendered];\n if (!this.marks[next.type.name]) {\n rendered++;\n continue;\n }\n if (!next.eq(active[keep][0]) || next.type.spec.spanning === false) break;\n keep++;\n rendered++;\n }\n while (keep < active.length) top = active.pop()[1];\n while (rendered < node.marks.length) {\n let add = node.marks[rendered++];\n let markDOM = this.serializeMark(add, node.isInline, options);\n if (markDOM) {\n active.push([add, top]);\n top.appendChild(markDOM.dom);\n top = markDOM.contentDOM || markDOM.dom;\n }\n }\n }\n top.appendChild(this.serializeNodeInner(node, options));\n });\n return target;\n }\n /**\n @internal\n */\n serializeNodeInner(node, options) {\n let {\n dom,\n contentDOM\n } = renderSpec(doc(options), this.nodes[node.type.name](node), null, node.attrs);\n if (contentDOM) {\n if (node.isLeaf) throw new RangeError(\"Content hole not allowed in a leaf node spec\");\n this.serializeFragment(node.content, options, contentDOM);\n }\n return dom;\n }\n /**\n Serialize this node to a DOM node. This can be useful when you\n need to serialize a part of a document, as opposed to the whole\n document. To serialize a whole document, use\n [`serializeFragment`](https://prosemirror.net/docs/ref/#model.DOMSerializer.serializeFragment) on\n its [content](https://prosemirror.net/docs/ref/#model.Node.content).\n */\n serializeNode(node) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let dom = this.serializeNodeInner(node, options);\n for (let i = node.marks.length - 1; i >= 0; i--) {\n let wrap = this.serializeMark(node.marks[i], node.isInline, options);\n if (wrap) {\n (wrap.contentDOM || wrap.dom).appendChild(dom);\n dom = wrap.dom;\n }\n }\n return dom;\n }\n /**\n @internal\n */\n serializeMark(mark, inline) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n let toDOM = this.marks[mark.type.name];\n return toDOM && renderSpec(doc(options), toDOM(mark, inline), null, mark.attrs);\n }\n static renderSpec(doc, structure) {\n let xmlNS = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n let blockArraysIn = arguments.length > 3 ? arguments[3] : undefined;\n return renderSpec(doc, structure, xmlNS, blockArraysIn);\n }\n /**\n Build a serializer using the [`toDOM`](https://prosemirror.net/docs/ref/#model.NodeSpec.toDOM)\n properties in a schema's node and mark specs.\n */\n static fromSchema(schema) {\n return schema.cached.domSerializer || (schema.cached.domSerializer = new DOMSerializer(this.nodesFromSchema(schema), this.marksFromSchema(schema)));\n }\n /**\n Gather the serializers in a schema's node specs into an object.\n This can be useful as a base to build a custom serializer from.\n */\n static nodesFromSchema(schema) {\n let result = gatherToDOM(schema.nodes);\n if (!result.text) result.text = node => node.text;\n return result;\n }\n /**\n Gather the serializers in a schema's mark specs into an object.\n */\n static marksFromSchema(schema) {\n return gatherToDOM(schema.marks);\n }\n}\nfunction gatherToDOM(obj) {\n let result = {};\n for (let name in obj) {\n let toDOM = obj[name].spec.toDOM;\n if (toDOM) result[name] = toDOM;\n }\n return result;\n}\nfunction doc(options) {\n return options.document || window.document;\n}\nconst suspiciousAttributeCache = new WeakMap();\nfunction suspiciousAttributes(attrs) {\n let value = suspiciousAttributeCache.get(attrs);\n if (value === undefined) suspiciousAttributeCache.set(attrs, value = suspiciousAttributesInner(attrs));\n return value;\n}\nfunction suspiciousAttributesInner(attrs) {\n let result = null;\n function scan(value) {\n if (value && typeof value == \"object\") {\n if (Array.isArray(value)) {\n if (typeof value[0] == \"string\") {\n if (!result) result = [];\n result.push(value);\n } else {\n for (let i = 0; i < value.length; i++) scan(value[i]);\n }\n } else {\n for (let prop in value) scan(value[prop]);\n }\n }\n }\n scan(attrs);\n return result;\n}\nfunction renderSpec(doc, structure, xmlNS, blockArraysIn) {\n if (typeof structure == \"string\") return {\n dom: doc.createTextNode(structure)\n };\n if (structure.nodeType != null) return {\n dom: structure\n };\n if (structure.dom && structure.dom.nodeType != null) return structure;\n let tagName = structure[0],\n suspicious;\n if (typeof tagName != \"string\") throw new RangeError(\"Invalid array passed to renderSpec\");\n if (blockArraysIn && (suspicious = suspiciousAttributes(blockArraysIn)) && suspicious.indexOf(structure) > -1) throw new RangeError(\"Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.\");\n let space = tagName.indexOf(\" \");\n if (space > 0) {\n xmlNS = tagName.slice(0, space);\n tagName = tagName.slice(space + 1);\n }\n let contentDOM;\n let dom = xmlNS ? doc.createElementNS(xmlNS, tagName) : doc.createElement(tagName);\n let attrs = structure[1],\n start = 1;\n if (attrs && typeof attrs == \"object\" && attrs.nodeType == null && !Array.isArray(attrs)) {\n start = 2;\n for (let name in attrs) if (attrs[name] != null) {\n let space = name.indexOf(\" \");\n if (space > 0) dom.setAttributeNS(name.slice(0, space), name.slice(space + 1), attrs[name]);else dom.setAttribute(name, attrs[name]);\n }\n }\n for (let i = start; i < structure.length; i++) {\n let child = structure[i];\n if (child === 0) {\n if (i < structure.length - 1 || i > start) throw new RangeError(\"Content hole must be the only child of its parent node\");\n return {\n dom,\n contentDOM: dom\n };\n } else {\n let {\n dom: inner,\n contentDOM: innerContent\n } = renderSpec(doc, child, xmlNS, blockArraysIn);\n dom.appendChild(inner);\n if (innerContent) {\n if (contentDOM) throw new RangeError(\"Multiple content holes\");\n contentDOM = innerContent;\n }\n }\n }\n return {\n dom,\n contentDOM\n };\n}\nexport { ContentMatch, DOMParser, DOMSerializer, Fragment, Mark, MarkType, Node, NodeRange, NodeType, ReplaceError, ResolvedPos, Schema, Slice };","import requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\n\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument); // Clone the date\n\n if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule\"); // eslint-disable-next-line no-console\n\n console.warn(new Error().stack);\n }\n return new Date(NaN);\n }\n}","import { Slice, Fragment, Mark, Node } from 'prosemirror-model';\nimport { ReplaceStep, ReplaceAroundStep, Transform } from 'prosemirror-transform';\nconst classesById = Object.create(null);\n/**\nSuperclass for editor selections. Every selection type should\nextend this. Should not be instantiated directly.\n*/\nclass Selection {\n /**\n Initialize a selection with the head and anchor and ranges. If no\n ranges are given, constructs a single range across `$anchor` and\n `$head`.\n */\n constructor(\n /**\n The resolved anchor of the selection (the side that stays in\n place when the selection is modified).\n */\n $anchor,\n /**\n The resolved head of the selection (the side that moves when\n the selection is modified).\n */\n $head, ranges) {\n this.$anchor = $anchor;\n this.$head = $head;\n this.ranges = ranges || [new SelectionRange($anchor.min($head), $anchor.max($head))];\n }\n /**\n The selection's anchor, as an unresolved position.\n */\n get anchor() {\n return this.$anchor.pos;\n }\n /**\n The selection's head.\n */\n get head() {\n return this.$head.pos;\n }\n /**\n The lower bound of the selection's main range.\n */\n get from() {\n return this.$from.pos;\n }\n /**\n The upper bound of the selection's main range.\n */\n get to() {\n return this.$to.pos;\n }\n /**\n The resolved lower bound of the selection's main range.\n */\n get $from() {\n return this.ranges[0].$from;\n }\n /**\n The resolved upper bound of the selection's main range.\n */\n get $to() {\n return this.ranges[0].$to;\n }\n /**\n Indicates whether the selection contains any content.\n */\n get empty() {\n let ranges = this.ranges;\n for (let i = 0; i < ranges.length; i++) if (ranges[i].$from.pos != ranges[i].$to.pos) return false;\n return true;\n }\n /**\n Get the content of this selection as a slice.\n */\n content() {\n return this.$from.doc.slice(this.from, this.to, true);\n }\n /**\n Replace the selection with a slice or, if no slice is given,\n delete the selection. Will append to the given transaction.\n */\n replace(tr) {\n let content = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Slice.empty;\n // Put the new selection at the position after the inserted\n // content. When that ended in an inline node, search backwards,\n // to get the position after that node. If not, search forward.\n let lastNode = content.content.lastChild,\n lastParent = null;\n for (let i = 0; i < content.openEnd; i++) {\n lastParent = lastNode;\n lastNode = lastNode.lastChild;\n }\n let mapFrom = tr.steps.length,\n ranges = this.ranges;\n for (let i = 0; i < ranges.length; i++) {\n let {\n $from,\n $to\n } = ranges[i],\n mapping = tr.mapping.slice(mapFrom);\n tr.replaceRange(mapping.map($from.pos), mapping.map($to.pos), i ? Slice.empty : content);\n if (i == 0) selectionToInsertionEnd(tr, mapFrom, (lastNode ? lastNode.isInline : lastParent && lastParent.isTextblock) ? -1 : 1);\n }\n }\n /**\n Replace the selection with the given node, appending the changes\n to the given transaction.\n */\n replaceWith(tr, node) {\n let mapFrom = tr.steps.length,\n ranges = this.ranges;\n for (let i = 0; i < ranges.length; i++) {\n let {\n $from,\n $to\n } = ranges[i],\n mapping = tr.mapping.slice(mapFrom);\n let from = mapping.map($from.pos),\n to = mapping.map($to.pos);\n if (i) {\n tr.deleteRange(from, to);\n } else {\n tr.replaceRangeWith(from, to, node);\n selectionToInsertionEnd(tr, mapFrom, node.isInline ? -1 : 1);\n }\n }\n }\n /**\n Find a valid cursor or leaf node selection starting at the given\n position and searching back if `dir` is negative, and forward if\n positive. When `textOnly` is true, only consider cursor\n selections. Will return null when no valid selection position is\n found.\n */\n static findFrom($pos, dir) {\n let textOnly = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n let inner = $pos.parent.inlineContent ? new TextSelection($pos) : findSelectionIn($pos.node(0), $pos.parent, $pos.pos, $pos.index(), dir, textOnly);\n if (inner) return inner;\n for (let depth = $pos.depth - 1; depth >= 0; depth--) {\n let found = dir < 0 ? findSelectionIn($pos.node(0), $pos.node(depth), $pos.before(depth + 1), $pos.index(depth), dir, textOnly) : findSelectionIn($pos.node(0), $pos.node(depth), $pos.after(depth + 1), $pos.index(depth) + 1, dir, textOnly);\n if (found) return found;\n }\n return null;\n }\n /**\n Find a valid cursor or leaf node selection near the given\n position. Searches forward first by default, but if `bias` is\n negative, it will search backwards first.\n */\n static near($pos) {\n let bias = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n return this.findFrom($pos, bias) || this.findFrom($pos, -bias) || new AllSelection($pos.node(0));\n }\n /**\n Find the cursor or leaf node selection closest to the start of\n the given document. Will return an\n [`AllSelection`](https://prosemirror.net/docs/ref/#state.AllSelection) if no valid position\n exists.\n */\n static atStart(doc) {\n return findSelectionIn(doc, doc, 0, 0, 1) || new AllSelection(doc);\n }\n /**\n Find the cursor or leaf node selection closest to the end of the\n given document.\n */\n static atEnd(doc) {\n return findSelectionIn(doc, doc, doc.content.size, doc.childCount, -1) || new AllSelection(doc);\n }\n /**\n Deserialize the JSON representation of a selection. Must be\n implemented for custom classes (as a static class method).\n */\n static fromJSON(doc, json) {\n if (!json || !json.type) throw new RangeError(\"Invalid input for Selection.fromJSON\");\n let cls = classesById[json.type];\n if (!cls) throw new RangeError(`No selection type ${json.type} defined`);\n return cls.fromJSON(doc, json);\n }\n /**\n To be able to deserialize selections from JSON, custom selection\n classes must register themselves with an ID string, so that they\n can be disambiguated. Try to pick something that's unlikely to\n clash with classes from other modules.\n */\n static jsonID(id, selectionClass) {\n if (id in classesById) throw new RangeError(\"Duplicate use of selection JSON ID \" + id);\n classesById[id] = selectionClass;\n selectionClass.prototype.jsonID = id;\n return selectionClass;\n }\n /**\n Get a [bookmark](https://prosemirror.net/docs/ref/#state.SelectionBookmark) for this selection,\n which is a value that can be mapped without having access to a\n current document, and later resolved to a real selection for a\n given document again. (This is used mostly by the history to\n track and restore old selections.) The default implementation of\n this method just converts the selection to a text selection and\n returns the bookmark for that.\n */\n getBookmark() {\n return TextSelection.between(this.$anchor, this.$head).getBookmark();\n }\n}\nSelection.prototype.visible = true;\n/**\nRepresents a selected range in a document.\n*/\nclass SelectionRange {\n /**\n Create a range.\n */\n constructor(\n /**\n The lower bound of the range.\n */\n $from,\n /**\n The upper bound of the range.\n */\n $to) {\n this.$from = $from;\n this.$to = $to;\n }\n}\nlet warnedAboutTextSelection = false;\nfunction checkTextSelection($pos) {\n if (!warnedAboutTextSelection && !$pos.parent.inlineContent) {\n warnedAboutTextSelection = true;\n console[\"warn\"](\"TextSelection endpoint not pointing into a node with inline content (\" + $pos.parent.type.name + \")\");\n }\n}\n/**\nA text selection represents a classical editor selection, with a\nhead (the moving side) and anchor (immobile side), both of which\npoint into textblock nodes. It can be empty (a regular cursor\nposition).\n*/\nclass TextSelection extends Selection {\n /**\n Construct a text selection between the given points.\n */\n constructor($anchor) {\n let $head = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : $anchor;\n checkTextSelection($anchor);\n checkTextSelection($head);\n super($anchor, $head);\n }\n /**\n Returns a resolved position if this is a cursor selection (an\n empty text selection), and null otherwise.\n */\n get $cursor() {\n return this.$anchor.pos == this.$head.pos ? this.$head : null;\n }\n map(doc, mapping) {\n let $head = doc.resolve(mapping.map(this.head));\n if (!$head.parent.inlineContent) return Selection.near($head);\n let $anchor = doc.resolve(mapping.map(this.anchor));\n return new TextSelection($anchor.parent.inlineContent ? $anchor : $head, $head);\n }\n replace(tr) {\n let content = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Slice.empty;\n super.replace(tr, content);\n if (content == Slice.empty) {\n let marks = this.$from.marksAcross(this.$to);\n if (marks) tr.ensureMarks(marks);\n }\n }\n eq(other) {\n return other instanceof TextSelection && other.anchor == this.anchor && other.head == this.head;\n }\n getBookmark() {\n return new TextBookmark(this.anchor, this.head);\n }\n toJSON() {\n return {\n type: \"text\",\n anchor: this.anchor,\n head: this.head\n };\n }\n /**\n @internal\n */\n static fromJSON(doc, json) {\n if (typeof json.anchor != \"number\" || typeof json.head != \"number\") throw new RangeError(\"Invalid input for TextSelection.fromJSON\");\n return new TextSelection(doc.resolve(json.anchor), doc.resolve(json.head));\n }\n /**\n Create a text selection from non-resolved positions.\n */\n static create(doc, anchor) {\n let head = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : anchor;\n let $anchor = doc.resolve(anchor);\n return new this($anchor, head == anchor ? $anchor : doc.resolve(head));\n }\n /**\n Return a text selection that spans the given positions or, if\n they aren't text positions, find a text selection near them.\n `bias` determines whether the method searches forward (default)\n or backwards (negative number) first. Will fall back to calling\n [`Selection.near`](https://prosemirror.net/docs/ref/#state.Selection^near) when the document\n doesn't contain a valid text position.\n */\n static between($anchor, $head, bias) {\n let dPos = $anchor.pos - $head.pos;\n if (!bias || dPos) bias = dPos >= 0 ? 1 : -1;\n if (!$head.parent.inlineContent) {\n let found = Selection.findFrom($head, bias, true) || Selection.findFrom($head, -bias, true);\n if (found) $head = found.$head;else return Selection.near($head, bias);\n }\n if (!$anchor.parent.inlineContent) {\n if (dPos == 0) {\n $anchor = $head;\n } else {\n $anchor = (Selection.findFrom($anchor, -bias, true) || Selection.findFrom($anchor, bias, true)).$anchor;\n if ($anchor.pos < $head.pos != dPos < 0) $anchor = $head;\n }\n }\n return new TextSelection($anchor, $head);\n }\n}\nSelection.jsonID(\"text\", TextSelection);\nclass TextBookmark {\n constructor(anchor, head) {\n this.anchor = anchor;\n this.head = head;\n }\n map(mapping) {\n return new TextBookmark(mapping.map(this.anchor), mapping.map(this.head));\n }\n resolve(doc) {\n return TextSelection.between(doc.resolve(this.anchor), doc.resolve(this.head));\n }\n}\n/**\nA node selection is a selection that points at a single node. All\nnodes marked [selectable](https://prosemirror.net/docs/ref/#model.NodeSpec.selectable) can be the\ntarget of a node selection. In such a selection, `from` and `to`\npoint directly before and after the selected node, `anchor` equals\n`from`, and `head` equals `to`..\n*/\nclass NodeSelection extends Selection {\n /**\n Create a node selection. Does not verify the validity of its\n argument.\n */\n constructor($pos) {\n let node = $pos.nodeAfter;\n let $end = $pos.node(0).resolve($pos.pos + node.nodeSize);\n super($pos, $end);\n this.node = node;\n }\n map(doc, mapping) {\n let {\n deleted,\n pos\n } = mapping.mapResult(this.anchor);\n let $pos = doc.resolve(pos);\n if (deleted) return Selection.near($pos);\n return new NodeSelection($pos);\n }\n content() {\n return new Slice(Fragment.from(this.node), 0, 0);\n }\n eq(other) {\n return other instanceof NodeSelection && other.anchor == this.anchor;\n }\n toJSON() {\n return {\n type: \"node\",\n anchor: this.anchor\n };\n }\n getBookmark() {\n return new NodeBookmark(this.anchor);\n }\n /**\n @internal\n */\n static fromJSON(doc, json) {\n if (typeof json.anchor != \"number\") throw new RangeError(\"Invalid input for NodeSelection.fromJSON\");\n return new NodeSelection(doc.resolve(json.anchor));\n }\n /**\n Create a node selection from non-resolved positions.\n */\n static create(doc, from) {\n return new NodeSelection(doc.resolve(from));\n }\n /**\n Determines whether the given node may be selected as a node\n selection.\n */\n static isSelectable(node) {\n return !node.isText && node.type.spec.selectable !== false;\n }\n}\nNodeSelection.prototype.visible = false;\nSelection.jsonID(\"node\", NodeSelection);\nclass NodeBookmark {\n constructor(anchor) {\n this.anchor = anchor;\n }\n map(mapping) {\n let {\n deleted,\n pos\n } = mapping.mapResult(this.anchor);\n return deleted ? new TextBookmark(pos, pos) : new NodeBookmark(pos);\n }\n resolve(doc) {\n let $pos = doc.resolve(this.anchor),\n node = $pos.nodeAfter;\n if (node && NodeSelection.isSelectable(node)) return new NodeSelection($pos);\n return Selection.near($pos);\n }\n}\n/**\nA selection type that represents selecting the whole document\n(which can not necessarily be expressed with a text selection, when\nthere are for example leaf block nodes at the start or end of the\ndocument).\n*/\nclass AllSelection extends Selection {\n /**\n Create an all-selection over the given document.\n */\n constructor(doc) {\n super(doc.resolve(0), doc.resolve(doc.content.size));\n }\n replace(tr) {\n let content = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Slice.empty;\n if (content == Slice.empty) {\n tr.delete(0, tr.doc.content.size);\n let sel = Selection.atStart(tr.doc);\n if (!sel.eq(tr.selection)) tr.setSelection(sel);\n } else {\n super.replace(tr, content);\n }\n }\n toJSON() {\n return {\n type: \"all\"\n };\n }\n /**\n @internal\n */\n static fromJSON(doc) {\n return new AllSelection(doc);\n }\n map(doc) {\n return new AllSelection(doc);\n }\n eq(other) {\n return other instanceof AllSelection;\n }\n getBookmark() {\n return AllBookmark;\n }\n}\nSelection.jsonID(\"all\", AllSelection);\nconst AllBookmark = {\n map() {\n return this;\n },\n resolve(doc) {\n return new AllSelection(doc);\n }\n};\n// FIXME we'll need some awareness of text direction when scanning for selections\n// Try to find a selection inside the given node. `pos` points at the\n// position where the search starts. When `text` is true, only return\n// text selections.\nfunction findSelectionIn(doc, node, pos, index, dir) {\n let text = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;\n if (node.inlineContent) return TextSelection.create(doc, pos);\n for (let i = index - (dir > 0 ? 0 : 1); dir > 0 ? i < node.childCount : i >= 0; i += dir) {\n let child = node.child(i);\n if (!child.isAtom) {\n let inner = findSelectionIn(doc, child, pos + dir, dir < 0 ? child.childCount : 0, dir, text);\n if (inner) return inner;\n } else if (!text && NodeSelection.isSelectable(child)) {\n return NodeSelection.create(doc, pos - (dir < 0 ? child.nodeSize : 0));\n }\n pos += child.nodeSize * dir;\n }\n return null;\n}\nfunction selectionToInsertionEnd(tr, startLen, bias) {\n let last = tr.steps.length - 1;\n if (last < startLen) return;\n let step = tr.steps[last];\n if (!(step instanceof ReplaceStep || step instanceof ReplaceAroundStep)) return;\n let map = tr.mapping.maps[last],\n end;\n map.forEach((_from, _to, _newFrom, newTo) => {\n if (end == null) end = newTo;\n });\n tr.setSelection(Selection.near(tr.doc.resolve(end), bias));\n}\nconst UPDATED_SEL = 1,\n UPDATED_MARKS = 2,\n UPDATED_SCROLL = 4;\n/**\nAn editor state transaction, which can be applied to a state to\ncreate an updated state. Use\n[`EditorState.tr`](https://prosemirror.net/docs/ref/#state.EditorState.tr) to create an instance.\n\nTransactions track changes to the document (they are a subclass of\n[`Transform`](https://prosemirror.net/docs/ref/#transform.Transform)), but also other state changes,\nlike selection updates and adjustments of the set of [stored\nmarks](https://prosemirror.net/docs/ref/#state.EditorState.storedMarks). In addition, you can store\nmetadata properties in a transaction, which are extra pieces of\ninformation that client code or plugins can use to describe what a\ntransaction represents, so that they can update their [own\nstate](https://prosemirror.net/docs/ref/#state.StateField) accordingly.\n\nThe [editor view](https://prosemirror.net/docs/ref/#view.EditorView) uses a few metadata\nproperties: it will attach a property `\"pointer\"` with the value\n`true` to selection transactions directly caused by mouse or touch\ninput, a `\"composition\"` property holding an ID identifying the\ncomposition that caused it to transactions caused by composed DOM\ninput, and a `\"uiEvent\"` property of that may be `\"paste\"`,\n`\"cut\"`, or `\"drop\"`.\n*/\nclass Transaction extends Transform {\n /**\n @internal\n */\n constructor(state) {\n super(state.doc);\n // The step count for which the current selection is valid.\n this.curSelectionFor = 0;\n // Bitfield to track which aspects of the state were updated by\n // this transaction.\n this.updated = 0;\n // Object used to store metadata properties for the transaction.\n this.meta = Object.create(null);\n this.time = Date.now();\n this.curSelection = state.selection;\n this.storedMarks = state.storedMarks;\n }\n /**\n The transaction's current selection. This defaults to the editor\n selection [mapped](https://prosemirror.net/docs/ref/#state.Selection.map) through the steps in the\n transaction, but can be overwritten with\n [`setSelection`](https://prosemirror.net/docs/ref/#state.Transaction.setSelection).\n */\n get selection() {\n if (this.curSelectionFor < this.steps.length) {\n this.curSelection = this.curSelection.map(this.doc, this.mapping.slice(this.curSelectionFor));\n this.curSelectionFor = this.steps.length;\n }\n return this.curSelection;\n }\n /**\n Update the transaction's current selection. Will determine the\n selection that the editor gets when the transaction is applied.\n */\n setSelection(selection) {\n if (selection.$from.doc != this.doc) throw new RangeError(\"Selection passed to setSelection must point at the current document\");\n this.curSelection = selection;\n this.curSelectionFor = this.steps.length;\n this.updated = (this.updated | UPDATED_SEL) & ~UPDATED_MARKS;\n this.storedMarks = null;\n return this;\n }\n /**\n Whether the selection was explicitly updated by this transaction.\n */\n get selectionSet() {\n return (this.updated & UPDATED_SEL) > 0;\n }\n /**\n Set the current stored marks.\n */\n setStoredMarks(marks) {\n this.storedMarks = marks;\n this.updated |= UPDATED_MARKS;\n return this;\n }\n /**\n Make sure the current stored marks or, if that is null, the marks\n at the selection, match the given set of marks. Does nothing if\n this is already the case.\n */\n ensureMarks(marks) {\n if (!Mark.sameSet(this.storedMarks || this.selection.$from.marks(), marks)) this.setStoredMarks(marks);\n return this;\n }\n /**\n Add a mark to the set of stored marks.\n */\n addStoredMark(mark) {\n return this.ensureMarks(mark.addToSet(this.storedMarks || this.selection.$head.marks()));\n }\n /**\n Remove a mark or mark type from the set of stored marks.\n */\n removeStoredMark(mark) {\n return this.ensureMarks(mark.removeFromSet(this.storedMarks || this.selection.$head.marks()));\n }\n /**\n Whether the stored marks were explicitly set for this transaction.\n */\n get storedMarksSet() {\n return (this.updated & UPDATED_MARKS) > 0;\n }\n /**\n @internal\n */\n addStep(step, doc) {\n super.addStep(step, doc);\n this.updated = this.updated & ~UPDATED_MARKS;\n this.storedMarks = null;\n }\n /**\n Update the timestamp for the transaction.\n */\n setTime(time) {\n this.time = time;\n return this;\n }\n /**\n Replace the current selection with the given slice.\n */\n replaceSelection(slice) {\n this.selection.replace(this, slice);\n return this;\n }\n /**\n Replace the selection with the given node. When `inheritMarks` is\n true and the content is inline, it inherits the marks from the\n place where it is inserted.\n */\n replaceSelectionWith(node) {\n let inheritMarks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n let selection = this.selection;\n if (inheritMarks) node = node.mark(this.storedMarks || (selection.empty ? selection.$from.marks() : selection.$from.marksAcross(selection.$to) || Mark.none));\n selection.replaceWith(this, node);\n return this;\n }\n /**\n Delete the selection.\n */\n deleteSelection() {\n this.selection.replace(this);\n return this;\n }\n /**\n Replace the given range, or the selection if no range is given,\n with a text node containing the given string.\n */\n insertText(text, from, to) {\n let schema = this.doc.type.schema;\n if (from == null) {\n if (!text) return this.deleteSelection();\n return this.replaceSelectionWith(schema.text(text), true);\n } else {\n if (to == null) to = from;\n to = to == null ? from : to;\n if (!text) return this.deleteRange(from, to);\n let marks = this.storedMarks;\n if (!marks) {\n let $from = this.doc.resolve(from);\n marks = to == from ? $from.marks() : $from.marksAcross(this.doc.resolve(to));\n }\n this.replaceRangeWith(from, to, schema.text(text, marks));\n if (!this.selection.empty) this.setSelection(Selection.near(this.selection.$to));\n return this;\n }\n }\n /**\n Store a metadata property in this transaction, keyed either by\n name or by plugin.\n */\n setMeta(key, value) {\n this.meta[typeof key == \"string\" ? key : key.key] = value;\n return this;\n }\n /**\n Retrieve a metadata property for a given name or plugin.\n */\n getMeta(key) {\n return this.meta[typeof key == \"string\" ? key : key.key];\n }\n /**\n Returns true if this transaction doesn't contain any metadata,\n and can thus safely be extended.\n */\n get isGeneric() {\n for (let _ in this.meta) return false;\n return true;\n }\n /**\n Indicate that the editor should scroll the selection into view\n when updated to the state produced by this transaction.\n */\n scrollIntoView() {\n this.updated |= UPDATED_SCROLL;\n return this;\n }\n /**\n True when this transaction has had `scrollIntoView` called on it.\n */\n get scrolledIntoView() {\n return (this.updated & UPDATED_SCROLL) > 0;\n }\n}\nfunction bind(f, self) {\n return !self || !f ? f : f.bind(self);\n}\nclass FieldDesc {\n constructor(name, desc, self) {\n this.name = name;\n this.init = bind(desc.init, self);\n this.apply = bind(desc.apply, self);\n }\n}\nconst baseFields = [new FieldDesc(\"doc\", {\n init(config) {\n return config.doc || config.schema.topNodeType.createAndFill();\n },\n apply(tr) {\n return tr.doc;\n }\n}), new FieldDesc(\"selection\", {\n init(config, instance) {\n return config.selection || Selection.atStart(instance.doc);\n },\n apply(tr) {\n return tr.selection;\n }\n}), new FieldDesc(\"storedMarks\", {\n init(config) {\n return config.storedMarks || null;\n },\n apply(tr, _marks, _old, state) {\n return state.selection.$cursor ? tr.storedMarks : null;\n }\n}), new FieldDesc(\"scrollToSelection\", {\n init() {\n return 0;\n },\n apply(tr, prev) {\n return tr.scrolledIntoView ? prev + 1 : prev;\n }\n})];\n// Object wrapping the part of a state object that stays the same\n// across transactions. Stored in the state's `config` property.\nclass Configuration {\n constructor(schema, plugins) {\n this.schema = schema;\n this.plugins = [];\n this.pluginsByKey = Object.create(null);\n this.fields = baseFields.slice();\n if (plugins) plugins.forEach(plugin => {\n if (this.pluginsByKey[plugin.key]) throw new RangeError(\"Adding different instances of a keyed plugin (\" + plugin.key + \")\");\n this.plugins.push(plugin);\n this.pluginsByKey[plugin.key] = plugin;\n if (plugin.spec.state) this.fields.push(new FieldDesc(plugin.key, plugin.spec.state, plugin));\n });\n }\n}\n/**\nThe state of a ProseMirror editor is represented by an object of\nthis type. A state is a persistent data structure—it isn't\nupdated, but rather a new state value is computed from an old one\nusing the [`apply`](https://prosemirror.net/docs/ref/#state.EditorState.apply) method.\n\nA state holds a number of built-in fields, and plugins can\n[define](https://prosemirror.net/docs/ref/#state.PluginSpec.state) additional fields.\n*/\nclass EditorState {\n /**\n @internal\n */\n constructor(\n /**\n @internal\n */\n config) {\n this.config = config;\n }\n /**\n The schema of the state's document.\n */\n get schema() {\n return this.config.schema;\n }\n /**\n The plugins that are active in this state.\n */\n get plugins() {\n return this.config.plugins;\n }\n /**\n Apply the given transaction to produce a new state.\n */\n apply(tr) {\n return this.applyTransaction(tr).state;\n }\n /**\n @internal\n */\n filterTransaction(tr) {\n let ignore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;\n for (let i = 0; i < this.config.plugins.length; i++) if (i != ignore) {\n let plugin = this.config.plugins[i];\n if (plugin.spec.filterTransaction && !plugin.spec.filterTransaction.call(plugin, tr, this)) return false;\n }\n return true;\n }\n /**\n Verbose variant of [`apply`](https://prosemirror.net/docs/ref/#state.EditorState.apply) that\n returns the precise transactions that were applied (which might\n be influenced by the [transaction\n hooks](https://prosemirror.net/docs/ref/#state.PluginSpec.filterTransaction) of\n plugins) along with the new state.\n */\n applyTransaction(rootTr) {\n if (!this.filterTransaction(rootTr)) return {\n state: this,\n transactions: []\n };\n let trs = [rootTr],\n newState = this.applyInner(rootTr),\n seen = null;\n // This loop repeatedly gives plugins a chance to respond to\n // transactions as new transactions are added, making sure to only\n // pass the transactions the plugin did not see before.\n for (;;) {\n let haveNew = false;\n for (let i = 0; i < this.config.plugins.length; i++) {\n let plugin = this.config.plugins[i];\n if (plugin.spec.appendTransaction) {\n let n = seen ? seen[i].n : 0,\n oldState = seen ? seen[i].state : this;\n let tr = n < trs.length && plugin.spec.appendTransaction.call(plugin, n ? trs.slice(n) : trs, oldState, newState);\n if (tr && newState.filterTransaction(tr, i)) {\n tr.setMeta(\"appendedTransaction\", rootTr);\n if (!seen) {\n seen = [];\n for (let j = 0; j < this.config.plugins.length; j++) seen.push(j < i ? {\n state: newState,\n n: trs.length\n } : {\n state: this,\n n: 0\n });\n }\n trs.push(tr);\n newState = newState.applyInner(tr);\n haveNew = true;\n }\n if (seen) seen[i] = {\n state: newState,\n n: trs.length\n };\n }\n }\n if (!haveNew) return {\n state: newState,\n transactions: trs\n };\n }\n }\n /**\n @internal\n */\n applyInner(tr) {\n if (!tr.before.eq(this.doc)) throw new RangeError(\"Applying a mismatched transaction\");\n let newInstance = new EditorState(this.config),\n fields = this.config.fields;\n for (let i = 0; i < fields.length; i++) {\n let field = fields[i];\n newInstance[field.name] = field.apply(tr, this[field.name], this, newInstance);\n }\n return newInstance;\n }\n /**\n Start a [transaction](https://prosemirror.net/docs/ref/#state.Transaction) from this state.\n */\n get tr() {\n return new Transaction(this);\n }\n /**\n Create a new state.\n */\n static create(config) {\n let $config = new Configuration(config.doc ? config.doc.type.schema : config.schema, config.plugins);\n let instance = new EditorState($config);\n for (let i = 0; i < $config.fields.length; i++) instance[$config.fields[i].name] = $config.fields[i].init(config, instance);\n return instance;\n }\n /**\n Create a new state based on this one, but with an adjusted set\n of active plugins. State fields that exist in both sets of\n plugins are kept unchanged. Those that no longer exist are\n dropped, and those that are new are initialized using their\n [`init`](https://prosemirror.net/docs/ref/#state.StateField.init) method, passing in the new\n configuration object..\n */\n reconfigure(config) {\n let $config = new Configuration(this.schema, config.plugins);\n let fields = $config.fields,\n instance = new EditorState($config);\n for (let i = 0; i < fields.length; i++) {\n let name = fields[i].name;\n instance[name] = this.hasOwnProperty(name) ? this[name] : fields[i].init(config, instance);\n }\n return instance;\n }\n /**\n Serialize this state to JSON. If you want to serialize the state\n of plugins, pass an object mapping property names to use in the\n resulting JSON object to plugin objects. The argument may also be\n a string or number, in which case it is ignored, to support the\n way `JSON.stringify` calls `toString` methods.\n */\n toJSON(pluginFields) {\n let result = {\n doc: this.doc.toJSON(),\n selection: this.selection.toJSON()\n };\n if (this.storedMarks) result.storedMarks = this.storedMarks.map(m => m.toJSON());\n if (pluginFields && typeof pluginFields == 'object') for (let prop in pluginFields) {\n if (prop == \"doc\" || prop == \"selection\") throw new RangeError(\"The JSON fields `doc` and `selection` are reserved\");\n let plugin = pluginFields[prop],\n state = plugin.spec.state;\n if (state && state.toJSON) result[prop] = state.toJSON.call(plugin, this[plugin.key]);\n }\n return result;\n }\n /**\n Deserialize a JSON representation of a state. `config` should\n have at least a `schema` field, and should contain array of\n plugins to initialize the state with. `pluginFields` can be used\n to deserialize the state of plugins, by associating plugin\n instances with the property names they use in the JSON object.\n */\n static fromJSON(config, json, pluginFields) {\n if (!json) throw new RangeError(\"Invalid input for EditorState.fromJSON\");\n if (!config.schema) throw new RangeError(\"Required config field 'schema' missing\");\n let $config = new Configuration(config.schema, config.plugins);\n let instance = new EditorState($config);\n $config.fields.forEach(field => {\n if (field.name == \"doc\") {\n instance.doc = Node.fromJSON(config.schema, json.doc);\n } else if (field.name == \"selection\") {\n instance.selection = Selection.fromJSON(instance.doc, json.selection);\n } else if (field.name == \"storedMarks\") {\n if (json.storedMarks) instance.storedMarks = json.storedMarks.map(config.schema.markFromJSON);\n } else {\n if (pluginFields) for (let prop in pluginFields) {\n let plugin = pluginFields[prop],\n state = plugin.spec.state;\n if (plugin.key == field.name && state && state.fromJSON && Object.prototype.hasOwnProperty.call(json, prop)) {\n instance[field.name] = state.fromJSON.call(plugin, config, json[prop], instance);\n return;\n }\n }\n instance[field.name] = field.init(config, instance);\n }\n });\n return instance;\n }\n}\nfunction bindProps(obj, self, target) {\n for (let prop in obj) {\n let val = obj[prop];\n if (val instanceof Function) val = val.bind(self);else if (prop == \"handleDOMEvents\") val = bindProps(val, self, {});\n target[prop] = val;\n }\n return target;\n}\n/**\nPlugins bundle functionality that can be added to an editor.\nThey are part of the [editor state](https://prosemirror.net/docs/ref/#state.EditorState) and\nmay influence that state and the view that contains it.\n*/\nclass Plugin {\n /**\n Create a plugin.\n */\n constructor(\n /**\n The plugin's [spec object](https://prosemirror.net/docs/ref/#state.PluginSpec).\n */\n spec) {\n this.spec = spec;\n /**\n The [props](https://prosemirror.net/docs/ref/#view.EditorProps) exported by this plugin.\n */\n this.props = {};\n if (spec.props) bindProps(spec.props, this, this.props);\n this.key = spec.key ? spec.key.key : createKey(\"plugin\");\n }\n /**\n Extract the plugin's state field from an editor state.\n */\n getState(state) {\n return state[this.key];\n }\n}\nconst keys = Object.create(null);\nfunction createKey(name) {\n if (name in keys) return name + \"$\" + ++keys[name];\n keys[name] = 0;\n return name + \"$\";\n}\n/**\nA key is used to [tag](https://prosemirror.net/docs/ref/#state.PluginSpec.key) plugins in a way\nthat makes it possible to find them, given an editor state.\nAssigning a key does mean only one plugin of that type can be\nactive in a state.\n*/\nclass PluginKey {\n /**\n Create a plugin key.\n */\n constructor() {\n let name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"key\";\n this.key = createKey(name);\n }\n /**\n Get the active plugin with this key, if any, from an editor\n state.\n */\n get(state) {\n return state.config.pluginsByKey[this.key];\n }\n /**\n Get the plugin's state from an editor state.\n */\n getState(state) {\n return state[this.key];\n }\n}\nexport { AllSelection, EditorState, NodeSelection, Plugin, PluginKey, Selection, SelectionRange, TextSelection, Transaction };","/*\n * This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking\n * for users.\n *\n * Debug flags need to be declared in each package individually and must not be imported across package boundaries,\n * because some build tools have trouble tree-shaking imported guards.\n *\n * As a convention, we define debug flags in a `flags.ts` file in the root of a package's `src` folder.\n *\n * Debug flag files will contain \"magic strings\" like `__SENTRY_DEBUG__` that may get replaced with actual values during\n * our, or the user's build process. Take care when introducing new flags - they must not throw if they are not\n * replaced.\n */\n/** Flag that is true for debug builds, false otherwise. */\nexport var IS_DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' ? true : __SENTRY_DEBUG__;","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n };\n return extendStatics(d, b);\n};\nexport function __extends(d, b) {\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nexport var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nexport function __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nexport function __createBinding(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}\nexport function __exportStar(m, exports) {\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n return ar;\n}\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n}\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];\n return r;\n}\n;\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []),\n i,\n q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i;\n function verb(n) {\n if (g[n]) i[n] = function (v) {\n return new Promise(function (a, b) {\n q.push([n, v, a, b]) > 1 || resume(n, v);\n });\n };\n }\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\n }\n function step(r) {\n r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n }\n function fulfill(value) {\n resume(\"next\", value);\n }\n function reject(value) {\n resume(\"throw\", value);\n }\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n throw e;\n }), verb(\"return\"), i[Symbol.iterator] = function () {\n return this;\n }, i;\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: n === \"return\"\n } : f ? f(v) : v;\n } : f;\n }\n}\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator],\n i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i);\n function verb(n) {\n i[n] = o[n] && function (v) {\n return new Promise(function (resolve, reject) {\n v = o[n](v), settle(resolve, reject, v.done, v.value);\n });\n };\n }\n function settle(resolve, reject, d, v) {\n Promise.resolve(v).then(function (v) {\n resolve({\n value: v,\n done: d\n });\n }, reject);\n }\n}\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n return cooked;\n}\n;\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result.default = mod;\n return result;\n}\nexport function __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n default: mod\n };\n}\nexport function __classPrivateFieldGet(receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n return privateMap.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to set private field on non-instance\");\n }\n privateMap.set(receiver, value);\n return value;\n}","/**\n * vuex v2.1.2\n * (c) 2017 Evan You\n * @license MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.Vuex = factory();\n})(this, function () {\n 'use strict';\n\n var devtoolHook = typeof window !== 'undefined' && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n function devtoolPlugin(store) {\n if (!devtoolHook) {\n return;\n }\n store._devtoolHook = devtoolHook;\n devtoolHook.emit('vuex:init', store);\n devtoolHook.on('vuex:travel-to-state', function (targetState) {\n store.replaceState(targetState);\n });\n store.subscribe(function (mutation, state) {\n devtoolHook.emit('vuex:mutation', mutation, state);\n });\n }\n var applyMixin = function (Vue) {\n var version = Number(Vue.version.split('.')[0]);\n if (version >= 2) {\n var usesInit = Vue.config._lifecycleHooks.indexOf('init') > -1;\n Vue.mixin(usesInit ? {\n init: vuexInit\n } : {\n beforeCreate: vuexInit\n });\n } else {\n // override init and inject vuex init procedure\n // for 1.x backwards compatibility.\n var _init = Vue.prototype._init;\n Vue.prototype._init = function (options) {\n if (options === void 0) options = {};\n options.init = options.init ? [vuexInit].concat(options.init) : vuexInit;\n _init.call(this, options);\n };\n }\n\n /**\n * Vuex init hook, injected into each instances init hooks list.\n */\n\n function vuexInit() {\n var options = this.$options;\n // store injection\n if (options.store) {\n this.$store = options.store;\n } else if (options.parent && options.parent.$store) {\n this.$store = options.parent.$store;\n }\n }\n };\n var mapState = normalizeNamespace(function (namespace, states) {\n var res = {};\n normalizeMap(states).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n res[key] = function mappedState() {\n var state = this.$store.state;\n var getters = this.$store.getters;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n if (!module) {\n return;\n }\n state = module.context.state;\n getters = module.context.getters;\n }\n return typeof val === 'function' ? val.call(this, state, getters) : state[val];\n };\n });\n return res;\n });\n var mapMutations = normalizeNamespace(function (namespace, mutations) {\n var res = {};\n normalizeMap(mutations).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n val = namespace + val;\n res[key] = function mappedMutation() {\n var args = [],\n len = arguments.length;\n while (len--) args[len] = arguments[len];\n if (namespace && !getModuleByNamespace(this.$store, 'mapMutations', namespace)) {\n return;\n }\n return this.$store.commit.apply(this.$store, [val].concat(args));\n };\n });\n return res;\n });\n var mapGetters = normalizeNamespace(function (namespace, getters) {\n var res = {};\n normalizeMap(getters).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n val = namespace + val;\n res[key] = function mappedGetter() {\n if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n return;\n }\n if (!(val in this.$store.getters)) {\n console.error(\"[vuex] unknown getter: \" + val);\n return;\n }\n return this.$store.getters[val];\n };\n });\n return res;\n });\n var mapActions = normalizeNamespace(function (namespace, actions) {\n var res = {};\n normalizeMap(actions).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n val = namespace + val;\n res[key] = function mappedAction() {\n var args = [],\n len = arguments.length;\n while (len--) args[len] = arguments[len];\n if (namespace && !getModuleByNamespace(this.$store, 'mapActions', namespace)) {\n return;\n }\n return this.$store.dispatch.apply(this.$store, [val].concat(args));\n };\n });\n return res;\n });\n function normalizeMap(map) {\n return Array.isArray(map) ? map.map(function (key) {\n return {\n key: key,\n val: key\n };\n }) : Object.keys(map).map(function (key) {\n return {\n key: key,\n val: map[key]\n };\n });\n }\n function normalizeNamespace(fn) {\n return function (namespace, map) {\n if (typeof namespace !== 'string') {\n map = namespace;\n namespace = '';\n } else if (namespace.charAt(namespace.length - 1) !== '/') {\n namespace += '/';\n }\n return fn(namespace, map);\n };\n }\n function getModuleByNamespace(store, helper, namespace) {\n var module = store._modulesNamespaceMap[namespace];\n if (!module) {\n console.error(\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace);\n }\n return module;\n }\n\n /**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\n /**\n * Deep copy the given object considering circular structure.\n * This function caches all nested objects and its copies.\n * If it detects circular structure, use cached copy to avoid infinite loop.\n *\n * @param {*} obj\n * @param {Array} cache\n * @return {*}\n */\n\n /**\n * forEach for object\n */\n function forEachValue(obj, fn) {\n Object.keys(obj).forEach(function (key) {\n return fn(obj[key], key);\n });\n }\n function isObject(obj) {\n return obj !== null && typeof obj === 'object';\n }\n function isPromise(val) {\n return val && typeof val.then === 'function';\n }\n function assert(condition, msg) {\n if (!condition) {\n throw new Error(\"[vuex] \" + msg);\n }\n }\n var Module = function Module(rawModule, runtime) {\n this.runtime = runtime;\n this._children = Object.create(null);\n this._rawModule = rawModule;\n };\n var prototypeAccessors$1 = {\n state: {},\n namespaced: {}\n };\n prototypeAccessors$1.state.get = function () {\n return this._rawModule.state || {};\n };\n prototypeAccessors$1.namespaced.get = function () {\n return !!this._rawModule.namespaced;\n };\n Module.prototype.addChild = function addChild(key, module) {\n this._children[key] = module;\n };\n Module.prototype.removeChild = function removeChild(key) {\n delete this._children[key];\n };\n Module.prototype.getChild = function getChild(key) {\n return this._children[key];\n };\n Module.prototype.update = function update(rawModule) {\n this._rawModule.namespaced = rawModule.namespaced;\n if (rawModule.actions) {\n this._rawModule.actions = rawModule.actions;\n }\n if (rawModule.mutations) {\n this._rawModule.mutations = rawModule.mutations;\n }\n if (rawModule.getters) {\n this._rawModule.getters = rawModule.getters;\n }\n };\n Module.prototype.forEachChild = function forEachChild(fn) {\n forEachValue(this._children, fn);\n };\n Module.prototype.forEachGetter = function forEachGetter(fn) {\n if (this._rawModule.getters) {\n forEachValue(this._rawModule.getters, fn);\n }\n };\n Module.prototype.forEachAction = function forEachAction(fn) {\n if (this._rawModule.actions) {\n forEachValue(this._rawModule.actions, fn);\n }\n };\n Module.prototype.forEachMutation = function forEachMutation(fn) {\n if (this._rawModule.mutations) {\n forEachValue(this._rawModule.mutations, fn);\n }\n };\n Object.defineProperties(Module.prototype, prototypeAccessors$1);\n var ModuleCollection = function ModuleCollection(rawRootModule) {\n var this$1 = this;\n\n // register root module (Vuex.Store options)\n this.root = new Module(rawRootModule, false);\n\n // register all nested modules\n if (rawRootModule.modules) {\n forEachValue(rawRootModule.modules, function (rawModule, key) {\n this$1.register([key], rawModule, false);\n });\n }\n };\n ModuleCollection.prototype.get = function get(path) {\n return path.reduce(function (module, key) {\n return module.getChild(key);\n }, this.root);\n };\n ModuleCollection.prototype.getNamespace = function getNamespace(path) {\n var module = this.root;\n return path.reduce(function (namespace, key) {\n module = module.getChild(key);\n return namespace + (module.namespaced ? key + '/' : '');\n }, '');\n };\n ModuleCollection.prototype.update = function update$1(rawRootModule) {\n update(this.root, rawRootModule);\n };\n ModuleCollection.prototype.register = function register(path, rawModule, runtime) {\n var this$1 = this;\n if (runtime === void 0) runtime = true;\n var parent = this.get(path.slice(0, -1));\n var newModule = new Module(rawModule, runtime);\n parent.addChild(path[path.length - 1], newModule);\n\n // register nested modules\n if (rawModule.modules) {\n forEachValue(rawModule.modules, function (rawChildModule, key) {\n this$1.register(path.concat(key), rawChildModule, runtime);\n });\n }\n };\n ModuleCollection.prototype.unregister = function unregister(path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n if (!parent.getChild(key).runtime) {\n return;\n }\n parent.removeChild(key);\n };\n function update(targetModule, newModule) {\n // update target module\n targetModule.update(newModule);\n\n // update nested modules\n if (newModule.modules) {\n for (var key in newModule.modules) {\n if (!targetModule.getChild(key)) {\n console.warn(\"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" + 'manual reload is needed');\n return;\n }\n update(targetModule.getChild(key), newModule.modules[key]);\n }\n }\n }\n var Vue; // bind on install\n\n var Store = function Store(options) {\n var this$1 = this;\n if (options === void 0) options = {};\n assert(Vue, \"must call Vue.use(Vuex) before creating a store instance.\");\n assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n var state = options.state;\n if (state === void 0) state = {};\n var plugins = options.plugins;\n if (plugins === void 0) plugins = [];\n var strict = options.strict;\n if (strict === void 0) strict = false;\n\n // store internal state\n this._committing = false;\n this._actions = Object.create(null);\n this._mutations = Object.create(null);\n this._wrappedGetters = Object.create(null);\n this._modules = new ModuleCollection(options);\n this._modulesNamespaceMap = Object.create(null);\n this._subscribers = [];\n this._watcherVM = new Vue();\n\n // bind commit and dispatch to self\n var store = this;\n var ref = this;\n var dispatch = ref.dispatch;\n var commit = ref.commit;\n this.dispatch = function boundDispatch(type, payload) {\n return dispatch.call(store, type, payload);\n };\n this.commit = function boundCommit(type, payload, options) {\n return commit.call(store, type, payload, options);\n };\n\n // strict mode\n this.strict = strict;\n\n // init root module.\n // this also recursively registers all sub-modules\n // and collects all module getters inside this._wrappedGetters\n installModule(this, state, [], this._modules.root);\n\n // initialize the store vm, which is responsible for the reactivity\n // (also registers _wrappedGetters as computed properties)\n resetStoreVM(this, state);\n\n // apply plugins\n plugins.concat(devtoolPlugin).forEach(function (plugin) {\n return plugin(this$1);\n });\n };\n var prototypeAccessors = {\n state: {}\n };\n prototypeAccessors.state.get = function () {\n return this._vm.$data.state;\n };\n prototypeAccessors.state.set = function (v) {\n assert(false, \"Use store.replaceState() to explicit replace store state.\");\n };\n Store.prototype.commit = function commit(_type, _payload, _options) {\n var this$1 = this;\n\n // check object-style commit\n var ref = unifyObjectStyle(_type, _payload, _options);\n var type = ref.type;\n var payload = ref.payload;\n var options = ref.options;\n var mutation = {\n type: type,\n payload: payload\n };\n var entry = this._mutations[type];\n if (!entry) {\n console.error(\"[vuex] unknown mutation type: \" + type);\n return;\n }\n this._withCommit(function () {\n entry.forEach(function commitIterator(handler) {\n handler(payload);\n });\n });\n this._subscribers.forEach(function (sub) {\n return sub(mutation, this$1.state);\n });\n if (options && options.silent) {\n console.warn(\"[vuex] mutation type: \" + type + \". Silent option has been removed. \" + 'Use the filter functionality in the vue-devtools');\n }\n };\n Store.prototype.dispatch = function dispatch(_type, _payload) {\n // check object-style dispatch\n var ref = unifyObjectStyle(_type, _payload);\n var type = ref.type;\n var payload = ref.payload;\n var entry = this._actions[type];\n if (!entry) {\n console.error(\"[vuex] unknown action type: \" + type);\n return;\n }\n return entry.length > 1 ? Promise.all(entry.map(function (handler) {\n return handler(payload);\n })) : entry[0](payload);\n };\n Store.prototype.subscribe = function subscribe(fn) {\n var subs = this._subscribers;\n if (subs.indexOf(fn) < 0) {\n subs.push(fn);\n }\n return function () {\n var i = subs.indexOf(fn);\n if (i > -1) {\n subs.splice(i, 1);\n }\n };\n };\n Store.prototype.watch = function watch(getter, cb, options) {\n var this$1 = this;\n assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n return this._watcherVM.$watch(function () {\n return getter(this$1.state, this$1.getters);\n }, cb, options);\n };\n Store.prototype.replaceState = function replaceState(state) {\n var this$1 = this;\n this._withCommit(function () {\n this$1._vm.state = state;\n });\n };\n Store.prototype.registerModule = function registerModule(path, rawModule) {\n if (typeof path === 'string') {\n path = [path];\n }\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n this._modules.register(path, rawModule);\n installModule(this, this.state, path, this._modules.get(path));\n // reset store to update getters...\n resetStoreVM(this, this.state);\n };\n Store.prototype.unregisterModule = function unregisterModule(path) {\n var this$1 = this;\n if (typeof path === 'string') {\n path = [path];\n }\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n this._modules.unregister(path);\n this._withCommit(function () {\n var parentState = getNestedState(this$1.state, path.slice(0, -1));\n Vue.delete(parentState, path[path.length - 1]);\n });\n resetStore(this);\n };\n Store.prototype.hotUpdate = function hotUpdate(newOptions) {\n this._modules.update(newOptions);\n resetStore(this, true);\n };\n Store.prototype._withCommit = function _withCommit(fn) {\n var committing = this._committing;\n this._committing = true;\n fn();\n this._committing = committing;\n };\n Object.defineProperties(Store.prototype, prototypeAccessors);\n function resetStore(store, hot) {\n store._actions = Object.create(null);\n store._mutations = Object.create(null);\n store._wrappedGetters = Object.create(null);\n store._modulesNamespaceMap = Object.create(null);\n var state = store.state;\n // init all modules\n installModule(store, state, [], store._modules.root, true);\n // reset vm\n resetStoreVM(store, state, hot);\n }\n function resetStoreVM(store, state, hot) {\n var oldVm = store._vm;\n\n // bind store public getters\n store.getters = {};\n var wrappedGetters = store._wrappedGetters;\n var computed = {};\n forEachValue(wrappedGetters, function (fn, key) {\n // use computed to leverage its lazy-caching mechanism\n computed[key] = function () {\n return fn(store);\n };\n Object.defineProperty(store.getters, key, {\n get: function () {\n return store._vm[key];\n },\n enumerable: true // for local getters\n });\n });\n\n // use a Vue instance to store the state tree\n // suppress warnings just in case the user has added\n // some funky global mixins\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n store._vm = new Vue({\n data: {\n state: state\n },\n computed: computed\n });\n Vue.config.silent = silent;\n\n // enable strict mode for new vm\n if (store.strict) {\n enableStrictMode(store);\n }\n if (oldVm) {\n if (hot) {\n // dispatch changes in all subscribed watchers\n // to force getter re-evaluation for hot reloading.\n store._withCommit(function () {\n oldVm.state = null;\n });\n }\n Vue.nextTick(function () {\n return oldVm.$destroy();\n });\n }\n }\n function installModule(store, rootState, path, module, hot) {\n var isRoot = !path.length;\n var namespace = store._modules.getNamespace(path);\n\n // register in namespace map\n if (namespace) {\n store._modulesNamespaceMap[namespace] = module;\n }\n\n // set state\n if (!isRoot && !hot) {\n var parentState = getNestedState(rootState, path.slice(0, -1));\n var moduleName = path[path.length - 1];\n store._withCommit(function () {\n Vue.set(parentState, moduleName, module.state);\n });\n }\n var local = module.context = makeLocalContext(store, namespace, path);\n module.forEachMutation(function (mutation, key) {\n var namespacedType = namespace + key;\n registerMutation(store, namespacedType, mutation, local);\n });\n module.forEachAction(function (action, key) {\n var namespacedType = namespace + key;\n registerAction(store, namespacedType, action, local);\n });\n module.forEachGetter(function (getter, key) {\n var namespacedType = namespace + key;\n registerGetter(store, namespacedType, getter, local);\n });\n module.forEachChild(function (child, key) {\n installModule(store, rootState, path.concat(key), child, hot);\n });\n }\n\n /**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\n function makeLocalContext(store, namespace, path) {\n var noNamespace = namespace === '';\n var local = {\n dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n if (!options || !options.root) {\n type = namespace + type;\n if (!store._actions[type]) {\n console.error(\"[vuex] unknown local action type: \" + args.type + \", global type: \" + type);\n return;\n }\n }\n return store.dispatch(type, payload);\n },\n commit: noNamespace ? store.commit : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n if (!options || !options.root) {\n type = namespace + type;\n if (!store._mutations[type]) {\n console.error(\"[vuex] unknown local mutation type: \" + args.type + \", global type: \" + type);\n return;\n }\n }\n store.commit(type, payload, options);\n }\n };\n\n // getters and state object must be gotten lazily\n // because they will be changed by vm update\n Object.defineProperties(local, {\n getters: {\n get: noNamespace ? function () {\n return store.getters;\n } : function () {\n return makeLocalGetters(store, namespace);\n }\n },\n state: {\n get: function () {\n return getNestedState(store.state, path);\n }\n }\n });\n return local;\n }\n function makeLocalGetters(store, namespace) {\n var gettersProxy = {};\n var splitPos = namespace.length;\n Object.keys(store.getters).forEach(function (type) {\n // skip if the target getter is not match this namespace\n if (type.slice(0, splitPos) !== namespace) {\n return;\n }\n\n // extract local getter type\n var localType = type.slice(splitPos);\n\n // Add a port to the getters proxy.\n // Define as getter property because\n // we do not want to evaluate the getters in this time.\n Object.defineProperty(gettersProxy, localType, {\n get: function () {\n return store.getters[type];\n },\n enumerable: true\n });\n });\n return gettersProxy;\n }\n function registerMutation(store, type, handler, local) {\n var entry = store._mutations[type] || (store._mutations[type] = []);\n entry.push(function wrappedMutationHandler(payload) {\n handler(local.state, payload);\n });\n }\n function registerAction(store, type, handler, local) {\n var entry = store._actions[type] || (store._actions[type] = []);\n entry.push(function wrappedActionHandler(payload, cb) {\n var res = handler({\n dispatch: local.dispatch,\n commit: local.commit,\n getters: local.getters,\n state: local.state,\n rootGetters: store.getters,\n rootState: store.state\n }, payload, cb);\n if (!isPromise(res)) {\n res = Promise.resolve(res);\n }\n if (store._devtoolHook) {\n return res.catch(function (err) {\n store._devtoolHook.emit('vuex:error', err);\n throw err;\n });\n } else {\n return res;\n }\n });\n }\n function registerGetter(store, type, rawGetter, local) {\n if (store._wrappedGetters[type]) {\n console.error(\"[vuex] duplicate getter key: \" + type);\n return;\n }\n store._wrappedGetters[type] = function wrappedGetter(store) {\n return rawGetter(local.state,\n // local state\n local.getters,\n // local getters\n store.state,\n // root state\n store.getters // root getters\n );\n };\n }\n function enableStrictMode(store) {\n store._vm.$watch('state', function () {\n assert(store._committing, \"Do not mutate vuex store state outside mutation handlers.\");\n }, {\n deep: true,\n sync: true\n });\n }\n function getNestedState(state, path) {\n return path.length ? path.reduce(function (state, key) {\n return state[key];\n }, state) : state;\n }\n function unifyObjectStyle(type, payload, options) {\n if (isObject(type) && type.type) {\n options = payload;\n payload = type;\n type = type.type;\n }\n assert(typeof type === 'string', \"Expects string as the type, but found \" + typeof type + \".\");\n return {\n type: type,\n payload: payload,\n options: options\n };\n }\n function install(_Vue) {\n if (Vue) {\n console.error('[vuex] already installed. Vue.use(Vuex) should be called only once.');\n return;\n }\n Vue = _Vue;\n applyMixin(Vue);\n }\n\n // auto install in dist mode\n if (typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n var index = {\n Store: Store,\n install: install,\n version: '2.1.2',\n mapState: mapState,\n mapMutations: mapMutations,\n mapGetters: mapGetters,\n mapActions: mapActions\n };\n return index;\n});","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n };\n return extendStatics(d, b);\n};\nexport function __extends(d, b) {\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nexport var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nexport function __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nexport function __createBinding(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}\nexport function __exportStar(m, exports) {\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n return ar;\n}\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n}\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];\n return r;\n}\n;\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []),\n i,\n q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i;\n function verb(n) {\n if (g[n]) i[n] = function (v) {\n return new Promise(function (a, b) {\n q.push([n, v, a, b]) > 1 || resume(n, v);\n });\n };\n }\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\n }\n function step(r) {\n r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n }\n function fulfill(value) {\n resume(\"next\", value);\n }\n function reject(value) {\n resume(\"throw\", value);\n }\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n throw e;\n }), verb(\"return\"), i[Symbol.iterator] = function () {\n return this;\n }, i;\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: n === \"return\"\n } : f ? f(v) : v;\n } : f;\n }\n}\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator],\n i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i);\n function verb(n) {\n i[n] = o[n] && function (v) {\n return new Promise(function (resolve, reject) {\n v = o[n](v), settle(resolve, reject, v.done, v.value);\n });\n };\n }\n function settle(resolve, reject, d, v) {\n Promise.resolve(v).then(function (v) {\n resolve({\n value: v,\n done: d\n });\n }, reject);\n }\n}\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n return cooked;\n}\n;\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result.default = mod;\n return result;\n}\nexport function __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n default: mod\n };\n}\nexport function __classPrivateFieldGet(receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n return privateMap.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to set private field on non-instance\");\n }\n privateMap.set(receiver, value);\n return value;\n}","export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n var number = Number(dirtyNumber);\n if (isNaN(number)) {\n return number;\n }\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n };\n return extendStatics(d, b);\n};\nexport function __extends(d, b) {\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nexport var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nexport function __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nexport function __createBinding(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}\nexport function __exportStar(m, exports) {\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n return ar;\n}\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n}\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];\n return r;\n}\n;\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []),\n i,\n q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i;\n function verb(n) {\n if (g[n]) i[n] = function (v) {\n return new Promise(function (a, b) {\n q.push([n, v, a, b]) > 1 || resume(n, v);\n });\n };\n }\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\n }\n function step(r) {\n r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n }\n function fulfill(value) {\n resume(\"next\", value);\n }\n function reject(value) {\n resume(\"throw\", value);\n }\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n throw e;\n }), verb(\"return\"), i[Symbol.iterator] = function () {\n return this;\n }, i;\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: n === \"return\"\n } : f ? f(v) : v;\n } : f;\n }\n}\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator],\n i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i);\n function verb(n) {\n i[n] = o[n] && function (v) {\n return new Promise(function (resolve, reject) {\n v = o[n](v), settle(resolve, reject, v.done, v.value);\n });\n };\n }\n function settle(resolve, reject, d, v) {\n Promise.resolve(v).then(function (v) {\n resolve({\n value: v,\n done: d\n });\n }, reject);\n }\n}\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n return cooked;\n}\n;\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result.default = mod;\n return result;\n}\nexport function __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n default: mod\n };\n}\nexport function __classPrivateFieldGet(receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n return privateMap.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to set private field on non-instance\");\n }\n privateMap.set(receiver, value);\n return value;\n}","import Vue from 'vue';\n\nexport const set = (state, data) => {\n state.records = data;\n};\n\nexport const create = (state, data) => {\n state.records.push(data);\n};\n\nexport const setSingleRecord = (state, data) => {\n const recordIndex = state.records.findIndex(record => record.id === data.id);\n if (recordIndex > -1) {\n state.records[recordIndex] = data;\n } else {\n create(state, data);\n }\n};\n\nexport const update = (state, data) => {\n state.records.forEach((element, index) => {\n if (element.id === data.id) {\n Vue.set(state.records, index, data);\n }\n });\n};\n\n/* when you don't want to overwrite the whole object */\nexport const updateAttributes = (state, data) => {\n state.records.forEach((element, index) => {\n if (element.id === data.id) {\n Vue.set(state.records, index, { ...state.records[index], ...data });\n }\n });\n};\n\nexport const updatePresence = (state, data) => {\n state.records.forEach((element, index) => {\n const availabilityStatus = data[element.id];\n Vue.set(\n state.records[index],\n 'availability_status',\n availabilityStatus || 'offline'\n );\n });\n};\n\nexport const updateSingleRecordPresence = (\n records,\n { id, availabilityStatus }\n) => {\n const [selectedRecord] = records.filter(record => record.id === Number(id));\n if (selectedRecord) {\n Vue.set(selectedRecord, 'availability_status', availabilityStatus);\n }\n};\n\nexport const destroy = (state, id) => {\n state.records = state.records.filter(record => record.id !== id);\n};\n","/* global axios */\n\nconst DEFAULT_API_VERSION = 'v1';\n\nclass ApiClient {\n constructor(resource, options = {}) {\n this.apiVersion = `/api/${options.apiVersion || DEFAULT_API_VERSION}`;\n this.options = options;\n this.resource = resource;\n }\n\n get url() {\n return `${this.baseUrl()}/${this.resource}`;\n }\n\n // eslint-disable-next-line class-methods-use-this\n get accountIdFromRoute() {\n const isInsideAccountScopedURLs =\n window.location.pathname.includes('/app/accounts');\n\n if (isInsideAccountScopedURLs) {\n return window.location.pathname.split('/')[3];\n }\n\n return '';\n }\n\n baseUrl() {\n let url = this.apiVersion;\n\n if (this.options.enterprise) {\n url = `/enterprise${url}`;\n }\n\n if (this.options.accountScoped && this.accountIdFromRoute) {\n url = `${url}/accounts/${this.accountIdFromRoute}`;\n }\n\n return url;\n }\n\n get() {\n return axios.get(this.url);\n }\n\n show(id) {\n return axios.get(`${this.url}/${id}`);\n }\n\n create(data) {\n return axios.post(this.url, data);\n }\n\n update(id, data) {\n return axios.patch(`${this.url}/${id}`, data);\n }\n\n delete(id) {\n return axios.delete(`${this.url}/${id}`);\n }\n}\n\nexport default ApiClient;\n","import mitt from 'mitt';\nconst emitter = mitt();\nexport { emitter };\n","export default function (n) {\n return {\n all: n = n || new Map(),\n on: function (t, e) {\n var i = n.get(t);\n i ? i.push(e) : n.set(t, [e]);\n },\n off: function (t, e) {\n var i = n.get(t);\n i && (e ? i.splice(i.indexOf(e) >>> 0, 1) : n.set(t, []));\n },\n emit: function (t, e) {\n var i = n.get(t);\n i && i.slice().map(function (n) {\n n(e);\n }), (i = n.get(\"*\")) && i.slice().map(function (n) {\n n(t, e);\n });\n }\n };\n}","import { getCurrentHub } from '@sentry/hub';\n/**\n * The `extractTraceparentData` function and `TRACEPARENT_REGEXP` constant used\n * to be declared in this file. It was later moved into `@sentry/utils` as part of a\n * move to remove `@sentry/tracing` dependencies from `@sentry/node` (`extractTraceparentData`\n * is the only tracing function used by `@sentry/node`).\n *\n * These exports are kept here for backwards compatability's sake.\n *\n * TODO(v7): Reorganize these exports\n *\n * See https://github.com/getsentry/sentry-javascript/issues/4642 for more details.\n */\nexport { TRACEPARENT_REGEXP, extractTraceparentData } from '@sentry/utils';\n/**\n * Determines if tracing is currently enabled.\n *\n * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config.\n */\nexport function hasTracingEnabled(maybeOptions) {\n var client = getCurrentHub().getClient();\n var options = maybeOptions || client && client.getOptions();\n return !!options && ('tracesSampleRate' in options || 'tracesSampler' in options);\n}\n/** Grabs active transaction off scope, if any */\nexport function getActiveTransaction(maybeHub) {\n var hub = maybeHub || getCurrentHub();\n var scope = hub.getScope();\n return scope && scope.getTransaction();\n}\n/**\n * Converts from milliseconds to seconds\n * @param time time in ms\n */\nexport function msToSec(time) {\n return time / 1000;\n}\n/**\n * Converts from seconds to milliseconds\n * @param time time in seconds\n */\nexport function secToMs(time) {\n return time * 1000;\n}\n// so it can be used in manual instrumentation without necessitating a hard dependency on @sentry/utils\nexport { stripUrlQueryAndFragment } from '@sentry/utils';","import fromUnixTime from 'date-fns/fromUnixTime';\nimport differenceInDays from 'date-fns/differenceInDays';\nimport Cookies from 'js-cookie';\nimport {\n ANALYTICS_IDENTITY,\n ANALYTICS_RESET,\n CHATWOOT_RESET,\n CHATWOOT_SET_USER,\n} from '../../helper/scriptHelpers';\nimport { LOCAL_STORAGE_KEYS } from 'dashboard/constants/localStorage';\nimport { LocalStorage } from 'shared/helpers/localStorage';\nimport { emitter } from 'shared/helpers/mitt';\n\nCookies.defaults = { sameSite: 'Lax' };\n\nexport const getLoadingStatus = state => state.fetchAPIloadingStatus;\nexport const setLoadingStatus = (state, status) => {\n state.fetchAPIloadingStatus = status;\n};\n\nexport const setUser = user => {\n emitter.emit(CHATWOOT_SET_USER, { user });\n emitter.emit(ANALYTICS_IDENTITY, { user });\n};\n\nexport const getHeaderExpiry = response =>\n fromUnixTime(response.headers.expiry);\n\nexport const setAuthCredentials = response => {\n const expiryDate = getHeaderExpiry(response);\n Cookies.set('cw_d_session_info', JSON.stringify(response.headers), {\n expires: differenceInDays(expiryDate, new Date()),\n });\n setUser(response.data.data, expiryDate);\n};\n\nexport const clearBrowserSessionCookies = () => {\n Cookies.remove('cw_d_session_info');\n Cookies.remove('auth_data');\n Cookies.remove('user');\n};\n\nexport const clearLocalStorageOnLogout = () => {\n LocalStorage.remove(LOCAL_STORAGE_KEYS.DRAFT_MESSAGES);\n};\n\nexport const deleteIndexedDBOnLogout = async () => {\n let dbs = [];\n try {\n dbs = await window.indexedDB.databases();\n dbs = dbs.map(db => db.name);\n } catch (e) {\n dbs = JSON.parse(localStorage.getItem('cw-idb-names') || '[]');\n }\n\n dbs.forEach(dbName => {\n const deleteRequest = window.indexedDB.deleteDatabase(dbName);\n\n deleteRequest.onerror = event => {\n // eslint-disable-next-line no-console\n console.error(`Error deleting database ${dbName}.`, event);\n };\n\n deleteRequest.onsuccess = () => {\n // eslint-disable-next-line no-console\n console.log(`Database ${dbName} deleted successfully.`);\n };\n });\n\n localStorage.removeItem('cw-idb-names');\n};\n\nexport const clearCookiesOnLogout = () => {\n emitter.emit(CHATWOOT_RESET);\n emitter.emit(ANALYTICS_RESET);\n clearBrowserSessionCookies();\n clearLocalStorageOnLogout();\n const globalConfig = window.globalConfig || {};\n const logoutRedirectLink = globalConfig.LOGOUT_REDIRECT_LINK || '/';\n window.location = logoutRedirectLink;\n};\n\nexport const parseAPIErrorResponse = error => {\n if (error?.response?.data?.message) {\n return error?.response?.data?.message;\n }\n if (error?.response?.data?.error) {\n return error?.response?.data?.error;\n }\n if (error?.response?.data?.errors) {\n return error?.response?.data?.errors[0];\n }\n return error;\n};\n\nexport const throwErrorMessage = error => {\n const errorMessage = parseAPIErrorResponse(error);\n throw new Error(errorMessage);\n};\n\nexport const parseLinearAPIErrorResponse = (error, defaultMessage) => {\n const errorData = error.response.data;\n const errorMessage = errorData?.error?.errors?.[0]?.message || defaultMessage;\n return errorMessage;\n};\n","// Utilities\n//\n'use strict';\n\nfunction _class(obj) {\n return Object.prototype.toString.call(obj);\n}\nfunction isString(obj) {\n return _class(obj) === '[object String]';\n}\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction has(object, key) {\n return _hasOwnProperty.call(object, key);\n}\n\n// Merge objects\n//\nfunction assign(obj /*from1, from2, from3, ...*/) {\n var sources = Array.prototype.slice.call(arguments, 1);\n sources.forEach(function (source) {\n if (!source) {\n return;\n }\n if (typeof source !== 'object') {\n throw new TypeError(source + 'must be object');\n }\n Object.keys(source).forEach(function (key) {\n obj[key] = source[key];\n });\n });\n return obj;\n}\n\n// Remove element from array and put another array at those position.\n// Useful for some operations with tokens\nfunction arrayReplaceAt(src, pos, newElements) {\n return [].concat(src.slice(0, pos), newElements, src.slice(pos + 1));\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nfunction isValidEntityCode(c) {\n /*eslint no-bitwise:0*/\n // broken sequence\n if (c >= 0xD800 && c <= 0xDFFF) {\n return false;\n }\n // never used\n if (c >= 0xFDD0 && c <= 0xFDEF) {\n return false;\n }\n if ((c & 0xFFFF) === 0xFFFF || (c & 0xFFFF) === 0xFFFE) {\n return false;\n }\n // control codes\n if (c >= 0x00 && c <= 0x08) {\n return false;\n }\n if (c === 0x0B) {\n return false;\n }\n if (c >= 0x0E && c <= 0x1F) {\n return false;\n }\n if (c >= 0x7F && c <= 0x9F) {\n return false;\n }\n // out of range\n if (c > 0x10FFFF) {\n return false;\n }\n return true;\n}\nfunction fromCodePoint(c) {\n /*eslint no-bitwise:0*/\n if (c > 0xffff) {\n c -= 0x10000;\n var surrogate1 = 0xd800 + (c >> 10),\n surrogate2 = 0xdc00 + (c & 0x3ff);\n return String.fromCharCode(surrogate1, surrogate2);\n }\n return String.fromCharCode(c);\n}\nvar UNESCAPE_MD_RE = /\\\\([!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~])/g;\nvar ENTITY_RE = /&([a-z#][a-z0-9]{1,31});/gi;\nvar UNESCAPE_ALL_RE = new RegExp(UNESCAPE_MD_RE.source + '|' + ENTITY_RE.source, 'gi');\nvar DIGITAL_ENTITY_TEST_RE = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;\nvar entities = require('./entities');\nfunction replaceEntityPattern(match, name) {\n var code;\n if (has(entities, name)) {\n return entities[name];\n }\n if (name.charCodeAt(0) === 0x23 /* # */ && DIGITAL_ENTITY_TEST_RE.test(name)) {\n code = name[1].toLowerCase() === 'x' ? parseInt(name.slice(2), 16) : parseInt(name.slice(1), 10);\n if (isValidEntityCode(code)) {\n return fromCodePoint(code);\n }\n }\n return match;\n}\n\n/*function replaceEntities(str) {\n if (str.indexOf('&') < 0) { return str; }\n\n return str.replace(ENTITY_RE, replaceEntityPattern);\n}*/\n\nfunction unescapeMd(str) {\n if (str.indexOf('\\\\') < 0) {\n return str;\n }\n return str.replace(UNESCAPE_MD_RE, '$1');\n}\nfunction unescapeAll(str) {\n if (str.indexOf('\\\\') < 0 && str.indexOf('&') < 0) {\n return str;\n }\n return str.replace(UNESCAPE_ALL_RE, function (match, escaped, entity) {\n if (escaped) {\n return escaped;\n }\n return replaceEntityPattern(match, entity);\n });\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nvar HTML_ESCAPE_TEST_RE = /[&<>\"]/;\nvar HTML_ESCAPE_REPLACE_RE = /[&<>\"]/g;\nvar HTML_REPLACEMENTS = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"'\n};\nfunction replaceUnsafeChar(ch) {\n return HTML_REPLACEMENTS[ch];\n}\nfunction escapeHtml(str) {\n if (HTML_ESCAPE_TEST_RE.test(str)) {\n return str.replace(HTML_ESCAPE_REPLACE_RE, replaceUnsafeChar);\n }\n return str;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nvar REGEXP_ESCAPE_RE = /[.?*+^$[\\]\\\\(){}|-]/g;\nfunction escapeRE(str) {\n return str.replace(REGEXP_ESCAPE_RE, '\\\\$&');\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nfunction isSpace(code) {\n switch (code) {\n case 0x09:\n case 0x20:\n return true;\n }\n return false;\n}\n\n// Zs (unicode class) || [\\t\\f\\v\\r\\n]\nfunction isWhiteSpace(code) {\n if (code >= 0x2000 && code <= 0x200A) {\n return true;\n }\n switch (code) {\n case 0x09: // \\t\n case 0x0A: // \\n\n case 0x0B: // \\v\n case 0x0C: // \\f\n case 0x0D: // \\r\n case 0x20:\n case 0xA0:\n case 0x1680:\n case 0x202F:\n case 0x205F:\n case 0x3000:\n return true;\n }\n return false;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\n/*eslint-disable max-len*/\nvar UNICODE_PUNCT_RE = require('uc.micro/categories/P/regex');\n\n// Currently without astral characters support.\nfunction isPunctChar(ch) {\n return UNICODE_PUNCT_RE.test(ch);\n}\n\n// Markdown ASCII punctuation characters.\n//\n// !, \", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \\, ], ^, _, `, {, |, }, or ~\n// http://spec.commonmark.org/0.15/#ascii-punctuation-character\n//\n// Don't confuse with unicode punctuation !!! It lacks some chars in ascii range.\n//\nfunction isMdAsciiPunct(ch) {\n switch (ch) {\n case 0x21 /* ! */:\n case 0x22 /* \" */:\n case 0x23 /* # */:\n case 0x24 /* $ */:\n case 0x25 /* % */:\n case 0x26 /* & */:\n case 0x27 /* ' */:\n case 0x28 /* ( */:\n case 0x29 /* ) */:\n case 0x2A /* * */:\n case 0x2B /* + */:\n case 0x2C /* , */:\n case 0x2D /* - */:\n case 0x2E /* . */:\n case 0x2F /* / */:\n case 0x3A /* : */:\n case 0x3B /* ; */:\n case 0x3C /* < */:\n case 0x3D /* = */:\n case 0x3E /* > */:\n case 0x3F /* ? */:\n case 0x40 /* @ */:\n case 0x5B /* [ */:\n case 0x5C /* \\ */:\n case 0x5D /* ] */:\n case 0x5E /* ^ */:\n case 0x5F /* _ */:\n case 0x60 /* ` */:\n case 0x7B /* { */:\n case 0x7C /* | */:\n case 0x7D /* } */:\n case 0x7E /* ~ */:\n return true;\n default:\n return false;\n }\n}\n\n// Hepler to unify [reference labels].\n//\nfunction normalizeReference(str) {\n // Trim and collapse whitespace\n //\n str = str.trim().replace(/\\s+/g, ' ');\n\n // In node v10 'ẞ'.toLowerCase() === 'Ṿ', which is presumed to be a bug\n // fixed in v12 (couldn't find any details).\n //\n // So treat this one as a special case\n // (remove this when node v10 is no longer supported).\n //\n if ('ẞ'.toLowerCase() === 'Ṿ') {\n str = str.replace(/ẞ/g, 'ß');\n }\n\n // .toLowerCase().toUpperCase() should get rid of all differences\n // between letter variants.\n //\n // Simple .toLowerCase() doesn't normalize 125 code points correctly,\n // and .toUpperCase doesn't normalize 6 of them (list of exceptions:\n // İ, ϴ, ẞ, Ω, K, Å - those are already uppercased, but have differently\n // uppercased versions).\n //\n // Here's an example showing how it happens. Lets take greek letter omega:\n // uppercase U+0398 (Θ), U+03f4 (ϴ) and lowercase U+03b8 (θ), U+03d1 (ϑ)\n //\n // Unicode entries:\n // 0398;GREEK CAPITAL LETTER THETA;Lu;0;L;;;;;N;;;;03B8;\n // 03B8;GREEK SMALL LETTER THETA;Ll;0;L;;;;;N;;;0398;;0398\n // 03D1;GREEK THETA SYMBOL;Ll;0;L; 03B8;;;;N;GREEK SMALL LETTER SCRIPT THETA;;0398;;0398\n // 03F4;GREEK CAPITAL THETA SYMBOL;Lu;0;L; 0398;;;;N;;;;03B8;\n //\n // Case-insensitive comparison should treat all of them as equivalent.\n //\n // But .toLowerCase() doesn't change ϑ (it's already lowercase),\n // and .toUpperCase() doesn't change ϴ (already uppercase).\n //\n // Applying first lower then upper case normalizes any character:\n // '\\u0398\\u03f4\\u03b8\\u03d1'.toLowerCase().toUpperCase() === '\\u0398\\u0398\\u0398\\u0398'\n //\n // Note: this is equivalent to unicode case folding; unicode normalization\n // is a different step that is not required here.\n //\n // Final result should be uppercased, because it's later stored in an object\n // (this avoid a conflict with Object.prototype members,\n // most notably, `__proto__`)\n //\n return str.toLowerCase().toUpperCase();\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\n// Re-export libraries commonly used in both markdown-it and its plugins,\n// so plugins won't have to depend on them explicitly, which reduces their\n// bundled size (e.g. a browser build).\n//\nexports.lib = {};\nexports.lib.mdurl = require('mdurl');\nexports.lib.ucmicro = require('uc.micro');\nexports.assign = assign;\nexports.isString = isString;\nexports.has = has;\nexports.unescapeMd = unescapeMd;\nexports.unescapeAll = unescapeAll;\nexports.isValidEntityCode = isValidEntityCode;\nexports.fromCodePoint = fromCodePoint;\n// exports.replaceEntities = replaceEntities;\nexports.escapeHtml = escapeHtml;\nexports.arrayReplaceAt = arrayReplaceAt;\nexports.isSpace = isSpace;\nexports.isWhiteSpace = isWhiteSpace;\nexports.isMdAsciiPunct = isMdAsciiPunct;\nexports.isPunctChar = isPunctChar;\nexports.escapeRE = escapeRE;\nexports.normalizeReference = normalizeReference;","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n// eslint-disable-next-line @typescript-eslint/unbound-method\nvar objectToString = Object.prototype.toString;\n/**\n * Checks whether given value's type is one of a few Error or Error-like\n * {@link isError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isError(wat) {\n switch (objectToString.call(wat)) {\n case '[object Error]':\n case '[object Exception]':\n case '[object DOMException]':\n return true;\n default:\n return isInstanceOf(wat, Error);\n }\n}\nfunction isBuiltin(wat, ty) {\n return objectToString.call(wat) === \"[object \" + ty + \"]\";\n}\n/**\n * Checks whether given value's type is ErrorEvent\n * {@link isErrorEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isErrorEvent(wat) {\n return isBuiltin(wat, 'ErrorEvent');\n}\n/**\n * Checks whether given value's type is DOMError\n * {@link isDOMError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMError(wat) {\n return isBuiltin(wat, 'DOMError');\n}\n/**\n * Checks whether given value's type is DOMException\n * {@link isDOMException}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMException(wat) {\n return isBuiltin(wat, 'DOMException');\n}\n/**\n * Checks whether given value's type is a string\n * {@link isString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isString(wat) {\n return isBuiltin(wat, 'String');\n}\n/**\n * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)\n * {@link isPrimitive}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPrimitive(wat) {\n return wat === null || typeof wat !== 'object' && typeof wat !== 'function';\n}\n/**\n * Checks whether given value's type is an object literal\n * {@link isPlainObject}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPlainObject(wat) {\n return isBuiltin(wat, 'Object');\n}\n/**\n * Checks whether given value's type is an Event instance\n * {@link isEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isEvent(wat) {\n return typeof Event !== 'undefined' && isInstanceOf(wat, Event);\n}\n/**\n * Checks whether given value's type is an Element instance\n * {@link isElement}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isElement(wat) {\n return typeof Element !== 'undefined' && isInstanceOf(wat, Element);\n}\n/**\n * Checks whether given value's type is an regexp\n * {@link isRegExp}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isRegExp(wat) {\n return isBuiltin(wat, 'RegExp');\n}\n/**\n * Checks whether given value has a then function.\n * @param wat A value to be checked.\n */\nexport function isThenable(wat) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Boolean(wat && wat.then && typeof wat.then === 'function');\n}\n/**\n * Checks whether given value's type is a SyntheticEvent\n * {@link isSyntheticEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isSyntheticEvent(wat) {\n return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat;\n}\n/**\n * Checks whether given value is NaN\n * {@link isNaN}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isNaN(wat) {\n return typeof wat === 'number' && wat !== wat;\n}\n/**\n * Checks whether given value's type is an instance of provided constructor.\n * {@link isInstanceOf}.\n *\n * @param wat A value to be checked.\n * @param base A constructor to be used in a check.\n * @returns A boolean representing the result.\n */\nexport function isInstanceOf(wat, base) {\n try {\n return wat instanceof base;\n } catch (_e) {\n return false;\n }\n}","import { __read, __spread } from \"tslib\";\nimport { IS_DEBUG_BUILD } from './flags';\nimport { getGlobalObject, getGlobalSingleton } from './global';\n// TODO: Implement different loggers for different environments\nvar global = getGlobalObject();\n/** Prefix for logging strings */\nvar PREFIX = 'Sentry Logger ';\nexport var CONSOLE_LEVELS = ['debug', 'info', 'warn', 'error', 'log', 'assert'];\n/**\n * Temporarily disable sentry console instrumentations.\n *\n * @param callback The function to run against the original `console` messages\n * @returns The results of the callback\n */\nexport function consoleSandbox(callback) {\n var global = getGlobalObject();\n if (!('console' in global)) {\n return callback();\n }\n var originalConsole = global.console;\n var wrappedLevels = {};\n // Restore all wrapped console methods\n CONSOLE_LEVELS.forEach(function (level) {\n // TODO(v7): Remove this check as it's only needed for Node 6\n var originalWrappedFunc = originalConsole[level] && originalConsole[level].__sentry_original__;\n if (level in global.console && originalWrappedFunc) {\n wrappedLevels[level] = originalConsole[level];\n originalConsole[level] = originalWrappedFunc;\n }\n });\n try {\n return callback();\n } finally {\n // Revert restoration to wrapped state\n Object.keys(wrappedLevels).forEach(function (level) {\n originalConsole[level] = wrappedLevels[level];\n });\n }\n}\nfunction makeLogger() {\n var enabled = false;\n var logger = {\n enable: function () {\n enabled = true;\n },\n disable: function () {\n enabled = false;\n }\n };\n if (IS_DEBUG_BUILD) {\n CONSOLE_LEVELS.forEach(function (name) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n logger[name] = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (enabled) {\n consoleSandbox(function () {\n var _a;\n (_a = global.console)[name].apply(_a, __spread([PREFIX + \"[\" + name + \"]:\"], args));\n });\n }\n };\n });\n } else {\n CONSOLE_LEVELS.forEach(function (name) {\n logger[name] = function () {\n return undefined;\n };\n });\n }\n return logger;\n}\n// Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used\nvar logger;\nif (IS_DEBUG_BUILD) {\n logger = getGlobalSingleton('logger', makeLogger);\n} else {\n logger = makeLogger();\n}\nexport { logger };","\"use strict\";\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"alpha\", {\n enumerable: true,\n get: function get() {\n return _alpha.default;\n }\n});\nObject.defineProperty(exports, \"alphaNum\", {\n enumerable: true,\n get: function get() {\n return _alphaNum.default;\n }\n});\nObject.defineProperty(exports, \"and\", {\n enumerable: true,\n get: function get() {\n return _and.default;\n }\n});\nObject.defineProperty(exports, \"between\", {\n enumerable: true,\n get: function get() {\n return _between.default;\n }\n});\nObject.defineProperty(exports, \"decimal\", {\n enumerable: true,\n get: function get() {\n return _decimal.default;\n }\n});\nObject.defineProperty(exports, \"email\", {\n enumerable: true,\n get: function get() {\n return _email.default;\n }\n});\nexports.helpers = void 0;\nObject.defineProperty(exports, \"integer\", {\n enumerable: true,\n get: function get() {\n return _integer.default;\n }\n});\nObject.defineProperty(exports, \"ipAddress\", {\n enumerable: true,\n get: function get() {\n return _ipAddress.default;\n }\n});\nObject.defineProperty(exports, \"macAddress\", {\n enumerable: true,\n get: function get() {\n return _macAddress.default;\n }\n});\nObject.defineProperty(exports, \"maxLength\", {\n enumerable: true,\n get: function get() {\n return _maxLength.default;\n }\n});\nObject.defineProperty(exports, \"maxValue\", {\n enumerable: true,\n get: function get() {\n return _maxValue.default;\n }\n});\nObject.defineProperty(exports, \"minLength\", {\n enumerable: true,\n get: function get() {\n return _minLength.default;\n }\n});\nObject.defineProperty(exports, \"minValue\", {\n enumerable: true,\n get: function get() {\n return _minValue.default;\n }\n});\nObject.defineProperty(exports, \"not\", {\n enumerable: true,\n get: function get() {\n return _not.default;\n }\n});\nObject.defineProperty(exports, \"numeric\", {\n enumerable: true,\n get: function get() {\n return _numeric.default;\n }\n});\nObject.defineProperty(exports, \"or\", {\n enumerable: true,\n get: function get() {\n return _or.default;\n }\n});\nObject.defineProperty(exports, \"required\", {\n enumerable: true,\n get: function get() {\n return _required.default;\n }\n});\nObject.defineProperty(exports, \"requiredIf\", {\n enumerable: true,\n get: function get() {\n return _requiredIf.default;\n }\n});\nObject.defineProperty(exports, \"requiredUnless\", {\n enumerable: true,\n get: function get() {\n return _requiredUnless.default;\n }\n});\nObject.defineProperty(exports, \"sameAs\", {\n enumerable: true,\n get: function get() {\n return _sameAs.default;\n }\n});\nObject.defineProperty(exports, \"url\", {\n enumerable: true,\n get: function get() {\n return _url.default;\n }\n});\nvar _alpha = _interopRequireDefault(require(\"./alpha\"));\nvar _alphaNum = _interopRequireDefault(require(\"./alphaNum\"));\nvar _numeric = _interopRequireDefault(require(\"./numeric\"));\nvar _between = _interopRequireDefault(require(\"./between\"));\nvar _email = _interopRequireDefault(require(\"./email\"));\nvar _ipAddress = _interopRequireDefault(require(\"./ipAddress\"));\nvar _macAddress = _interopRequireDefault(require(\"./macAddress\"));\nvar _maxLength = _interopRequireDefault(require(\"./maxLength\"));\nvar _minLength = _interopRequireDefault(require(\"./minLength\"));\nvar _required = _interopRequireDefault(require(\"./required\"));\nvar _requiredIf = _interopRequireDefault(require(\"./requiredIf\"));\nvar _requiredUnless = _interopRequireDefault(require(\"./requiredUnless\"));\nvar _sameAs = _interopRequireDefault(require(\"./sameAs\"));\nvar _url = _interopRequireDefault(require(\"./url\"));\nvar _or = _interopRequireDefault(require(\"./or\"));\nvar _and = _interopRequireDefault(require(\"./and\"));\nvar _not = _interopRequireDefault(require(\"./not\"));\nvar _minValue = _interopRequireDefault(require(\"./minValue\"));\nvar _maxValue = _interopRequireDefault(require(\"./maxValue\"));\nvar _integer = _interopRequireDefault(require(\"./integer\"));\nvar _decimal = _interopRequireDefault(require(\"./decimal\"));\nvar helpers = _interopRequireWildcard(require(\"./common\"));\nexports.helpers = helpers;\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n default: obj\n };\n }\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj.default = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}","import { ReplaceError, Slice, Fragment, MarkType, Mark } from 'prosemirror-model';\n\n// Recovery values encode a range index and an offset. They are\n// represented as numbers, because tons of them will be created when\n// mapping, for example, a large number of decorations. The number's\n// lower 16 bits provide the index, the remaining bits the offset.\n//\n// Note: We intentionally don't use bit shift operators to en- and\n// decode these, since those clip to 32 bits, which we might in rare\n// cases want to overflow. A 64-bit float can represent 48-bit\n// integers precisely.\nconst lower16 = 0xffff;\nconst factor16 = Math.pow(2, 16);\nfunction makeRecover(index, offset) {\n return index + offset * factor16;\n}\nfunction recoverIndex(value) {\n return value & lower16;\n}\nfunction recoverOffset(value) {\n return (value - (value & lower16)) / factor16;\n}\nconst DEL_BEFORE = 1,\n DEL_AFTER = 2,\n DEL_ACROSS = 4,\n DEL_SIDE = 8;\n/**\nAn object representing a mapped position with extra\ninformation.\n*/\nclass MapResult {\n /**\n @internal\n */\n constructor(\n /**\n The mapped version of the position.\n */\n pos,\n /**\n @internal\n */\n delInfo,\n /**\n @internal\n */\n recover) {\n this.pos = pos;\n this.delInfo = delInfo;\n this.recover = recover;\n }\n /**\n Tells you whether the position was deleted, that is, whether the\n step removed the token on the side queried (via the `assoc`)\n argument from the document.\n */\n get deleted() {\n return (this.delInfo & DEL_SIDE) > 0;\n }\n /**\n Tells you whether the token before the mapped position was deleted.\n */\n get deletedBefore() {\n return (this.delInfo & (DEL_BEFORE | DEL_ACROSS)) > 0;\n }\n /**\n True when the token after the mapped position was deleted.\n */\n get deletedAfter() {\n return (this.delInfo & (DEL_AFTER | DEL_ACROSS)) > 0;\n }\n /**\n Tells whether any of the steps mapped through deletes across the\n position (including both the token before and after the\n position).\n */\n get deletedAcross() {\n return (this.delInfo & DEL_ACROSS) > 0;\n }\n}\n/**\nA map describing the deletions and insertions made by a step, which\ncan be used to find the correspondence between positions in the\npre-step version of a document and the same position in the\npost-step version.\n*/\nclass StepMap {\n /**\n Create a position map. The modifications to the document are\n represented as an array of numbers, in which each group of three\n represents a modified chunk as `[start, oldSize, newSize]`.\n */\n constructor(\n /**\n @internal\n */\n ranges) {\n let inverted = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n this.ranges = ranges;\n this.inverted = inverted;\n if (!ranges.length && StepMap.empty) return StepMap.empty;\n }\n /**\n @internal\n */\n recover(value) {\n let diff = 0,\n index = recoverIndex(value);\n if (!this.inverted) for (let i = 0; i < index; i++) diff += this.ranges[i * 3 + 2] - this.ranges[i * 3 + 1];\n return this.ranges[index * 3] + diff + recoverOffset(value);\n }\n mapResult(pos) {\n let assoc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n return this._map(pos, assoc, false);\n }\n map(pos) {\n let assoc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n return this._map(pos, assoc, true);\n }\n /**\n @internal\n */\n _map(pos, assoc, simple) {\n let diff = 0,\n oldIndex = this.inverted ? 2 : 1,\n newIndex = this.inverted ? 1 : 2;\n for (let i = 0; i < this.ranges.length; i += 3) {\n let start = this.ranges[i] - (this.inverted ? diff : 0);\n if (start > pos) break;\n let oldSize = this.ranges[i + oldIndex],\n newSize = this.ranges[i + newIndex],\n end = start + oldSize;\n if (pos <= end) {\n let side = !oldSize ? assoc : pos == start ? -1 : pos == end ? 1 : assoc;\n let result = start + diff + (side < 0 ? 0 : newSize);\n if (simple) return result;\n let recover = pos == (assoc < 0 ? start : end) ? null : makeRecover(i / 3, pos - start);\n let del = pos == start ? DEL_AFTER : pos == end ? DEL_BEFORE : DEL_ACROSS;\n if (assoc < 0 ? pos != start : pos != end) del |= DEL_SIDE;\n return new MapResult(result, del, recover);\n }\n diff += newSize - oldSize;\n }\n return simple ? pos + diff : new MapResult(pos + diff, 0, null);\n }\n /**\n @internal\n */\n touches(pos, recover) {\n let diff = 0,\n index = recoverIndex(recover);\n let oldIndex = this.inverted ? 2 : 1,\n newIndex = this.inverted ? 1 : 2;\n for (let i = 0; i < this.ranges.length; i += 3) {\n let start = this.ranges[i] - (this.inverted ? diff : 0);\n if (start > pos) break;\n let oldSize = this.ranges[i + oldIndex],\n end = start + oldSize;\n if (pos <= end && i == index * 3) return true;\n diff += this.ranges[i + newIndex] - oldSize;\n }\n return false;\n }\n /**\n Calls the given function on each of the changed ranges included in\n this map.\n */\n forEach(f) {\n let oldIndex = this.inverted ? 2 : 1,\n newIndex = this.inverted ? 1 : 2;\n for (let i = 0, diff = 0; i < this.ranges.length; i += 3) {\n let start = this.ranges[i],\n oldStart = start - (this.inverted ? diff : 0),\n newStart = start + (this.inverted ? 0 : diff);\n let oldSize = this.ranges[i + oldIndex],\n newSize = this.ranges[i + newIndex];\n f(oldStart, oldStart + oldSize, newStart, newStart + newSize);\n diff += newSize - oldSize;\n }\n }\n /**\n Create an inverted version of this map. The result can be used to\n map positions in the post-step document to the pre-step document.\n */\n invert() {\n return new StepMap(this.ranges, !this.inverted);\n }\n /**\n @internal\n */\n toString() {\n return (this.inverted ? \"-\" : \"\") + JSON.stringify(this.ranges);\n }\n /**\n Create a map that moves all positions by offset `n` (which may be\n negative). This can be useful when applying steps meant for a\n sub-document to a larger document, or vice-versa.\n */\n static offset(n) {\n return n == 0 ? StepMap.empty : new StepMap(n < 0 ? [0, -n, 0] : [0, 0, n]);\n }\n}\n/**\nA StepMap that contains no changed ranges.\n*/\nStepMap.empty = new StepMap([]);\n/**\nA mapping represents a pipeline of zero or more [step\nmaps](https://prosemirror.net/docs/ref/#transform.StepMap). It has special provisions for losslessly\nhandling mapping positions through a series of steps in which some\nsteps are inverted versions of earlier steps. (This comes up when\n‘[rebasing](/docs/guide/#transform.rebasing)’ steps for\ncollaboration or history management.)\n*/\nclass Mapping {\n /**\n Create a new mapping with the given position maps.\n */\n constructor() {\n let maps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n let\n /**\n @internal\n */\n mirror = arguments.length > 1 ? arguments[1] : undefined;\n let from = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n let to = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : maps.length;\n this.maps = maps;\n this.mirror = mirror;\n this.from = from;\n this.to = to;\n }\n /**\n Create a mapping that maps only through a part of this one.\n */\n slice() {\n let from = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n let to = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.maps.length;\n return new Mapping(this.maps, this.mirror, from, to);\n }\n /**\n @internal\n */\n copy() {\n return new Mapping(this.maps.slice(), this.mirror && this.mirror.slice(), this.from, this.to);\n }\n /**\n Add a step map to the end of this mapping. If `mirrors` is\n given, it should be the index of the step map that is the mirror\n image of this one.\n */\n appendMap(map, mirrors) {\n this.to = this.maps.push(map);\n if (mirrors != null) this.setMirror(this.maps.length - 1, mirrors);\n }\n /**\n Add all the step maps in a given mapping to this one (preserving\n mirroring information).\n */\n appendMapping(mapping) {\n for (let i = 0, startSize = this.maps.length; i < mapping.maps.length; i++) {\n let mirr = mapping.getMirror(i);\n this.appendMap(mapping.maps[i], mirr != null && mirr < i ? startSize + mirr : undefined);\n }\n }\n /**\n Finds the offset of the step map that mirrors the map at the\n given offset, in this mapping (as per the second argument to\n `appendMap`).\n */\n getMirror(n) {\n if (this.mirror) for (let i = 0; i < this.mirror.length; i++) if (this.mirror[i] == n) return this.mirror[i + (i % 2 ? -1 : 1)];\n }\n /**\n @internal\n */\n setMirror(n, m) {\n if (!this.mirror) this.mirror = [];\n this.mirror.push(n, m);\n }\n /**\n Append the inverse of the given mapping to this one.\n */\n appendMappingInverted(mapping) {\n for (let i = mapping.maps.length - 1, totalSize = this.maps.length + mapping.maps.length; i >= 0; i--) {\n let mirr = mapping.getMirror(i);\n this.appendMap(mapping.maps[i].invert(), mirr != null && mirr > i ? totalSize - mirr - 1 : undefined);\n }\n }\n /**\n Create an inverted version of this mapping.\n */\n invert() {\n let inverse = new Mapping();\n inverse.appendMappingInverted(this);\n return inverse;\n }\n /**\n Map a position through this mapping.\n */\n map(pos) {\n let assoc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n if (this.mirror) return this._map(pos, assoc, true);\n for (let i = this.from; i < this.to; i++) pos = this.maps[i].map(pos, assoc);\n return pos;\n }\n /**\n Map a position through this mapping, returning a mapping\n result.\n */\n mapResult(pos) {\n let assoc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n return this._map(pos, assoc, false);\n }\n /**\n @internal\n */\n _map(pos, assoc, simple) {\n let delInfo = 0;\n for (let i = this.from; i < this.to; i++) {\n let map = this.maps[i],\n result = map.mapResult(pos, assoc);\n if (result.recover != null) {\n let corr = this.getMirror(i);\n if (corr != null && corr > i && corr < this.to) {\n i = corr;\n pos = this.maps[corr].recover(result.recover);\n continue;\n }\n }\n delInfo |= result.delInfo;\n pos = result.pos;\n }\n return simple ? pos : new MapResult(pos, delInfo, null);\n }\n}\nconst stepsByID = Object.create(null);\n/**\nA step object represents an atomic change. It generally applies\nonly to the document it was created for, since the positions\nstored in it will only make sense for that document.\n\nNew steps are defined by creating classes that extend `Step`,\noverriding the `apply`, `invert`, `map`, `getMap` and `fromJSON`\nmethods, and registering your class with a unique\nJSON-serialization identifier using\n[`Step.jsonID`](https://prosemirror.net/docs/ref/#transform.Step^jsonID).\n*/\nclass Step {\n /**\n Get the step map that represents the changes made by this step,\n and which can be used to transform between positions in the old\n and the new document.\n */\n getMap() {\n return StepMap.empty;\n }\n /**\n Try to merge this step with another one, to be applied directly\n after it. Returns the merged step when possible, null if the\n steps can't be merged.\n */\n merge(other) {\n return null;\n }\n /**\n Deserialize a step from its JSON representation. Will call\n through to the step class' own implementation of this method.\n */\n static fromJSON(schema, json) {\n if (!json || !json.stepType) throw new RangeError(\"Invalid input for Step.fromJSON\");\n let type = stepsByID[json.stepType];\n if (!type) throw new RangeError(`No step type ${json.stepType} defined`);\n return type.fromJSON(schema, json);\n }\n /**\n To be able to serialize steps to JSON, each step needs a string\n ID to attach to its JSON representation. Use this method to\n register an ID for your step classes. Try to pick something\n that's unlikely to clash with steps from other modules.\n */\n static jsonID(id, stepClass) {\n if (id in stepsByID) throw new RangeError(\"Duplicate use of step JSON ID \" + id);\n stepsByID[id] = stepClass;\n stepClass.prototype.jsonID = id;\n return stepClass;\n }\n}\n/**\nThe result of [applying](https://prosemirror.net/docs/ref/#transform.Step.apply) a step. Contains either a\nnew document or a failure value.\n*/\nclass StepResult {\n /**\n @internal\n */\n constructor(\n /**\n The transformed document, if successful.\n */\n doc,\n /**\n The failure message, if unsuccessful.\n */\n failed) {\n this.doc = doc;\n this.failed = failed;\n }\n /**\n Create a successful step result.\n */\n static ok(doc) {\n return new StepResult(doc, null);\n }\n /**\n Create a failed step result.\n */\n static fail(message) {\n return new StepResult(null, message);\n }\n /**\n Call [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) with the given\n arguments. Create a successful result if it succeeds, and a\n failed one if it throws a `ReplaceError`.\n */\n static fromReplace(doc, from, to, slice) {\n try {\n return StepResult.ok(doc.replace(from, to, slice));\n } catch (e) {\n if (e instanceof ReplaceError) return StepResult.fail(e.message);\n throw e;\n }\n }\n}\nfunction mapFragment(fragment, f, parent) {\n let mapped = [];\n for (let i = 0; i < fragment.childCount; i++) {\n let child = fragment.child(i);\n if (child.content.size) child = child.copy(mapFragment(child.content, f, child));\n if (child.isInline) child = f(child, parent, i);\n mapped.push(child);\n }\n return Fragment.fromArray(mapped);\n}\n/**\nAdd a mark to all inline content between two positions.\n*/\nclass AddMarkStep extends Step {\n /**\n Create a mark step.\n */\n constructor(\n /**\n The start of the marked range.\n */\n from,\n /**\n The end of the marked range.\n */\n to,\n /**\n The mark to add.\n */\n mark) {\n super();\n this.from = from;\n this.to = to;\n this.mark = mark;\n }\n apply(doc) {\n let oldSlice = doc.slice(this.from, this.to),\n $from = doc.resolve(this.from);\n let parent = $from.node($from.sharedDepth(this.to));\n let slice = new Slice(mapFragment(oldSlice.content, (node, parent) => {\n if (!node.isAtom || !parent.type.allowsMarkType(this.mark.type)) return node;\n return node.mark(this.mark.addToSet(node.marks));\n }, parent), oldSlice.openStart, oldSlice.openEnd);\n return StepResult.fromReplace(doc, this.from, this.to, slice);\n }\n invert() {\n return new RemoveMarkStep(this.from, this.to, this.mark);\n }\n map(mapping) {\n let from = mapping.mapResult(this.from, 1),\n to = mapping.mapResult(this.to, -1);\n if (from.deleted && to.deleted || from.pos >= to.pos) return null;\n return new AddMarkStep(from.pos, to.pos, this.mark);\n }\n merge(other) {\n if (other instanceof AddMarkStep && other.mark.eq(this.mark) && this.from <= other.to && this.to >= other.from) return new AddMarkStep(Math.min(this.from, other.from), Math.max(this.to, other.to), this.mark);\n return null;\n }\n toJSON() {\n return {\n stepType: \"addMark\",\n mark: this.mark.toJSON(),\n from: this.from,\n to: this.to\n };\n }\n /**\n @internal\n */\n static fromJSON(schema, json) {\n if (typeof json.from != \"number\" || typeof json.to != \"number\") throw new RangeError(\"Invalid input for AddMarkStep.fromJSON\");\n return new AddMarkStep(json.from, json.to, schema.markFromJSON(json.mark));\n }\n}\nStep.jsonID(\"addMark\", AddMarkStep);\n/**\nRemove a mark from all inline content between two positions.\n*/\nclass RemoveMarkStep extends Step {\n /**\n Create a mark-removing step.\n */\n constructor(\n /**\n The start of the unmarked range.\n */\n from,\n /**\n The end of the unmarked range.\n */\n to,\n /**\n The mark to remove.\n */\n mark) {\n super();\n this.from = from;\n this.to = to;\n this.mark = mark;\n }\n apply(doc) {\n let oldSlice = doc.slice(this.from, this.to);\n let slice = new Slice(mapFragment(oldSlice.content, node => {\n return node.mark(this.mark.removeFromSet(node.marks));\n }, doc), oldSlice.openStart, oldSlice.openEnd);\n return StepResult.fromReplace(doc, this.from, this.to, slice);\n }\n invert() {\n return new AddMarkStep(this.from, this.to, this.mark);\n }\n map(mapping) {\n let from = mapping.mapResult(this.from, 1),\n to = mapping.mapResult(this.to, -1);\n if (from.deleted && to.deleted || from.pos >= to.pos) return null;\n return new RemoveMarkStep(from.pos, to.pos, this.mark);\n }\n merge(other) {\n if (other instanceof RemoveMarkStep && other.mark.eq(this.mark) && this.from <= other.to && this.to >= other.from) return new RemoveMarkStep(Math.min(this.from, other.from), Math.max(this.to, other.to), this.mark);\n return null;\n }\n toJSON() {\n return {\n stepType: \"removeMark\",\n mark: this.mark.toJSON(),\n from: this.from,\n to: this.to\n };\n }\n /**\n @internal\n */\n static fromJSON(schema, json) {\n if (typeof json.from != \"number\" || typeof json.to != \"number\") throw new RangeError(\"Invalid input for RemoveMarkStep.fromJSON\");\n return new RemoveMarkStep(json.from, json.to, schema.markFromJSON(json.mark));\n }\n}\nStep.jsonID(\"removeMark\", RemoveMarkStep);\n/**\nAdd a mark to a specific node.\n*/\nclass AddNodeMarkStep extends Step {\n /**\n Create a node mark step.\n */\n constructor(\n /**\n The position of the target node.\n */\n pos,\n /**\n The mark to add.\n */\n mark) {\n super();\n this.pos = pos;\n this.mark = mark;\n }\n apply(doc) {\n let node = doc.nodeAt(this.pos);\n if (!node) return StepResult.fail(\"No node at mark step's position\");\n let updated = node.type.create(node.attrs, null, this.mark.addToSet(node.marks));\n return StepResult.fromReplace(doc, this.pos, this.pos + 1, new Slice(Fragment.from(updated), 0, node.isLeaf ? 0 : 1));\n }\n invert(doc) {\n let node = doc.nodeAt(this.pos);\n if (node) {\n let newSet = this.mark.addToSet(node.marks);\n if (newSet.length == node.marks.length) {\n for (let i = 0; i < node.marks.length; i++) if (!node.marks[i].isInSet(newSet)) return new AddNodeMarkStep(this.pos, node.marks[i]);\n return new AddNodeMarkStep(this.pos, this.mark);\n }\n }\n return new RemoveNodeMarkStep(this.pos, this.mark);\n }\n map(mapping) {\n let pos = mapping.mapResult(this.pos, 1);\n return pos.deletedAfter ? null : new AddNodeMarkStep(pos.pos, this.mark);\n }\n toJSON() {\n return {\n stepType: \"addNodeMark\",\n pos: this.pos,\n mark: this.mark.toJSON()\n };\n }\n /**\n @internal\n */\n static fromJSON(schema, json) {\n if (typeof json.pos != \"number\") throw new RangeError(\"Invalid input for AddNodeMarkStep.fromJSON\");\n return new AddNodeMarkStep(json.pos, schema.markFromJSON(json.mark));\n }\n}\nStep.jsonID(\"addNodeMark\", AddNodeMarkStep);\n/**\nRemove a mark from a specific node.\n*/\nclass RemoveNodeMarkStep extends Step {\n /**\n Create a mark-removing step.\n */\n constructor(\n /**\n The position of the target node.\n */\n pos,\n /**\n The mark to remove.\n */\n mark) {\n super();\n this.pos = pos;\n this.mark = mark;\n }\n apply(doc) {\n let node = doc.nodeAt(this.pos);\n if (!node) return StepResult.fail(\"No node at mark step's position\");\n let updated = node.type.create(node.attrs, null, this.mark.removeFromSet(node.marks));\n return StepResult.fromReplace(doc, this.pos, this.pos + 1, new Slice(Fragment.from(updated), 0, node.isLeaf ? 0 : 1));\n }\n invert(doc) {\n let node = doc.nodeAt(this.pos);\n if (!node || !this.mark.isInSet(node.marks)) return this;\n return new AddNodeMarkStep(this.pos, this.mark);\n }\n map(mapping) {\n let pos = mapping.mapResult(this.pos, 1);\n return pos.deletedAfter ? null : new RemoveNodeMarkStep(pos.pos, this.mark);\n }\n toJSON() {\n return {\n stepType: \"removeNodeMark\",\n pos: this.pos,\n mark: this.mark.toJSON()\n };\n }\n /**\n @internal\n */\n static fromJSON(schema, json) {\n if (typeof json.pos != \"number\") throw new RangeError(\"Invalid input for RemoveNodeMarkStep.fromJSON\");\n return new RemoveNodeMarkStep(json.pos, schema.markFromJSON(json.mark));\n }\n}\nStep.jsonID(\"removeNodeMark\", RemoveNodeMarkStep);\n\n/**\nReplace a part of the document with a slice of new content.\n*/\nclass ReplaceStep extends Step {\n /**\n The given `slice` should fit the 'gap' between `from` and\n `to`—the depths must line up, and the surrounding nodes must be\n able to be joined with the open sides of the slice. When\n `structure` is true, the step will fail if the content between\n from and to is not just a sequence of closing and then opening\n tokens (this is to guard against rebased replace steps\n overwriting something they weren't supposed to).\n */\n constructor(\n /**\n The start position of the replaced range.\n */\n from,\n /**\n The end position of the replaced range.\n */\n to,\n /**\n The slice to insert.\n */\n slice) {\n let structure = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n super();\n this.from = from;\n this.to = to;\n this.slice = slice;\n this.structure = structure;\n }\n apply(doc) {\n if (this.structure && contentBetween(doc, this.from, this.to)) return StepResult.fail(\"Structure replace would overwrite content\");\n return StepResult.fromReplace(doc, this.from, this.to, this.slice);\n }\n getMap() {\n return new StepMap([this.from, this.to - this.from, this.slice.size]);\n }\n invert(doc) {\n return new ReplaceStep(this.from, this.from + this.slice.size, doc.slice(this.from, this.to));\n }\n map(mapping) {\n let from = mapping.mapResult(this.from, 1),\n to = mapping.mapResult(this.to, -1);\n if (from.deletedAcross && to.deletedAcross) return null;\n return new ReplaceStep(from.pos, Math.max(from.pos, to.pos), this.slice);\n }\n merge(other) {\n if (!(other instanceof ReplaceStep) || other.structure || this.structure) return null;\n if (this.from + this.slice.size == other.from && !this.slice.openEnd && !other.slice.openStart) {\n let slice = this.slice.size + other.slice.size == 0 ? Slice.empty : new Slice(this.slice.content.append(other.slice.content), this.slice.openStart, other.slice.openEnd);\n return new ReplaceStep(this.from, this.to + (other.to - other.from), slice, this.structure);\n } else if (other.to == this.from && !this.slice.openStart && !other.slice.openEnd) {\n let slice = this.slice.size + other.slice.size == 0 ? Slice.empty : new Slice(other.slice.content.append(this.slice.content), other.slice.openStart, this.slice.openEnd);\n return new ReplaceStep(other.from, this.to, slice, this.structure);\n } else {\n return null;\n }\n }\n toJSON() {\n let json = {\n stepType: \"replace\",\n from: this.from,\n to: this.to\n };\n if (this.slice.size) json.slice = this.slice.toJSON();\n if (this.structure) json.structure = true;\n return json;\n }\n /**\n @internal\n */\n static fromJSON(schema, json) {\n if (typeof json.from != \"number\" || typeof json.to != \"number\") throw new RangeError(\"Invalid input for ReplaceStep.fromJSON\");\n return new ReplaceStep(json.from, json.to, Slice.fromJSON(schema, json.slice), !!json.structure);\n }\n}\nStep.jsonID(\"replace\", ReplaceStep);\n/**\nReplace a part of the document with a slice of content, but\npreserve a range of the replaced content by moving it into the\nslice.\n*/\nclass ReplaceAroundStep extends Step {\n /**\n Create a replace-around step with the given range and gap.\n `insert` should be the point in the slice into which the content\n of the gap should be moved. `structure` has the same meaning as\n it has in the [`ReplaceStep`](https://prosemirror.net/docs/ref/#transform.ReplaceStep) class.\n */\n constructor(\n /**\n The start position of the replaced range.\n */\n from,\n /**\n The end position of the replaced range.\n */\n to,\n /**\n The start of preserved range.\n */\n gapFrom,\n /**\n The end of preserved range.\n */\n gapTo,\n /**\n The slice to insert.\n */\n slice,\n /**\n The position in the slice where the preserved range should be\n inserted.\n */\n insert) {\n let structure = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;\n super();\n this.from = from;\n this.to = to;\n this.gapFrom = gapFrom;\n this.gapTo = gapTo;\n this.slice = slice;\n this.insert = insert;\n this.structure = structure;\n }\n apply(doc) {\n if (this.structure && (contentBetween(doc, this.from, this.gapFrom) || contentBetween(doc, this.gapTo, this.to))) return StepResult.fail(\"Structure gap-replace would overwrite content\");\n let gap = doc.slice(this.gapFrom, this.gapTo);\n if (gap.openStart || gap.openEnd) return StepResult.fail(\"Gap is not a flat range\");\n let inserted = this.slice.insertAt(this.insert, gap.content);\n if (!inserted) return StepResult.fail(\"Content does not fit in gap\");\n return StepResult.fromReplace(doc, this.from, this.to, inserted);\n }\n getMap() {\n return new StepMap([this.from, this.gapFrom - this.from, this.insert, this.gapTo, this.to - this.gapTo, this.slice.size - this.insert]);\n }\n invert(doc) {\n let gap = this.gapTo - this.gapFrom;\n return new ReplaceAroundStep(this.from, this.from + this.slice.size + gap, this.from + this.insert, this.from + this.insert + gap, doc.slice(this.from, this.to).removeBetween(this.gapFrom - this.from, this.gapTo - this.from), this.gapFrom - this.from, this.structure);\n }\n map(mapping) {\n let from = mapping.mapResult(this.from, 1),\n to = mapping.mapResult(this.to, -1);\n let gapFrom = this.from == this.gapFrom ? from.pos : mapping.map(this.gapFrom, -1);\n let gapTo = this.to == this.gapTo ? to.pos : mapping.map(this.gapTo, 1);\n if (from.deletedAcross && to.deletedAcross || gapFrom < from.pos || gapTo > to.pos) return null;\n return new ReplaceAroundStep(from.pos, to.pos, gapFrom, gapTo, this.slice, this.insert, this.structure);\n }\n toJSON() {\n let json = {\n stepType: \"replaceAround\",\n from: this.from,\n to: this.to,\n gapFrom: this.gapFrom,\n gapTo: this.gapTo,\n insert: this.insert\n };\n if (this.slice.size) json.slice = this.slice.toJSON();\n if (this.structure) json.structure = true;\n return json;\n }\n /**\n @internal\n */\n static fromJSON(schema, json) {\n if (typeof json.from != \"number\" || typeof json.to != \"number\" || typeof json.gapFrom != \"number\" || typeof json.gapTo != \"number\" || typeof json.insert != \"number\") throw new RangeError(\"Invalid input for ReplaceAroundStep.fromJSON\");\n return new ReplaceAroundStep(json.from, json.to, json.gapFrom, json.gapTo, Slice.fromJSON(schema, json.slice), json.insert, !!json.structure);\n }\n}\nStep.jsonID(\"replaceAround\", ReplaceAroundStep);\nfunction contentBetween(doc, from, to) {\n let $from = doc.resolve(from),\n dist = to - from,\n depth = $from.depth;\n while (dist > 0 && depth > 0 && $from.indexAfter(depth) == $from.node(depth).childCount) {\n depth--;\n dist--;\n }\n if (dist > 0) {\n let next = $from.node(depth).maybeChild($from.indexAfter(depth));\n while (dist > 0) {\n if (!next || next.isLeaf) return true;\n next = next.firstChild;\n dist--;\n }\n }\n return false;\n}\nfunction addMark(tr, from, to, mark) {\n let removed = [],\n added = [];\n let removing, adding;\n tr.doc.nodesBetween(from, to, (node, pos, parent) => {\n if (!node.isInline) return;\n let marks = node.marks;\n if (!mark.isInSet(marks) && parent.type.allowsMarkType(mark.type)) {\n let start = Math.max(pos, from),\n end = Math.min(pos + node.nodeSize, to);\n let newSet = mark.addToSet(marks);\n for (let i = 0; i < marks.length; i++) {\n if (!marks[i].isInSet(newSet)) {\n if (removing && removing.to == start && removing.mark.eq(marks[i])) removing.to = end;else removed.push(removing = new RemoveMarkStep(start, end, marks[i]));\n }\n }\n if (adding && adding.to == start) adding.to = end;else added.push(adding = new AddMarkStep(start, end, mark));\n }\n });\n removed.forEach(s => tr.step(s));\n added.forEach(s => tr.step(s));\n}\nfunction removeMark(tr, from, to, mark) {\n let matched = [],\n step = 0;\n tr.doc.nodesBetween(from, to, (node, pos) => {\n if (!node.isInline) return;\n step++;\n let toRemove = null;\n if (mark instanceof MarkType) {\n let set = node.marks,\n found;\n while (found = mark.isInSet(set)) {\n (toRemove || (toRemove = [])).push(found);\n set = found.removeFromSet(set);\n }\n } else if (mark) {\n if (mark.isInSet(node.marks)) toRemove = [mark];\n } else {\n toRemove = node.marks;\n }\n if (toRemove && toRemove.length) {\n let end = Math.min(pos + node.nodeSize, to);\n for (let i = 0; i < toRemove.length; i++) {\n let style = toRemove[i],\n found;\n for (let j = 0; j < matched.length; j++) {\n let m = matched[j];\n if (m.step == step - 1 && style.eq(matched[j].style)) found = m;\n }\n if (found) {\n found.to = end;\n found.step = step;\n } else {\n matched.push({\n style,\n from: Math.max(pos, from),\n to: end,\n step\n });\n }\n }\n }\n });\n matched.forEach(m => tr.step(new RemoveMarkStep(m.from, m.to, m.style)));\n}\nfunction clearIncompatible(tr, pos, parentType) {\n let match = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : parentType.contentMatch;\n let clearNewlines = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n let node = tr.doc.nodeAt(pos);\n let replSteps = [],\n cur = pos + 1;\n for (let i = 0; i < node.childCount; i++) {\n let child = node.child(i),\n end = cur + child.nodeSize;\n let allowed = match.matchType(child.type);\n if (!allowed) {\n replSteps.push(new ReplaceStep(cur, end, Slice.empty));\n } else {\n match = allowed;\n for (let j = 0; j < child.marks.length; j++) if (!parentType.allowsMarkType(child.marks[j].type)) tr.step(new RemoveMarkStep(cur, end, child.marks[j]));\n if (clearNewlines && child.isText && parentType.whitespace != \"pre\") {\n let m,\n newline = /\\r?\\n|\\r/g,\n slice;\n while (m = newline.exec(child.text)) {\n if (!slice) slice = new Slice(Fragment.from(parentType.schema.text(\" \", parentType.allowedMarks(child.marks))), 0, 0);\n replSteps.push(new ReplaceStep(cur + m.index, cur + m.index + m[0].length, slice));\n }\n }\n }\n cur = end;\n }\n if (!match.validEnd) {\n let fill = match.fillBefore(Fragment.empty, true);\n tr.replace(cur, cur, new Slice(fill, 0, 0));\n }\n for (let i = replSteps.length - 1; i >= 0; i--) tr.step(replSteps[i]);\n}\nfunction canCut(node, start, end) {\n return (start == 0 || node.canReplace(start, node.childCount)) && (end == node.childCount || node.canReplace(0, end));\n}\n/**\nTry to find a target depth to which the content in the given range\ncan be lifted. Will not go across\n[isolating](https://prosemirror.net/docs/ref/#model.NodeSpec.isolating) parent nodes.\n*/\nfunction liftTarget(range) {\n let parent = range.parent;\n let content = parent.content.cutByIndex(range.startIndex, range.endIndex);\n for (let depth = range.depth;; --depth) {\n let node = range.$from.node(depth);\n let index = range.$from.index(depth),\n endIndex = range.$to.indexAfter(depth);\n if (depth < range.depth && node.canReplace(index, endIndex, content)) return depth;\n if (depth == 0 || node.type.spec.isolating || !canCut(node, index, endIndex)) break;\n }\n return null;\n}\nfunction lift(tr, range, target) {\n let {\n $from,\n $to,\n depth\n } = range;\n let gapStart = $from.before(depth + 1),\n gapEnd = $to.after(depth + 1);\n let start = gapStart,\n end = gapEnd;\n let before = Fragment.empty,\n openStart = 0;\n for (let d = depth, splitting = false; d > target; d--) if (splitting || $from.index(d) > 0) {\n splitting = true;\n before = Fragment.from($from.node(d).copy(before));\n openStart++;\n } else {\n start--;\n }\n let after = Fragment.empty,\n openEnd = 0;\n for (let d = depth, splitting = false; d > target; d--) if (splitting || $to.after(d + 1) < $to.end(d)) {\n splitting = true;\n after = Fragment.from($to.node(d).copy(after));\n openEnd++;\n } else {\n end++;\n }\n tr.step(new ReplaceAroundStep(start, end, gapStart, gapEnd, new Slice(before.append(after), openStart, openEnd), before.size - openStart, true));\n}\n/**\nTry to find a valid way to wrap the content in the given range in a\nnode of the given type. May introduce extra nodes around and inside\nthe wrapper node, if necessary. Returns null if no valid wrapping\ncould be found. When `innerRange` is given, that range's content is\nused as the content to fit into the wrapping, instead of the\ncontent of `range`.\n*/\nfunction findWrapping(range, nodeType) {\n let attrs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n let innerRange = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : range;\n let around = findWrappingOutside(range, nodeType);\n let inner = around && findWrappingInside(innerRange, nodeType);\n if (!inner) return null;\n return around.map(withAttrs).concat({\n type: nodeType,\n attrs\n }).concat(inner.map(withAttrs));\n}\nfunction withAttrs(type) {\n return {\n type,\n attrs: null\n };\n}\nfunction findWrappingOutside(range, type) {\n let {\n parent,\n startIndex,\n endIndex\n } = range;\n let around = parent.contentMatchAt(startIndex).findWrapping(type);\n if (!around) return null;\n let outer = around.length ? around[0] : type;\n return parent.canReplaceWith(startIndex, endIndex, outer) ? around : null;\n}\nfunction findWrappingInside(range, type) {\n let {\n parent,\n startIndex,\n endIndex\n } = range;\n let inner = parent.child(startIndex);\n let inside = type.contentMatch.findWrapping(inner.type);\n if (!inside) return null;\n let lastType = inside.length ? inside[inside.length - 1] : type;\n let innerMatch = lastType.contentMatch;\n for (let i = startIndex; innerMatch && i < endIndex; i++) innerMatch = innerMatch.matchType(parent.child(i).type);\n if (!innerMatch || !innerMatch.validEnd) return null;\n return inside;\n}\nfunction wrap(tr, range, wrappers) {\n let content = Fragment.empty;\n for (let i = wrappers.length - 1; i >= 0; i--) {\n if (content.size) {\n let match = wrappers[i].type.contentMatch.matchFragment(content);\n if (!match || !match.validEnd) throw new RangeError(\"Wrapper type given to Transform.wrap does not form valid content of its parent wrapper\");\n }\n content = Fragment.from(wrappers[i].type.create(wrappers[i].attrs, content));\n }\n let start = range.start,\n end = range.end;\n tr.step(new ReplaceAroundStep(start, end, start, end, new Slice(content, 0, 0), wrappers.length, true));\n}\nfunction setBlockType(tr, from, to, type, attrs) {\n if (!type.isTextblock) throw new RangeError(\"Type given to setBlockType should be a textblock\");\n let mapFrom = tr.steps.length;\n tr.doc.nodesBetween(from, to, (node, pos) => {\n let attrsHere = typeof attrs == \"function\" ? attrs(node) : attrs;\n if (node.isTextblock && !node.hasMarkup(type, attrsHere) && canChangeType(tr.doc, tr.mapping.slice(mapFrom).map(pos), type)) {\n let convertNewlines = null;\n if (type.schema.linebreakReplacement) {\n let pre = type.whitespace == \"pre\",\n supportLinebreak = !!type.contentMatch.matchType(type.schema.linebreakReplacement);\n if (pre && !supportLinebreak) convertNewlines = false;else if (!pre && supportLinebreak) convertNewlines = true;\n }\n // Ensure all markup that isn't allowed in the new node type is cleared\n if (convertNewlines === false) replaceLinebreaks(tr, node, pos, mapFrom);\n clearIncompatible(tr, tr.mapping.slice(mapFrom).map(pos, 1), type, undefined, convertNewlines === null);\n let mapping = tr.mapping.slice(mapFrom);\n let startM = mapping.map(pos, 1),\n endM = mapping.map(pos + node.nodeSize, 1);\n tr.step(new ReplaceAroundStep(startM, endM, startM + 1, endM - 1, new Slice(Fragment.from(type.create(attrsHere, null, node.marks)), 0, 0), 1, true));\n if (convertNewlines === true) replaceNewlines(tr, node, pos, mapFrom);\n return false;\n }\n });\n}\nfunction replaceNewlines(tr, node, pos, mapFrom) {\n node.forEach((child, offset) => {\n if (child.isText) {\n let m,\n newline = /\\r?\\n|\\r/g;\n while (m = newline.exec(child.text)) {\n let start = tr.mapping.slice(mapFrom).map(pos + 1 + offset + m.index);\n tr.replaceWith(start, start + 1, node.type.schema.linebreakReplacement.create());\n }\n }\n });\n}\nfunction replaceLinebreaks(tr, node, pos, mapFrom) {\n node.forEach((child, offset) => {\n if (child.type == child.type.schema.linebreakReplacement) {\n let start = tr.mapping.slice(mapFrom).map(pos + 1 + offset);\n tr.replaceWith(start, start + 1, node.type.schema.text(\"\\n\"));\n }\n });\n}\nfunction canChangeType(doc, pos, type) {\n let $pos = doc.resolve(pos),\n index = $pos.index();\n return $pos.parent.canReplaceWith(index, index + 1, type);\n}\n/**\nChange the type, attributes, and/or marks of the node at `pos`.\nWhen `type` isn't given, the existing node type is preserved,\n*/\nfunction setNodeMarkup(tr, pos, type, attrs, marks) {\n let node = tr.doc.nodeAt(pos);\n if (!node) throw new RangeError(\"No node at given position\");\n if (!type) type = node.type;\n let newNode = type.create(attrs, null, marks || node.marks);\n if (node.isLeaf) return tr.replaceWith(pos, pos + node.nodeSize, newNode);\n if (!type.validContent(node.content)) throw new RangeError(\"Invalid content for node type \" + type.name);\n tr.step(new ReplaceAroundStep(pos, pos + node.nodeSize, pos + 1, pos + node.nodeSize - 1, new Slice(Fragment.from(newNode), 0, 0), 1, true));\n}\n/**\nCheck whether splitting at the given position is allowed.\n*/\nfunction canSplit(doc, pos) {\n let depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n let typesAfter = arguments.length > 3 ? arguments[3] : undefined;\n let $pos = doc.resolve(pos),\n base = $pos.depth - depth;\n let innerType = typesAfter && typesAfter[typesAfter.length - 1] || $pos.parent;\n if (base < 0 || $pos.parent.type.spec.isolating || !$pos.parent.canReplace($pos.index(), $pos.parent.childCount) || !innerType.type.validContent($pos.parent.content.cutByIndex($pos.index(), $pos.parent.childCount))) return false;\n for (let d = $pos.depth - 1, i = depth - 2; d > base; d--, i--) {\n let node = $pos.node(d),\n index = $pos.index(d);\n if (node.type.spec.isolating) return false;\n let rest = node.content.cutByIndex(index, node.childCount);\n let overrideChild = typesAfter && typesAfter[i + 1];\n if (overrideChild) rest = rest.replaceChild(0, overrideChild.type.create(overrideChild.attrs));\n let after = typesAfter && typesAfter[i] || node;\n if (!node.canReplace(index + 1, node.childCount) || !after.type.validContent(rest)) return false;\n }\n let index = $pos.indexAfter(base);\n let baseType = typesAfter && typesAfter[0];\n return $pos.node(base).canReplaceWith(index, index, baseType ? baseType.type : $pos.node(base + 1).type);\n}\nfunction split(tr, pos) {\n let depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n let typesAfter = arguments.length > 3 ? arguments[3] : undefined;\n let $pos = tr.doc.resolve(pos),\n before = Fragment.empty,\n after = Fragment.empty;\n for (let d = $pos.depth, e = $pos.depth - depth, i = depth - 1; d > e; d--, i--) {\n before = Fragment.from($pos.node(d).copy(before));\n let typeAfter = typesAfter && typesAfter[i];\n after = Fragment.from(typeAfter ? typeAfter.type.create(typeAfter.attrs, after) : $pos.node(d).copy(after));\n }\n tr.step(new ReplaceStep(pos, pos, new Slice(before.append(after), depth, depth), true));\n}\n/**\nTest whether the blocks before and after a given position can be\njoined.\n*/\nfunction canJoin(doc, pos) {\n let $pos = doc.resolve(pos),\n index = $pos.index();\n return joinable($pos.nodeBefore, $pos.nodeAfter) && $pos.parent.canReplace(index, index + 1);\n}\nfunction canAppendWithSubstitutedLinebreaks(a, b) {\n if (!b.content.size) a.type.compatibleContent(b.type);\n let match = a.contentMatchAt(a.childCount);\n let {\n linebreakReplacement\n } = a.type.schema;\n for (let i = 0; i < b.childCount; i++) {\n let child = b.child(i);\n let type = child.type == linebreakReplacement ? a.type.schema.nodes.text : child.type;\n match = match.matchType(type);\n if (!match) return false;\n if (!a.type.allowsMarks(child.marks)) return false;\n }\n return match.validEnd;\n}\nfunction joinable(a, b) {\n return !!(a && b && !a.isLeaf && canAppendWithSubstitutedLinebreaks(a, b));\n}\n/**\nFind an ancestor of the given position that can be joined to the\nblock before (or after if `dir` is positive). Returns the joinable\npoint, if any.\n*/\nfunction joinPoint(doc, pos) {\n let dir = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1;\n let $pos = doc.resolve(pos);\n for (let d = $pos.depth;; d--) {\n let before,\n after,\n index = $pos.index(d);\n if (d == $pos.depth) {\n before = $pos.nodeBefore;\n after = $pos.nodeAfter;\n } else if (dir > 0) {\n before = $pos.node(d + 1);\n index++;\n after = $pos.node(d).maybeChild(index);\n } else {\n before = $pos.node(d).maybeChild(index - 1);\n after = $pos.node(d + 1);\n }\n if (before && !before.isTextblock && joinable(before, after) && $pos.node(d).canReplace(index, index + 1)) return pos;\n if (d == 0) break;\n pos = dir < 0 ? $pos.before(d) : $pos.after(d);\n }\n}\nfunction join(tr, pos, depth) {\n let convertNewlines = null;\n let {\n linebreakReplacement\n } = tr.doc.type.schema;\n let $before = tr.doc.resolve(pos - depth),\n beforeType = $before.node().type;\n if (linebreakReplacement && beforeType.inlineContent) {\n let pre = beforeType.whitespace == \"pre\";\n let supportLinebreak = !!beforeType.contentMatch.matchType(linebreakReplacement);\n if (pre && !supportLinebreak) convertNewlines = false;else if (!pre && supportLinebreak) convertNewlines = true;\n }\n let mapFrom = tr.steps.length;\n if (convertNewlines === false) {\n let $after = tr.doc.resolve(pos + depth);\n replaceLinebreaks(tr, $after.node(), $after.before(), mapFrom);\n }\n if (beforeType.inlineContent) clearIncompatible(tr, pos + depth - 1, beforeType, $before.node().contentMatchAt($before.index()), convertNewlines == null);\n let mapping = tr.mapping.slice(mapFrom),\n start = mapping.map(pos - depth);\n tr.step(new ReplaceStep(start, mapping.map(pos + depth, -1), Slice.empty, true));\n if (convertNewlines === true) {\n let $full = tr.doc.resolve(start);\n replaceNewlines(tr, $full.node(), $full.before(), tr.steps.length);\n }\n return tr;\n}\n/**\nTry to find a point where a node of the given type can be inserted\nnear `pos`, by searching up the node hierarchy when `pos` itself\nisn't a valid place but is at the start or end of a node. Return\nnull if no position was found.\n*/\nfunction insertPoint(doc, pos, nodeType) {\n let $pos = doc.resolve(pos);\n if ($pos.parent.canReplaceWith($pos.index(), $pos.index(), nodeType)) return pos;\n if ($pos.parentOffset == 0) for (let d = $pos.depth - 1; d >= 0; d--) {\n let index = $pos.index(d);\n if ($pos.node(d).canReplaceWith(index, index, nodeType)) return $pos.before(d + 1);\n if (index > 0) return null;\n }\n if ($pos.parentOffset == $pos.parent.content.size) for (let d = $pos.depth - 1; d >= 0; d--) {\n let index = $pos.indexAfter(d);\n if ($pos.node(d).canReplaceWith(index, index, nodeType)) return $pos.after(d + 1);\n if (index < $pos.node(d).childCount) return null;\n }\n return null;\n}\n/**\nFinds a position at or around the given position where the given\nslice can be inserted. Will look at parent nodes' nearest boundary\nand try there, even if the original position wasn't directly at the\nstart or end of that node. Returns null when no position was found.\n*/\nfunction dropPoint(doc, pos, slice) {\n let $pos = doc.resolve(pos);\n if (!slice.content.size) return pos;\n let content = slice.content;\n for (let i = 0; i < slice.openStart; i++) content = content.firstChild.content;\n for (let pass = 1; pass <= (slice.openStart == 0 && slice.size ? 2 : 1); pass++) {\n for (let d = $pos.depth; d >= 0; d--) {\n let bias = d == $pos.depth ? 0 : $pos.pos <= ($pos.start(d + 1) + $pos.end(d + 1)) / 2 ? -1 : 1;\n let insertPos = $pos.index(d) + (bias > 0 ? 1 : 0);\n let parent = $pos.node(d),\n fits = false;\n if (pass == 1) {\n fits = parent.canReplace(insertPos, insertPos, content);\n } else {\n let wrapping = parent.contentMatchAt(insertPos).findWrapping(content.firstChild.type);\n fits = wrapping && parent.canReplaceWith(insertPos, insertPos, wrapping[0]);\n }\n if (fits) return bias == 0 ? $pos.pos : bias < 0 ? $pos.before(d + 1) : $pos.after(d + 1);\n }\n }\n return null;\n}\n\n/**\n‘Fit’ a slice into a given position in the document, producing a\n[step](https://prosemirror.net/docs/ref/#transform.Step) that inserts it. Will return null if\nthere's no meaningful way to insert the slice here, or inserting it\nwould be a no-op (an empty slice over an empty range).\n*/\nfunction replaceStep(doc, from) {\n let to = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : from;\n let slice = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : Slice.empty;\n if (from == to && !slice.size) return null;\n let $from = doc.resolve(from),\n $to = doc.resolve(to);\n // Optimization -- avoid work if it's obvious that it's not needed.\n if (fitsTrivially($from, $to, slice)) return new ReplaceStep(from, to, slice);\n return new Fitter($from, $to, slice).fit();\n}\nfunction fitsTrivially($from, $to, slice) {\n return !slice.openStart && !slice.openEnd && $from.start() == $to.start() && $from.parent.canReplace($from.index(), $to.index(), slice.content);\n}\n// Algorithm for 'placing' the elements of a slice into a gap:\n//\n// We consider the content of each node that is open to the left to be\n// independently placeable. I.e. in , when the\n// paragraph on the left is open, \"foo\" can be placed (somewhere on\n// the left side of the replacement gap) independently from p(\"bar\").\n//\n// This class tracks the state of the placement progress in the\n// following properties:\n//\n// - `frontier` holds a stack of `{type, match}` objects that\n// represent the open side of the replacement. It starts at\n// `$from`, then moves forward as content is placed, and is finally\n// reconciled with `$to`.\n//\n// - `unplaced` is a slice that represents the content that hasn't\n// been placed yet.\n//\n// - `placed` is a fragment of placed content. Its open-start value\n// is implicit in `$from`, and its open-end value in `frontier`.\nclass Fitter {\n constructor($from, $to, unplaced) {\n this.$from = $from;\n this.$to = $to;\n this.unplaced = unplaced;\n this.frontier = [];\n this.placed = Fragment.empty;\n for (let i = 0; i <= $from.depth; i++) {\n let node = $from.node(i);\n this.frontier.push({\n type: node.type,\n match: node.contentMatchAt($from.indexAfter(i))\n });\n }\n for (let i = $from.depth; i > 0; i--) this.placed = Fragment.from($from.node(i).copy(this.placed));\n }\n get depth() {\n return this.frontier.length - 1;\n }\n fit() {\n // As long as there's unplaced content, try to place some of it.\n // If that fails, either increase the open score of the unplaced\n // slice, or drop nodes from it, and then try again.\n while (this.unplaced.size) {\n let fit = this.findFittable();\n if (fit) this.placeNodes(fit);else this.openMore() || this.dropNode();\n }\n // When there's inline content directly after the frontier _and_\n // directly after `this.$to`, we must generate a `ReplaceAround`\n // step that pulls that content into the node after the frontier.\n // That means the fitting must be done to the end of the textblock\n // node after `this.$to`, not `this.$to` itself.\n let moveInline = this.mustMoveInline(),\n placedSize = this.placed.size - this.depth - this.$from.depth;\n let $from = this.$from,\n $to = this.close(moveInline < 0 ? this.$to : $from.doc.resolve(moveInline));\n if (!$to) return null;\n // If closing to `$to` succeeded, create a step\n let content = this.placed,\n openStart = $from.depth,\n openEnd = $to.depth;\n while (openStart && openEnd && content.childCount == 1) {\n // Normalize by dropping open parent nodes\n content = content.firstChild.content;\n openStart--;\n openEnd--;\n }\n let slice = new Slice(content, openStart, openEnd);\n if (moveInline > -1) return new ReplaceAroundStep($from.pos, moveInline, this.$to.pos, this.$to.end(), slice, placedSize);\n if (slice.size || $from.pos != this.$to.pos)\n // Don't generate no-op steps\n return new ReplaceStep($from.pos, $to.pos, slice);\n return null;\n }\n // Find a position on the start spine of `this.unplaced` that has\n // content that can be moved somewhere on the frontier. Returns two\n // depths, one for the slice and one for the frontier.\n findFittable() {\n let startDepth = this.unplaced.openStart;\n for (let cur = this.unplaced.content, d = 0, openEnd = this.unplaced.openEnd; d < startDepth; d++) {\n let node = cur.firstChild;\n if (cur.childCount > 1) openEnd = 0;\n if (node.type.spec.isolating && openEnd <= d) {\n startDepth = d;\n break;\n }\n cur = node.content;\n }\n // Only try wrapping nodes (pass 2) after finding a place without\n // wrapping failed.\n for (let pass = 1; pass <= 2; pass++) {\n for (let sliceDepth = pass == 1 ? startDepth : this.unplaced.openStart; sliceDepth >= 0; sliceDepth--) {\n let fragment,\n parent = null;\n if (sliceDepth) {\n parent = contentAt(this.unplaced.content, sliceDepth - 1).firstChild;\n fragment = parent.content;\n } else {\n fragment = this.unplaced.content;\n }\n let first = fragment.firstChild;\n for (let frontierDepth = this.depth; frontierDepth >= 0; frontierDepth--) {\n let {\n type,\n match\n } = this.frontier[frontierDepth],\n wrap,\n inject = null;\n // In pass 1, if the next node matches, or there is no next\n // node but the parents look compatible, we've found a\n // place.\n if (pass == 1 && (first ? match.matchType(first.type) || (inject = match.fillBefore(Fragment.from(first), false)) : parent && type.compatibleContent(parent.type))) return {\n sliceDepth,\n frontierDepth,\n parent,\n inject\n };\n // In pass 2, look for a set of wrapping nodes that make\n // `first` fit here.\n else if (pass == 2 && first && (wrap = match.findWrapping(first.type))) return {\n sliceDepth,\n frontierDepth,\n parent,\n wrap\n };\n // Don't continue looking further up if the parent node\n // would fit here.\n if (parent && match.matchType(parent.type)) break;\n }\n }\n }\n }\n openMore() {\n let {\n content,\n openStart,\n openEnd\n } = this.unplaced;\n let inner = contentAt(content, openStart);\n if (!inner.childCount || inner.firstChild.isLeaf) return false;\n this.unplaced = new Slice(content, openStart + 1, Math.max(openEnd, inner.size + openStart >= content.size - openEnd ? openStart + 1 : 0));\n return true;\n }\n dropNode() {\n let {\n content,\n openStart,\n openEnd\n } = this.unplaced;\n let inner = contentAt(content, openStart);\n if (inner.childCount <= 1 && openStart > 0) {\n let openAtEnd = content.size - openStart <= openStart + inner.size;\n this.unplaced = new Slice(dropFromFragment(content, openStart - 1, 1), openStart - 1, openAtEnd ? openStart - 1 : openEnd);\n } else {\n this.unplaced = new Slice(dropFromFragment(content, openStart, 1), openStart, openEnd);\n }\n }\n // Move content from the unplaced slice at `sliceDepth` to the\n // frontier node at `frontierDepth`. Close that frontier node when\n // applicable.\n placeNodes(_ref) {\n let {\n sliceDepth,\n frontierDepth,\n parent,\n inject,\n wrap\n } = _ref;\n while (this.depth > frontierDepth) this.closeFrontierNode();\n if (wrap) for (let i = 0; i < wrap.length; i++) this.openFrontierNode(wrap[i]);\n let slice = this.unplaced,\n fragment = parent ? parent.content : slice.content;\n let openStart = slice.openStart - sliceDepth;\n let taken = 0,\n add = [];\n let {\n match,\n type\n } = this.frontier[frontierDepth];\n if (inject) {\n for (let i = 0; i < inject.childCount; i++) add.push(inject.child(i));\n match = match.matchFragment(inject);\n }\n // Computes the amount of (end) open nodes at the end of the\n // fragment. When 0, the parent is open, but no more. When\n // negative, nothing is open.\n let openEndCount = fragment.size + sliceDepth - (slice.content.size - slice.openEnd);\n // Scan over the fragment, fitting as many child nodes as\n // possible.\n while (taken < fragment.childCount) {\n let next = fragment.child(taken),\n matches = match.matchType(next.type);\n if (!matches) break;\n taken++;\n if (taken > 1 || openStart == 0 || next.content.size) {\n // Drop empty open nodes\n match = matches;\n add.push(closeNodeStart(next.mark(type.allowedMarks(next.marks)), taken == 1 ? openStart : 0, taken == fragment.childCount ? openEndCount : -1));\n }\n }\n let toEnd = taken == fragment.childCount;\n if (!toEnd) openEndCount = -1;\n this.placed = addToFragment(this.placed, frontierDepth, Fragment.from(add));\n this.frontier[frontierDepth].match = match;\n // If the parent types match, and the entire node was moved, and\n // it's not open, close this frontier node right away.\n if (toEnd && openEndCount < 0 && parent && parent.type == this.frontier[this.depth].type && this.frontier.length > 1) this.closeFrontierNode();\n // Add new frontier nodes for any open nodes at the end.\n for (let i = 0, cur = fragment; i < openEndCount; i++) {\n let node = cur.lastChild;\n this.frontier.push({\n type: node.type,\n match: node.contentMatchAt(node.childCount)\n });\n cur = node.content;\n }\n // Update `this.unplaced`. Drop the entire node from which we\n // placed it we got to its end, otherwise just drop the placed\n // nodes.\n this.unplaced = !toEnd ? new Slice(dropFromFragment(slice.content, sliceDepth, taken), slice.openStart, slice.openEnd) : sliceDepth == 0 ? Slice.empty : new Slice(dropFromFragment(slice.content, sliceDepth - 1, 1), sliceDepth - 1, openEndCount < 0 ? slice.openEnd : sliceDepth - 1);\n }\n mustMoveInline() {\n if (!this.$to.parent.isTextblock) return -1;\n let top = this.frontier[this.depth],\n level;\n if (!top.type.isTextblock || !contentAfterFits(this.$to, this.$to.depth, top.type, top.match, false) || this.$to.depth == this.depth && (level = this.findCloseLevel(this.$to)) && level.depth == this.depth) return -1;\n let {\n depth\n } = this.$to,\n after = this.$to.after(depth);\n while (depth > 1 && after == this.$to.end(--depth)) ++after;\n return after;\n }\n findCloseLevel($to) {\n scan: for (let i = Math.min(this.depth, $to.depth); i >= 0; i--) {\n let {\n match,\n type\n } = this.frontier[i];\n let dropInner = i < $to.depth && $to.end(i + 1) == $to.pos + ($to.depth - (i + 1));\n let fit = contentAfterFits($to, i, type, match, dropInner);\n if (!fit) continue;\n for (let d = i - 1; d >= 0; d--) {\n let {\n match,\n type\n } = this.frontier[d];\n let matches = contentAfterFits($to, d, type, match, true);\n if (!matches || matches.childCount) continue scan;\n }\n return {\n depth: i,\n fit,\n move: dropInner ? $to.doc.resolve($to.after(i + 1)) : $to\n };\n }\n }\n close($to) {\n let close = this.findCloseLevel($to);\n if (!close) return null;\n while (this.depth > close.depth) this.closeFrontierNode();\n if (close.fit.childCount) this.placed = addToFragment(this.placed, close.depth, close.fit);\n $to = close.move;\n for (let d = close.depth + 1; d <= $to.depth; d++) {\n let node = $to.node(d),\n add = node.type.contentMatch.fillBefore(node.content, true, $to.index(d));\n this.openFrontierNode(node.type, node.attrs, add);\n }\n return $to;\n }\n openFrontierNode(type) {\n let attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n let content = arguments.length > 2 ? arguments[2] : undefined;\n let top = this.frontier[this.depth];\n top.match = top.match.matchType(type);\n this.placed = addToFragment(this.placed, this.depth, Fragment.from(type.create(attrs, content)));\n this.frontier.push({\n type,\n match: type.contentMatch\n });\n }\n closeFrontierNode() {\n let open = this.frontier.pop();\n let add = open.match.fillBefore(Fragment.empty, true);\n if (add.childCount) this.placed = addToFragment(this.placed, this.frontier.length, add);\n }\n}\nfunction dropFromFragment(fragment, depth, count) {\n if (depth == 0) return fragment.cutByIndex(count, fragment.childCount);\n return fragment.replaceChild(0, fragment.firstChild.copy(dropFromFragment(fragment.firstChild.content, depth - 1, count)));\n}\nfunction addToFragment(fragment, depth, content) {\n if (depth == 0) return fragment.append(content);\n return fragment.replaceChild(fragment.childCount - 1, fragment.lastChild.copy(addToFragment(fragment.lastChild.content, depth - 1, content)));\n}\nfunction contentAt(fragment, depth) {\n for (let i = 0; i < depth; i++) fragment = fragment.firstChild.content;\n return fragment;\n}\nfunction closeNodeStart(node, openStart, openEnd) {\n if (openStart <= 0) return node;\n let frag = node.content;\n if (openStart > 1) frag = frag.replaceChild(0, closeNodeStart(frag.firstChild, openStart - 1, frag.childCount == 1 ? openEnd - 1 : 0));\n if (openStart > 0) {\n frag = node.type.contentMatch.fillBefore(frag).append(frag);\n if (openEnd <= 0) frag = frag.append(node.type.contentMatch.matchFragment(frag).fillBefore(Fragment.empty, true));\n }\n return node.copy(frag);\n}\nfunction contentAfterFits($to, depth, type, match, open) {\n let node = $to.node(depth),\n index = open ? $to.indexAfter(depth) : $to.index(depth);\n if (index == node.childCount && !type.compatibleContent(node.type)) return null;\n let fit = match.fillBefore(node.content, true, index);\n return fit && !invalidMarks(type, node.content, index) ? fit : null;\n}\nfunction invalidMarks(type, fragment, start) {\n for (let i = start; i < fragment.childCount; i++) if (!type.allowsMarks(fragment.child(i).marks)) return true;\n return false;\n}\nfunction definesContent(type) {\n return type.spec.defining || type.spec.definingForContent;\n}\nfunction replaceRange(tr, from, to, slice) {\n if (!slice.size) return tr.deleteRange(from, to);\n let $from = tr.doc.resolve(from),\n $to = tr.doc.resolve(to);\n if (fitsTrivially($from, $to, slice)) return tr.step(new ReplaceStep(from, to, slice));\n let targetDepths = coveredDepths($from, tr.doc.resolve(to));\n // Can't replace the whole document, so remove 0 if it's present\n if (targetDepths[targetDepths.length - 1] == 0) targetDepths.pop();\n // Negative numbers represent not expansion over the whole node at\n // that depth, but replacing from $from.before(-D) to $to.pos.\n let preferredTarget = -($from.depth + 1);\n targetDepths.unshift(preferredTarget);\n // This loop picks a preferred target depth, if one of the covering\n // depths is not outside of a defining node, and adds negative\n // depths for any depth that has $from at its start and does not\n // cross a defining node.\n for (let d = $from.depth, pos = $from.pos - 1; d > 0; d--, pos--) {\n let spec = $from.node(d).type.spec;\n if (spec.defining || spec.definingAsContext || spec.isolating) break;\n if (targetDepths.indexOf(d) > -1) preferredTarget = d;else if ($from.before(d) == pos) targetDepths.splice(1, 0, -d);\n }\n // Try to fit each possible depth of the slice into each possible\n // target depth, starting with the preferred depths.\n let preferredTargetIndex = targetDepths.indexOf(preferredTarget);\n let leftNodes = [],\n preferredDepth = slice.openStart;\n for (let content = slice.content, i = 0;; i++) {\n let node = content.firstChild;\n leftNodes.push(node);\n if (i == slice.openStart) break;\n content = node.content;\n }\n // Back up preferredDepth to cover defining textblocks directly\n // above it, possibly skipping a non-defining textblock.\n for (let d = preferredDepth - 1; d >= 0; d--) {\n let leftNode = leftNodes[d],\n def = definesContent(leftNode.type);\n if (def && !leftNode.sameMarkup($from.node(Math.abs(preferredTarget) - 1))) preferredDepth = d;else if (def || !leftNode.type.isTextblock) break;\n }\n for (let j = slice.openStart; j >= 0; j--) {\n let openDepth = (j + preferredDepth + 1) % (slice.openStart + 1);\n let insert = leftNodes[openDepth];\n if (!insert) continue;\n for (let i = 0; i < targetDepths.length; i++) {\n // Loop over possible expansion levels, starting with the\n // preferred one\n let targetDepth = targetDepths[(i + preferredTargetIndex) % targetDepths.length],\n expand = true;\n if (targetDepth < 0) {\n expand = false;\n targetDepth = -targetDepth;\n }\n let parent = $from.node(targetDepth - 1),\n index = $from.index(targetDepth - 1);\n if (parent.canReplaceWith(index, index, insert.type, insert.marks)) return tr.replace($from.before(targetDepth), expand ? $to.after(targetDepth) : to, new Slice(closeFragment(slice.content, 0, slice.openStart, openDepth), openDepth, slice.openEnd));\n }\n }\n let startSteps = tr.steps.length;\n for (let i = targetDepths.length - 1; i >= 0; i--) {\n tr.replace(from, to, slice);\n if (tr.steps.length > startSteps) break;\n let depth = targetDepths[i];\n if (depth < 0) continue;\n from = $from.before(depth);\n to = $to.after(depth);\n }\n}\nfunction closeFragment(fragment, depth, oldOpen, newOpen, parent) {\n if (depth < oldOpen) {\n let first = fragment.firstChild;\n fragment = fragment.replaceChild(0, first.copy(closeFragment(first.content, depth + 1, oldOpen, newOpen, first)));\n }\n if (depth > newOpen) {\n let match = parent.contentMatchAt(0);\n let start = match.fillBefore(fragment).append(fragment);\n fragment = start.append(match.matchFragment(start).fillBefore(Fragment.empty, true));\n }\n return fragment;\n}\nfunction replaceRangeWith(tr, from, to, node) {\n if (!node.isInline && from == to && tr.doc.resolve(from).parent.content.size) {\n let point = insertPoint(tr.doc, from, node.type);\n if (point != null) from = to = point;\n }\n tr.replaceRange(from, to, new Slice(Fragment.from(node), 0, 0));\n}\nfunction deleteRange(tr, from, to) {\n let $from = tr.doc.resolve(from),\n $to = tr.doc.resolve(to);\n let covered = coveredDepths($from, $to);\n for (let i = 0; i < covered.length; i++) {\n let depth = covered[i],\n last = i == covered.length - 1;\n if (last && depth == 0 || $from.node(depth).type.contentMatch.validEnd) return tr.delete($from.start(depth), $to.end(depth));\n if (depth > 0 && (last || $from.node(depth - 1).canReplace($from.index(depth - 1), $to.indexAfter(depth - 1)))) return tr.delete($from.before(depth), $to.after(depth));\n }\n for (let d = 1; d <= $from.depth && d <= $to.depth; d++) {\n if (from - $from.start(d) == $from.depth - d && to > $from.end(d) && $to.end(d) - to != $to.depth - d && $from.start(d - 1) == $to.start(d - 1) && $from.node(d - 1).canReplace($from.index(d - 1), $to.index(d - 1))) return tr.delete($from.before(d), to);\n }\n tr.delete(from, to);\n}\n// Returns an array of all depths for which $from - $to spans the\n// whole content of the nodes at that depth.\nfunction coveredDepths($from, $to) {\n let result = [],\n minDepth = Math.min($from.depth, $to.depth);\n for (let d = minDepth; d >= 0; d--) {\n let start = $from.start(d);\n if (start < $from.pos - ($from.depth - d) || $to.end(d) > $to.pos + ($to.depth - d) || $from.node(d).type.spec.isolating || $to.node(d).type.spec.isolating) break;\n if (start == $to.start(d) || d == $from.depth && d == $to.depth && $from.parent.inlineContent && $to.parent.inlineContent && d && $to.start(d - 1) == start - 1) result.push(d);\n }\n return result;\n}\n\n/**\nUpdate an attribute in a specific node.\n*/\nclass AttrStep extends Step {\n /**\n Construct an attribute step.\n */\n constructor(\n /**\n The position of the target node.\n */\n pos,\n /**\n The attribute to set.\n */\n attr,\n // The attribute's new value.\n value) {\n super();\n this.pos = pos;\n this.attr = attr;\n this.value = value;\n }\n apply(doc) {\n let node = doc.nodeAt(this.pos);\n if (!node) return StepResult.fail(\"No node at attribute step's position\");\n let attrs = Object.create(null);\n for (let name in node.attrs) attrs[name] = node.attrs[name];\n attrs[this.attr] = this.value;\n let updated = node.type.create(attrs, null, node.marks);\n return StepResult.fromReplace(doc, this.pos, this.pos + 1, new Slice(Fragment.from(updated), 0, node.isLeaf ? 0 : 1));\n }\n getMap() {\n return StepMap.empty;\n }\n invert(doc) {\n return new AttrStep(this.pos, this.attr, doc.nodeAt(this.pos).attrs[this.attr]);\n }\n map(mapping) {\n let pos = mapping.mapResult(this.pos, 1);\n return pos.deletedAfter ? null : new AttrStep(pos.pos, this.attr, this.value);\n }\n toJSON() {\n return {\n stepType: \"attr\",\n pos: this.pos,\n attr: this.attr,\n value: this.value\n };\n }\n static fromJSON(schema, json) {\n if (typeof json.pos != \"number\" || typeof json.attr != \"string\") throw new RangeError(\"Invalid input for AttrStep.fromJSON\");\n return new AttrStep(json.pos, json.attr, json.value);\n }\n}\nStep.jsonID(\"attr\", AttrStep);\n/**\nUpdate an attribute in the doc node.\n*/\nclass DocAttrStep extends Step {\n /**\n Construct an attribute step.\n */\n constructor(\n /**\n The attribute to set.\n */\n attr,\n // The attribute's new value.\n value) {\n super();\n this.attr = attr;\n this.value = value;\n }\n apply(doc) {\n let attrs = Object.create(null);\n for (let name in doc.attrs) attrs[name] = doc.attrs[name];\n attrs[this.attr] = this.value;\n let updated = doc.type.create(attrs, doc.content, doc.marks);\n return StepResult.ok(updated);\n }\n getMap() {\n return StepMap.empty;\n }\n invert(doc) {\n return new DocAttrStep(this.attr, doc.attrs[this.attr]);\n }\n map(mapping) {\n return this;\n }\n toJSON() {\n return {\n stepType: \"docAttr\",\n attr: this.attr,\n value: this.value\n };\n }\n static fromJSON(schema, json) {\n if (typeof json.attr != \"string\") throw new RangeError(\"Invalid input for DocAttrStep.fromJSON\");\n return new DocAttrStep(json.attr, json.value);\n }\n}\nStep.jsonID(\"docAttr\", DocAttrStep);\n\n/**\n@internal\n*/\nlet TransformError = class extends Error {};\nTransformError = function TransformError(message) {\n let err = Error.call(this, message);\n err.__proto__ = TransformError.prototype;\n return err;\n};\nTransformError.prototype = Object.create(Error.prototype);\nTransformError.prototype.constructor = TransformError;\nTransformError.prototype.name = \"TransformError\";\n/**\nAbstraction to build up and track an array of\n[steps](https://prosemirror.net/docs/ref/#transform.Step) representing a document transformation.\n\nMost transforming methods return the `Transform` object itself, so\nthat they can be chained.\n*/\nclass Transform {\n /**\n Create a transform that starts with the given document.\n */\n constructor(\n /**\n The current document (the result of applying the steps in the\n transform).\n */\n doc) {\n this.doc = doc;\n /**\n The steps in this transform.\n */\n this.steps = [];\n /**\n The documents before each of the steps.\n */\n this.docs = [];\n /**\n A mapping with the maps for each of the steps in this transform.\n */\n this.mapping = new Mapping();\n }\n /**\n The starting document.\n */\n get before() {\n return this.docs.length ? this.docs[0] : this.doc;\n }\n /**\n Apply a new step in this transform, saving the result. Throws an\n error when the step fails.\n */\n step(step) {\n let result = this.maybeStep(step);\n if (result.failed) throw new TransformError(result.failed);\n return this;\n }\n /**\n Try to apply a step in this transformation, ignoring it if it\n fails. Returns the step result.\n */\n maybeStep(step) {\n let result = step.apply(this.doc);\n if (!result.failed) this.addStep(step, result.doc);\n return result;\n }\n /**\n True when the document has been changed (when there are any\n steps).\n */\n get docChanged() {\n return this.steps.length > 0;\n }\n /**\n @internal\n */\n addStep(step, doc) {\n this.docs.push(this.doc);\n this.steps.push(step);\n this.mapping.appendMap(step.getMap());\n this.doc = doc;\n }\n /**\n Replace the part of the document between `from` and `to` with the\n given `slice`.\n */\n replace(from) {\n let to = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : from;\n let slice = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Slice.empty;\n let step = replaceStep(this.doc, from, to, slice);\n if (step) this.step(step);\n return this;\n }\n /**\n Replace the given range with the given content, which may be a\n fragment, node, or array of nodes.\n */\n replaceWith(from, to, content) {\n return this.replace(from, to, new Slice(Fragment.from(content), 0, 0));\n }\n /**\n Delete the content between the given positions.\n */\n delete(from, to) {\n return this.replace(from, to, Slice.empty);\n }\n /**\n Insert the given content at the given position.\n */\n insert(pos, content) {\n return this.replaceWith(pos, pos, content);\n }\n /**\n Replace a range of the document with a given slice, using\n `from`, `to`, and the slice's\n [`openStart`](https://prosemirror.net/docs/ref/#model.Slice.openStart) property as hints, rather\n than fixed start and end points. This method may grow the\n replaced area or close open nodes in the slice in order to get a\n fit that is more in line with WYSIWYG expectations, by dropping\n fully covered parent nodes of the replaced region when they are\n marked [non-defining as\n context](https://prosemirror.net/docs/ref/#model.NodeSpec.definingAsContext), or including an\n open parent node from the slice that _is_ marked as [defining\n its content](https://prosemirror.net/docs/ref/#model.NodeSpec.definingForContent).\n \n This is the method, for example, to handle paste. The similar\n [`replace`](https://prosemirror.net/docs/ref/#transform.Transform.replace) method is a more\n primitive tool which will _not_ move the start and end of its given\n range, and is useful in situations where you need more precise\n control over what happens.\n */\n replaceRange(from, to, slice) {\n replaceRange(this, from, to, slice);\n return this;\n }\n /**\n Replace the given range with a node, but use `from` and `to` as\n hints, rather than precise positions. When from and to are the same\n and are at the start or end of a parent node in which the given\n node doesn't fit, this method may _move_ them out towards a parent\n that does allow the given node to be placed. When the given range\n completely covers a parent node, this method may completely replace\n that parent node.\n */\n replaceRangeWith(from, to, node) {\n replaceRangeWith(this, from, to, node);\n return this;\n }\n /**\n Delete the given range, expanding it to cover fully covered\n parent nodes until a valid replace is found.\n */\n deleteRange(from, to) {\n deleteRange(this, from, to);\n return this;\n }\n /**\n Split the content in the given range off from its parent, if there\n is sibling content before or after it, and move it up the tree to\n the depth specified by `target`. You'll probably want to use\n [`liftTarget`](https://prosemirror.net/docs/ref/#transform.liftTarget) to compute `target`, to make\n sure the lift is valid.\n */\n lift(range, target) {\n lift(this, range, target);\n return this;\n }\n /**\n Join the blocks around the given position. If depth is 2, their\n last and first siblings are also joined, and so on.\n */\n join(pos) {\n let depth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n join(this, pos, depth);\n return this;\n }\n /**\n Wrap the given [range](https://prosemirror.net/docs/ref/#model.NodeRange) in the given set of wrappers.\n The wrappers are assumed to be valid in this position, and should\n probably be computed with [`findWrapping`](https://prosemirror.net/docs/ref/#transform.findWrapping).\n */\n wrap(range, wrappers) {\n wrap(this, range, wrappers);\n return this;\n }\n /**\n Set the type of all textblocks (partly) between `from` and `to` to\n the given node type with the given attributes.\n */\n setBlockType(from) {\n let to = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : from;\n let type = arguments.length > 2 ? arguments[2] : undefined;\n let attrs = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n setBlockType(this, from, to, type, attrs);\n return this;\n }\n /**\n Change the type, attributes, and/or marks of the node at `pos`.\n When `type` isn't given, the existing node type is preserved,\n */\n setNodeMarkup(pos, type) {\n let attrs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n let marks = arguments.length > 3 ? arguments[3] : undefined;\n setNodeMarkup(this, pos, type, attrs, marks);\n return this;\n }\n /**\n Set a single attribute on a given node to a new value.\n The `pos` addresses the document content. Use `setDocAttribute`\n to set attributes on the document itself.\n */\n setNodeAttribute(pos, attr, value) {\n this.step(new AttrStep(pos, attr, value));\n return this;\n }\n /**\n Set a single attribute on the document to a new value.\n */\n setDocAttribute(attr, value) {\n this.step(new DocAttrStep(attr, value));\n return this;\n }\n /**\n Add a mark to the node at position `pos`.\n */\n addNodeMark(pos, mark) {\n this.step(new AddNodeMarkStep(pos, mark));\n return this;\n }\n /**\n Remove a mark (or a mark of the given type) from the node at\n position `pos`.\n */\n removeNodeMark(pos, mark) {\n if (!(mark instanceof Mark)) {\n let node = this.doc.nodeAt(pos);\n if (!node) throw new RangeError(\"No node at position \" + pos);\n mark = mark.isInSet(node.marks);\n if (!mark) return this;\n }\n this.step(new RemoveNodeMarkStep(pos, mark));\n return this;\n }\n /**\n Split the node at the given position, and optionally, if `depth` is\n greater than one, any number of nodes above that. By default, the\n parts split off will inherit the node type of the original node.\n This can be changed by passing an array of types and attributes to\n use after the split.\n */\n split(pos) {\n let depth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n let typesAfter = arguments.length > 2 ? arguments[2] : undefined;\n split(this, pos, depth, typesAfter);\n return this;\n }\n /**\n Add the given mark to the inline content between `from` and `to`.\n */\n addMark(from, to, mark) {\n addMark(this, from, to, mark);\n return this;\n }\n /**\n Remove marks from inline nodes between `from` and `to`. When\n `mark` is a single mark, remove precisely that mark. When it is\n a mark type, remove all marks of that type. When it is null,\n remove all marks of any type.\n */\n removeMark(from, to, mark) {\n removeMark(this, from, to, mark);\n return this;\n }\n /**\n Removes all marks and nodes from the content of the node at\n `pos` that don't match the given new parent node type. Accepts\n an optional starting [content match](https://prosemirror.net/docs/ref/#model.ContentMatch) as\n third argument.\n */\n clearIncompatible(pos, parentType, match) {\n clearIncompatible(this, pos, parentType, match);\n return this;\n }\n}\nexport { AddMarkStep, AddNodeMarkStep, AttrStep, DocAttrStep, MapResult, Mapping, RemoveMarkStep, RemoveNodeMarkStep, ReplaceAroundStep, ReplaceStep, Step, StepMap, StepResult, Transform, TransformError, canJoin, canSplit, dropPoint, findWrapping, insertPoint, joinPoint, liftTarget, replaceStep };","var g;\n\n// This works in non-strict mode\ng = function () {\n return this;\n}();\ntry {\n // This works if eval is allowed (see CSP)\n g = g || new Function(\"return this\")();\n} catch (e) {\n // This works if the window reference is available\n if (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;","import { emitter } from 'shared/helpers/mitt';\n\nexport default {\n methods: {\n showAlert(message, action) {\n emitter.emit('newToastMessage', message, action);\n },\n },\n};\n","import { __extends } from \"tslib\";\nexport function isString(obj) {\n return typeof obj === 'string';\n}\nexport function isNumber(obj) {\n return typeof obj === 'number';\n}\nexport function isFunction(obj) {\n return typeof obj === 'function';\n}\nexport function isPlainObject(obj) {\n return Object.prototype.toString.call(obj).slice(8, -1).toLowerCase() === 'object';\n}\nfunction hasUser(event) {\n var _a, _b, _c;\n var id = (_c = (_b = (_a = event.userId) !== null && _a !== void 0 ? _a : event.anonymousId) !== null && _b !== void 0 ? _b : event.groupId) !== null && _c !== void 0 ? _c : event.previousId;\n return isString(id);\n}\nvar ValidationError = /** @class */function (_super) {\n __extends(ValidationError, _super);\n function ValidationError(field, message) {\n var _this = _super.call(this, message) || this;\n _this.field = field;\n return _this;\n }\n return ValidationError;\n}(Error);\nfunction validate(ctx) {\n var _a;\n var eventType = ctx && ctx.event && ctx.event.type;\n var event = ctx.event;\n if (event === undefined) {\n throw new ValidationError('event', 'Event is missing');\n }\n if (!isString(eventType)) {\n throw new ValidationError('event', 'Event is not a string');\n }\n if (eventType === 'track' && !isString(event.event)) {\n throw new ValidationError('event', 'Event is not a string');\n }\n var props = (_a = event.properties) !== null && _a !== void 0 ? _a : event.traits;\n if (eventType !== 'alias' && !isPlainObject(props)) {\n throw new ValidationError('properties', 'properties is not an object');\n }\n if (!hasUser(event)) {\n throw new ValidationError('userId', 'Missing userId or anonymousId');\n }\n return ctx;\n}\nexport var validation = {\n name: 'Event Validation',\n type: 'before',\n version: '1.0.0',\n isLoaded: function () {\n return true;\n },\n load: function () {\n return Promise.resolve();\n },\n track: validate,\n identify: validate,\n page: validate,\n alias: validate,\n group: validate,\n screen: validate\n};","import { isFunction, isPlainObject, isString, isNumber } from '../../plugins/validation';\n/**\n * Helper for the track method\n */\nexport function resolveArguments(eventName, properties, options, callback) {\n var _a;\n var args = [eventName, properties, options, callback];\n var name = isPlainObject(eventName) ? eventName.event : eventName;\n if (!name || !isString(name)) {\n throw new Error('Event missing');\n }\n var data = isPlainObject(eventName) ? (_a = eventName.properties) !== null && _a !== void 0 ? _a : {} : isPlainObject(properties) ? properties : {};\n var opts = {};\n if (!isFunction(options)) {\n opts = options !== null && options !== void 0 ? options : {};\n }\n if (isPlainObject(eventName) && !isFunction(properties)) {\n opts = properties !== null && properties !== void 0 ? properties : {};\n }\n var cb = args.find(isFunction);\n return [name, data, opts, cb];\n}\n/**\n * Helper for page, screen methods\n */\nexport function resolvePageArguments(category, name, properties, options, callback) {\n var _a, _b;\n var resolvedCategory = null;\n var resolvedName = null;\n var args = [category, name, properties, options, callback];\n var strings = args.filter(isString);\n if (strings[0] !== undefined && strings[1] !== undefined) {\n resolvedCategory = strings[0];\n resolvedName = strings[1];\n }\n if (strings.length === 1) {\n resolvedCategory = null;\n resolvedName = strings[0];\n }\n var resolvedCallback = args.find(isFunction);\n var objects = args.filter(function (obj) {\n if (resolvedName === null) {\n return isPlainObject(obj);\n }\n return isPlainObject(obj) || obj === null;\n });\n var resolvedProperties = (_a = objects[0]) !== null && _a !== void 0 ? _a : {};\n var resolvedOptions = (_b = objects[1]) !== null && _b !== void 0 ? _b : {};\n return [resolvedCategory, resolvedName, resolvedProperties, resolvedOptions, resolvedCallback];\n}\n/**\n * Helper for group, identify methods\n */\nexport var resolveUserArguments = function (user) {\n return function () {\n var _a, _b, _c, _d, _e;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var id = null;\n id = (_c = (_a = args.find(isString)) !== null && _a !== void 0 ? _a : (_b = args.find(isNumber)) === null || _b === void 0 ? void 0 : _b.toString()) !== null && _c !== void 0 ? _c : user.id();\n var objects = args.filter(function (obj) {\n if (id === null) {\n return isPlainObject(obj);\n }\n return isPlainObject(obj) || obj === null;\n });\n var traits = (_d = objects[0]) !== null && _d !== void 0 ? _d : {};\n var opts = (_e = objects[1]) !== null && _e !== void 0 ? _e : {};\n var resolvedCallback = args.find(isFunction);\n return [id, traits, opts, resolvedCallback];\n };\n};\n/**\n * Helper for alias method\n */\nexport function resolveAliasArguments(to, from, options, callback) {\n if (isNumber(to)) to = to.toString(); // Legacy behaviour - allow integers for alias calls\n if (isNumber(from)) from = from.toString();\n var args = [to, from, options, callback];\n var _a = args.filter(isString),\n _b = _a[0],\n aliasTo = _b === void 0 ? to : _b,\n _c = _a[1],\n aliasFrom = _c === void 0 ? null : _c;\n var _d = args.filter(isPlainObject)[0],\n opts = _d === void 0 ? {} : _d;\n var resolvedCallback = args.find(isFunction);\n return [aliasTo, aliasFrom, opts, resolvedCallback];\n}","import { __awaiter, __generator } from \"tslib\";\nimport { invokeCallback } from '../callback';\n/* The amount of time in ms to wait before invoking the callback. */\nexport var getDelay = function (startTimeInEpochMS, timeoutInMS) {\n var elapsedTime = Date.now() - startTimeInEpochMS;\n // increasing the timeout increases the delay by almost the same amount -- this is weird legacy behavior.\n return Math.max((timeoutInMS !== null && timeoutInMS !== void 0 ? timeoutInMS : 300) - elapsedTime, 0);\n};\n/**\n * Push an event into the dispatch queue and invoke any callbacks.\n *\n * @param event - Segment event to enqueue.\n * @param queue - Queue to dispatch against.\n * @param emitter - This is typically an instance of \"Analytics\" -- used for metrics / progress information.\n * @param options\n */\nexport function dispatch(ctx, queue, emitter, options) {\n return __awaiter(this, void 0, void 0, function () {\n var startTime, dispatched;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n emitter.emit('dispatch_start', ctx);\n startTime = Date.now();\n if (!queue.isEmpty()) return [3 /*break*/, 2];\n return [4 /*yield*/, queue.dispatchSingle(ctx)];\n case 1:\n dispatched = _a.sent();\n return [3 /*break*/, 4];\n case 2:\n return [4 /*yield*/, queue.dispatch(ctx)];\n case 3:\n dispatched = _a.sent();\n _a.label = 4;\n case 4:\n if (!(options === null || options === void 0 ? void 0 : options.callback)) return [3 /*break*/, 6];\n return [4 /*yield*/, invokeCallback(dispatched, options.callback, getDelay(startTime, options.timeout))];\n case 5:\n dispatched = _a.sent();\n _a.label = 6;\n case 6:\n if (options === null || options === void 0 ? void 0 : options.debug) {\n dispatched.flush();\n }\n return [2 /*return*/, dispatched];\n }\n });\n });\n}","import { __assign, __rest } from \"tslib\";\nimport { v4 as uuid } from '@lukeed/uuid';\nimport { dset } from 'dset';\nimport md5 from 'spark-md5';\nexport * from './interfaces';\nvar EventFactory = /** @class */function () {\n function EventFactory(user) {\n this.user = user;\n }\n EventFactory.prototype.track = function (event, properties, options, globalIntegrations) {\n return this.normalize(__assign(__assign({}, this.baseEvent()), {\n event: event,\n type: 'track',\n properties: properties,\n options: __assign({}, options),\n integrations: __assign({}, globalIntegrations)\n }));\n };\n EventFactory.prototype.page = function (category, page, properties, options, globalIntegrations) {\n var _a;\n var event = {\n type: 'page',\n properties: __assign({}, properties),\n options: __assign({}, options),\n integrations: __assign({}, globalIntegrations)\n };\n if (category !== null) {\n event.category = category;\n event.properties = (_a = event.properties) !== null && _a !== void 0 ? _a : {};\n event.properties.category = category;\n }\n if (page !== null) {\n event.name = page;\n }\n return this.normalize(__assign(__assign({}, this.baseEvent()), event));\n };\n EventFactory.prototype.screen = function (category, screen, properties, options, globalIntegrations) {\n var event = {\n type: 'screen',\n properties: __assign({}, properties),\n options: __assign({}, options),\n integrations: __assign({}, globalIntegrations)\n };\n if (category !== null) {\n event.category = category;\n }\n if (screen !== null) {\n event.name = screen;\n }\n return this.normalize(__assign(__assign({}, this.baseEvent()), event));\n };\n EventFactory.prototype.identify = function (userId, traits, options, globalIntegrations) {\n return this.normalize(__assign(__assign({}, this.baseEvent()), {\n type: 'identify',\n userId: userId,\n traits: traits,\n options: __assign({}, options),\n integrations: __assign({}, globalIntegrations)\n }));\n };\n EventFactory.prototype.group = function (groupId, traits, options, globalIntegrations) {\n return this.normalize(__assign(__assign({}, this.baseEvent()), {\n type: 'group',\n traits: traits,\n options: __assign({}, options),\n integrations: __assign({}, globalIntegrations),\n groupId: groupId\n }));\n };\n EventFactory.prototype.alias = function (to, from, options, globalIntegrations) {\n var base = {\n userId: to,\n type: 'alias',\n options: __assign({}, options),\n integrations: __assign({}, globalIntegrations)\n };\n if (from !== null) {\n base.previousId = from;\n }\n if (to === undefined) {\n return this.normalize(__assign(__assign({}, base), this.baseEvent()));\n }\n return this.normalize(__assign(__assign({}, this.baseEvent()), base));\n };\n EventFactory.prototype.baseEvent = function () {\n var base = {\n integrations: {},\n options: {}\n };\n var user = this.user;\n if (user.id()) {\n base.userId = user.id();\n }\n if (user.anonymousId()) {\n base.anonymousId = user.anonymousId();\n }\n return base;\n };\n /**\n * Builds the context part of an event based on \"foreign\" keys that\n * are provided in the `Options` parameter for an Event\n */\n EventFactory.prototype.context = function (event) {\n var _a, _b, _c;\n var optionsKeys = ['integrations', 'anonymousId', 'timestamp', 'userId'];\n var options = (_a = event.options) !== null && _a !== void 0 ? _a : {};\n delete options['integrations'];\n var providedOptionsKeys = Object.keys(options);\n var context = (_c = (_b = event.options) === null || _b === void 0 ? void 0 : _b.context) !== null && _c !== void 0 ? _c : {};\n var overrides = {};\n providedOptionsKeys.forEach(function (key) {\n if (key === 'context') {\n return;\n }\n if (optionsKeys.includes(key)) {\n dset(overrides, key, options[key]);\n } else {\n dset(context, key, options[key]);\n }\n });\n return [context, overrides];\n };\n EventFactory.prototype.normalize = function (event) {\n var _a, _b, _c;\n // set anonymousId globally if we encounter an override\n //segment.com/docs/connections/sources/catalog/libraries/website/javascript/identity/#override-the-anonymous-id-using-the-options-object\n ((_a = event.options) === null || _a === void 0 ? void 0 : _a.anonymousId) && this.user.anonymousId(event.options.anonymousId);\n var integrationBooleans = Object.keys((_b = event.integrations) !== null && _b !== void 0 ? _b : {}).reduce(function (integrationNames, name) {\n var _a;\n var _b;\n return __assign(__assign({}, integrationNames), (_a = {}, _a[name] = Boolean((_b = event.integrations) === null || _b === void 0 ? void 0 : _b[name]), _a));\n }, {});\n // This is pretty trippy, but here's what's going on:\n // - a) We don't pass initial integration options as part of the event, only if they're true or false\n // - b) We do accept per integration overrides (like integrations.Amplitude.sessionId) at the event level\n // Hence the need to convert base integration options to booleans, but maintain per event integration overrides\n var allIntegrations = __assign(__assign({}, integrationBooleans), (_c = event.options) === null || _c === void 0 ? void 0 : _c.integrations);\n var _d = this.context(event),\n context = _d[0],\n overrides = _d[1];\n var options = event.options,\n rest = __rest(event, [\"options\"]);\n var body = __assign(__assign(__assign({\n timestamp: new Date()\n }, rest), {\n context: context,\n integrations: allIntegrations\n }), overrides);\n var messageId = 'ajs-next-' + md5.hash(JSON.stringify(body) + uuid());\n var evt = __assign(__assign({}, body), {\n messageId: messageId\n });\n return evt;\n };\n return EventFactory;\n}();\nexport { EventFactory };","export function isBrowser() {\n return typeof window !== 'undefined';\n}\nexport function isServer() {\n return !isBrowser();\n}","import { isBrowser } from '../utils/environment';\nexport function isOnline() {\n if (isBrowser()) {\n return window.navigator.onLine;\n }\n return true;\n}\nexport function isOffline() {\n return !isOnline();\n}","import { __awaiter, __extends, __generator } from \"tslib\";\nimport { groupBy } from '../utils/group-by';\nimport { ON_REMOVE_FROM_FUTURE } from '../priority-queue';\nimport { CoreContext, ContextCancelation } from '../context';\nimport { Emitter } from '../emitter';\nimport { createTaskGroup } from '../task/task-group';\nimport { attempt, ensure } from './delivery';\nimport { isOffline } from '../connection';\nvar CoreEventQueue = /** @class */function (_super) {\n __extends(CoreEventQueue, _super);\n function CoreEventQueue(priorityQueue) {\n var _this = _super.call(this) || this;\n /**\n * All event deliveries get suspended until all the tasks in this task group are complete.\n * For example: a middleware that augments the event object should be loaded safely as a\n * critical task, this way, event queue will wait for it to be ready before sending events.\n *\n * This applies to all the events already in the queue, and the upcoming ones\n */\n _this.criticalTasks = createTaskGroup();\n _this.plugins = [];\n _this.failedInitializations = [];\n _this.flushing = false;\n _this.queue = priorityQueue;\n _this.queue.on(ON_REMOVE_FROM_FUTURE, function () {\n _this.scheduleFlush(0);\n });\n return _this;\n }\n CoreEventQueue.prototype.register = function (ctx, plugin, instance) {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, Promise.resolve(plugin.load(ctx, instance)).then(function () {\n _this.plugins.push(plugin);\n }).catch(function (err) {\n if (plugin.type === 'destination') {\n _this.failedInitializations.push(plugin.name);\n console.warn(plugin.name, err);\n ctx.log('warn', 'Failed to load destination', {\n plugin: plugin.name,\n error: err\n });\n return;\n }\n throw err;\n })];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n CoreEventQueue.prototype.deregister = function (ctx, plugin, instance) {\n return __awaiter(this, void 0, void 0, function () {\n var e_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 3,, 4]);\n if (!plugin.unload) return [3 /*break*/, 2];\n return [4 /*yield*/, Promise.resolve(plugin.unload(ctx, instance))];\n case 1:\n _a.sent();\n _a.label = 2;\n case 2:\n this.plugins = this.plugins.filter(function (p) {\n return p.name !== plugin.name;\n });\n return [3 /*break*/, 4];\n case 3:\n e_1 = _a.sent();\n ctx.log('warn', 'Failed to unload destination', {\n plugin: plugin.name,\n error: e_1\n });\n return [3 /*break*/, 4];\n case 4:\n return [2 /*return*/];\n }\n });\n });\n };\n CoreEventQueue.prototype.dispatch = function (ctx) {\n return __awaiter(this, void 0, void 0, function () {\n var willDeliver;\n return __generator(this, function (_a) {\n ctx.log('debug', 'Dispatching');\n ctx.stats.increment('message_dispatched');\n this.queue.push(ctx);\n willDeliver = this.subscribeToDelivery(ctx);\n this.scheduleFlush(0);\n return [2 /*return*/, willDeliver];\n });\n });\n };\n CoreEventQueue.prototype.subscribeToDelivery = function (ctx) {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve) {\n var onDeliver = function (flushed, delivered) {\n if (flushed.isSame(ctx)) {\n _this.off('flush', onDeliver);\n if (delivered) {\n resolve(flushed);\n } else {\n resolve(flushed);\n }\n }\n };\n _this.on('flush', onDeliver);\n })];\n });\n });\n };\n CoreEventQueue.prototype.dispatchSingle = function (ctx) {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n ctx.log('debug', 'Dispatching');\n ctx.stats.increment('message_dispatched');\n this.queue.updateAttempts(ctx);\n ctx.attempts = 1;\n return [2 /*return*/, this.deliver(ctx).catch(function (err) {\n var accepted = _this.enqueuRetry(err, ctx);\n if (!accepted) {\n ctx.setFailedDelivery({\n reason: err\n });\n return ctx;\n }\n return _this.subscribeToDelivery(ctx);\n })];\n });\n });\n };\n CoreEventQueue.prototype.isEmpty = function () {\n return this.queue.length === 0;\n };\n CoreEventQueue.prototype.scheduleFlush = function (timeout) {\n var _this = this;\n if (timeout === void 0) {\n timeout = 500;\n }\n if (this.flushing) {\n return;\n }\n this.flushing = true;\n setTimeout(function () {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n _this.flush().then(function () {\n setTimeout(function () {\n _this.flushing = false;\n if (_this.queue.length) {\n _this.scheduleFlush(0);\n }\n }, 0);\n });\n }, timeout);\n };\n CoreEventQueue.prototype.deliver = function (ctx) {\n return __awaiter(this, void 0, void 0, function () {\n var start, done, err_1, error;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, this.criticalTasks.done()];\n case 1:\n _a.sent();\n start = Date.now();\n _a.label = 2;\n case 2:\n _a.trys.push([2, 4,, 5]);\n return [4 /*yield*/, this.flushOne(ctx)];\n case 3:\n ctx = _a.sent();\n done = Date.now() - start;\n this.emit('delivery_success', ctx);\n ctx.stats.gauge('delivered', done);\n ctx.log('debug', 'Delivered', ctx.event);\n return [2 /*return*/, ctx];\n case 4:\n err_1 = _a.sent();\n error = err_1;\n ctx.log('error', 'Failed to deliver', error);\n this.emit('delivery_failure', ctx, error);\n ctx.stats.increment('delivery_failed');\n throw err_1;\n case 5:\n return [2 /*return*/];\n }\n });\n });\n };\n CoreEventQueue.prototype.enqueuRetry = function (err, ctx) {\n var retriable = !(err instanceof ContextCancelation) || err.retry;\n if (!retriable) {\n return false;\n }\n return this.queue.pushWithBackoff(ctx);\n };\n CoreEventQueue.prototype.flush = function () {\n return __awaiter(this, void 0, void 0, function () {\n var ctx, err_2, accepted;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this.queue.length === 0 || isOffline()) {\n return [2 /*return*/, []];\n }\n ctx = this.queue.pop();\n if (!ctx) {\n return [2 /*return*/, []];\n }\n ctx.attempts = this.queue.getAttempts(ctx);\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3,, 4]);\n return [4 /*yield*/, this.deliver(ctx)];\n case 2:\n ctx = _a.sent();\n this.emit('flush', ctx, true);\n return [3 /*break*/, 4];\n case 3:\n err_2 = _a.sent();\n accepted = this.enqueuRetry(err_2, ctx);\n if (!accepted) {\n ctx.setFailedDelivery({\n reason: err_2\n });\n this.emit('flush', ctx, false);\n }\n return [2 /*return*/, []];\n case 4:\n return [2 /*return*/, [ctx]];\n }\n });\n });\n };\n CoreEventQueue.prototype.isReady = function () {\n // return this.plugins.every((p) => p.isLoaded())\n // should we wait for every plugin to load?\n return true;\n };\n CoreEventQueue.prototype.availableExtensions = function (denyList) {\n var available = this.plugins.filter(function (p) {\n var _a, _b, _c;\n // Only filter out destination plugins or the Segment.io plugin\n if (p.type !== 'destination' && p.name !== 'Segment.io') {\n return true;\n }\n var alternativeNameMatch = undefined;\n (_a = p.alternativeNames) === null || _a === void 0 ? void 0 : _a.forEach(function (name) {\n if (denyList[name] !== undefined) {\n alternativeNameMatch = denyList[name];\n }\n });\n // Explicit integration option takes precedence, `All: false` does not apply to Segment.io\n return (_c = (_b = denyList[p.name]) !== null && _b !== void 0 ? _b : alternativeNameMatch) !== null && _c !== void 0 ? _c : (p.name === 'Segment.io' ? true : denyList.All) !== false;\n });\n var _a = groupBy(available, 'type'),\n _b = _a.before,\n before = _b === void 0 ? [] : _b,\n _c = _a.enrichment,\n enrichment = _c === void 0 ? [] : _c,\n _d = _a.destination,\n destination = _d === void 0 ? [] : _d,\n _e = _a.after,\n after = _e === void 0 ? [] : _e;\n return {\n before: before,\n enrichment: enrichment,\n destinations: destination,\n after: after\n };\n };\n CoreEventQueue.prototype.flushOne = function (ctx) {\n var _a, _b;\n return __awaiter(this, void 0, void 0, function () {\n var _c, before, enrichment, _i, before_1, beforeWare, temp, _d, enrichment_1, enrichmentWare, temp, _e, destinations, after, afterCalls;\n return __generator(this, function (_f) {\n switch (_f.label) {\n case 0:\n if (!this.isReady()) {\n throw new Error('Not ready');\n }\n if (ctx.attempts > 1) {\n this.emit('delivery_retry', ctx);\n }\n _c = this.availableExtensions((_a = ctx.event.integrations) !== null && _a !== void 0 ? _a : {}), before = _c.before, enrichment = _c.enrichment;\n _i = 0, before_1 = before;\n _f.label = 1;\n case 1:\n if (!(_i < before_1.length)) return [3 /*break*/, 4];\n beforeWare = before_1[_i];\n return [4 /*yield*/, ensure(ctx, beforeWare)];\n case 2:\n temp = _f.sent();\n if (temp instanceof CoreContext) {\n ctx = temp;\n }\n this.emit('message_enriched', ctx, beforeWare);\n _f.label = 3;\n case 3:\n _i++;\n return [3 /*break*/, 1];\n case 4:\n _d = 0, enrichment_1 = enrichment;\n _f.label = 5;\n case 5:\n if (!(_d < enrichment_1.length)) return [3 /*break*/, 8];\n enrichmentWare = enrichment_1[_d];\n return [4 /*yield*/, attempt(ctx, enrichmentWare)];\n case 6:\n temp = _f.sent();\n if (temp instanceof CoreContext) {\n ctx = temp;\n }\n this.emit('message_enriched', ctx, enrichmentWare);\n _f.label = 7;\n case 7:\n _d++;\n return [3 /*break*/, 5];\n case 8:\n _e = this.availableExtensions((_b = ctx.event.integrations) !== null && _b !== void 0 ? _b : {}), destinations = _e.destinations, after = _e.after;\n return [4 /*yield*/, new Promise(function (resolve, reject) {\n setTimeout(function () {\n var attempts = destinations.map(function (destination) {\n return attempt(ctx, destination);\n });\n Promise.all(attempts).then(resolve).catch(reject);\n }, 0);\n })];\n case 9:\n _f.sent();\n ctx.stats.increment('message_delivered');\n this.emit('message_delivered', ctx);\n afterCalls = after.map(function (after) {\n return attempt(ctx, after);\n });\n return [4 /*yield*/, Promise.all(afterCalls)];\n case 10:\n _f.sent();\n return [2 /*return*/, ctx];\n }\n });\n });\n };\n return CoreEventQueue;\n}(Emitter);\nexport { CoreEventQueue };","import { __extends } from \"tslib\";\nimport { PersistedPriorityQueue } from '../../lib/priority-queue/persisted';\nimport { CoreEventQueue } from '@segment/analytics-core';\nvar EventQueue = /** @class */function (_super) {\n __extends(EventQueue, _super);\n function EventQueue(priorityQueue) {\n return _super.call(this, priorityQueue !== null && priorityQueue !== void 0 ? priorityQueue : new PersistedPriorityQueue(4, 'event-queue')) || this;\n }\n return EventQueue;\n}(CoreEventQueue);\nexport { EventQueue };","import { isThenable } from '../utils/is-thenable';\nexport var createTaskGroup = function () {\n var taskCompletionPromise;\n var resolvePromise;\n var count = 0;\n return {\n done: function () {\n return taskCompletionPromise;\n },\n run: function (op) {\n var returnValue = op();\n if (isThenable(returnValue)) {\n if (++count === 1) {\n taskCompletionPromise = new Promise(function (res) {\n return resolvePromise = res;\n });\n }\n returnValue.finally(function () {\n return --count === 0 && resolvePromise();\n });\n }\n return returnValue;\n }\n };\n};","/**\n * Check if thenable\n * (instanceof Promise doesn't respect realms)\n */\nexport var isThenable = function (value) {\n return typeof value === 'object' && value !== null && 'then' in value && typeof value.then === 'function';\n};","import { __spreadArray } from \"tslib\";\nexport function groupBy(collection, grouper) {\n var results = {};\n collection.forEach(function (item) {\n var _a;\n var key = undefined;\n if (typeof grouper === 'string') {\n var suggestedKey = item[grouper];\n key = typeof suggestedKey !== 'string' ? JSON.stringify(suggestedKey) : suggestedKey;\n } else if (grouper instanceof Function) {\n key = grouper(item);\n }\n if (key === undefined) {\n return;\n }\n results[key] = __spreadArray(__spreadArray([], (_a = results[key]) !== null && _a !== void 0 ? _a : [], true), [item], false);\n });\n return results;\n}","import { __assign, __awaiter, __extends, __generator, __spreadArray } from \"tslib\";\nimport { resolveAliasArguments, resolveArguments, resolvePageArguments, resolveUserArguments } from '../arguments-resolver';\nimport { isOffline } from '../connection';\nimport { Context } from '../context';\nimport { dispatch, Emitter } from '@segment/analytics-core';\nimport { EventFactory } from '../events';\nimport { EventQueue } from '../queue/event-queue';\nimport { getAvailableStorageOptions, Group, UniversalStorage, User } from '../user';\nimport autoBind from '../../lib/bind-all';\nimport { PersistedPriorityQueue } from '../../lib/priority-queue/persisted';\nimport { version } from '../../generated/version';\nimport { PriorityQueue } from '../../lib/priority-queue';\nimport { getGlobal } from '../../lib/get-global';\nvar deprecationWarning = 'This is being deprecated and will be not be available in future releases of Analytics JS';\n// reference any pre-existing \"analytics\" object so a user can restore the reference\nvar global = getGlobal();\nvar _analytics = global === null || global === void 0 ? void 0 : global.analytics;\nfunction createDefaultQueue(retryQueue, disablePersistance) {\n if (retryQueue === void 0) {\n retryQueue = false;\n }\n if (disablePersistance === void 0) {\n disablePersistance = false;\n }\n var maxAttempts = retryQueue ? 4 : 1;\n var priorityQueue = disablePersistance ? new PriorityQueue(maxAttempts, []) : new PersistedPriorityQueue(maxAttempts, 'event-queue');\n return new EventQueue(priorityQueue);\n}\n/* analytics-classic stubs */\nfunction _stub() {\n console.warn(deprecationWarning);\n}\nvar Analytics = /** @class */function (_super) {\n __extends(Analytics, _super);\n function Analytics(settings, options, queue, user, group) {\n var _this = this;\n var _a, _b, _c;\n _this = _super.call(this) || this;\n _this._debug = false;\n _this.initialized = false;\n _this.user = function () {\n return _this._user;\n };\n _this.init = _this.initialize.bind(_this);\n _this.log = _stub;\n _this.addIntegrationMiddleware = _stub;\n _this.listeners = _stub;\n _this.addEventListener = _stub;\n _this.removeAllListeners = _stub;\n _this.removeListener = _stub;\n _this.removeEventListener = _stub;\n _this.hasListeners = _stub;\n _this.add = _stub;\n _this.addIntegration = _stub;\n var cookieOptions = options === null || options === void 0 ? void 0 : options.cookie;\n var disablePersistance = (_a = options === null || options === void 0 ? void 0 : options.disableClientPersistence) !== null && _a !== void 0 ? _a : false;\n _this.settings = settings;\n _this.settings.timeout = (_b = _this.settings.timeout) !== null && _b !== void 0 ? _b : 300;\n _this.queue = queue !== null && queue !== void 0 ? queue : createDefaultQueue(options === null || options === void 0 ? void 0 : options.retryQueue, disablePersistance);\n _this._universalStorage = new UniversalStorage(disablePersistance ? ['memory'] : ['localStorage', 'cookie', 'memory'], getAvailableStorageOptions(cookieOptions));\n _this._user = user !== null && user !== void 0 ? user : new User(disablePersistance ? __assign(__assign({}, options === null || options === void 0 ? void 0 : options.user), {\n persist: false\n }) : options === null || options === void 0 ? void 0 : options.user, cookieOptions).load();\n _this._group = group !== null && group !== void 0 ? group : new Group(disablePersistance ? __assign(__assign({}, options === null || options === void 0 ? void 0 : options.group), {\n persist: false\n }) : options === null || options === void 0 ? void 0 : options.group, cookieOptions).load();\n _this.eventFactory = new EventFactory(_this._user);\n _this.integrations = (_c = options === null || options === void 0 ? void 0 : options.integrations) !== null && _c !== void 0 ? _c : {};\n _this.options = options !== null && options !== void 0 ? options : {};\n autoBind(_this);\n return _this;\n }\n Object.defineProperty(Analytics.prototype, \"storage\", {\n get: function () {\n return this._universalStorage;\n },\n enumerable: false,\n configurable: true\n });\n Analytics.prototype.track = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var _a, name, data, opts, cb, segmentEvent;\n var _this = this;\n return __generator(this, function (_b) {\n _a = resolveArguments.apply(void 0, args), name = _a[0], data = _a[1], opts = _a[2], cb = _a[3];\n segmentEvent = this.eventFactory.track(name, data, opts, this.integrations);\n return [2 /*return*/, this._dispatch(segmentEvent, cb).then(function (ctx) {\n _this.emit('track', name, ctx.event.properties, ctx.event.options);\n return ctx;\n })];\n });\n });\n };\n Analytics.prototype.page = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var _a, category, page, properties, options, callback, segmentEvent;\n var _this = this;\n return __generator(this, function (_b) {\n _a = resolvePageArguments.apply(void 0, args), category = _a[0], page = _a[1], properties = _a[2], options = _a[3], callback = _a[4];\n segmentEvent = this.eventFactory.page(category, page, properties, options, this.integrations);\n return [2 /*return*/, this._dispatch(segmentEvent, callback).then(function (ctx) {\n _this.emit('page', category, page, ctx.event.properties, ctx.event.options);\n return ctx;\n })];\n });\n });\n };\n Analytics.prototype.identify = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var _a, id, _traits, options, callback, segmentEvent;\n var _this = this;\n return __generator(this, function (_b) {\n _a = resolveUserArguments(this._user).apply(void 0, args), id = _a[0], _traits = _a[1], options = _a[2], callback = _a[3];\n this._user.identify(id, _traits);\n segmentEvent = this.eventFactory.identify(this._user.id(), this._user.traits(), options, this.integrations);\n return [2 /*return*/, this._dispatch(segmentEvent, callback).then(function (ctx) {\n _this.emit('identify', ctx.event.userId, ctx.event.traits, ctx.event.options);\n return ctx;\n })];\n });\n });\n };\n Analytics.prototype.group = function () {\n var _this = this;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (args.length === 0) {\n return this._group;\n }\n var _a = resolveUserArguments(this._group).apply(void 0, args),\n id = _a[0],\n _traits = _a[1],\n options = _a[2],\n callback = _a[3];\n this._group.identify(id, _traits);\n var groupId = this._group.id();\n var groupTraits = this._group.traits();\n var segmentEvent = this.eventFactory.group(groupId, groupTraits, options, this.integrations);\n return this._dispatch(segmentEvent, callback).then(function (ctx) {\n _this.emit('group', ctx.event.groupId, ctx.event.traits, ctx.event.options);\n return ctx;\n });\n };\n Analytics.prototype.alias = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var _a, to, from, options, callback, segmentEvent;\n var _this = this;\n return __generator(this, function (_b) {\n _a = resolveAliasArguments.apply(void 0, args), to = _a[0], from = _a[1], options = _a[2], callback = _a[3];\n segmentEvent = this.eventFactory.alias(to, from, options, this.integrations);\n return [2 /*return*/, this._dispatch(segmentEvent, callback).then(function (ctx) {\n _this.emit('alias', to, from, ctx.event.options);\n return ctx;\n })];\n });\n });\n };\n Analytics.prototype.screen = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var _a, category, page, properties, options, callback, segmentEvent;\n var _this = this;\n return __generator(this, function (_b) {\n _a = resolvePageArguments.apply(void 0, args), category = _a[0], page = _a[1], properties = _a[2], options = _a[3], callback = _a[4];\n segmentEvent = this.eventFactory.screen(category, page, properties, options, this.integrations);\n return [2 /*return*/, this._dispatch(segmentEvent, callback).then(function (ctx) {\n _this.emit('screen', category, page, ctx.event.properties, ctx.event.options);\n return ctx;\n })];\n });\n });\n };\n Analytics.prototype.trackClick = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var autotrack;\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n return [4 /*yield*/, import(/* webpackChunkName: \"auto-track\" */'../auto-track')];\n case 1:\n autotrack = _b.sent();\n return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray([this], args, false))];\n }\n });\n });\n };\n Analytics.prototype.trackLink = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var autotrack;\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n return [4 /*yield*/, import(/* webpackChunkName: \"auto-track\" */'../auto-track')];\n case 1:\n autotrack = _b.sent();\n return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray([this], args, false))];\n }\n });\n });\n };\n Analytics.prototype.trackSubmit = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var autotrack;\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n return [4 /*yield*/, import(/* webpackChunkName: \"auto-track\" */'../auto-track')];\n case 1:\n autotrack = _b.sent();\n return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray([this], args, false))];\n }\n });\n });\n };\n Analytics.prototype.trackForm = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var autotrack;\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n return [4 /*yield*/, import(/* webpackChunkName: \"auto-track\" */'../auto-track')];\n case 1:\n autotrack = _b.sent();\n return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray([this], args, false))];\n }\n });\n });\n };\n Analytics.prototype.register = function () {\n var plugins = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n plugins[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var ctx, registrations;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n ctx = Context.system();\n registrations = plugins.map(function (xt) {\n return _this.queue.register(ctx, xt, _this);\n });\n return [4 /*yield*/, Promise.all(registrations)];\n case 1:\n _a.sent();\n return [2 /*return*/, ctx];\n }\n });\n });\n };\n Analytics.prototype.deregister = function () {\n var plugins = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n plugins[_i] = arguments[_i];\n }\n return __awaiter(this, void 0, void 0, function () {\n var ctx, deregistrations;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n ctx = Context.system();\n deregistrations = plugins.map(function (pl) {\n var plugin = _this.queue.plugins.find(function (p) {\n return p.name === pl;\n });\n if (plugin) {\n return _this.queue.deregister(ctx, plugin, _this);\n } else {\n ctx.log('warn', \"plugin \".concat(pl, \" not found\"));\n }\n });\n return [4 /*yield*/, Promise.all(deregistrations)];\n case 1:\n _a.sent();\n return [2 /*return*/, ctx];\n }\n });\n });\n };\n Analytics.prototype.debug = function (toggle) {\n // Make sure legacy ajs debug gets turned off if it was enabled before upgrading.\n if (toggle === false && localStorage.getItem('debug')) {\n localStorage.removeItem('debug');\n }\n this._debug = toggle;\n return this;\n };\n Analytics.prototype.reset = function () {\n this._user.reset();\n this._group.reset();\n this.emit('reset');\n };\n Analytics.prototype.timeout = function (timeout) {\n this.settings.timeout = timeout;\n };\n Analytics.prototype._dispatch = function (event, callback) {\n return __awaiter(this, void 0, void 0, function () {\n var ctx;\n return __generator(this, function (_a) {\n ctx = new Context(event);\n if (isOffline() && !this.options.retryQueue) {\n return [2 /*return*/, ctx];\n }\n return [2 /*return*/, dispatch(ctx, this.queue, this, {\n callback: callback,\n debug: this._debug,\n timeout: this.settings.timeout\n })];\n });\n });\n };\n Analytics.prototype.addSourceMiddleware = function (fn) {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, this.queue.criticalTasks.run(function () {\n return __awaiter(_this, void 0, void 0, function () {\n var sourceMiddlewarePlugin, integrations, plugin;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, import(/* webpackChunkName: \"middleware\" */'../../plugins/middleware')];\n case 1:\n sourceMiddlewarePlugin = _a.sent().sourceMiddlewarePlugin;\n integrations = {};\n this.queue.plugins.forEach(function (plugin) {\n if (plugin.type === 'destination') {\n return integrations[plugin.name] = true;\n }\n });\n plugin = sourceMiddlewarePlugin(fn, integrations);\n return [4 /*yield*/, this.register(plugin)];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n })];\n case 1:\n _a.sent();\n return [2 /*return*/, this];\n }\n });\n });\n };\n /* TODO: This does not have to return a promise? */\n Analytics.prototype.addDestinationMiddleware = function (integrationName) {\n var middlewares = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n middlewares[_i - 1] = arguments[_i];\n }\n var legacyDestinations = this.queue.plugins.filter(function (xt) {\n return xt.name.toLowerCase() === integrationName.toLowerCase();\n });\n legacyDestinations.forEach(function (destination) {\n destination.addMiddleware.apply(destination, middlewares);\n });\n return Promise.resolve(this);\n };\n Analytics.prototype.setAnonymousId = function (id) {\n return this._user.anonymousId(id);\n };\n Analytics.prototype.queryString = function (query) {\n return __awaiter(this, void 0, void 0, function () {\n var queryString;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this.options.useQueryString === false) {\n return [2 /*return*/, []];\n }\n return [4 /*yield*/, import(/* webpackChunkName: \"queryString\" */'../query-string')];\n case 1:\n queryString = _a.sent().queryString;\n return [2 /*return*/, queryString(this, query)];\n }\n });\n });\n };\n /**\n * @deprecated This function does not register a destination plugin.\n *\n * Instantiates a legacy Analytics.js destination.\n *\n * This function does not register the destination as an Analytics.JS plugin,\n * all the it does it to invoke the factory function back.\n */\n Analytics.prototype.use = function (legacyPluginFactory) {\n legacyPluginFactory(this);\n return this;\n };\n Analytics.prototype.ready = function (callback) {\n if (callback === void 0) {\n callback = function (res) {\n return res;\n };\n }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, Promise.all(this.queue.plugins.map(function (i) {\n return i.ready ? i.ready() : Promise.resolve();\n })).then(function (res) {\n callback(res);\n return res;\n })];\n });\n });\n };\n // analytics-classic api\n Analytics.prototype.noConflict = function () {\n console.warn(deprecationWarning);\n window.analytics = _analytics !== null && _analytics !== void 0 ? _analytics : this;\n return this;\n };\n Analytics.prototype.normalize = function (msg) {\n console.warn(deprecationWarning);\n return this.eventFactory.normalize(msg);\n };\n Object.defineProperty(Analytics.prototype, \"failedInitializations\", {\n get: function () {\n console.warn(deprecationWarning);\n return this.queue.failedInitializations;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Analytics.prototype, \"VERSION\", {\n get: function () {\n return version;\n },\n enumerable: false,\n configurable: true\n });\n /* @deprecated - noop */\n Analytics.prototype.initialize = function (_settings, _options) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n console.warn(deprecationWarning);\n return [2 /*return*/, Promise.resolve(this)];\n });\n });\n };\n Analytics.prototype.pageview = function (url) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n console.warn(deprecationWarning);\n return [4 /*yield*/, this.page({\n path: url\n })];\n case 1:\n _a.sent();\n return [2 /*return*/, this];\n }\n });\n });\n };\n Object.defineProperty(Analytics.prototype, \"plugins\", {\n get: function () {\n var _a;\n console.warn(deprecationWarning);\n // @ts-expect-error\n return (_a = this._plugins) !== null && _a !== void 0 ? _a : {};\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Analytics.prototype, \"Integrations\", {\n get: function () {\n console.warn(deprecationWarning);\n var integrations = this.queue.plugins.filter(function (plugin) {\n return plugin.type === 'destination';\n }).reduce(function (acc, plugin) {\n var name = \"\".concat(plugin.name.toLowerCase().replace('.', '').split(' ').join('-'), \"Integration\");\n // @ts-expect-error\n var integration = window[name];\n if (!integration) {\n return acc;\n }\n var nested = integration.Integration; // hack - Google Analytics function resides in the \"Integration\" field\n if (nested) {\n acc[plugin.name] = nested;\n return acc;\n }\n acc[plugin.name] = integration;\n return acc;\n }, {});\n return integrations;\n },\n enumerable: false,\n configurable: true\n });\n // snippet function\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Analytics.prototype.push = function (args) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n var an = this;\n var method = args.shift();\n if (method) {\n if (!an[method]) return;\n }\n an[method].apply(this, args);\n };\n return Analytics;\n}(Emitter);\nexport { Analytics };","/**\n * Get the current page's canonical URL.\n *\n * @return {string|undefined}\n */\nfunction canonical() {\n var tags = document.getElementsByTagName('link');\n var canon = '';\n Array.prototype.slice.call(tags).forEach(function (tag) {\n if (tag.getAttribute('rel') === 'canonical') {\n canon = tag.getAttribute('href');\n }\n });\n return canon;\n}\n/**\n * Return the canonical path for the page.\n */\nfunction canonicalPath() {\n var canon = canonical();\n if (!canon) {\n return window.location.pathname;\n }\n var a = document.createElement('a');\n a.href = canon;\n var pathname = !a.pathname.startsWith('/') ? '/' + a.pathname : a.pathname;\n return pathname;\n}\n/**\n * Return the canonical URL for the page concat the given `search`\n * and strip the hash.\n */\nexport function canonicalUrl(search) {\n if (search === void 0) {\n search = '';\n }\n var canon = canonical();\n if (canon) {\n return canon.includes('?') ? canon : \"\".concat(canon).concat(search);\n }\n var url = window.location.href;\n var i = url.indexOf('#');\n return i === -1 ? url : url.slice(0, i);\n}\n/**\n * Return a default `options.context.page` object.\n *\n * https://segment.com/docs/spec/page/#properties\n */\nexport function pageDefaults() {\n return {\n path: canonicalPath(),\n referrer: document.referrer,\n search: location.search,\n title: document.title,\n url: canonicalUrl(location.search)\n };\n}\nfunction enrichPageContext(ctx) {\n var _a;\n var event = ctx.event;\n event.context = event.context || {};\n var pageContext = pageDefaults();\n var pageProps = (_a = event.properties) !== null && _a !== void 0 ? _a : {};\n Object.keys(pageContext).forEach(function (key) {\n if (pageProps[key]) {\n pageContext[key] = pageProps[key];\n }\n });\n if (event.context.page) {\n pageContext = Object.assign({}, pageContext, event.context.page);\n }\n event.context = Object.assign({}, event.context, {\n page: pageContext\n });\n ctx.event = event;\n return ctx;\n}\nexport var pageEnrichment = {\n name: 'Page Enrichment',\n version: '0.1.0',\n isLoaded: function () {\n return true;\n },\n load: function () {\n return Promise.resolve();\n },\n type: 'before',\n page: function (ctx) {\n ctx.event.properties = Object.assign({}, pageDefaults(), ctx.event.properties);\n if (ctx.event.name) {\n ctx.event.properties.name = ctx.event.name;\n }\n return enrichPageContext(ctx);\n },\n alias: enrichPageContext,\n track: enrichPageContext,\n identify: enrichPageContext,\n group: enrichPageContext\n};","import { __assign, __awaiter, __generator } from \"tslib\";\nimport { loadScript } from '../../lib/load-script';\nimport { getCDN } from '../../lib/parse-cdn';\nimport { applyDestinationMiddleware } from '../middleware';\nimport { Context, ContextCancelation } from '../../core/context';\nvar ActionDestination = /** @class */function () {\n function ActionDestination(name, action) {\n this.version = '1.0.0';\n this.alternativeNames = [];\n this.middleware = [];\n this.alias = this._createMethod('alias');\n this.group = this._createMethod('group');\n this.identify = this._createMethod('identify');\n this.page = this._createMethod('page');\n this.screen = this._createMethod('screen');\n this.track = this._createMethod('track');\n this.action = action;\n this.name = name;\n this.type = action.type;\n this.alternativeNames.push(action.name);\n }\n ActionDestination.prototype.addMiddleware = function () {\n var _a;\n var fn = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n fn[_i] = arguments[_i];\n }\n if (this.type === 'destination') {\n (_a = this.middleware).push.apply(_a, fn);\n }\n };\n ActionDestination.prototype.transform = function (ctx) {\n return __awaiter(this, void 0, void 0, function () {\n var modifiedEvent;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n return [4 /*yield*/, applyDestinationMiddleware(this.name, ctx.event, this.middleware)];\n case 1:\n modifiedEvent = _a.sent();\n if (modifiedEvent === null) {\n ctx.cancel(new ContextCancelation({\n retry: false,\n reason: 'dropped by destination middleware'\n }));\n }\n return [2 /*return*/, new Context(modifiedEvent)];\n }\n });\n });\n };\n ActionDestination.prototype._createMethod = function (methodName) {\n var _this = this;\n return function (ctx) {\n return __awaiter(_this, void 0, void 0, function () {\n var transformedContext;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.action[methodName]) return [2 /*return*/, ctx];\n transformedContext = ctx;\n if (!(this.type === 'destination')) return [3 /*break*/, 2];\n return [4 /*yield*/, this.transform(ctx)];\n case 1:\n transformedContext = _a.sent();\n _a.label = 2;\n case 2:\n return [4 /*yield*/, this.action[methodName](transformedContext)];\n case 3:\n _a.sent();\n return [2 /*return*/, ctx];\n }\n });\n });\n };\n };\n /* --- PASSTHROUGH METHODS --- */\n ActionDestination.prototype.isLoaded = function () {\n return this.action.isLoaded();\n };\n ActionDestination.prototype.ready = function () {\n return this.action.ready ? this.action.ready() : Promise.resolve();\n };\n ActionDestination.prototype.load = function (ctx, analytics) {\n return this.action.load(ctx, analytics);\n };\n ActionDestination.prototype.unload = function (ctx, analytics) {\n var _a, _b;\n return (_b = (_a = this.action).unload) === null || _b === void 0 ? void 0 : _b.call(_a, ctx, analytics);\n };\n return ActionDestination;\n}();\nexport { ActionDestination };\nfunction validate(pluginLike) {\n if (!Array.isArray(pluginLike)) {\n throw new Error('Not a valid list of plugins');\n }\n var required = ['load', 'isLoaded', 'name', 'version', 'type'];\n pluginLike.forEach(function (plugin) {\n required.forEach(function (method) {\n var _a;\n if (plugin[method] === undefined) {\n throw new Error(\"Plugin: \".concat((_a = plugin.name) !== null && _a !== void 0 ? _a : 'unknown', \" missing required function \").concat(method));\n }\n });\n });\n return true;\n}\nfunction isPluginDisabled(userIntegrations, remotePlugin) {\n var creationNameEnabled = userIntegrations[remotePlugin.creationName];\n var currentNameEnabled = userIntegrations[remotePlugin.name];\n // Check that the plugin isn't explicitly enabled when All: false\n if (userIntegrations.All === false && !creationNameEnabled && !currentNameEnabled) {\n return true;\n }\n // Check that the plugin isn't explicitly disabled\n if (creationNameEnabled === false || currentNameEnabled === false) {\n return true;\n }\n return false;\n}\nexport function remoteLoader(settings, userIntegrations, mergedIntegrations, obfuscate, routingMiddleware) {\n var _a, _b, _c;\n return __awaiter(this, void 0, void 0, function () {\n var allPlugins, cdn, routingRules, pluginPromises;\n var _this = this;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n allPlugins = [];\n cdn = getCDN();\n routingRules = (_b = (_a = settings.middlewareSettings) === null || _a === void 0 ? void 0 : _a.routingRules) !== null && _b !== void 0 ? _b : [];\n pluginPromises = ((_c = settings.remotePlugins) !== null && _c !== void 0 ? _c : []).map(function (remotePlugin) {\n return __awaiter(_this, void 0, void 0, function () {\n var urlSplit, name_1, obfuscatedURL, error_1, libraryName, pluginFactory, plugin, plugins, routing_1, error_2;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (isPluginDisabled(userIntegrations, remotePlugin)) return [2 /*return*/];\n _a.label = 1;\n case 1:\n _a.trys.push([1, 12,, 13]);\n if (!obfuscate) return [3 /*break*/, 7];\n urlSplit = remotePlugin.url.split('/');\n name_1 = urlSplit[urlSplit.length - 2];\n obfuscatedURL = remotePlugin.url.replace(name_1, btoa(name_1).replace(/=/g, ''));\n _a.label = 2;\n case 2:\n _a.trys.push([2, 4,, 6]);\n return [4 /*yield*/, loadScript(obfuscatedURL.replace('https://cdn.june.so', cdn))];\n case 3:\n _a.sent();\n return [3 /*break*/, 6];\n case 4:\n error_1 = _a.sent();\n // Due to syncing concerns it is possible that the obfuscated action destination (or requested version) might not exist.\n // We should use the unobfuscated version as a fallback.\n return [4 /*yield*/, loadScript(remotePlugin.url.replace('https://cdn.june.so', cdn))];\n case 5:\n // Due to syncing concerns it is possible that the obfuscated action destination (or requested version) might not exist.\n // We should use the unobfuscated version as a fallback.\n _a.sent();\n return [3 /*break*/, 6];\n case 6:\n return [3 /*break*/, 9];\n case 7:\n return [4 /*yield*/, loadScript(remotePlugin.url.replace('https://cdn.june.so', cdn))];\n case 8:\n _a.sent();\n _a.label = 9;\n case 9:\n libraryName = remotePlugin.libraryName;\n if (!(typeof window[libraryName] === 'function')) return [3 /*break*/, 11];\n pluginFactory = window[libraryName];\n return [4 /*yield*/, pluginFactory(__assign(__assign({}, remotePlugin.settings), mergedIntegrations[remotePlugin.name]))];\n case 10:\n plugin = _a.sent();\n plugins = Array.isArray(plugin) ? plugin : [plugin];\n validate(plugins);\n routing_1 = routingRules.filter(function (rule) {\n return rule.destinationName === remotePlugin.creationName;\n });\n plugins.forEach(function (plugin) {\n var wrapper = new ActionDestination(remotePlugin.creationName, plugin);\n /** Make sure we only apply destination filters to actions of the \"destination\" type to avoid causing issues for hybrid destinations */\n if (routing_1.length && routingMiddleware && plugin.type === 'destination') {\n wrapper.addMiddleware(routingMiddleware);\n }\n allPlugins.push(wrapper);\n });\n _a.label = 11;\n case 11:\n return [3 /*break*/, 13];\n case 12:\n error_2 = _a.sent();\n console.warn('Failed to load Remote Plugin', error_2);\n return [3 /*break*/, 13];\n case 13:\n return [2 /*return*/];\n }\n });\n });\n });\n return [4 /*yield*/, Promise.all(pluginPromises)];\n case 1:\n _d.sent();\n return [2 /*return*/, allPlugins.filter(Boolean)];\n }\n });\n });\n}","import { __awaiter, __generator } from \"tslib\";\nimport { fetch } from '../../lib/fetch';\nimport { onPageLeave } from '../../lib/on-page-leave';\nvar MAX_PAYLOAD_SIZE = 500;\nfunction kilobytes(buffer) {\n var size = encodeURI(JSON.stringify(buffer)).split(/%..|./).length - 1;\n return size / 1024;\n}\n/**\n * Checks if the payload is over or close to\n * the maximum payload size allowed by tracking\n * API.\n */\nfunction approachingTrackingAPILimit(buffer) {\n return kilobytes(buffer) >= MAX_PAYLOAD_SIZE - 50;\n}\nfunction chunks(batch) {\n var result = [];\n var index = 0;\n batch.forEach(function (item) {\n var size = kilobytes(result[index]);\n if (size >= 64) {\n index++;\n }\n if (result[index]) {\n result[index].push(item);\n } else {\n result[index] = [item];\n }\n });\n return result;\n}\nexport default function batch(apiHost, config) {\n var _a, _b;\n var buffer = [];\n var pageUnloaded = false;\n var limit = (_a = config === null || config === void 0 ? void 0 : config.size) !== null && _a !== void 0 ? _a : 10;\n var timeout = (_b = config === null || config === void 0 ? void 0 : config.timeout) !== null && _b !== void 0 ? _b : 5000;\n function sendBatch(batch) {\n var _a;\n if (batch.length === 0) {\n return;\n }\n var writeKey = (_a = batch[0]) === null || _a === void 0 ? void 0 : _a.writeKey;\n return fetch(\"https://\".concat(apiHost, \"/b\"), {\n keepalive: pageUnloaded,\n headers: {\n 'Content-Type': 'application/json'\n },\n method: 'post',\n body: JSON.stringify({\n batch: batch,\n writeKey: writeKey\n })\n });\n }\n function flush() {\n return __awaiter(this, void 0, void 0, function () {\n var batch_1;\n return __generator(this, function (_a) {\n if (buffer.length) {\n batch_1 = buffer;\n buffer = [];\n return [2 /*return*/, sendBatch(batch_1)];\n }\n return [2 /*return*/];\n });\n });\n }\n var schedule;\n function scheduleFlush() {\n if (schedule) {\n return;\n }\n schedule = setTimeout(function () {\n schedule = undefined;\n flush().catch(console.error);\n }, timeout);\n }\n onPageLeave(function () {\n pageUnloaded = true;\n if (buffer.length) {\n var reqs = chunks(buffer).map(sendBatch);\n Promise.all(reqs).catch(console.error);\n }\n });\n function dispatch(_url, body) {\n return __awaiter(this, void 0, void 0, function () {\n var bufferOverflow;\n return __generator(this, function (_a) {\n buffer.push(body);\n bufferOverflow = buffer.length >= limit || approachingTrackingAPILimit(buffer);\n return [2 /*return*/, bufferOverflow || pageUnloaded ? flush() : scheduleFlush()];\n });\n });\n }\n return {\n dispatch: dispatch\n };\n}","/**\n * Register event listener on document that fires when:\n * * tab change or tab close (in mobile or desktop)\n * * click back / forward button\n * * click any link or perform any other navigation action\n * * soft refresh / hard refresh\n *\n * adapted from https://stackoverflow.com/questions/3239834/window-onbeforeunload-not-working-on-the-ipad/52864508#52864508,\n */\nexport var onPageLeave = function (cb) {\n var unloaded = false; // prevents double firing if both are supported\n window.addEventListener('pagehide', function () {\n if (unloaded) return;\n unloaded = true;\n cb();\n });\n // using document instead of window because of bug affecting browsers before safari 14 (detail in footnotes https://caniuse.com/?search=visibilitychange)\n document.addEventListener('visibilitychange', function () {\n if (document.visibilityState == 'hidden') {\n if (unloaded) return;\n unloaded = true;\n cb();\n } else {\n unloaded = false;\n }\n });\n};","import { fetch } from '../../lib/fetch';\nexport default function (config) {\n function dispatch(url, body) {\n return fetch(url, {\n keepalive: config === null || config === void 0 ? void 0 : config.keepalive,\n headers: {\n 'Content-Type': 'application/json'\n },\n method: 'post',\n body: JSON.stringify(body)\n });\n }\n return {\n dispatch: dispatch\n };\n}","import { __awaiter, __generator } from \"tslib\";\nimport { isOffline } from '../../core/connection';\nimport { Context } from '../../core/context';\nimport { attempt } from '@segment/analytics-core';\nimport { pWhile } from '../../lib/p-while';\nfunction flushQueue(xt, queue) {\n return __awaiter(this, void 0, void 0, function () {\n var failedQueue;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n failedQueue = [];\n if (isOffline()) {\n return [2 /*return*/, queue];\n }\n return [4 /*yield*/, pWhile(function () {\n return queue.length > 0 && !isOffline();\n }, function () {\n return __awaiter(_this, void 0, void 0, function () {\n var ctx, result, success;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n ctx = queue.pop();\n if (!ctx) {\n return [2 /*return*/];\n }\n return [4 /*yield*/, attempt(ctx, xt)];\n case 1:\n result = _a.sent();\n success = result instanceof Context;\n if (!success) {\n failedQueue.push(ctx);\n }\n return [2 /*return*/];\n }\n });\n });\n })\n // re-add failed tasks\n ];\n case 1:\n _a.sent();\n // re-add failed tasks\n failedQueue.map(function (failed) {\n return queue.pushWithBackoff(failed);\n });\n return [2 /*return*/, queue];\n }\n });\n });\n}\nexport function scheduleFlush(flushing, buffer, xt, scheduleFlush) {\n var _this = this;\n if (flushing) {\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-misused-promises\n setTimeout(function () {\n return __awaiter(_this, void 0, void 0, function () {\n var isFlushing, newBuffer;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n isFlushing = true;\n return [4 /*yield*/, flushQueue(xt, buffer)];\n case 1:\n newBuffer = _a.sent();\n isFlushing = false;\n if (buffer.todo > 0) {\n scheduleFlush(isFlushing, newBuffer, xt, scheduleFlush);\n }\n return [2 /*return*/];\n }\n });\n });\n }, Math.random() * 5000);\n}","import { __assign, __awaiter, __generator } from \"tslib\";\nimport { isOffline } from '../../core/connection';\nimport { PriorityQueue } from '../../lib/priority-queue';\nimport { PersistedPriorityQueue } from '../../lib/priority-queue/persisted';\nimport { toFacade } from '../../lib/to-facade';\nimport batch from './batched-dispatcher';\nimport standard from './fetch-dispatcher';\nimport { normalize } from './normalize';\nimport { scheduleFlush } from './schedule-flush';\nfunction onAlias(analytics, json) {\n var _a, _b, _c, _d;\n var user = analytics.user();\n json.previousId = (_c = (_b = (_a = json.previousId) !== null && _a !== void 0 ? _a : json.from) !== null && _b !== void 0 ? _b : user.id()) !== null && _c !== void 0 ? _c : user.anonymousId();\n json.userId = (_d = json.userId) !== null && _d !== void 0 ? _d : json.to;\n delete json.from;\n delete json.to;\n return json;\n}\nexport function segmentio(analytics, settings, integrations) {\n var _a, _b;\n // Attach `pagehide` before buffer is created so that inflight events are added\n // to the buffer before the buffer persists events in its own `pagehide` handler.\n window.addEventListener('pagehide', function () {\n buffer.push.apply(buffer, Array.from(inflightEvents));\n inflightEvents.clear();\n });\n var buffer = analytics.options.disableClientPersistence ? new PriorityQueue(analytics.queue.queue.maxAttempts, []) : new PersistedPriorityQueue(analytics.queue.queue.maxAttempts, \"dest-june.so\");\n var inflightEvents = new Set();\n var flushing = false;\n var apiHost = (_a = settings === null || settings === void 0 ? void 0 : settings.apiHost) !== null && _a !== void 0 ? _a : 'api.june.so/sdk';\n var protocol = (_b = settings === null || settings === void 0 ? void 0 : settings.protocol) !== null && _b !== void 0 ? _b : 'https';\n var remote = \"\".concat(protocol, \"://\").concat(apiHost);\n var deliveryStrategy = settings === null || settings === void 0 ? void 0 : settings.deliveryStrategy;\n var client = (deliveryStrategy === null || deliveryStrategy === void 0 ? void 0 : deliveryStrategy.strategy) === 'batching' ? batch(apiHost, deliveryStrategy.config) : standard(deliveryStrategy === null || deliveryStrategy === void 0 ? void 0 : deliveryStrategy.config);\n function send(ctx) {\n return __awaiter(this, void 0, void 0, function () {\n var path, json;\n return __generator(this, function (_a) {\n if (isOffline()) {\n buffer.push(ctx);\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n scheduleFlush(flushing, buffer, segmentio, scheduleFlush);\n return [2 /*return*/, ctx];\n }\n inflightEvents.add(ctx);\n path = ctx.event.type;\n json = toFacade(ctx.event).json();\n if (ctx.event.type === 'track') {\n delete json.traits;\n }\n if (ctx.event.type === 'alias') {\n json = onAlias(analytics, json);\n }\n return [2 /*return*/, client.dispatch(\"\".concat(remote, \"/\").concat(path), __assign(__assign({}, normalize(analytics, json, settings, integrations)), {\n writeKey: analytics.settings.writeKey\n })).then(function () {\n return ctx;\n }).catch(function () {\n buffer.pushWithBackoff(ctx);\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n scheduleFlush(flushing, buffer, segmentio, scheduleFlush);\n return ctx;\n }).finally(function () {\n inflightEvents.delete(ctx);\n })];\n });\n });\n }\n var segmentio = {\n name: 'june.so',\n type: 'after',\n version: '0.1.0',\n isLoaded: function () {\n return true;\n },\n load: function () {\n return Promise.resolve();\n },\n track: send,\n identify: send,\n page: send,\n alias: send,\n group: send\n };\n // Buffer may already have items if they were previously stored in localStorage.\n // Start flushing them immediately.\n if (buffer.todo) {\n scheduleFlush(flushing, buffer, segmentio, scheduleFlush);\n }\n return segmentio;\n}","/**\n * Check if thenable\n * (instanceof Promise doesn't respect realms)\n */\nexport var isThenable = function (value) {\n return typeof value === 'object' && value !== null && 'then' in value && typeof value.then === 'function';\n};","import { __awaiter, __generator } from \"tslib\";\nimport { isThenable } from '../../lib/is-thenable';\nimport { version } from '../../generated/version';\nvar flushSyncAnalyticsCalls = function (name, analytics, buffer) {\n buffer.getCalls(name).forEach(function (c) {\n // While the underlying methods are synchronous, the callAnalyticsMethod returns a promise,\n // which normalizes success and error states between async and non-async methods, with no perf penalty.\n callAnalyticsMethod(analytics, c).catch(console.error);\n });\n};\nexport var flushAddSourceMiddleware = function (analytics, buffer) {\n return __awaiter(void 0, void 0, void 0, function () {\n var _i, _a, c;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _i = 0, _a = buffer.getCalls('addSourceMiddleware');\n _b.label = 1;\n case 1:\n if (!(_i < _a.length)) return [3 /*break*/, 4];\n c = _a[_i];\n return [4 /*yield*/, callAnalyticsMethod(analytics, c).catch(console.error)];\n case 2:\n _b.sent();\n _b.label = 3;\n case 3:\n _i++;\n return [3 /*break*/, 1];\n case 4:\n return [2 /*return*/];\n }\n });\n });\n};\nexport var flushOn = flushSyncAnalyticsCalls.bind(this, 'on');\nexport var flushSetAnonymousID = flushSyncAnalyticsCalls.bind(this, 'setAnonymousId');\nexport var flushAnalyticsCallsInNewTask = function (analytics, buffer) {\n buffer.toArray().forEach(function (m) {\n setTimeout(function () {\n callAnalyticsMethod(analytics, m).catch(console.error);\n }, 0);\n });\n};\n/**\n * Represents any and all the buffered method calls that occurred before initialization.\n */\nvar PreInitMethodCallBuffer = /** @class */function () {\n function PreInitMethodCallBuffer() {\n this._value = {};\n }\n PreInitMethodCallBuffer.prototype.toArray = function () {\n var _a;\n return (_a = []).concat.apply(_a, Object.values(this._value));\n };\n PreInitMethodCallBuffer.prototype.getCalls = function (methodName) {\n var _a;\n return (_a = this._value[methodName]) !== null && _a !== void 0 ? _a : [];\n };\n PreInitMethodCallBuffer.prototype.push = function () {\n var _this = this;\n var calls = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n calls[_i] = arguments[_i];\n }\n calls.forEach(function (call) {\n if (_this._value[call.method]) {\n _this._value[call.method].push(call);\n } else {\n _this._value[call.method] = [call];\n }\n });\n return this;\n };\n PreInitMethodCallBuffer.prototype.clear = function () {\n this._value = {};\n return this;\n };\n return PreInitMethodCallBuffer;\n}();\nexport { PreInitMethodCallBuffer };\n/**\n * Call method and mark as \"called\"\n * This function should never throw an error\n */\nexport function callAnalyticsMethod(analytics, call) {\n return __awaiter(this, void 0, void 0, function () {\n var result, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 3,, 4]);\n if (call.called) {\n return [2 /*return*/, undefined];\n }\n call.called = true;\n result = analytics[call.method].apply(analytics, call.args);\n if (!isThenable(result)) return [3 /*break*/, 2];\n // do not defer for non-async methods\n return [4 /*yield*/, result];\n case 1:\n // do not defer for non-async methods\n _a.sent();\n _a.label = 2;\n case 2:\n call.resolve(result);\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n call.reject(err_1);\n return [3 /*break*/, 4];\n case 4:\n return [2 /*return*/];\n }\n });\n });\n}\nvar AnalyticsBuffered = /** @class */function () {\n function AnalyticsBuffered(loader) {\n var _this = this;\n this._preInitBuffer = new PreInitMethodCallBuffer();\n this.trackSubmit = this._createMethod('trackSubmit');\n this.trackClick = this._createMethod('trackClick');\n this.trackLink = this._createMethod('trackLink');\n this.pageView = this._createMethod('pageview');\n this.identify = this._createMethod('identify');\n this.reset = this._createMethod('reset');\n this.group = this._createMethod('group');\n this.track = this._createMethod('track');\n this.ready = this._createMethod('ready');\n this.alias = this._createMethod('alias');\n this.debug = this._createChainableMethod('debug');\n this.page = this._createMethod('page');\n this.once = this._createChainableMethod('once');\n this.off = this._createChainableMethod('off');\n this.on = this._createChainableMethod('on');\n this.addSourceMiddleware = this._createMethod('addSourceMiddleware');\n this.setAnonymousId = this._createMethod('setAnonymousId');\n this.addDestinationMiddleware = this._createMethod('addDestinationMiddleware');\n this.screen = this._createMethod('screen');\n this.register = this._createMethod('register');\n this.deregister = this._createMethod('deregister');\n this.user = this._createMethod('user');\n this.VERSION = version;\n this._promise = loader(this._preInitBuffer);\n this._promise.then(function (_a) {\n var ajs = _a[0],\n ctx = _a[1];\n _this.instance = ajs;\n _this.ctx = ctx;\n }).catch(function () {\n // intentionally do nothing...\n // this result of this promise will be caught by the 'catch' block on this class.\n });\n }\n AnalyticsBuffered.prototype.then = function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return (_a = this._promise).then.apply(_a, args);\n };\n AnalyticsBuffered.prototype.catch = function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return (_a = this._promise).catch.apply(_a, args);\n };\n AnalyticsBuffered.prototype.finally = function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return (_a = this._promise).finally.apply(_a, args);\n };\n AnalyticsBuffered.prototype._createMethod = function (methodName) {\n var _this = this;\n return function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (_this.instance) {\n var result = (_a = _this.instance)[methodName].apply(_a, args);\n return Promise.resolve(result);\n }\n return new Promise(function (resolve, reject) {\n _this._preInitBuffer.push({\n method: methodName,\n args: args,\n resolve: resolve,\n reject: reject,\n called: false\n });\n });\n };\n };\n /**\n * These are for methods that where determining when the method gets \"flushed\" is not important.\n * These methods will resolve when analytics is fully initialized, and return type (other than Analytics)will not be available.\n */\n AnalyticsBuffered.prototype._createChainableMethod = function (methodName) {\n var _this = this;\n return function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (_this.instance) {\n void (_a = _this.instance)[methodName].apply(_a, args);\n return _this;\n } else {\n _this._preInitBuffer.push({\n method: methodName,\n args: args,\n resolve: function () {},\n reject: console.error,\n called: false\n });\n }\n return _this;\n };\n };\n return AnalyticsBuffered;\n}();\nexport { AnalyticsBuffered };","export function transformSnippetCall(_a) {\n var methodName = _a[0],\n args = _a.slice(1);\n return {\n method: methodName,\n resolve: function () {},\n reject: console.error,\n args: args,\n called: false\n };\n}\nvar normalizeSnippetBuffer = function (buffer) {\n return buffer.map(transformSnippetCall);\n};\n/**\n * Fetch the buffered method calls from the window object and normalize them.\n * This removes existing buffered calls from the window object.\n */\nexport var popSnippetWindowBuffer = function () {\n var wa = window.analytics;\n if (!Array.isArray(wa)) return [];\n var buffered = wa.splice(0, wa.length);\n return normalizeSnippetBuffer(buffered);\n};","var _a;\nvar _b;\nimport { getGlobal } from '../../lib/get-global';\nvar env = getGlobal();\n// The code below assumes the inspector extension will use Object.assign\n// to add the inspect interface on to this object reference (unless the\n// extension code ran first and has already set up the variable)\nvar inspectorHost = (_a = (_b = env)['__SEGMENT_INSPECTOR__']) !== null && _a !== void 0 ? _a : _b['__SEGMENT_INSPECTOR__'] = {};\nexport var attachInspector = function (analytics) {\n var _a;\n return (_a = inspectorHost.attach) === null || _a === void 0 ? void 0 : _a.call(inspectorHost, analytics);\n};","import { __assign, __awaiter, __extends, __generator, __spreadArray } from \"tslib\";\nimport { getProcessEnv } from '../lib/get-process-env';\nimport { getCDN, setGlobalCDNUrl } from '../lib/parse-cdn';\nimport { Analytics } from '../core/analytics';\nimport { mergedOptions } from '../lib/merged-options';\nimport { createDeferred } from '../lib/create-deferred';\nimport { pageEnrichment } from '../plugins/page-enrichment';\nimport { remoteLoader } from '../plugins/remote-loader';\nimport { segmentio } from '../plugins/segmentio';\nimport { validation } from '../plugins/validation';\nimport { AnalyticsBuffered, flushAnalyticsCallsInNewTask, flushAddSourceMiddleware, flushSetAnonymousID, flushOn } from '../core/buffer';\nimport { popSnippetWindowBuffer } from '../core/buffer/snippet';\nimport { attachInspector } from '../core/inspector';\nimport { Stats } from '../core/stats';\nexport function loadLegacySettings(cdnURL) {\n var baseUrl = cdnURL !== null && cdnURL !== void 0 ? cdnURL : getCDN();\n baseUrl;\n return {\n integrations: {}\n };\n}\nfunction hasLegacyDestinations(settings) {\n return getProcessEnv().NODE_ENV !== 'test' &&\n // just one integration means segmentio\n Object.keys(settings.integrations).length > 1;\n}\nfunction hasTsubMiddleware(settings) {\n var _a, _b, _c;\n return getProcessEnv().NODE_ENV !== 'test' && ((_c = (_b = (_a = settings.middlewareSettings) === null || _a === void 0 ? void 0 : _a.routingRules) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : 0) > 0;\n}\n/**\n * With AJS classic, we allow users to call setAnonymousId before the library initialization.\n * This is important because some of the destinations will use the anonymousId during the initialization,\n * and if we set anonId afterwards, that wouldn’t impact the destination.\n *\n * Also Ensures events can be registered before library initialization.\n * This is important so users can register to 'initialize' and any events that may fire early during setup.\n */\nfunction flushPreBuffer(analytics, buffer) {\n buffer.push.apply(buffer, popSnippetWindowBuffer());\n flushSetAnonymousID(analytics, buffer);\n flushOn(analytics, buffer);\n}\n/**\n * Finish flushing buffer and cleanup.\n */\nfunction flushFinalBuffer(analytics, buffer) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n // Call popSnippetWindowBuffer before each flush task since there may be\n // analytics calls during async function calls.\n buffer.push.apply(buffer, popSnippetWindowBuffer());\n return [4 /*yield*/, flushAddSourceMiddleware(analytics, buffer)];\n case 1:\n _a.sent();\n buffer.push.apply(buffer, popSnippetWindowBuffer());\n flushAnalyticsCallsInNewTask(analytics, buffer);\n // Clear buffer, just in case analytics is loaded twice; we don't want to fire events off again.\n buffer.clear();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction registerPlugins(legacySettings, analytics, opts, options, plugins, legacyIntegrationSources) {\n var _a, _b, _c;\n return __awaiter(this, void 0, void 0, function () {\n var tsubMiddleware, _d, legacyDestinations, _e, schemaFilter, _f, mergedSettings, remotePlugins, toRegister, shouldIgnoreSegmentio, ctx;\n var _this = this;\n return __generator(this, function (_g) {\n switch (_g.label) {\n case 0:\n if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(/* webpackChunkName: \"tsub-middleware\" */'../plugins/routing-middleware').then(function (mod) {\n return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);\n })];\n case 1:\n _d = _g.sent();\n return [3 /*break*/, 3];\n case 2:\n _d = undefined;\n _g.label = 3;\n case 3:\n tsubMiddleware = _d;\n if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];\n return [4 /*yield*/, import(/* webpackChunkName: \"ajs-destination\" */'../plugins/ajs-destination').then(function (mod) {\n return mod.ajsDestinations(legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);\n })];\n case 4:\n _e = _g.sent();\n return [3 /*break*/, 6];\n case 5:\n _e = [];\n _g.label = 6;\n case 6:\n legacyDestinations = _e;\n if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];\n return [4 /*yield*/, import(/* webpackChunkName: \"legacyVideos\" */'../plugins/legacy-video-plugins').then(function (mod) {\n return mod.loadLegacyVideoPlugins(analytics);\n })];\n case 7:\n _g.sent();\n _g.label = 8;\n case 8:\n if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];\n return [4 /*yield*/, import(/* webpackChunkName: \"schemaFilter\" */'../plugins/schema-filter').then(function (mod) {\n var _a;\n return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);\n })];\n case 9:\n _f = _g.sent();\n return [3 /*break*/, 11];\n case 10:\n _f = undefined;\n _g.label = 11;\n case 11:\n schemaFilter = _f;\n mergedSettings = mergedOptions(legacySettings, options);\n return [4 /*yield*/, remoteLoader(legacySettings, analytics.integrations, mergedSettings, options.obfuscate, tsubMiddleware).catch(function () {\n return [];\n })];\n case 12:\n remotePlugins = _g.sent();\n toRegister = __spreadArray(__spreadArray(__spreadArray([validation, pageEnrichment], plugins, true), legacyDestinations, true), remotePlugins, true);\n if (schemaFilter) {\n toRegister.push(schemaFilter);\n }\n shouldIgnoreSegmentio = ((_b = opts.integrations) === null || _b === void 0 ? void 0 : _b.All) === false && !opts.integrations['june.so'] || opts.integrations && opts.integrations['june.so'] === false;\n if (!shouldIgnoreSegmentio) {\n toRegister.push(segmentio(analytics, mergedSettings['june.so'], legacySettings.integrations));\n }\n return [4 /*yield*/, analytics.register.apply(analytics, toRegister)];\n case 13:\n ctx = _g.sent();\n if (!Object.entries((_c = legacySettings.enabledMiddleware) !== null && _c !== void 0 ? _c : {}).some(function (_a) {\n var enabled = _a[1];\n return enabled;\n })) return [3 /*break*/, 15];\n return [4 /*yield*/, import(/* webpackChunkName: \"remoteMiddleware\" */'../plugins/remote-middleware').then(function (_a) {\n var remoteMiddlewares = _a.remoteMiddlewares;\n return __awaiter(_this, void 0, void 0, function () {\n var middleware, promises;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n return [4 /*yield*/, remoteMiddlewares(ctx, legacySettings, options.obfuscate)];\n case 1:\n middleware = _b.sent();\n promises = middleware.map(function (mdw) {\n return analytics.addSourceMiddleware(mdw);\n });\n return [2 /*return*/, Promise.all(promises)];\n }\n });\n });\n })];\n case 14:\n _g.sent();\n _g.label = 15;\n case 15:\n return [2 /*return*/, ctx];\n }\n });\n });\n}\nfunction loadAnalytics(settings, options, preInitBuffer) {\n var _a, _b, _c, _d, _e;\n if (options === void 0) {\n options = {};\n }\n return __awaiter(this, void 0, void 0, function () {\n var legacySettings, _f, retryQueue, opts, analytics, plugins, classicIntegrations, ctx, search, hash, term;\n return __generator(this, function (_g) {\n switch (_g.label) {\n case 0:\n // this is an ugly side-effect, but it's for the benefits of the plugins that get their cdn via getCDN()\n if (settings.cdnURL) setGlobalCDNUrl(settings.cdnURL);\n if (!((_a = settings.cdnSettings) !== null && _a !== void 0)) return [3 /*break*/, 1];\n _f = _a;\n return [3 /*break*/, 3];\n case 1:\n return [4 /*yield*/, loadLegacySettings(settings.writeKey)];\n case 2:\n _f = _g.sent();\n _g.label = 3;\n case 3:\n legacySettings = _f;\n retryQueue = true;\n opts = __assign({\n retryQueue: retryQueue\n }, options);\n analytics = new Analytics(settings, opts);\n attachInspector(analytics);\n plugins = (_b = settings.plugins) !== null && _b !== void 0 ? _b : [];\n classicIntegrations = (_c = settings.classicIntegrations) !== null && _c !== void 0 ? _c : [];\n Stats.initRemoteMetrics(legacySettings.metrics);\n // needs to be flushed before plugins are registered\n flushPreBuffer(analytics, preInitBuffer);\n return [4 /*yield*/, registerPlugins(legacySettings, analytics, opts, options, plugins, classicIntegrations)];\n case 4:\n ctx = _g.sent();\n search = (_d = window.location.search) !== null && _d !== void 0 ? _d : '';\n hash = (_e = window.location.hash) !== null && _e !== void 0 ? _e : '';\n term = search.length ? search : hash.replace(/(?=#).*(?=\\?)/, '');\n if (!term.includes('ajs_')) return [3 /*break*/, 6];\n return [4 /*yield*/, analytics.queryString(term).catch(console.error)];\n case 5:\n _g.sent();\n _g.label = 6;\n case 6:\n analytics.initialized = true;\n analytics.emit('initialize', settings, options);\n if (options.initialPageview) {\n analytics.page().catch(console.error);\n }\n return [4 /*yield*/, flushFinalBuffer(analytics, preInitBuffer)];\n case 7:\n _g.sent();\n return [2 /*return*/, [analytics, ctx]];\n }\n });\n });\n}\n/**\n * The public browser interface for Segment Analytics\n *\n * @example\n * ```ts\n * export const analytics = new AnalyticsBrowser()\n * analytics.load({ writeKey: 'foo' })\n * ```\n * @link https://github.com/segmentio/analytics-next/#readme\n */\nvar AnalyticsBrowser = /** @class */function (_super) {\n __extends(AnalyticsBrowser, _super);\n function AnalyticsBrowser() {\n var _this = this;\n var _a = createDeferred(),\n loadStart = _a.promise,\n resolveLoadStart = _a.resolve;\n _this = _super.call(this, function (buffer) {\n return loadStart.then(function (_a) {\n var settings = _a[0],\n options = _a[1];\n return loadAnalytics(settings, options, buffer);\n });\n }) || this;\n _this._resolveLoadStart = function (settings, options) {\n return resolveLoadStart([settings, options]);\n };\n return _this;\n }\n /**\n * Fully initialize an analytics instance, including:\n *\n * * Fetching settings from the segment CDN (by default).\n * * Fetching all remote destinations configured by the user (if applicable).\n * * Flushing buffered analytics events.\n * * Loading all middleware.\n *\n * Note:️ This method should only be called *once* in your application.\n *\n * @example\n * ```ts\n * export const analytics = new AnalyticsBrowser()\n * analytics.load({ writeKey: 'foo' })\n * ```\n */\n AnalyticsBrowser.prototype.load = function (settings, options) {\n if (options === void 0) {\n options = {};\n }\n this._resolveLoadStart(settings, options);\n return this;\n };\n /**\n * Instantiates an object exposing Analytics methods.\n *\n * @example\n * ```ts\n * const ajs = AnalyticsBrowser.load({ writeKey: '' })\n *\n * ajs.track(\"foo\")\n * ...\n * ```\n */\n AnalyticsBrowser.load = function (settings, options) {\n if (options === void 0) {\n options = {};\n }\n return new AnalyticsBrowser().load(settings, options);\n };\n AnalyticsBrowser.standalone = function (writeKey, options) {\n return AnalyticsBrowser.load({\n writeKey: writeKey\n }, options).then(function (res) {\n return res[0];\n });\n };\n return AnalyticsBrowser;\n}(AnalyticsBuffered);\nexport { AnalyticsBrowser };","/**\n * Return a promise that can be externally resolved\n */\nexport var createDeferred = function () {\n var resolve;\n var reject;\n var promise = new Promise(function (_resolve, _reject) {\n resolve = _resolve;\n reject = _reject;\n });\n return {\n resolve: resolve,\n reject: reject,\n promise: promise\n };\n};","import { AnalyticsBrowser } from '@june-so/analytics-next';\n\n/**\n * AnalyticsHelper class to initialize and track user analytics\n * @class AnalyticsHelper\n */\nexport class AnalyticsHelper {\n /**\n * @constructor\n * @param {Object} [options={}] - options for analytics\n * @param {string} [options.token] - analytics token\n */\n constructor({ token: analyticsToken } = {}) {\n this.analyticsToken = analyticsToken;\n this.analytics = null;\n this.user = {};\n }\n\n /**\n * Initialize analytics\n * @function\n * @async\n */\n async init() {\n if (!this.analyticsToken) {\n return;\n }\n\n let [analytics] = await AnalyticsBrowser.load({\n writeKey: this.analyticsToken,\n });\n this.analytics = analytics;\n }\n\n /**\n * Identify the user\n * @function\n * @param {Object} user - User object\n */\n identify(user) {\n if (!this.analytics || !user) {\n return;\n }\n\n this.user = user;\n this.analytics.identify(this.user.email, {\n userId: this.user.id,\n email: this.user.email,\n name: this.user.name,\n avatar: this.user.avatar_url,\n });\n\n const { accounts, account_id: accountId } = this.user;\n const [currentAccount] = accounts.filter(\n account => account.id === accountId\n );\n if (currentAccount) {\n this.analytics.group(currentAccount.id, this.user.id, {\n name: currentAccount.name,\n });\n }\n }\n\n /**\n * Track any event\n * @function\n * @param {string} eventName - event name\n * @param {Object} [properties={}] - event properties\n */\n track(eventName, properties = {}) {\n if (!this.analytics) {\n return;\n }\n\n this.analytics.track({\n userId: this.user.id,\n event: eventName,\n properties,\n });\n }\n\n /**\n * Track the page views\n * @function\n * @param {Object} params - Page view properties\n */\n page(params) {\n if (!this.analytics) {\n return;\n }\n\n this.analytics.page(params);\n }\n}\n\n// This object is shared across, the init is called in app/javascript/packs/application.js\nexport default new AnalyticsHelper(window.analyticsConfig);\n","/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\nimport { isNodeEnv } from './node';\nvar fallbackGlobalObject = {};\n/**\n * Safely get global scope object\n *\n * @returns Global scope object\n */\nexport function getGlobalObject() {\n return isNodeEnv() ? global : typeof window !== 'undefined' // eslint-disable-line no-restricted-globals\n ? window // eslint-disable-line no-restricted-globals\n : typeof self !== 'undefined' ? self : fallbackGlobalObject;\n}\n/**\n * Returns a global singleton contained in the global `__SENTRY__` object.\n *\n * If the singleton doesn't already exist in `__SENTRY__`, it will be created using the given factory\n * function and added to the `__SENTRY__` object.\n *\n * @param name name of the global singleton on __SENTRY__\n * @param creator creator Factory function to create the singleton if it doesn't already exist on `__SENTRY__`\n * @param obj (Optional) The global object on which to look for `__SENTRY__`, if not `getGlobalObject`'s return value\n * @returns the singleton\n */\nexport function getGlobalSingleton(name, creator, obj) {\n var global = obj || getGlobalObject();\n var __SENTRY__ = global.__SENTRY__ = global.__SENTRY__ || {};\n var singleton = __SENTRY__[name] || (__SENTRY__[name] = creator());\n return singleton;\n}","import { __assign, __values } from \"tslib\";\nimport { htmlTreeAsString } from './browser';\nimport { isElement, isError, isEvent, isInstanceOf, isPlainObject, isPrimitive } from './is';\nimport { truncate } from './string';\n/**\n * Replace a method in an object with a wrapped version of itself.\n *\n * @param source An object that contains a method to be wrapped.\n * @param name The name of the method to be wrapped.\n * @param replacementFactory A higher-order function that takes the original version of the given method and returns a\n * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to\n * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`.\n * @returns void\n */\nexport function fill(source, name, replacementFactory) {\n if (!(name in source)) {\n return;\n }\n var original = source[name];\n var wrapped = replacementFactory(original);\n // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work\n // otherwise it'll throw \"TypeError: Object.defineProperties called on non-object\"\n if (typeof wrapped === 'function') {\n try {\n markFunctionWrapped(wrapped, original);\n } catch (_Oo) {\n // This can throw if multiple fill happens on a global object like XMLHttpRequest\n // Fixes https://github.com/getsentry/sentry-javascript/issues/2043\n }\n }\n source[name] = wrapped;\n}\n/**\n * Defines a non-enumerable property on the given object.\n *\n * @param obj The object on which to set the property\n * @param name The name of the property to be set\n * @param value The value to which to set the property\n */\nexport function addNonEnumerableProperty(obj, name, value) {\n Object.defineProperty(obj, name, {\n // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n value: value,\n writable: true,\n configurable: true\n });\n}\n/**\n * Remembers the original function on the wrapped function and\n * patches up the prototype.\n *\n * @param wrapped the wrapper function\n * @param original the original function that gets wrapped\n */\nexport function markFunctionWrapped(wrapped, original) {\n var proto = original.prototype || {};\n wrapped.prototype = original.prototype = proto;\n addNonEnumerableProperty(wrapped, '__sentry_original__', original);\n}\n/**\n * This extracts the original function if available. See\n * `markFunctionWrapped` for more information.\n *\n * @param func the function to unwrap\n * @returns the unwrapped version of the function if available.\n */\nexport function getOriginalFunction(func) {\n return func.__sentry_original__;\n}\n/**\n * Encodes given object into url-friendly format\n *\n * @param object An object that contains serializable values\n * @returns string Encoded\n */\nexport function urlEncode(object) {\n return Object.keys(object).map(function (key) {\n return encodeURIComponent(key) + \"=\" + encodeURIComponent(object[key]);\n }).join('&');\n}\n/**\n * Transforms any object into an object literal with all its attributes\n * attached to it.\n *\n * @param value Initial source that we have to transform in order for it to be usable by the serializer\n */\nexport function convertToPlainObject(value) {\n var newObj = value;\n if (isError(value)) {\n newObj = __assign({\n message: value.message,\n name: value.name,\n stack: value.stack\n }, getOwnProperties(value));\n } else if (isEvent(value)) {\n var event_1 = value;\n newObj = __assign({\n type: event_1.type,\n target: serializeEventTarget(event_1.target),\n currentTarget: serializeEventTarget(event_1.currentTarget)\n }, getOwnProperties(event_1));\n if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {\n newObj.detail = event_1.detail;\n }\n }\n return newObj;\n}\n/** Creates a string representation of the target of an `Event` object */\nfunction serializeEventTarget(target) {\n try {\n return isElement(target) ? htmlTreeAsString(target) : Object.prototype.toString.call(target);\n } catch (_oO) {\n return '';\n }\n}\n/** Filters out all but an object's own properties */\nfunction getOwnProperties(obj) {\n var extractedProps = {};\n for (var property in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, property)) {\n extractedProps[property] = obj[property];\n }\n }\n return extractedProps;\n}\n/**\n * Given any captured exception, extract its keys and create a sorted\n * and truncated list that will be used inside the event message.\n * eg. `Non-error exception captured with keys: foo, bar, baz`\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function extractExceptionKeysForMessage(exception, maxLength) {\n if (maxLength === void 0) {\n maxLength = 40;\n }\n var keys = Object.keys(convertToPlainObject(exception));\n keys.sort();\n if (!keys.length) {\n return '[object has no keys]';\n }\n if (keys[0].length >= maxLength) {\n return truncate(keys[0], maxLength);\n }\n for (var includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n var serialized = keys.slice(0, includedKeys).join(', ');\n if (serialized.length > maxLength) {\n continue;\n }\n if (includedKeys === keys.length) {\n return serialized;\n }\n return truncate(serialized, maxLength);\n }\n return '';\n}\n/**\n * Given any object, return the new object with removed keys that value was `undefined`.\n * Works recursively on objects and arrays.\n */\nexport function dropUndefinedKeys(val) {\n var e_1, _a;\n if (isPlainObject(val)) {\n var rv = {};\n try {\n for (var _b = __values(Object.keys(val)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var key = _c.value;\n if (typeof val[key] !== 'undefined') {\n rv[key] = dropUndefinedKeys(val[key]);\n }\n }\n } catch (e_1_1) {\n e_1 = {\n error: e_1_1\n };\n } finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n } finally {\n if (e_1) throw e_1.error;\n }\n }\n return rv;\n }\n if (Array.isArray(val)) {\n return val.map(dropUndefinedKeys);\n }\n return val;\n}\n/**\n * Ensure that something is an object.\n *\n * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper\n * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives.\n *\n * @param wat The subject of the objectification\n * @returns A version of `wat` which can safely be used with `Object` class methods\n */\nexport function objectify(wat) {\n var objectified;\n switch (true) {\n case wat === undefined || wat === null:\n objectified = new String(wat);\n break;\n // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason\n // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as\n // an object in order to wrap it.\n case typeof wat === 'symbol' || typeof wat === 'bigint':\n objectified = Object(wat);\n break;\n // this will catch the remaining primitives: `String`, `Number`, and `Boolean`\n case isPrimitive(wat):\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n objectified = new wat.constructor(wat);\n break;\n // by process of elimination, at this point we know that `wat` must already be an object\n default:\n objectified = wat;\n break;\n }\n return objectified;\n}","export const INBOX_TYPES = {\n WEB: 'Channel::WebWidget',\n FB: 'Channel::FacebookPage',\n TWITTER: 'Channel::TwitterProfile',\n TWILIO: 'Channel::TwilioSms',\n WHATSAPP: 'Channel::Whatsapp',\n API: 'Channel::Api',\n EMAIL: 'Channel::Email',\n TELEGRAM: 'Channel::Telegram',\n LINE: 'Channel::Line',\n SMS: 'Channel::Sms',\n};\n\nexport const INBOX_FEATURES = {\n REPLY_TO: 'replyTo',\n REPLY_TO_OUTGOING: 'replyToOutgoing',\n};\n\n// This is a single source of truth for inbox features\n// This is used to check if a feature is available for a particular inbox or not\nexport const INBOX_FEATURE_MAP = {\n [INBOX_FEATURES.REPLY_TO]: [\n INBOX_TYPES.FB,\n INBOX_TYPES.WEB,\n INBOX_TYPES.TWITTER,\n INBOX_TYPES.WHATSAPP,\n INBOX_TYPES.TELEGRAM,\n INBOX_TYPES.API,\n ],\n [INBOX_FEATURES.REPLY_TO_OUTGOING]: [\n INBOX_TYPES.WEB,\n INBOX_TYPES.TWITTER,\n INBOX_TYPES.WHATSAPP,\n INBOX_TYPES.TELEGRAM,\n INBOX_TYPES.API,\n ],\n};\n\nexport default {\n computed: {\n channelType() {\n return this.inbox.channel_type;\n },\n whatsAppAPIProvider() {\n return this.inbox.provider || '';\n },\n isAMicrosoftInbox() {\n return this.isAnEmailChannel && this.inbox.provider === 'microsoft';\n },\n isAGoogleInbox() {\n return this.isAnEmailChannel && this.inbox.provider === 'google';\n },\n isAPIInbox() {\n return this.channelType === INBOX_TYPES.API;\n },\n isATwitterInbox() {\n return this.channelType === INBOX_TYPES.TWITTER;\n },\n isAFacebookInbox() {\n return this.channelType === INBOX_TYPES.FB;\n },\n isAWebWidgetInbox() {\n return this.channelType === INBOX_TYPES.WEB;\n },\n isATwilioChannel() {\n return this.channelType === INBOX_TYPES.TWILIO;\n },\n isALineChannel() {\n return this.channelType === INBOX_TYPES.LINE;\n },\n isAnEmailChannel() {\n return this.channelType === INBOX_TYPES.EMAIL;\n },\n isATelegramChannel() {\n return this.channelType === INBOX_TYPES.TELEGRAM;\n },\n isATwilioSMSChannel() {\n const { medium: medium = '' } = this.inbox;\n return this.isATwilioChannel && medium === 'sms';\n },\n isASmsInbox() {\n return this.channelType === INBOX_TYPES.SMS || this.isATwilioSMSChannel;\n },\n isATwilioWhatsAppChannel() {\n const { medium: medium = '' } = this.inbox;\n return this.isATwilioChannel && medium === 'whatsapp';\n },\n isAWhatsAppCloudChannel() {\n return (\n this.channelType === INBOX_TYPES.WHATSAPP &&\n this.whatsAppAPIProvider === 'whatsapp_cloud'\n );\n },\n isARuutNativeWhatsappChannel() {\n const { provider } = this.inbox.additional_attributes || {};\n return (\n this.channelType === INBOX_TYPES.API &&\n provider === 'ruut_native_whatsapp'\n );\n },\n is360DialogWhatsAppChannel() {\n return (\n this.channelType === INBOX_TYPES.WHATSAPP &&\n this.whatsAppAPIProvider === 'default'\n );\n },\n chatAdditionalAttributes() {\n const { additional_attributes: additionalAttributes } = this.chat || {};\n return additionalAttributes || {};\n },\n isTwitterInboxTweet() {\n return this.chatAdditionalAttributes.type === 'tweet';\n },\n twilioBadge() {\n return `${this.isATwilioSMSChannel ? 'sms' : 'whatsapp'}`;\n },\n twitterBadge() {\n return `${this.isTwitterInboxTweet ? 'twitter-tweet' : 'twitter-dm'}`;\n },\n facebookBadge() {\n return this.chatAdditionalAttributes.type || 'facebook';\n },\n inboxBadge() {\n let badgeKey = '';\n if (this.isATwitterInbox) {\n badgeKey = this.twitterBadge;\n } else if (this.isAFacebookInbox) {\n badgeKey = this.facebookBadge;\n } else if (this.isATwilioChannel) {\n badgeKey = this.twilioBadge;\n } else if (this.isAWhatsAppChannel) {\n badgeKey = 'whatsapp';\n }\n return badgeKey || this.channelType;\n },\n isAWhatsAppChannel() {\n return (\n this.channelType === INBOX_TYPES.WHATSAPP ||\n this.isATwilioWhatsAppChannel ||\n this.isARuutNativeWhatsappChannel\n );\n },\n },\n methods: {\n inboxHasFeature(feature) {\n return INBOX_FEATURE_MAP[feature]?.includes(this.channelType) ?? false;\n },\n },\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path.concat(key).map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n }).join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = utils.toFlatObject(options, {\n metaTokens: true,\n dots: false,\n indexes: false\n }, false, function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !utils.isUndefined(source[option]);\n });\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n function convertValue(value) {\n if (value === null) return '';\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);\n }\n return value;\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = JSON.stringify(value);\n } else if (utils.isArray(value) && isFlatArray(value) || (utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) && formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + '[]', convertValue(el));\n });\n return false;\n }\n }\n if (isVisitable(value)) {\n return true;\n }\n formData.append(renderKey(path, key, dots), convertValue(value));\n return false;\n }\n const stack = [];\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable\n });\n function build(value, path) {\n if (utils.isUndefined(value)) return;\n if (stack.indexOf(value) !== -1) {\n throw Error('Circular reference detected in ' + path.join('.'));\n }\n stack.push(value);\n utils.forEach(value, function each(el, key) {\n const result = !(utils.isUndefined(el) || el === null) && visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers);\n if (result === true) {\n build(el, path ? path.concat(key) : [key]);\n }\n });\n stack.pop();\n }\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n build(obj);\n return formData;\n}\nexport default toFormData;","export const MESSAGE_STATUS = {\n FAILED: 'failed',\n SENT: 'sent',\n DELIVERED: 'delivered',\n READ: 'read',\n PROGRESS: 'progress',\n};\n\nexport const MESSAGE_TYPE = {\n INCOMING: 0,\n OUTGOING: 1,\n ACTIVITY: 2,\n TEMPLATE: 3,\n};\n\nexport const CONVERSATION_STATUS = {\n OPEN: 'open',\n RESOLVED: 'resolved',\n PENDING: 'pending',\n SNOOZED: 'snoozed',\n};\n\nexport const CONVERSATION_PRIORITY = {\n URGENT: 'urgent',\n HIGH: 'high',\n LOW: 'low',\n MEDIUM: 'medium',\n};\n\nexport const CONVERSATION_PRIORITY_ORDER = {\n urgent: 4,\n high: 3,\n medium: 2,\n low: 1,\n};\n\n// Size in mega bytes\nexport const MAXIMUM_FILE_UPLOAD_SIZE = 40;\nexport const MAXIMUM_FILE_UPLOAD_SIZE_TWILIO_SMS_CHANNEL = 5;\n\nexport const ALLOWED_FILE_TYPES =\n 'image/*,' +\n 'audio/*,' +\n 'video/*,' +\n '.3gpp,' +\n 'text/csv, text/plain, application/json, application/pdf, text/rtf,' +\n 'application/zip, application/x-7z-compressed application/vnd.rar application/x-tar,' +\n 'application/msword, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.text,' +\n 'application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,' +\n 'application/vnd.openxmlformats-officedocument.wordprocessingml.document,';\n\nexport const ALLOWED_FILE_TYPES_FOR_TWILIO_WHATSAPP =\n 'image/png, image/jpeg,' +\n 'audio/mpeg, audio/opus, audio/ogg, audio/amr,' +\n 'video/mp4,' +\n 'application/pdf,';\n// https://developers.line.biz/en/reference/messaging-api/#image-message, https://developers.line.biz/en/reference/messaging-api/#video-message\nexport const ALLOWED_FILE_TYPES_FOR_LINE = 'image/png, image/jpeg,video/mp4';\n\nexport const CSAT_RATINGS = [\n {\n key: 'disappointed',\n translationKey: 'CSAT.RATINGS.POOR',\n emoji: '😞',\n value: 1,\n color: '#FDAD2A',\n },\n {\n key: 'expressionless',\n translationKey: 'CSAT.RATINGS.FAIR',\n emoji: '😑',\n value: 2,\n color: '#FFC532',\n },\n {\n key: 'neutral',\n translationKey: 'CSAT.RATINGS.AVERAGE',\n emoji: '😐',\n value: 3,\n color: '#FCEC56',\n },\n {\n key: 'grinning',\n translationKey: 'CSAT.RATINGS.GOOD',\n emoji: '😀',\n value: 4,\n color: '#6FD86F',\n },\n {\n key: 'smiling',\n emoji: '😍',\n translationKey: 'CSAT.RATINGS.EXCELLENT',\n value: 5,\n color: '#44CE4B',\n },\n];\n\nexport const AUDIO_FORMATS = {\n WEBM: 'audio/webm',\n OGG: 'audio/ogg',\n MP3: 'audio/mp3',\n WAV: 'audio/wav',\n};\n\nexport const MESSAGE_VARIABLES = [\n {\n label: 'Conversation Id',\n key: 'conversation.id',\n },\n {\n label: 'Contact Id',\n key: 'contact.id',\n },\n {\n label: 'Contact name',\n key: 'contact.name',\n },\n {\n label: 'Contact first name',\n key: 'contact.first_name',\n },\n {\n label: 'Contact last name',\n key: 'contact.last_name',\n },\n {\n label: 'Contact email',\n key: 'contact.email',\n },\n {\n label: 'Contact phone',\n key: 'contact.phone',\n },\n {\n label: 'Agent name',\n key: 'agent.name',\n },\n {\n label: 'Agent first name',\n key: 'agent.first_name',\n },\n {\n label: 'Agent last name',\n key: 'agent.last_name',\n },\n {\n label: 'Agent email',\n key: 'agent.email',\n },\n];\n\nexport const ATTACHMENT_ICONS = {\n image: 'image',\n audio: 'headphones-sound-wave',\n video: 'video',\n file: 'document',\n location: 'location',\n fallback: 'link',\n};\n","export const CONVERSATION_EVENTS = Object.freeze({\n EXECUTED_A_MACRO: 'Executed a macro',\n SENT_MESSAGE: 'Sent a message',\n SENT_PRIVATE_NOTE: 'Sent a private note',\n INSERTED_A_CANNED_RESPONSE: 'Inserted a canned response',\n TRANSLATE_A_MESSAGE: 'Translated a message',\n INSERTED_A_VARIABLE: 'Inserted a variable',\n USED_MENTIONS: 'Used mentions',\n SEARCH_CONVERSATION: 'Searched conversations',\n APPLY_FILTER: 'Applied filters in the conversation list',\n CHANGE_PRIORITY: 'Assigned priority to a conversation',\n INSERT_ARTICLE_LINK: 'Inserted article into reply via article search',\n});\n\nexport const ACCOUNT_EVENTS = Object.freeze({\n ADDED_TO_CANNED_RESPONSE: 'Used added to canned response option',\n ADDED_A_CUSTOM_ATTRIBUTE: 'Added a custom attribute',\n ADDED_AN_INBOX: 'Added an inbox',\n OPEN_MESSAGE_CONTEXT_MENU: 'Opened message context menu',\n OPENED_NOTIFICATIONS: 'Opened notifications',\n MARK_AS_READ_NOTIFICATIONS: 'Marked notifications as read',\n OPEN_CONVERSATION_VIA_NOTIFICATION: 'Opened conversation via notification',\n});\n\nexport const LABEL_EVENTS = Object.freeze({\n CREATE: 'Created a label',\n UPDATE: 'Updated a label',\n DELETED: 'Deleted a label',\n APPLY_LABEL: 'Applied a label',\n});\n\n// REPORTS EVENTS\nexport const REPORTS_EVENTS = Object.freeze({\n DOWNLOAD_REPORT: 'Downloaded a report',\n FILTER_REPORT: 'Used filters in the reports',\n});\n\n// CONTACTS PAGE EVENTS\nexport const CONTACTS_EVENTS = Object.freeze({\n APPLY_FILTER: 'Applied filters in the contacts list',\n SAVE_FILTER: 'Saved a filter in the contacts list',\n DELETE_FILTER: 'Deleted a filter in the contacts list',\n\n APPLY_SORT: 'Sorted contacts list',\n SEARCH: 'Searched contacts list',\n CREATE_CONTACT: 'Created a contact',\n MERGED_CONTACTS: 'Used merge contact option',\n IMPORT_MODAL_OPEN: 'Opened import contacts modal',\n IMPORT_FAILURE: 'Import contacts failed',\n IMPORT_SUCCESS: 'Imported contacts successfully',\n});\n\n// CAMPAIGN EVENTS\nexport const CAMPAIGNS_EVENTS = Object.freeze({\n OPEN_NEW_CAMPAIGN_MODAL: 'Opened new campaign modal',\n CREATE_CAMPAIGN: 'Created a new campaign',\n UPDATE_CAMPAIGN: 'Updated a campaign',\n DELETE_CAMPAIGN: 'Deleted a campaign',\n});\n\n// PORTAL EVENTS\nexport const PORTALS_EVENTS = Object.freeze({\n ONBOARD_BASIC_INFORMATION: 'New Portal: Completed basic information',\n ONBOARD_CUSTOMIZATION: 'New portal: Completed customization',\n CREATE_PORTAL: 'Created a portal',\n DELETE_PORTAL: 'Deleted a portal',\n UPDATE_PORTAL: 'Updated a portal',\n\n CREATE_LOCALE: 'Created a portal locale',\n SET_DEFAULT_LOCALE: 'Set default portal locale',\n DELETE_LOCALE: 'Deleted a portal locale',\n SWITCH_LOCALE: 'Switched portal locale',\n\n CREATE_CATEGORY: 'Created a portal category',\n DELETE_CATEGORY: 'Deleted a portal category',\n EDIT_CATEGORY: 'Edited a portal category',\n\n CREATE_ARTICLE: 'Created an article',\n PUBLISH_ARTICLE: 'Published an article',\n ARCHIVE_ARTICLE: 'Archived an article',\n DELETE_ARTICLE: 'Deleted an article',\n PREVIEW_ARTICLE: 'Previewed article',\n});\n\nexport const OPEN_AI_EVENTS = Object.freeze({\n SUMMARIZE: 'OpenAI: Used summarize',\n REPLY_SUGGESTION: 'OpenAI: Used reply suggestion',\n REPHRASE: 'OpenAI: Used rephrase',\n FIX_SPELLING_AND_GRAMMAR: 'OpenAI: Used fix spelling and grammar',\n SHORTEN: 'OpenAI: Used shorten',\n EXPAND: 'OpenAI: Used expand',\n MAKE_FRIENDLY: 'OpenAI: Used make friendly',\n MAKE_FORMAL: 'OpenAI: Used make formal',\n SIMPLIFY: 'OpenAI: Used simplify',\n APPLY_LABEL_SUGGESTION: 'OpenAI: Apply label from suggestion',\n DISMISS_LABEL_SUGGESTION: 'OpenAI: Dismiss label suggestions',\n ADDED_AI_INTEGRATION_VIA_CTA_BUTTON:\n 'OpenAI: Added AI integration via CTA button',\n DISMISS_AI_SUGGESTION: 'OpenAI: Dismiss AI suggestions',\n});\n\nexport const GENERAL_EVENTS = Object.freeze({\n COMMAND_BAR: 'Used commandbar',\n});\n\nexport const INBOX_EVENTS = Object.freeze({\n OPEN_CONVERSATION_VIA_INBOX: 'Opened conversation via inbox',\n MARK_NOTIFICATION_AS_READ: 'Marked notification as read',\n MARK_ALL_NOTIFICATIONS_AS_READ: 'Marked all notifications as read',\n MARK_NOTIFICATION_AS_UNREAD: 'Marked notification as unread',\n DELETE_NOTIFICATION: 'Deleted notification',\n DELETE_ALL_NOTIFICATIONS: 'Deleted all notifications',\n});\n\nexport const SLA_EVENTS = Object.freeze({\n CREATE: 'Created an SLA',\n UPDATE: 'Updated an SLA',\n DELETED: 'Deleted an SLA',\n});\n","export const BUS_EVENTS = {\n SHOW_ALERT: 'SHOW_ALERT',\n START_NEW_CONVERSATION: 'START_NEW_CONVERSATION',\n FOCUS_CUSTOM_ATTRIBUTE: 'FOCUS_CUSTOM_ATTRIBUTE',\n SCROLL_TO_MESSAGE: 'SCROLL_TO_MESSAGE',\n MESSAGE_SENT: 'MESSAGE_SENT',\n FETCH_LABEL_SUGGESTIONS: 'FETCH_LABEL_SUGGESTIONS',\n TOGGLE_SIDEMENU: 'TOGGLE_SIDEMENU',\n ON_MESSAGE_LIST_SCROLL: 'ON_MESSAGE_LIST_SCROLL',\n WEBSOCKET_DISCONNECT: 'WEBSOCKET_DISCONNECT',\n WEBSOCKET_RECONNECT: 'WEBSOCKET_RECONNECT',\n WEBSOCKET_RECONNECT_COMPLETED: 'WEBSOCKET_RECONNECT_COMPLETED',\n TOGGLE_REPLY_TO_MESSAGE: 'TOGGLE_REPLY_TO_MESSAGE',\n SHOW_TOAST: 'newToastMessage',\n NEW_CONVERSATION_MODAL: 'newConversationModal',\n INSERT_INTO_RICH_EDITOR: 'insertIntoRichEditor',\n};\n","/*! js-cookie v3.0.5 | MIT */\n;\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, function () {\n var current = global.Cookies;\n var exports = global.Cookies = factory();\n exports.noConflict = function () {\n global.Cookies = current;\n return exports;\n };\n }());\n})(this, function () {\n 'use strict';\n\n /* eslint-disable no-var */\n function assign(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n target[key] = source[key];\n }\n }\n return target;\n }\n /* eslint-enable no-var */\n\n /* eslint-disable no-var */\n var defaultConverter = {\n read: function (value) {\n if (value[0] === '\"') {\n value = value.slice(1, -1);\n }\n return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent);\n },\n write: function (value) {\n return encodeURIComponent(value).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent);\n }\n };\n /* eslint-enable no-var */\n\n /* eslint-disable no-var */\n\n function init(converter, defaultAttributes) {\n function set(name, value, attributes) {\n if (typeof document === 'undefined') {\n return;\n }\n attributes = assign({}, defaultAttributes, attributes);\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n }\n if (attributes.expires) {\n attributes.expires = attributes.expires.toUTCString();\n }\n name = encodeURIComponent(name).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);\n var stringifiedAttributes = '';\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue;\n }\n stringifiedAttributes += '; ' + attributeName;\n if (attributes[attributeName] === true) {\n continue;\n }\n\n // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n return document.cookie = name + '=' + converter.write(value, name) + stringifiedAttributes;\n }\n function get(name) {\n if (typeof document === 'undefined' || arguments.length && !name) {\n return;\n }\n\n // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var jar = {};\n for (var i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var value = parts.slice(1).join('=');\n try {\n var found = decodeURIComponent(parts[0]);\n jar[found] = converter.read(value, found);\n if (name === found) {\n break;\n }\n } catch (e) {}\n }\n return name ? jar[name] : jar;\n }\n return Object.create({\n set,\n get,\n remove: function (name, attributes) {\n set(name, '', assign({}, attributes, {\n expires: -1\n }));\n },\n withAttributes: function (attributes) {\n return init(this.converter, assign({}, this.attributes, attributes));\n },\n withConverter: function (converter) {\n return init(assign({}, this.converter, converter), this.attributes);\n }\n }, {\n attributes: {\n value: Object.freeze(defaultAttributes)\n },\n converter: {\n value: Object.freeze(converter)\n }\n });\n }\n var api = init(defaultConverter, {\n path: '/'\n });\n /* eslint-enable no-var */\n\n return api;\n});","// Utilities\n//\n'use strict';\n\nfunction _class(obj) {\n return Object.prototype.toString.call(obj);\n}\nfunction isString(obj) {\n return _class(obj) === '[object String]';\n}\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction has(object, key) {\n return _hasOwnProperty.call(object, key);\n}\n\n// Merge objects\n//\nfunction assign(obj /*from1, from2, from3, ...*/) {\n var sources = Array.prototype.slice.call(arguments, 1);\n sources.forEach(function (source) {\n if (!source) {\n return;\n }\n if (typeof source !== 'object') {\n throw new TypeError(source + 'must be object');\n }\n Object.keys(source).forEach(function (key) {\n obj[key] = source[key];\n });\n });\n return obj;\n}\n\n// Remove element from array and put another array at those position.\n// Useful for some operations with tokens\nfunction arrayReplaceAt(src, pos, newElements) {\n return [].concat(src.slice(0, pos), newElements, src.slice(pos + 1));\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nfunction isValidEntityCode(c) {\n /*eslint no-bitwise:0*/\n // broken sequence\n if (c >= 0xD800 && c <= 0xDFFF) {\n return false;\n }\n // never used\n if (c >= 0xFDD0 && c <= 0xFDEF) {\n return false;\n }\n if ((c & 0xFFFF) === 0xFFFF || (c & 0xFFFF) === 0xFFFE) {\n return false;\n }\n // control codes\n if (c >= 0x00 && c <= 0x08) {\n return false;\n }\n if (c === 0x0B) {\n return false;\n }\n if (c >= 0x0E && c <= 0x1F) {\n return false;\n }\n if (c >= 0x7F && c <= 0x9F) {\n return false;\n }\n // out of range\n if (c > 0x10FFFF) {\n return false;\n }\n return true;\n}\nfunction fromCodePoint(c) {\n /*eslint no-bitwise:0*/\n if (c > 0xffff) {\n c -= 0x10000;\n var surrogate1 = 0xd800 + (c >> 10),\n surrogate2 = 0xdc00 + (c & 0x3ff);\n return String.fromCharCode(surrogate1, surrogate2);\n }\n return String.fromCharCode(c);\n}\nvar UNESCAPE_MD_RE = /\\\\([!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~])/g;\nvar ENTITY_RE = /&([a-z#][a-z0-9]{1,31});/gi;\nvar UNESCAPE_ALL_RE = new RegExp(UNESCAPE_MD_RE.source + '|' + ENTITY_RE.source, 'gi');\nvar DIGITAL_ENTITY_TEST_RE = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;\nvar entities = require('./entities');\nfunction replaceEntityPattern(match, name) {\n var code = 0;\n if (has(entities, name)) {\n return entities[name];\n }\n if (name.charCodeAt(0) === 0x23 /* # */ && DIGITAL_ENTITY_TEST_RE.test(name)) {\n code = name[1].toLowerCase() === 'x' ? parseInt(name.slice(2), 16) : parseInt(name.slice(1), 10);\n if (isValidEntityCode(code)) {\n return fromCodePoint(code);\n }\n }\n return match;\n}\n\n/*function replaceEntities(str) {\n if (str.indexOf('&') < 0) { return str; }\n\n return str.replace(ENTITY_RE, replaceEntityPattern);\n}*/\n\nfunction unescapeMd(str) {\n if (str.indexOf('\\\\') < 0) {\n return str;\n }\n return str.replace(UNESCAPE_MD_RE, '$1');\n}\nfunction unescapeAll(str) {\n if (str.indexOf('\\\\') < 0 && str.indexOf('&') < 0) {\n return str;\n }\n return str.replace(UNESCAPE_ALL_RE, function (match, escaped, entity) {\n if (escaped) {\n return escaped;\n }\n return replaceEntityPattern(match, entity);\n });\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nvar HTML_ESCAPE_TEST_RE = /[&<>\"]/;\nvar HTML_ESCAPE_REPLACE_RE = /[&<>\"]/g;\nvar HTML_REPLACEMENTS = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"'\n};\nfunction replaceUnsafeChar(ch) {\n return HTML_REPLACEMENTS[ch];\n}\nfunction escapeHtml(str) {\n if (HTML_ESCAPE_TEST_RE.test(str)) {\n return str.replace(HTML_ESCAPE_REPLACE_RE, replaceUnsafeChar);\n }\n return str;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nvar REGEXP_ESCAPE_RE = /[.?*+^$[\\]\\\\(){}|-]/g;\nfunction escapeRE(str) {\n return str.replace(REGEXP_ESCAPE_RE, '\\\\$&');\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nfunction isSpace(code) {\n switch (code) {\n case 0x09:\n case 0x20:\n return true;\n }\n return false;\n}\n\n// Zs (unicode class) || [\\t\\f\\v\\r\\n]\nfunction isWhiteSpace(code) {\n if (code >= 0x2000 && code <= 0x200A) {\n return true;\n }\n switch (code) {\n case 0x09: // \\t\n case 0x0A: // \\n\n case 0x0B: // \\v\n case 0x0C: // \\f\n case 0x0D: // \\r\n case 0x20:\n case 0xA0:\n case 0x1680:\n case 0x202F:\n case 0x205F:\n case 0x3000:\n return true;\n }\n return false;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\n/*eslint-disable max-len*/\nvar UNICODE_PUNCT_RE = require('uc.micro/categories/P/regex');\n\n// Currently without astral characters support.\nfunction isPunctChar(ch) {\n return UNICODE_PUNCT_RE.test(ch);\n}\n\n// Markdown ASCII punctuation characters.\n//\n// !, \", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \\, ], ^, _, `, {, |, }, or ~\n// http://spec.commonmark.org/0.15/#ascii-punctuation-character\n//\n// Don't confuse with unicode punctuation !!! It lacks some chars in ascii range.\n//\nfunction isMdAsciiPunct(ch) {\n switch (ch) {\n case 0x21 /* ! */:\n case 0x22 /* \" */:\n case 0x23 /* # */:\n case 0x24 /* $ */:\n case 0x25 /* % */:\n case 0x26 /* & */:\n case 0x27 /* ' */:\n case 0x28 /* ( */:\n case 0x29 /* ) */:\n case 0x2A /* * */:\n case 0x2B /* + */:\n case 0x2C /* , */:\n case 0x2D /* - */:\n case 0x2E /* . */:\n case 0x2F /* / */:\n case 0x3A /* : */:\n case 0x3B /* ; */:\n case 0x3C /* < */:\n case 0x3D /* = */:\n case 0x3E /* > */:\n case 0x3F /* ? */:\n case 0x40 /* @ */:\n case 0x5B /* [ */:\n case 0x5C /* \\ */:\n case 0x5D /* ] */:\n case 0x5E /* ^ */:\n case 0x5F /* _ */:\n case 0x60 /* ` */:\n case 0x7B /* { */:\n case 0x7C /* | */:\n case 0x7D /* } */:\n case 0x7E /* ~ */:\n return true;\n default:\n return false;\n }\n}\n\n// Hepler to unify [reference labels].\n//\nfunction normalizeReference(str) {\n // Trim and collapse whitespace\n //\n str = str.trim().replace(/\\s+/g, ' ');\n\n // In node v10 'ẞ'.toLowerCase() === 'Ṿ', which is presumed to be a bug\n // fixed in v12 (couldn't find any details).\n //\n // So treat this one as a special case\n // (remove this when node v10 is no longer supported).\n //\n if ('ẞ'.toLowerCase() === 'Ṿ') {\n str = str.replace(/ẞ/g, 'ß');\n }\n\n // .toLowerCase().toUpperCase() should get rid of all differences\n // between letter variants.\n //\n // Simple .toLowerCase() doesn't normalize 125 code points correctly,\n // and .toUpperCase doesn't normalize 6 of them (list of exceptions:\n // İ, ϴ, ẞ, Ω, K, Å - those are already uppercased, but have differently\n // uppercased versions).\n //\n // Here's an example showing how it happens. Lets take greek letter omega:\n // uppercase U+0398 (Θ), U+03f4 (ϴ) and lowercase U+03b8 (θ), U+03d1 (ϑ)\n //\n // Unicode entries:\n // 0398;GREEK CAPITAL LETTER THETA;Lu;0;L;;;;;N;;;;03B8;\n // 03B8;GREEK SMALL LETTER THETA;Ll;0;L;;;;;N;;;0398;;0398\n // 03D1;GREEK THETA SYMBOL;Ll;0;L; 03B8;;;;N;GREEK SMALL LETTER SCRIPT THETA;;0398;;0398\n // 03F4;GREEK CAPITAL THETA SYMBOL;Lu;0;L; 0398;;;;N;;;;03B8;\n //\n // Case-insensitive comparison should treat all of them as equivalent.\n //\n // But .toLowerCase() doesn't change ϑ (it's already lowercase),\n // and .toUpperCase() doesn't change ϴ (already uppercase).\n //\n // Applying first lower then upper case normalizes any character:\n // '\\u0398\\u03f4\\u03b8\\u03d1'.toLowerCase().toUpperCase() === '\\u0398\\u0398\\u0398\\u0398'\n //\n // Note: this is equivalent to unicode case folding; unicode normalization\n // is a different step that is not required here.\n //\n // Final result should be uppercased, because it's later stored in an object\n // (this avoid a conflict with Object.prototype members,\n // most notably, `__proto__`)\n //\n return str.toLowerCase().toUpperCase();\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\n// Re-export libraries commonly used in both markdown-it and its plugins,\n// so plugins won't have to depend on them explicitly, which reduces their\n// bundled size (e.g. a browser build).\n//\nexports.lib = {};\nexports.lib.mdurl = require('mdurl');\nexports.lib.ucmicro = require('uc.micro');\nexports.assign = assign;\nexports.isString = isString;\nexports.has = has;\nexports.unescapeMd = unescapeMd;\nexports.unescapeAll = unescapeAll;\nexports.isValidEntityCode = isValidEntityCode;\nexports.fromCodePoint = fromCodePoint;\n// exports.replaceEntities = replaceEntities;\nexports.escapeHtml = escapeHtml;\nexports.arrayReplaceAt = arrayReplaceAt;\nexports.isSpace = isSpace;\nexports.isWhiteSpace = isWhiteSpace;\nexports.isMdAsciiPunct = isMdAsciiPunct;\nexports.isPunctChar = isPunctChar;\nexports.escapeRE = escapeRE;\nexports.normalizeReference = normalizeReference;","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n };\n return extendStatics(d, b);\n};\nexport function __extends(d, b) {\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nexport var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nexport function __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nexport function __createBinding(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}\nexport function __exportStar(m, exports) {\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n return ar;\n}\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n}\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];\n return r;\n}\n;\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []),\n i,\n q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i;\n function verb(n) {\n if (g[n]) i[n] = function (v) {\n return new Promise(function (a, b) {\n q.push([n, v, a, b]) > 1 || resume(n, v);\n });\n };\n }\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\n }\n function step(r) {\n r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n }\n function fulfill(value) {\n resume(\"next\", value);\n }\n function reject(value) {\n resume(\"throw\", value);\n }\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n throw e;\n }), verb(\"return\"), i[Symbol.iterator] = function () {\n return this;\n }, i;\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: n === \"return\"\n } : f ? f(v) : v;\n } : f;\n }\n}\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator],\n i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i);\n function verb(n) {\n i[n] = o[n] && function (v) {\n return new Promise(function (resolve, reject) {\n v = o[n](v), settle(resolve, reject, v.done, v.value);\n });\n };\n }\n function settle(resolve, reject, d, v) {\n Promise.resolve(v).then(function (v) {\n resolve({\n value: v,\n done: d\n });\n }, reject);\n }\n}\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n return cooked;\n}\n;\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result.default = mod;\n return result;\n}\nexport function __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n default: mod\n };\n}\nexport function __classPrivateFieldGet(receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n return privateMap.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to set private field on non-instance\");\n }\n privateMap.set(receiver, value);\n return value;\n}","import { __assign, __read, __spread } from \"tslib\";\nimport { getCurrentHub } from '@sentry/hub';\n/**\n * This calls a function on the current hub.\n * @param method function to call on hub.\n * @param args to pass to function.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction callOnHub(method) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n var hub = getCurrentHub();\n if (hub && hub[method]) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return hub[method].apply(hub, __spread(args));\n }\n throw new Error(\"No hub defined or \" + method + \" was not found on the hub, please open a bug report.\");\n}\n/**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception An exception-like object.\n * @returns The generated eventId.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\nexport function captureException(exception, captureContext) {\n var syntheticException = new Error('Sentry syntheticException');\n return callOnHub('captureException', exception, {\n captureContext: captureContext,\n originalException: exception,\n syntheticException: syntheticException\n });\n}\n/**\n * Captures a message event and sends it to Sentry.\n *\n * @param message The message to send to Sentry.\n * @param Severity Define the level of the message.\n * @returns The generated eventId.\n */\nexport function captureMessage(message, captureContext) {\n var syntheticException = new Error(message);\n // This is necessary to provide explicit scopes upgrade, without changing the original\n // arity of the `captureMessage(message, level)` method.\n var level = typeof captureContext === 'string' ? captureContext : undefined;\n var context = typeof captureContext !== 'string' ? {\n captureContext: captureContext\n } : undefined;\n return callOnHub('captureMessage', message, level, __assign({\n originalException: message,\n syntheticException: syntheticException\n }, context));\n}\n/**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param event The event to send to Sentry.\n * @returns The generated eventId.\n */\nexport function captureEvent(event) {\n return callOnHub('captureEvent', event);\n}\n/**\n * Callback to set context information onto the scope.\n * @param callback Callback function that receives Scope.\n */\nexport function configureScope(callback) {\n callOnHub('configureScope', callback);\n}\n/**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n */\nexport function addBreadcrumb(breadcrumb) {\n callOnHub('addBreadcrumb', breadcrumb);\n}\n/**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function setContext(name, context) {\n callOnHub('setContext', name, context);\n}\n/**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\nexport function setExtras(extras) {\n callOnHub('setExtras', extras);\n}\n/**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\nexport function setTags(tags) {\n callOnHub('setTags', tags);\n}\n/**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\nexport function setExtra(key, extra) {\n callOnHub('setExtra', key, extra);\n}\n/**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\nexport function setTag(key, value) {\n callOnHub('setTag', key, value);\n}\n/**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\nexport function setUser(user) {\n callOnHub('setUser', user);\n}\n/**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n *\n * @param callback that will be enclosed into push/popScope.\n */\nexport function withScope(callback) {\n callOnHub('withScope', callback);\n}\n/**\n * Calls a function on the latest client. Use this with caution, it's meant as\n * in \"internal\" helper so we don't need to expose every possible function in\n * the shim. It is not guaranteed that the client actually implements the\n * function.\n *\n * @param method The method to call on the client/client.\n * @param args Arguments to pass to the client/fontend.\n * @hidden\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function _callOnClient(method) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n callOnHub.apply(void 0, __spread(['_invokeClient', method], args));\n}\n/**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n */\nexport function startTransaction(context, customSamplingContext) {\n return callOnHub('startTransaction', __assign({}, context), customSamplingContext);\n}","export const FEATURE_FLAGS = {\n AGENT_BOTS: 'agent_bots',\n AGENT_MANAGEMENT: 'agent_management',\n AUTO_RESOLVE_CONVERSATIONS: 'auto_resolve_conversations',\n AUTOMATIONS: 'automations',\n CAMPAIGNS: 'campaigns',\n CANNED_RESPONSES: 'canned_responses',\n CRM: 'crm',\n CUSTOM_ATTRIBUTES: 'custom_attributes',\n INBOX_MANAGEMENT: 'inbox_management',\n INTEGRATIONS: 'integrations',\n LABELS: 'labels',\n MACROS: 'macros',\n HELP_CENTER: 'help_center',\n REPORTS: 'reports',\n TEAM_MANAGEMENT: 'team_management',\n VOICE_RECORDER: 'voice_recorder',\n AUDIT_LOGS: 'audit_logs',\n INSERT_ARTICLE_IN_REPLY: 'insert_article_in_reply',\n INBOX_VIEW: 'inbox_view',\n SLA: 'sla',\n RESPONSE_BOT: 'response_bot',\n CHANNEL_EMAIL: 'channel_email',\n CHANNEL_FACEBOOK: 'channel_facebook',\n CHANNEL_TWITTER: 'channel_twitter',\n CHANNEL_WEBSITE: 'channel_website',\n CUSTOM_REPLY_DOMAIN: 'custom_reply_domain',\n CUSTOM_REPLY_EMAIL: 'custom_reply_email',\n DISABLE_BRANDING: 'disable_branding',\n EMAIL_CONTINUITY_ON_API_CHANNEL: 'email_continuity_on_api_channel',\n INBOUND_EMAILS: 'inbound_emails',\n IP_LOOKUP: 'ip_lookup',\n LINEAR: 'linear_integration',\n};\n","/*! js-cookie v3.0.1 | MIT */\n;\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, function () {\n var current = global.Cookies;\n var exports = global.Cookies = factory();\n exports.noConflict = function () {\n global.Cookies = current;\n return exports;\n };\n }());\n})(this, function () {\n 'use strict';\n\n /* eslint-disable no-var */\n function assign(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n target[key] = source[key];\n }\n }\n return target;\n }\n /* eslint-enable no-var */\n\n /* eslint-disable no-var */\n var defaultConverter = {\n read: function (value) {\n if (value[0] === '\"') {\n value = value.slice(1, -1);\n }\n return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent);\n },\n write: function (value) {\n return encodeURIComponent(value).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent);\n }\n };\n /* eslint-enable no-var */\n\n /* eslint-disable no-var */\n\n function init(converter, defaultAttributes) {\n function set(key, value, attributes) {\n if (typeof document === 'undefined') {\n return;\n }\n attributes = assign({}, defaultAttributes, attributes);\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n }\n if (attributes.expires) {\n attributes.expires = attributes.expires.toUTCString();\n }\n key = encodeURIComponent(key).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);\n var stringifiedAttributes = '';\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue;\n }\n stringifiedAttributes += '; ' + attributeName;\n if (attributes[attributeName] === true) {\n continue;\n }\n\n // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n return document.cookie = key + '=' + converter.write(value, key) + stringifiedAttributes;\n }\n function get(key) {\n if (typeof document === 'undefined' || arguments.length && !key) {\n return;\n }\n\n // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var jar = {};\n for (var i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var value = parts.slice(1).join('=');\n try {\n var foundKey = decodeURIComponent(parts[0]);\n jar[foundKey] = converter.read(value, foundKey);\n if (key === foundKey) {\n break;\n }\n } catch (e) {}\n }\n return key ? jar[key] : jar;\n }\n return Object.create({\n set: set,\n get: get,\n remove: function (key, attributes) {\n set(key, '', assign({}, attributes, {\n expires: -1\n }));\n },\n withAttributes: function (attributes) {\n return init(this.converter, assign({}, this.attributes, attributes));\n },\n withConverter: function (converter) {\n return init(assign({}, this.converter, converter), this.attributes);\n }\n }, {\n attributes: {\n value: Object.freeze(defaultAttributes)\n },\n converter: {\n value: Object.freeze(converter)\n }\n });\n }\n var api = init(defaultConverter, {\n path: '/'\n });\n /* eslint-enable no-var */\n\n return api;\n});","import { __extends } from \"tslib\";\nimport { CoreContext, ContextCancelation } from '@segment/analytics-core';\nimport { Stats } from '../stats';\nvar Context = /** @class */function (_super) {\n __extends(Context, _super);\n function Context(event, id) {\n return _super.call(this, event, id, new Stats()) || this;\n }\n Context.system = function () {\n return new this({\n type: 'track',\n event: 'system'\n });\n };\n return Context;\n}(CoreContext);\nexport { Context };\nexport { ContextCancelation };","import toInteger from \"../toInteger/index.js\";\nimport toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCWeek(dirtyDate, dirtyOptions) {\n requiredArgs(1, arguments);\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\nimport { isBrowserBundle } from './env';\n/**\n * Checks whether we're in the Node.js or Browser environment\n *\n * @returns Answer to given question\n */\nexport function isNodeEnv() {\n // explicitly check for browser bundles as those can be optimized statically\n // by terser/rollup.\n return !isBrowserBundle() && Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';\n}\n/**\n * Requires a module which is protected against bundler minification.\n *\n * @param request The module path to resolve\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any\nexport function dynamicRequire(mod, request) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return mod.require(request);\n}\n/**\n * Helper for dynamically loading module that should work with linked dependencies.\n * The problem is that we _should_ be using `require(require.resolve(moduleName, { paths: [cwd()] }))`\n * However it's _not possible_ to do that with Webpack, as it has to know all the dependencies during\n * build time. `require.resolve` is also not available in any other way, so we cannot create,\n * a fake helper like we do with `dynamicRequire`.\n *\n * We always prefer to use local package, thus the value is not returned early from each `try/catch` block.\n * That is to mimic the behavior of `require.resolve` exactly.\n *\n * @param moduleName module name to require\n * @returns possibly required module\n */\nexport function loadModule(moduleName) {\n var mod;\n try {\n mod = dynamicRequire(module, moduleName);\n } catch (e) {\n // no-empty\n }\n try {\n var cwd = dynamicRequire(module, 'process').cwd;\n mod = dynamicRequire(module, cwd() + \"/node_modules/\" + moduleName);\n } catch (e) {\n // no-empty\n }\n return mod;\n}","import { __assign } from \"tslib\";\nvar CoreLogger = /** @class */function () {\n function CoreLogger() {\n this._logs = [];\n }\n CoreLogger.prototype.log = function (level, message, extras) {\n var time = new Date();\n this._logs.push({\n level: level,\n message: message,\n time: time,\n extras: extras\n });\n };\n Object.defineProperty(CoreLogger.prototype, \"logs\", {\n get: function () {\n return this._logs;\n },\n enumerable: false,\n configurable: true\n });\n CoreLogger.prototype.flush = function () {\n if (this.logs.length > 1) {\n var formatted = this._logs.reduce(function (logs, log) {\n var _a;\n var _b, _c;\n var line = __assign(__assign({}, log), {\n json: JSON.stringify(log.extras, null, ' '),\n extras: log.extras\n });\n delete line['time'];\n var key = (_c = (_b = log.time) === null || _b === void 0 ? void 0 : _b.toISOString()) !== null && _c !== void 0 ? _c : '';\n if (logs[key]) {\n key = \"\".concat(key, \"-\").concat(Math.random());\n }\n return __assign(__assign({}, logs), (_a = {}, _a[key] = line, _a));\n }, {});\n // ie doesn't like console.table\n if (console.table) {\n console.table(formatted);\n } else {\n console.log(formatted);\n }\n } else {\n this.logs.forEach(function (logEntry) {\n var level = logEntry.level,\n message = logEntry.message,\n extras = logEntry.extras;\n if (level === 'info' || level === 'debug') {\n console.log(message, extras !== null && extras !== void 0 ? extras : '');\n } else {\n console[level](message, extras !== null && extras !== void 0 ? extras : '');\n }\n });\n }\n this._logs = [];\n };\n return CoreLogger;\n}();\nexport { CoreLogger };","import { v4 as uuid } from '@lukeed/uuid';\nimport { dset } from 'dset';\nimport { CoreLogger } from '../logger';\nimport { NullStats } from '../stats';\nvar ContextCancelation = /** @class */function () {\n function ContextCancelation(options) {\n var _a, _b, _c;\n this.retry = (_a = options.retry) !== null && _a !== void 0 ? _a : true;\n this.type = (_b = options.type) !== null && _b !== void 0 ? _b : 'plugin Error';\n this.reason = (_c = options.reason) !== null && _c !== void 0 ? _c : '';\n }\n return ContextCancelation;\n}();\nexport { ContextCancelation };\nvar CoreContext = /** @class */function () {\n function CoreContext(event, id, stats, logger) {\n if (id === void 0) {\n id = uuid();\n }\n if (stats === void 0) {\n stats = new NullStats();\n }\n if (logger === void 0) {\n logger = new CoreLogger();\n }\n this.attempts = 0;\n this.event = event;\n this._id = id;\n this.logger = logger;\n this.stats = stats;\n }\n CoreContext.system = function () {\n // This should be overridden by the subclass to return an instance of the subclass.\n };\n CoreContext.prototype.isSame = function (other) {\n return other.id === this.id;\n };\n CoreContext.prototype.cancel = function (error) {\n if (error) {\n throw error;\n }\n throw new ContextCancelation({\n reason: 'Context Cancel'\n });\n };\n CoreContext.prototype.log = function (level, message, extras) {\n this.logger.log(level, message, extras);\n };\n Object.defineProperty(CoreContext.prototype, \"id\", {\n get: function () {\n return this._id;\n },\n enumerable: false,\n configurable: true\n });\n CoreContext.prototype.updateEvent = function (path, val) {\n var _a;\n // Don't allow integrations that are set to false to be overwritten with integration settings.\n if (path.split('.')[0] === 'integrations') {\n var integrationName = path.split('.')[1];\n if (((_a = this.event.integrations) === null || _a === void 0 ? void 0 : _a[integrationName]) === false) {\n return this.event;\n }\n }\n dset(this.event, path, val);\n return this.event;\n };\n CoreContext.prototype.failedDelivery = function () {\n return this._failedDelivery;\n };\n CoreContext.prototype.setFailedDelivery = function (options) {\n this._failedDelivery = options;\n };\n CoreContext.prototype.logs = function () {\n return this.logger.logs;\n };\n CoreContext.prototype.flush = function () {\n this.logger.flush();\n this.stats.flush();\n };\n CoreContext.prototype.toJSON = function () {\n return {\n id: this._id,\n event: this.event,\n logs: this.logger.logs,\n metrics: this.stats.metrics\n };\n };\n return CoreContext;\n}();\nexport { CoreContext };","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.req = exports.regex = exports.ref = exports.len = void 0;\nObject.defineProperty(exports, \"withParams\", {\n enumerable: true,\n get: function get() {\n return _withParams.default;\n }\n});\nvar _withParams = _interopRequireDefault(require(\"../withParams\"));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nvar req = function req(value) {\n if (Array.isArray(value)) return !!value.length;\n if (value === undefined || value === null) {\n return false;\n }\n if (value === false) {\n return true;\n }\n if (value instanceof Date) {\n return !isNaN(value.getTime());\n }\n if (_typeof(value) === 'object') {\n for (var _ in value) {\n return true;\n }\n return false;\n }\n return !!String(value).length;\n};\nexports.req = req;\nvar len = function len(value) {\n if (Array.isArray(value)) return value.length;\n if (_typeof(value) === 'object') {\n return Object.keys(value).length;\n }\n return String(value).length;\n};\nexports.len = len;\nvar ref = function ref(reference, vm, parentVm) {\n return typeof reference === 'function' ? reference.call(vm, parentVm) : parentVm[reference];\n};\nexports.ref = ref;\nvar regex = function regex(type, expr) {\n return (0, _withParams.default)({\n type: type\n }, function (value) {\n return !req(value) || expr.test(value);\n });\n};\nexports.regex = regex;","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n})();\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n while (len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\nfunction noop() {}\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\nprocess.listeners = function (name) {\n return [];\n};\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\nprocess.cwd = function () {\n return '/';\n};\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function () {\n return 0;\n};","/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport default function getTimezoneOffsetInMilliseconds(date) {\n var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n utcDate.setUTCFullYear(date.getFullYear());\n return date.getTime() - utcDate.getTime();\n}","/*\n * This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking\n * for users.\n *\n * Debug flags need to be declared in each package individually and must not be imported across package boundaries,\n * because some build tools have trouble tree-shaking imported guards.\n *\n * As a convention, we define debug flags in a `flags.ts` file in the root of a package's `src` folder.\n *\n * Debug flag files will contain \"magic strings\" like `__SENTRY_DEBUG__` that may get replaced with actual values during\n * our, or the user's build process. Take care when introducing new flags - they must not throw if they are not\n * replaced.\n */\n/** Flag that is true for debug builds, false otherwise. */\nexport var IS_DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' ? true : __SENTRY_DEBUG__;","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var weekStartsOn = 1;\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","// This file is generated.\nexport var version = '2.0.0';","var protectedDayOfYearTokens = ['D', 'DD'];\nvar protectedWeekYearTokens = ['YY', 'YYYY'];\nexport function isProtectedDayOfYearToken(token) {\n return protectedDayOfYearTokens.indexOf(token) !== -1;\n}\nexport function isProtectedWeekYearToken(token) {\n return protectedWeekYearTokens.indexOf(token) !== -1;\n}\nexport function throwProtectedError(token, format, input) {\n if (token === 'YYYY') {\n throw new RangeError(\"Use `yyyy` instead of `YYYY` (in `\".concat(format, \"`) for formatting years to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n } else if (token === 'YY') {\n throw new RangeError(\"Use `yy` instead of `YY` (in `\".concat(format, \"`) for formatting years to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n } else if (token === 'D') {\n throw new RangeError(\"Use `d` instead of `D` (in `\".concat(format, \"`) for formatting days of the month to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n } else if (token === 'DD') {\n throw new RangeError(\"Use `dd` instead of `DD` (in `\".concat(format, \"`) for formatting days of the month to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n }\n}","import { getGlobalObject } from './global';\nimport { dynamicRequire, isNodeEnv } from './node';\n/**\n * A TimestampSource implementation for environments that do not support the Performance Web API natively.\n *\n * Note that this TimestampSource does not use a monotonic clock. A call to `nowSeconds` may return a timestamp earlier\n * than a previously returned value. We do not try to emulate a monotonic behavior in order to facilitate debugging. It\n * is more obvious to explain \"why does my span have negative duration\" than \"why my spans have zero duration\".\n */\nvar dateTimestampSource = {\n nowSeconds: function () {\n return Date.now() / 1000;\n }\n};\n/**\n * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not\n * support the API.\n *\n * Wrapping the native API works around differences in behavior from different browsers.\n */\nfunction getBrowserPerformance() {\n var performance = getGlobalObject().performance;\n if (!performance || !performance.now) {\n return undefined;\n }\n // Replace performance.timeOrigin with our own timeOrigin based on Date.now().\n //\n // This is a partial workaround for browsers reporting performance.timeOrigin such that performance.timeOrigin +\n // performance.now() gives a date arbitrarily in the past.\n //\n // Additionally, computing timeOrigin in this way fills the gap for browsers where performance.timeOrigin is\n // undefined.\n //\n // The assumption that performance.timeOrigin + performance.now() ~= Date.now() is flawed, but we depend on it to\n // interact with data coming out of performance entries.\n //\n // Note that despite recommendations against it in the spec, browsers implement the Performance API with a clock that\n // might stop when the computer is asleep (and perhaps under other circumstances). Such behavior causes\n // performance.timeOrigin + performance.now() to have an arbitrary skew over Date.now(). In laptop computers, we have\n // observed skews that can be as long as days, weeks or months.\n //\n // See https://github.com/getsentry/sentry-javascript/issues/2590.\n //\n // BUG: despite our best intentions, this workaround has its limitations. It mostly addresses timings of pageload\n // transactions, but ignores the skew built up over time that can aversely affect timestamps of navigation\n // transactions of long-lived web pages.\n var timeOrigin = Date.now() - performance.now();\n return {\n now: function () {\n return performance.now();\n },\n timeOrigin: timeOrigin\n };\n}\n/**\n * Returns the native Performance API implementation from Node.js. Returns undefined in old Node.js versions that don't\n * implement the API.\n */\nfunction getNodePerformance() {\n try {\n var perfHooks = dynamicRequire(module, 'perf_hooks');\n return perfHooks.performance;\n } catch (_) {\n return undefined;\n }\n}\n/**\n * The Performance API implementation for the current platform, if available.\n */\nvar platformPerformance = isNodeEnv() ? getNodePerformance() : getBrowserPerformance();\nvar timestampSource = platformPerformance === undefined ? dateTimestampSource : {\n nowSeconds: function () {\n return (platformPerformance.timeOrigin + platformPerformance.now()) / 1000;\n }\n};\n/**\n * Returns a timestamp in seconds since the UNIX epoch using the Date API.\n */\nexport var dateTimestampInSeconds = dateTimestampSource.nowSeconds.bind(dateTimestampSource);\n/**\n * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the\n * availability of the Performance API.\n *\n * See `usingPerformanceAPI` to test whether the Performance API is used.\n *\n * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is\n * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The\n * skew can grow to arbitrary amounts like days, weeks or months.\n * See https://github.com/getsentry/sentry-javascript/issues/2590.\n */\nexport var timestampInSeconds = timestampSource.nowSeconds.bind(timestampSource);\n// Re-exported with an old name for backwards-compatibility.\nexport var timestampWithMs = timestampInSeconds;\n/**\n * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps.\n */\nexport var usingPerformanceAPI = platformPerformance !== undefined;\n/**\n * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only.\n */\nexport var _browserPerformanceTimeOriginMode;\n/**\n * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the\n * performance API is available.\n */\nexport var browserPerformanceTimeOrigin = function () {\n // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or\n // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin\n // data as reliable if they are within a reasonable threshold of the current time.\n var performance = getGlobalObject().performance;\n if (!performance || !performance.now) {\n _browserPerformanceTimeOriginMode = 'none';\n return undefined;\n }\n var threshold = 3600 * 1000;\n var performanceNow = performance.now();\n var dateNow = Date.now();\n // if timeOrigin isn't available set delta to threshold so it isn't used\n var timeOriginDelta = performance.timeOrigin ? Math.abs(performance.timeOrigin + performanceNow - dateNow) : threshold;\n var timeOriginIsReliable = timeOriginDelta < threshold;\n // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin\n // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing.\n // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always\n // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the\n // Date API.\n // eslint-disable-next-line deprecation/deprecation\n var navigationStart = performance.timing && performance.timing.navigationStart;\n var hasNavigationStart = typeof navigationStart === 'number';\n // if navigationStart isn't available set delta to threshold so it isn't used\n var navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n var navigationStartIsReliable = navigationStartDelta < threshold;\n if (timeOriginIsReliable || navigationStartIsReliable) {\n // Use the more reliable time origin\n if (timeOriginDelta <= navigationStartDelta) {\n _browserPerformanceTimeOriginMode = 'timeOrigin';\n return performance.timeOrigin;\n } else {\n _browserPerformanceTimeOriginMode = 'navigationStart';\n return navigationStart;\n }\n }\n // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date.\n _browserPerformanceTimeOriginMode = 'dateNow';\n return dateNow;\n}();","export default {\n GRAVATAR_URL: 'https://www.gravatar.com/avatar/',\n ASSIGNEE_TYPE: {\n ME: 'me',\n UNASSIGNED: 'unassigned',\n ALL: 'all',\n },\n STATUS_TYPE: {\n OPEN: 'open',\n RESOLVED: 'resolved',\n PENDING: 'pending',\n SNOOZED: 'snoozed',\n ALL: 'all',\n },\n SORT_BY_TYPE: {\n LAST_ACTIVITY_AT_ASC: 'last_activity_at_asc',\n LAST_ACTIVITY_AT_DESC: 'last_activity_at_desc',\n CREATED_AT_ASC: 'created_at_asc',\n CREATED_AT_DESC: 'created_at_desc',\n PRIORITY_ASC: 'priority_asc',\n PRIORITY_DESC: 'priority_desc',\n WAITING_SINCE_ASC: 'waiting_since_asc',\n WAITING_SINCE_DESC: 'waiting_since_desc',\n },\n ARTICLE_STATUS_TYPES: {\n DRAFT: 0,\n PUBLISH: 1,\n ARCHIVE: 2,\n },\n LAYOUT_TYPES: {\n CONDENSED: 'condensed',\n EXPANDED: 'expanded',\n },\n DOCS_URL: '//www.chatwoot.com/docs/product/',\n HELP_CENTER_DOCS_URL: '//www.chatwoot.com/docs/product/others/help-center',\n TESTIMONIAL_URL: 'https://testimonials.cdn.chatwoot.com/content.json',\n SMALL_SCREEN_BREAKPOINT: 1024,\n AVAILABILITY_STATUS_KEYS: ['online', 'busy', 'offline'],\n SNOOZE_OPTIONS: {\n UNTIL_NEXT_REPLY: 'until_next_reply',\n AN_HOUR_FROM_NOW: 'an_hour_from_now',\n UNTIL_TOMORROW: 'until_tomorrow',\n UNTIL_NEXT_WEEK: 'until_next_week',\n UNTIL_NEXT_MONTH: 'until_next_month',\n UNTIL_CUSTOM_TIME: 'until_custom_time',\n },\n EXAMPLE_URL: 'https://example.com',\n EXAMPLE_WEBHOOK_URL: 'https://example/api/webhook',\n INBOX_SORT_BY: {\n NEWEST: 'desc',\n OLDEST: 'asc',\n },\n INBOX_DISPLAY_BY: {\n SNOOZED: 'snoozed',\n READ: 'read',\n },\n INBOX_FILTER_TYPE: {\n STATUS: 'status',\n TYPE: 'type',\n SORT_ORDER: 'sort_order',\n },\n SLA_MISS_TYPES: {\n FRT: 'frt',\n NRT: 'nrt',\n RT: 'rt',\n },\n};\nexport const DEFAULT_REDIRECT_URL = '/app/';\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"flex flex-col w-full items-start\"},[_c('h2',{staticClass:\"text-xl font-medium mb-1 text-slate-800 dark:text-slate-100 break-words\"},[_vm._v(\"\\n \"+_vm._s(_vm.headerTitle)+\"\\n \")]),_vm._v(\" \"),_c('p',{directives:[{name:\"dompurify-html\",rawName:\"v-dompurify-html\",value:(_vm.headerContent),expression:\"headerContent\"}],staticClass:\"text-sm w-full text-slate-600 dark:text-slate-300\"})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsSubPageHeader.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsSubPageHeader.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./SettingsSubPageHeader.vue?vue&type=template&id=6eaee41c\"\nimport script from \"./SettingsSubPageHeader.vue?vue&type=script&lang=js\"\nexport * from \"./SettingsSubPageHeader.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","'use strict';\n\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}","// eslint-disable-next-line strict\nexport default null;","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\n\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","/* global axios */\n\nimport Cookies from 'js-cookie';\nimport endPoints from './endPoints';\nimport {\n clearCookiesOnLogout,\n deleteIndexedDBOnLogout,\n} from '../store/utils/api';\n\nexport default {\n validityCheck() {\n const urlData = endPoints('validityCheck');\n return axios.get(urlData.url);\n },\n logout() {\n const urlData = endPoints('logout');\n const fetchPromise = new Promise((resolve, reject) => {\n axios\n .delete(urlData.url)\n .then(response => {\n deleteIndexedDBOnLogout();\n clearCookiesOnLogout();\n resolve(response);\n })\n .catch(error => {\n reject(error);\n });\n });\n return fetchPromise;\n },\n hasAuthCookie() {\n return !!Cookies.get('cw_d_session_info');\n },\n getAuthData() {\n if (this.hasAuthCookie()) {\n const savedAuthInfo = Cookies.get('cw_d_session_info');\n return JSON.parse(savedAuthInfo || '{}');\n }\n return false;\n },\n profileUpdate({\n password,\n password_confirmation,\n displayName,\n avatar,\n ...profileAttributes\n }) {\n const formData = new FormData();\n Object.keys(profileAttributes).forEach(key => {\n const hasValue = profileAttributes[key] === undefined;\n if (!hasValue) {\n formData.append(`profile[${key}]`, profileAttributes[key]);\n }\n });\n formData.append('profile[display_name]', displayName || '');\n if (password && password_confirmation) {\n formData.append('profile[password]', password);\n formData.append('profile[password_confirmation]', password_confirmation);\n }\n if (avatar) {\n formData.append('profile[avatar]', avatar);\n }\n return axios.put(endPoints('profileUpdate').url, formData);\n },\n\n updateUISettings({ uiSettings }) {\n return axios.put(endPoints('profileUpdate').url, {\n profile: { ui_settings: uiSettings },\n });\n },\n\n updateAvailability(availabilityData) {\n return axios.post(endPoints('availabilityUpdate').url, {\n profile: { ...availabilityData },\n });\n },\n\n updateAutoOffline(accountId, autoOffline = false) {\n return axios.post(endPoints('autoOffline').url, {\n profile: { account_id: accountId, auto_offline: autoOffline },\n });\n },\n\n deleteAvatar() {\n return axios.delete(endPoints('deleteAvatar').url);\n },\n\n resetPassword({ email }) {\n const urlData = endPoints('resetPassword');\n return axios.post(urlData.url, { email });\n },\n\n setActiveAccount({ accountId }) {\n const urlData = endPoints('setActiveAccount');\n return axios.put(urlData.url, {\n profile: {\n account_id: accountId,\n },\n });\n },\n resendConfirmation() {\n const urlData = endPoints('resendConfirmation');\n return axios.post(urlData.url);\n },\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nexport const buildContactParams = (page, sortAttr, label, search) => {\n let params = `include_contact_inboxes=false&page=${page}&sort=${sortAttr}`;\n if (search) {\n params = `${params}&q=${search}`;\n }\n if (label) {\n params = `${params}&labels[]=${label}`;\n }\n return params;\n};\n\nclass ContactAPI extends ApiClient {\n constructor() {\n super('contacts', { accountScoped: true });\n }\n\n get(page, sortAttr = 'name', label = '') {\n let requestURL = `${this.url}?${buildContactParams(\n page,\n sortAttr,\n label,\n ''\n )}`;\n return axios.get(requestURL);\n }\n\n getConversations(contactId) {\n return axios.get(`${this.url}/${contactId}/conversations`);\n }\n\n getContactableInboxes(contactId) {\n return axios.get(`${this.url}/${contactId}/contactable_inboxes`);\n }\n\n getContactLabels(contactId) {\n return axios.get(`${this.url}/${contactId}/labels`);\n }\n\n updateContactLabels(contactId, labels) {\n return axios.post(`${this.url}/${contactId}/labels`, { labels });\n }\n\n search(search = '', page = 1, sortAttr = 'name', label = '') {\n let requestURL = `${this.url}/search?${buildContactParams(\n page,\n sortAttr,\n label,\n search\n )}`;\n return axios.get(requestURL);\n }\n\n // eslint-disable-next-line default-param-last\n filter(page = 1, sortAttr = 'name', queryPayload) {\n let requestURL = `${this.url}/filter?${buildContactParams(page, sortAttr)}`;\n return axios.post(requestURL, queryPayload);\n }\n\n importContacts(file) {\n const formData = new FormData();\n formData.append('import_file', file);\n return axios.post(`${this.url}/import`, formData, {\n headers: { 'Content-Type': 'multipart/form-data' },\n });\n }\n\n destroyCustomAttributes(contactId, customAttributes) {\n return axios.post(`${this.url}/${contactId}/destroy_custom_attributes`, {\n custom_attributes: customAttributes,\n });\n }\n\n destroyAvatar(contactId) {\n return axios.delete(`${this.url}/${contactId}/avatar`);\n }\n\n exportContacts(queryPayload) {\n return axios.post(`${this.url}/export`, queryPayload);\n }\n}\n\nexport default new ContactAPI();\n","'use strict';\n\nvar prosemirrorHistory = require('prosemirror-history');\nvar prosemirrorState = require('prosemirror-state');\nvar prosemirrorDropcursor = require('prosemirror-dropcursor');\nvar prosemirrorGapcursor = require('prosemirror-gapcursor');\nvar prosemirrorMenu = require('prosemirror-menu');\nvar prosemirrorView = require('prosemirror-view');\nvar prosemirrorInputrules = require('prosemirror-inputrules');\nvar prosemirrorModel = require('prosemirror-model');\nvar prosemirrorUtils = require('prosemirror-utils');\nvar baseListCommand = require('prosemirror-schema-list');\nvar LinkifyIt = require('linkify-it');\nvar prosemirrorCommands = require('prosemirror-commands');\nvar prosemirrorKeymap = require('prosemirror-keymap');\nvar MarkdownIt = require('markdown-it');\nvar prosemirrorMarkdown = require('prosemirror-markdown');\nvar MarkdownItSup = require('markdown-it-sup');\nfunction _interopNamespaceDefault(e) {\n var n = Object.create(null);\n if (e) {\n Object.keys(e).forEach(function (k) {\n if (k !== 'default') {\n var d = Object.getOwnPropertyDescriptor(e, k);\n Object.defineProperty(n, k, d.get ? d : {\n enumerable: true,\n get: function () {\n return e[k];\n }\n });\n }\n });\n }\n n.default = e;\n return Object.freeze(n);\n}\nvar baseListCommand__namespace = /*#__PURE__*/_interopNamespaceDefault(baseListCommand);\nvar Placeholder = function () {\n let placeholderText = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n return new prosemirrorState.Plugin({\n props: {\n decorations: state => {\n const decorations = [];\n const decorate = (node, pos) => {\n if (state.doc.content.size === 2) {\n decorations.push(prosemirrorView.Decoration.node(pos, pos + node.nodeSize, {\n class: 'empty-node',\n 'data-placeholder': placeholderText\n }));\n }\n };\n state.doc.descendants(decorate);\n return prosemirrorView.DecorationSet.create(state.doc, decorations);\n }\n }\n });\n};\n\n/**\n * Determine if a mark (with specific attribute values) exists anywhere in the selection.\n */\nconst markActive = (state, mark) => {\n const {\n from,\n to,\n empty\n } = state.selection;\n // When the selection is empty, only the active marks apply.\n if (empty) {\n return !!mark.isInSet(state.tr.storedMarks || state.selection.$from.marks());\n }\n // For a non-collapsed selection, the marks on the nodes matter.\n let found = false;\n state.doc.nodesBetween(from, to, node => {\n found = found || mark.isInSet(node.marks);\n });\n return found;\n};\nconst hasCode = (state, pos) => {\n const {\n code\n } = state.schema.marks;\n const node = pos >= 0 && state.doc.nodeAt(pos);\n if (node) {\n return !!node.marks.filter(mark => mark.type === code).length;\n }\n return false;\n};\nconst hasUnsupportedMarkForBlockInputRule = (state, start, end) => {\n const {\n doc,\n schema: {\n marks\n }\n } = state;\n let unsupportedMarksPresent = false;\n const isUnsupportedMark = node => node.type === marks.code || node.type === marks.link;\n doc.nodesBetween(start, end, node => {\n unsupportedMarksPresent = unsupportedMarksPresent || node.marks.filter(isUnsupportedMark).length > 0;\n });\n return unsupportedMarksPresent;\n};\nconst hasUnsupportedMarkForInputRule = (state, start, end) => {\n const {\n doc,\n schema: {\n marks\n }\n } = state;\n let unsupportedMarksPresent = false;\n const isCodemark = mark => mark.type === marks.code;\n doc.nodesBetween(start, end, node => {\n unsupportedMarksPresent = unsupportedMarksPresent || node.marks.filter(isCodemark).length > 0;\n });\n return unsupportedMarksPresent;\n};\nfunction defaultInputRuleHandler(inputRule) {\n let isBlockNodeRule = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n const originalHandler = inputRule.handler;\n inputRule.handler = (state, match, start, end) => {\n // Skip any input rule inside code\n // https://product-fabric.atlassian.net/wiki/spaces/E/pages/37945345/Editor+content+feature+rules#Editorcontent/featurerules-Rawtextblocks\n const unsupportedMarks = isBlockNodeRule ? hasUnsupportedMarkForBlockInputRule(state, start, end) : hasUnsupportedMarkForInputRule(state, start, end);\n if (state.selection.$from.parent.type.spec.code || unsupportedMarks) {\n return;\n }\n return originalHandler(state, match, start, end);\n };\n return inputRule;\n}\nconst createInputRule$1 = function (match, handler) {\n let isBlockNodeRule = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n return defaultInputRuleHandler(new prosemirrorInputrules.InputRule(match, handler), isBlockNodeRule);\n};\n\n// ProseMirror uses the Unicode Character 'OBJECT REPLACEMENT CHARACTER' (U+FFFC) as text representation for\n// leaf nodes, i.e. nodes that don't have any content or text property (e.g. hardBreak, emoji, mention, rule)\n// It was introduced because of https://github.com/ProseMirror/prosemirror/issues/262\n// This can be used in an input rule regex to be able to include or exclude such nodes.\nconst leafNodeReplacementCharacter = '\\ufffc';\n\n/**\n * Returns false if node contains only empty inline nodes and hardBreaks.\n */\nfunction hasVisibleContent(node) {\n const isInlineNodeHasVisibleContent = inlineNode => {\n return inlineNode.isText ? !!inlineNode.textContent.trim() : inlineNode.type.name !== 'hardBreak';\n };\n if (node.isInline) {\n return isInlineNodeHasVisibleContent(node);\n } else if (node.isBlock && (node.isLeaf || node.isAtom)) {\n return true;\n } else if (!node.childCount) {\n return false;\n }\n for (let index = 0; index < node.childCount; index++) {\n const child = node.child(index);\n if (hasVisibleContent(child)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Checks if node is an empty paragraph.\n */\nfunction isEmptyParagraph(node) {\n return !node || node.type.name === 'paragraph' && !node.textContent && !node.childCount;\n}\n\n/**\n * Checks if a node has any content. Ignores node that only contain empty block nodes.\n */\nfunction isNodeEmpty(node) {\n if (node && node.textContent) {\n return false;\n }\n if (!node || !node.childCount || node.childCount === 1 && isEmptyParagraph(node.firstChild)) {\n return true;\n }\n const block = [];\n const nonBlock = [];\n node.forEach(child => {\n child.isInline ? nonBlock.push(child) : block.push(child);\n });\n return !nonBlock.length && !block.filter(childNode => !!childNode.childCount && !(childNode.childCount === 1 && isEmptyParagraph(childNode.firstChild)) || childNode.isAtom).length;\n}\nconst compose = function () {\n for (var _len = arguments.length, functions = new Array(_len), _key = 0; _key < _len; _key++) {\n functions[_key] = arguments[_key];\n }\n return args => functions.reduceRight((arg, fn) => fn(arg), args);\n};\n\n/**\n * A helper to get the underlying array of a fragment.\n */\nfunction getFragmentBackingArray(fragment) {\n return fragment.content;\n}\nfunction mapFragment(content, callback, parent) {\n const children = [];\n for (let i = 0, size = content.childCount; i < size; i++) {\n const node = content.child(i);\n const transformed = node.isLeaf ? callback(node, parent, i) : callback(node.copy(mapFragment(node.content, callback, node)), parent, i);\n if (transformed) {\n if (transformed) {\n children.push(...getFragmentBackingArray(transformed));\n } else if (Array.isArray(transformed)) {\n children.push(...transformed);\n } else {\n children.push(transformed);\n }\n }\n }\n return prosemirrorModel.Fragment.fromArray(children);\n}\nfunction mapSlice(slice, callback) {\n const fragment = mapFragment(slice.content, callback);\n return new prosemirrorModel.Slice(fragment, slice.openStart, slice.openEnd);\n}\nfunction atTheEndOfDoc(state) {\n const {\n selection,\n doc\n } = state;\n return doc.nodeSize - selection.$to.pos - 2 === selection.$to.depth;\n}\nfunction canMoveDown(state) {\n const {\n selection\n } = state;\n if (selection instanceof prosemirrorState.TextSelection) {\n if (!selection.empty) {\n return true;\n }\n }\n return !atTheEndOfDoc(state);\n}\nfunction atTheBeginningOfDoc(state) {\n const {\n selection\n } = state;\n return selection.$from.pos === selection.$from.depth;\n}\nfunction canMoveUp(state) {\n const {\n selection\n } = state;\n if (selection instanceof prosemirrorState.TextSelection) {\n if (!selection.empty) {\n return true;\n }\n }\n return !atTheBeginningOfDoc(state);\n}\nconst maxIndentation = 3;\nfunction createInputRule(regexp, nodeType) {\n return prosemirrorInputrules.wrappingInputRule(regexp, nodeType, {}, (_, node) => node.type === nodeType);\n}\nconst insertList = (state, listType, listTypeName, start, end) => {\n // To ensure that match is done after HardBreak.\n const {\n hardBreak\n } = state.schema.nodes;\n if (state.doc.resolve(start).nodeAfter.type !== hardBreak) {\n return null;\n }\n\n // To ensure no nesting is done.\n if (state.doc.resolve(start).depth > 1) {\n return null;\n }\n\n // Split at the start of autoformatting and delete formatting characters.\n let tr = state.tr.delete(start, end).split(start);\n\n // If node has more content split at the end of autoformatting.\n let currentNode = tr.doc.nodeAt(start + 1);\n tr.doc.nodesBetween(start, start + currentNode.nodeSize, (node, pos) => {\n if (node.type === hardBreak) {\n tr = tr.split(pos + 1).delete(pos, pos + 1);\n }\n });\n\n // Wrap content in list node\n const {\n list_item\n } = state.schema.nodes;\n const position = tr.doc.resolve(start + 2);\n let range = position.blockRange(position);\n tr = tr.wrap(range, [{\n type: listType\n }, {\n type: list_item\n }]);\n return tr;\n};\n\n/**\n * Create input rules for bullet list node\n *\n * @param {Schema} schema\n * @returns {InputRule[]}\n */\nfunction getBulletListInputRules(schema) {\n const asteriskRule = createInputRule(/^\\s*([\\*\\-]) $/, schema.nodes['bullet_list']);\n const leafNodeAsteriskRule = createInputRule$1(new RegExp(`${leafNodeReplacementCharacter}\\\\s*([\\\\*\\\\-]) $`), (state, _match, start, end) => {\n return insertList(state, schema.nodes['bullet_list'], 'bullet', start, end);\n }, true);\n return [asteriskRule, leafNodeAsteriskRule];\n}\n\n/**\n * Create input rules for strong mark\n *\n * @param {Schema} schema\n * @returns {InputRule[]}\n */\nfunction getOrderedListInputRules(schema) {\n // NOTE: There is a built in input rule for ordered lists in ProseMirror. However, that\n // input rule will allow for a list to start at any given number, which isn't allowed in\n // markdown (where a ordered list will always start on 1). This is a slightly modified\n // version of that input rule.\n const numberOneRule = createInputRule(/^(1)[\\.\\)] $/, schema.nodes['ordered_list']);\n const leafNodeNumberOneRule = createInputRule$1(new RegExp(`${leafNodeReplacementCharacter}(1)[\\\\.\\\\)] $`), (state, _match, start, end) => {\n return insertList(state, schema.nodes['ordered_list'], 'numbered', start, end);\n }, true);\n return [numberOneRule, leafNodeNumberOneRule];\n}\nfunction listInputRules(schema) {\n const rules = [];\n if (schema.nodes['bullet_list']) {\n rules.push(...getBulletListInputRules(schema));\n }\n if (schema.nodes['ordered_list']) {\n rules.push(...getOrderedListInputRules(schema));\n }\n if (rules.length !== 0) {\n return prosemirrorInputrules.inputRules({\n rules\n });\n }\n return;\n}\nconst isInsideListItem = state => {\n const {\n $from\n } = state.selection;\n const {\n list_item,\n paragraph\n } = state.schema.nodes;\n return prosemirrorUtils.hasParentNodeOfType(list_item)(state.selection) && $from.parent.type === paragraph;\n};\n\n// Returns the number of nested lists that are ancestors of the given selection\nconst numberNestedLists = (resolvedPos, nodes) => {\n const {\n bullet_list,\n ordered_list\n } = nodes;\n let count = 0;\n for (let i = resolvedPos.depth - 1; i > 0; i--) {\n const node = resolvedPos.node(i);\n if (node.type === bullet_list || node.type === ordered_list) {\n count += 1;\n }\n }\n return count;\n};\n\n/**\n * Merge closest bullet list blocks into one\n *\n * @param {NodeType} listItem\n * @param {NodeRange} range\n * @returns\n */\nfunction mergeLists(listItem, range) {\n return command => {\n return (state, dispatch) => command(state, tr => {\n const $start = state.doc.resolve(range.start);\n const $end = state.doc.resolve(range.end);\n const $join = tr.doc.resolve(tr.mapping.map(range.end - 1));\n if ($join.nodeBefore && $join.nodeAfter && $join.nodeBefore.type === $join.nodeAfter.type) {\n if ($end.nodeAfter && $end.nodeAfter.type === listItem && $end.parent.type === $start.parent.type) {\n tr.join($join.pos);\n }\n }\n if (dispatch) {\n dispatch(tr.scrollIntoView());\n }\n });\n };\n}\nfunction outdentList() {\n return function (state, dispatch) {\n const {\n list_item\n } = state.schema.nodes;\n const {\n $from,\n $to\n } = state.selection;\n if (isInsideListItem(state)) {\n let range = $from.blockRange($to, node => node.childCount > 0 && node.firstChild.type === list_item);\n if (!range) {\n return false;\n }\n return compose(mergeLists(list_item, range),\n // 2. Check if I need to merge nearest list\n baseListCommand__namespace.liftListItem // 1. First lift list item\n )(list_item)(state, dispatch);\n }\n return false;\n };\n}\nfunction splitListItem(itemType) {\n return function (state, dispatch) {\n const ref = state.selection;\n const $from = ref.$from;\n const $to = ref.$to;\n const node = ref.node;\n if (node && node.isBlock || $from.depth < 2 || !$from.sameParent($to)) {\n return false;\n }\n const grandParent = $from.node(-1);\n if (grandParent.type !== itemType) {\n return false;\n }\n if (grandParent.content.content.length <= 1 && $from.parent.content.size === 0 && !(grandParent.content.size === 0)) {\n // In an empty block. If this is a nested list, the wrapping\n // list item should be split. Otherwise, bail out and let next\n // command handle lifting.\n if ($from.depth === 2 || $from.node(-3).type !== itemType || $from.index(-2) !== $from.node(-2).childCount - 1) {\n return false;\n }\n if (dispatch) {\n let wrap = prosemirrorModel.Fragment.empty;\n const keepItem = $from.index(-1) > 0;\n // Build a fragment containing empty versions of the structure\n // from the outer list item to the parent node of the cursor\n for (let d = $from.depth - (keepItem ? 1 : 2); d >= $from.depth - 3; d--) {\n wrap = prosemirrorModel.Fragment.from($from.node(d).copy(wrap));\n }\n // Add a second list item with an empty default start node\n wrap = wrap.append(prosemirrorModel.Fragment.from(itemType.createAndFill()));\n const tr$1 = state.tr.replace($from.before(keepItem ? undefined : -1), $from.after(-3), new prosemirrorModel.Slice(wrap, keepItem ? 3 : 2, 2));\n tr$1.setSelection(state.selection.constructor.near(tr$1.doc.resolve($from.pos + (keepItem ? 3 : 2))));\n dispatch(tr$1.scrollIntoView());\n }\n return true;\n }\n const nextType = $to.pos === $from.end() ? grandParent.contentMatchAt(0).defaultType : undefined;\n const tr = state.tr.delete($from.pos, $to.pos);\n const types = nextType && [undefined, {\n type: nextType\n }];\n if (dispatch) {\n dispatch(tr.split($from.pos, 2, types).scrollIntoView());\n }\n return true;\n };\n}\nconst enterKeyOnListCommand = (state, dispatch) => {\n const {\n selection\n } = state;\n if (selection.empty) {\n const {\n $from\n } = selection;\n const {\n list_item\n } = state.schema.nodes;\n const node = $from.node($from.depth);\n const wrapper = $from.node($from.depth - 1);\n if (wrapper && wrapper.type === list_item) {\n /** Check if the wrapper has any visible content */\n const wrapperHasContent = hasVisibleContent(wrapper);\n if (isNodeEmpty(node) && !wrapperHasContent) {\n return outdentList()(state, dispatch);\n } else {\n return splitListItem(list_item)(state, dispatch);\n }\n }\n }\n return false;\n};\n\n/**\n * Check if we can sink the list.\n *\n * @param {number} initialIndentationLevel\n * @param {EditorState} state\n * @returns {boolean} - true if we can sink the list\n * - false if we reach the max indentation level\n */\nfunction canSink(initialIndentationLevel, state) {\n /*\n - Keep going forward in document until indentation of the node is < than the initial\n - If indentation is EVER > max indentation, return true and don't sink the list\n */\n let currentIndentationLevel;\n let currentPos = state.tr.selection.$to.pos;\n do {\n const resolvedPos = state.doc.resolve(currentPos);\n currentIndentationLevel = numberNestedLists(resolvedPos, state.schema.nodes);\n if (currentIndentationLevel > maxIndentation) {\n // Cancel sink list.\n // If current indentation less than the initial, it won't be\n // larger than the max, and the loop will terminate at end of this iteration\n return false;\n }\n currentPos++;\n } while (currentIndentationLevel >= initialIndentationLevel);\n return true;\n}\nfunction indentList() {\n return function (state, dispatch) {\n const {\n list_item\n } = state.schema.nodes;\n if (isInsideListItem(state)) {\n // Record initial list indentation\n const initialIndentationLevel = numberNestedLists(state.selection.$from, state.schema.nodes);\n if (canSink(initialIndentationLevel, state)) {\n baseListCommand__namespace.sinkListItem(list_item)(state, dispatch);\n }\n return true;\n }\n return false;\n };\n}\n\n// This is a copy of the linkify-it regex, passing `undefined` for the schema\n// will use the default regex.\nconst linkify = new LinkifyIt(undefined, {\n fuzzyLink: false\n});\nlinkify.add('sourcetree:', 'http:');\nconst tlds = 'app|biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|');\nconst tlds2Char = 'a[cdefgilmnoqrtuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrtuvwxyz]|n[acefgilopruz]|om|p[aefghkmnrtw]|qa|r[eosuw]|s[abcdegijklmnrtuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]';\ntlds.push(tlds2Char);\nlinkify.tlds(tlds, false);\nfunction createLinkInputRule(regexp) {\n // Plain typed text (eg, typing 'www.google.com') should convert to a hyperlink\n return createInputRule$1(regexp, (state, match, start, end) => {\n const {\n schema\n } = state;\n if (state.doc.rangeHasMark(start, end, schema.marks.link)) {\n return null;\n }\n const [link] = match;\n const url = normalizeUrl(link.url);\n const markType = schema.mark('link', {\n href: url\n });\n return state.tr.addMark(start - (link.input.length - link.lastIndex), end - (link.input.length - link.lastIndex), markType).insertText(' ');\n });\n}\nclass LinkMatcher {\n exec(str) {\n if (str.endsWith(' ')) {\n const chunks = str.slice(0, str.length - 1).split(' ');\n const lastChunk = chunks[chunks.length - 1];\n const links = linkify.match(lastChunk);\n if (links && links.length > 0) {\n const lastLink = links[links.length - 1];\n lastLink.input = lastChunk;\n lastLink.length = lastLink.lastIndex - lastLink.index + 1;\n return [lastLink];\n }\n }\n return null;\n }\n}\nconst whitelistedURLPatterns = [/^https?:\\/\\//im, /^ftps?:\\/\\//im, /^\\//im, /^mailto:/im, /^skype:/im, /^callto:/im, /^facetime:/im, /^git:/im, /^irc6?:/im, /^news:/im, /^nntp:/im, /^feed:/im, /^cvs:/im, /^svn:/im, /^mvn:/im, /^ssh:/im, /^scp:\\/\\//im, /^sftp:\\/\\//im, /^itms:/im, /^notes:/im, /^hipchat:\\/\\//im, /^sourcetree:/im, /^urn:/im, /^tel:/im, /^xmpp:/im, /^telnet:/im, /^vnc:/im, /^rdp:/im, /^whatsapp:/im, /^slack:/im, /^sips?:/im, /^magnet:/im];\nconst isSafeUrl = url => {\n return whitelistedURLPatterns.some(p => p.test(url.trim()) === true);\n};\nfunction getLinkMatch(str) {\n const match = str && linkify.match(str);\n return match && match[0];\n}\n\n/**\n * Adds protocol to url if needed.\n */\nfunction normalizeUrl(url) {\n if (!url) {\n return '';\n }\n if (isSafeUrl(url)) {\n return url;\n }\n const match = getLinkMatch(url);\n return match && match.url || '';\n}\nfunction linksInputRules(schema) {\n if (!schema.marks.link) {\n return;\n }\n const urlWithASpaceRule = createLinkInputRule(new LinkMatcher());\n\n // [something](link) should convert to a hyperlink\n const markdownLinkRule = createInputRule$1(/(^|[^!])\\[(.*?)\\]\\((\\S+)\\)$/, (state, match, start, end) => {\n const {\n schema\n } = state;\n const [, prefix, linkText, linkUrl] = match;\n const url = normalizeUrl(linkUrl);\n const markType = schema.mark('link', {\n href: url\n });\n return state.tr.replaceWith(start + prefix.length, end, schema.text(linkText, [markType]));\n });\n return prosemirrorInputrules.inputRules({\n rules: [urlWithASpaceRule, markdownLinkRule]\n });\n}\nconst applyMarkOnRange = (from, to, removeMark, mark, tr) => {\n // const { schema } = tr.doc.type;\n // const { code } = schema.marks;\n // if (mark.type === code) {\n // // When turning to code we need to flat some special characters\n // import { transformSmartCharsMentionsAndEmojis } from '../plugins/text-formatting/commands/transform-to-code';\n // transformSmartCharsMentionsAndEmojis(from, to, tr);\n // }\n\n tr.doc.nodesBetween(tr.mapping.map(from), tr.mapping.map(to), (node, pos) => {\n if (!node.isText) {\n return true;\n }\n\n // This is an issue when the user selects some text.\n // We need to check if the current node position is less than the range selection from.\n // If it’s true, that means we should apply the mark using the range selection,\n // not the current node position.\n const nodeBetweenFrom = Math.max(pos, tr.mapping.map(from));\n const nodeBetweenTo = Math.min(pos + node.nodeSize, tr.mapping.map(to));\n if (removeMark) {\n tr.removeMark(nodeBetweenFrom, nodeBetweenTo, mark);\n } else {\n tr.addMark(nodeBetweenFrom, nodeBetweenTo, mark);\n }\n return true;\n });\n return tr;\n};\nconst moveRight = () => {\n return (state, dispatch) => {\n const {\n code\n } = state.schema.marks;\n const {\n empty,\n $cursor\n } = state.selection;\n if (!empty || !$cursor) {\n return false;\n }\n const {\n storedMarks\n } = state.tr;\n if (code) {\n const insideCode = markActive(state, code.create());\n const currentPosHasCode = state.doc.rangeHasMark($cursor.pos, $cursor.pos, code);\n const nextPosHasCode = state.doc.rangeHasMark($cursor.pos, $cursor.pos + 1, code);\n const exitingCode = !currentPosHasCode && !nextPosHasCode && (!storedMarks || !!storedMarks.length);\n const enteringCode = !currentPosHasCode && nextPosHasCode && (!storedMarks || !storedMarks.length);\n\n // entering code mark (from the left edge): don't move the cursor, just add the mark\n if (!insideCode && enteringCode) {\n if (dispatch) {\n dispatch(state.tr.addStoredMark(code.create()));\n }\n return true;\n }\n\n // exiting code mark: don't move the cursor, just remove the mark\n if (insideCode && exitingCode) {\n if (dispatch) {\n dispatch(state.tr.removeStoredMark(code));\n }\n return true;\n }\n }\n return false;\n };\n};\nconst moveLeft = () => {\n return (state, dispatch) => {\n const {\n code\n } = state.schema.marks;\n const {\n empty,\n $cursor\n } = state.selection;\n if (!empty || !$cursor) {\n return false;\n }\n const {\n storedMarks\n } = state.tr;\n if (code) {\n const insideCode = code && markActive(state, code.create());\n const currentPosHasCode = hasCode(state, $cursor.pos);\n const nextPosHasCode = hasCode(state, $cursor.pos - 1);\n const nextNextPosHasCode = hasCode(state, $cursor.pos - 2);\n const exitingCode = currentPosHasCode && !nextPosHasCode && Array.isArray(storedMarks);\n const atLeftEdge = nextPosHasCode && !nextNextPosHasCode && (storedMarks === null || Array.isArray(storedMarks) && !!storedMarks.length);\n const atRightEdge = (exitingCode && Array.isArray(storedMarks) && !storedMarks.length || !exitingCode && storedMarks === null) && !nextPosHasCode && nextNextPosHasCode;\n const enteringCode = !currentPosHasCode && nextPosHasCode && Array.isArray(storedMarks) && !storedMarks.length;\n\n // at the right edge: remove code mark and move the cursor to the left\n if (!insideCode && atRightEdge) {\n const tr = state.tr.setSelection(prosemirrorState.Selection.near(state.doc.resolve($cursor.pos - 1)));\n if (dispatch) {\n dispatch(tr.removeStoredMark(code));\n }\n return true;\n }\n\n // entering code mark (from right edge): don't move the cursor, just add the mark\n if (!insideCode && enteringCode) {\n if (dispatch) {\n dispatch(state.tr.addStoredMark(code.create()));\n }\n return true;\n }\n\n // at the left edge: add code mark and move the cursor to the left\n if (insideCode && atLeftEdge) {\n const tr = state.tr.setSelection(prosemirrorState.Selection.near(state.doc.resolve($cursor.pos - 1)));\n if (dispatch) {\n dispatch(tr.addStoredMark(code.create()));\n }\n return true;\n }\n\n // exiting code mark (or at the beginning of the line): don't move the cursor, just remove the mark\n const isFirstChild = $cursor.index($cursor.depth - 1) === 0;\n if (insideCode && (exitingCode || !$cursor.nodeBefore && isFirstChild)) {\n if (dispatch) {\n dispatch(state.tr.removeStoredMark(code));\n }\n return true;\n }\n }\n return false;\n };\n};\nconst insertBlock = (state, nodeType, nodeName, start, end, attrs) => {\n // To ensure that match is done after HardBreak.\n const {\n hard_break: hardBreak,\n code_block: codeBlock,\n list_item: listItem\n } = state.schema.nodes;\n const $pos = state.doc.resolve(start);\n if ($pos.nodeAfter.type !== hardBreak) {\n return null;\n }\n\n // To ensure no nesting is done. (unless we're inserting a codeBlock inside lists)\n if ($pos.depth > 1 && !(nodeType === codeBlock && prosemirrorUtils.hasParentNodeOfType(listItem)(state.selection))) {\n return null;\n }\n\n // Split at the start of autoformatting and delete formatting characters.\n let tr = state.tr.delete(start, end).split(start);\n let currentNode = tr.doc.nodeAt(start + 1);\n\n // If node has more content split at the end of autoformatting.\n let nodeHasMoreContent = false;\n tr.doc.nodesBetween(start, start + currentNode.nodeSize, (node, pos) => {\n if (!nodeHasMoreContent && node.type === hardBreak) {\n nodeHasMoreContent = true;\n tr = tr.split(pos + 1).delete(pos, pos + 1);\n }\n });\n if (nodeHasMoreContent) {\n currentNode = tr.doc.nodeAt(start + 1);\n }\n\n // Create new node and fill with content of current node.\n const {\n blockquote,\n paragraph\n } = state.schema.nodes;\n let content;\n let depth;\n if (nodeType === blockquote) {\n depth = 3;\n content = [paragraph.create({}, currentNode.content)];\n } else {\n depth = 2;\n content = currentNode.content;\n }\n const newNode = nodeType.create(attrs, content);\n\n // Add new node.\n tr = tr.setSelection(new prosemirrorState.NodeSelection(tr.doc.resolve(start + 1))).replaceSelectionWith(newNode).setSelection(new prosemirrorState.TextSelection(tr.doc.resolve(start + depth)));\n return tr;\n};\nfunction transformToCodeBlockAction(state, attrs) {\n if (!state.selection.empty) {\n // Don't do anything, if there is something selected\n return state.tr;\n }\n const codeBlock = state.schema.nodes.code_block;\n const startOfCodeBlockText = state.selection.$from;\n const parentPos = startOfCodeBlockText.before();\n const end = startOfCodeBlockText.end();\n const codeBlockSlice = mapSlice(state.doc.slice(startOfCodeBlockText.pos, end), node => {\n if (node.type === state.schema.nodes.hard_break) {\n return state.schema.text('\\n');\n }\n if (node.isText) {\n return node.mark([]);\n } else if (node.isInline) {\n return node.attrs.text ? state.schema.text(node.attrs.text) : null;\n } else {\n return node.content.childCount ? node.content : null;\n }\n });\n const tr = state.tr.replaceRange(startOfCodeBlockText.pos, end, codeBlockSlice);\n // If our offset isnt at 3 (backticks) at the start of line, cater for content.\n if (startOfCodeBlockText.parentOffset >= 3) {\n return tr.split(startOfCodeBlockText.pos, undefined, [{\n type: codeBlock,\n attrs\n }]);\n }\n // TODO: Check parent node for valid code block marks, ATM It's not necessary because code block doesn't have any valid mark.\n const codeBlockMarks = [];\n return tr.setNodeMarkup(parentPos, codeBlock, attrs, codeBlockMarks);\n}\nfunction isConvertableToCodeBlock(state) {\n // Before a document is loaded, there is no selection.\n if (!state.selection) {\n return false;\n }\n const {\n $from\n } = state.selection;\n const node = $from.parent;\n if (!node.isTextblock || node.type === state.schema.nodes.code_block) {\n return false;\n }\n const parentDepth = $from.depth - 1;\n const parentNode = $from.node(parentDepth);\n const index = $from.index(parentDepth);\n return parentNode.canReplaceWith(index, index + 1, state.schema.nodes.code_block);\n}\nconst cleanUpAtTheStartOfDocument = (state, dispatch) => {\n const {\n $cursor\n } = state.selection;\n if ($cursor && !$cursor.nodeBefore && !$cursor.nodeAfter && $cursor.pos === 1) {\n const {\n tr,\n schema\n } = state;\n const {\n paragraph\n } = schema.nodes;\n const {\n parent\n } = $cursor;\n\n /**\n * Use cases:\n * 1. Change `heading` to `paragraph`\n * 2. Remove block marks\n *\n * NOTE: We already know it's an empty doc so it's safe to use 0\n */\n tr.setNodeMarkup(0, paragraph, parent.attrs, []);\n if (dispatch) {\n dispatch(tr);\n }\n return true;\n }\n return false;\n};\nfunction canCreateParagraphNear(state) {\n const {\n selection: {\n $from\n }\n } = state;\n const node = $from.node($from.depth);\n const insideCodeBlock = !!node && node.type === state.schema.nodes.code_block;\n const isNodeSelection = state.selection instanceof prosemirrorState.NodeSelection;\n return $from.depth > 1 || isNodeSelection || insideCodeBlock;\n}\nconst createNewParagraphBelow = (state, dispatch) => {\n const append = true;\n if (!canMoveDown(state) && canCreateParagraphNear(state)) {\n createParagraphNear(append)(state, dispatch);\n return true;\n }\n return false;\n};\nconst createNewParagraphAbove = (state, dispatch) => {\n const append = false;\n if (!canMoveUp(state) && canCreateParagraphNear(state)) {\n createParagraphNear(append)(state, dispatch);\n return true;\n }\n return false;\n};\nfunction topLevelNodeIsEmptyTextBlock(state) {\n const topLevelNode = state.selection.$from.node(1);\n return topLevelNode.isTextblock && topLevelNode.type !== state.schema.nodes.code_block && topLevelNode.nodeSize === 2;\n}\nfunction getInsertPosFromTextBlock(state, append) {\n const {\n $from,\n $to\n } = state.selection;\n let pos;\n if (!append) {\n pos = $from.start(0);\n } else {\n pos = $to.end(0);\n }\n return pos;\n}\nfunction getInsertPosFromNonTextBlock(state, append) {\n const {\n $from,\n $to\n } = state.selection;\n let pos;\n if (!append) {\n // The start position is different with text block because it starts from 0\n pos = $from.start($from.depth);\n // The depth is different with text block because it starts from 0\n pos = $from.depth > 0 ? pos - 1 : pos;\n } else {\n pos = $to.end($to.depth);\n pos = $to.depth > 0 ? pos + 1 : pos;\n }\n return pos;\n}\nfunction createParagraphNear() {\n let append = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n return function (state, dispatch) {\n const paragraph = state.schema.nodes.paragraph;\n if (!paragraph) {\n return false;\n }\n let insertPos;\n if (state.selection instanceof prosemirrorState.TextSelection) {\n if (topLevelNodeIsEmptyTextBlock(state)) {\n return false;\n }\n insertPos = getInsertPosFromTextBlock(state, append);\n } else {\n insertPos = getInsertPosFromNonTextBlock(state, append);\n }\n const tr = state.tr.insert(insertPos, paragraph.createAndFill());\n tr.setSelection(prosemirrorState.TextSelection.create(tr.doc, insertPos + 1));\n if (dispatch) {\n dispatch(tr);\n }\n return true;\n };\n}\nconst MAX_HEADING_LEVEL = 6;\nfunction getHeadingLevel(match) {\n return {\n level: match[1].length\n };\n}\nfunction headingRule(nodeType, maxLevel) {\n return prosemirrorInputrules.textblockTypeInputRule(new RegExp('^(#{1,' + maxLevel + '})\\\\s$'), nodeType, getHeadingLevel);\n}\nfunction blockQuoteRule(nodeType) {\n return prosemirrorInputrules.wrappingInputRule(/^\\s*>\\s$/, nodeType);\n}\n\n/**\n * Get heading rules\n *\n * @param {Schema} schema\n * @returns {}\n */\nfunction getHeadingRules(schema) {\n // '# ' for h1, '## ' for h2 and etc\n const hashRule = defaultInputRuleHandler(headingRule(schema.nodes.heading, MAX_HEADING_LEVEL), true);\n const leftNodeReplacementHashRule = createInputRule$1(new RegExp(`${leafNodeReplacementCharacter}(#{1,6})\\\\s$`), (state, match, start, end) => {\n const level = match[1].length;\n return insertBlock(state, schema.nodes.heading, `heading${level}`, start, end, {\n level\n });\n }, true);\n return [hashRule, leftNodeReplacementHashRule];\n}\n\n/**\n * Get all block quote input rules\n *\n * @param {Schema} schema\n * @returns {}\n */\nfunction getBlockQuoteRules(schema) {\n // '> ' for blockquote\n const greatherThanRule = defaultInputRuleHandler(blockQuoteRule(schema.nodes.blockquote), true);\n const leftNodeReplacementGreatherRule = createInputRule$1(new RegExp(`${leafNodeReplacementCharacter}\\\\s*>\\\\s$`), (state, _match, start, end) => {\n return insertBlock(state, schema.nodes.blockquote, 'blockquote', start, end);\n }, true);\n return [greatherThanRule, leftNodeReplacementGreatherRule];\n}\n\n/**\n * Get all code block input rules\n *\n * @param {Schema} schema\n * @returns {}\n */\nfunction getCodeBlockRules(schema) {\n const threeTildeRule = createInputRule$1(/((^`{3,})|(\\s`{3,}))(\\S*)$/, (state, match, start, end) => {\n const attributes = {};\n if (match[4]) {\n attributes.language = match[4];\n }\n const newStart = match[0][0] === ' ' ? start + 1 : start;\n if (isConvertableToCodeBlock(state)) {\n const tr = transformToCodeBlockAction(state, attributes)\n // remove markdown decorator ```\n .delete(newStart, end).scrollIntoView();\n return tr;\n }\n let {\n tr\n } = state;\n tr = tr.delete(newStart, end);\n const codeBlock = state.schema.nodes.code_block.createChecked();\n return prosemirrorUtils.safeInsert(codeBlock)(tr);\n }, true);\n const leftNodeReplacementThreeTildeRule = createInputRule$1(new RegExp(`((${leafNodeReplacementCharacter}\\`{3,})|(\\\\s\\`{3,}))(\\\\S*)$`), (state, match, start, end) => {\n const attributes = {};\n if (match[4]) {\n attributes.language = match[4];\n }\n let tr = insertBlock(state, schema.nodes.code_block, 'codeblock', start, end, attributes);\n return tr;\n }, true);\n return [threeTildeRule, leftNodeReplacementThreeTildeRule];\n}\nfunction blocksInputRule(schema) {\n const rules = [];\n if (schema.nodes.heading) {\n rules.push(...getHeadingRules(schema));\n }\n if (schema.nodes.blockquote) {\n rules.push(...getBlockQuoteRules(schema));\n }\n if (schema.nodes.code_block) {\n rules.push(...getCodeBlockRules(schema));\n }\n if (rules.length !== 0) {\n return prosemirrorInputrules.inputRules({\n rules\n });\n }\n return;\n}\nfunction createHorizontalRuleInputRule(type) {\n return createInputRule$1(/^(?:---|___|\\*\\*\\*)\\s$/,\n // Ensures rule is triggered with space after \"---\", \"___\", or \"***\"\n (state, match, start, end) => {\n if (!match[0]) {\n return null; // If no match found, return null\n }\n\n // Deletes the matched sequence including the space\n let tr = state.tr.delete(start, end);\n const hrPos = start; // Position where the horizontal rule should be inserted\n\n // Insert the horizontal rule at the position\n tr = prosemirrorUtils.safeInsert(type.create(), hrPos)(tr);\n\n // Insert a paragraph node after the horizontal rule\n tr = prosemirrorUtils.safeInsert(state.schema.nodes.paragraph.create(), tr.mapping.map(hrPos + 1))(tr);\n return tr;\n });\n}\nfunction hrInputRules(schema) {\n if (!schema.nodes.horizontal_rule) {\n // Ensures that horizontal_rule is part of the schema\n return prosemirrorInputrules.inputRules({\n rules: []\n });\n }\n const hrRule = createHorizontalRuleInputRule(schema.nodes.horizontal_rule);\n return prosemirrorInputrules.inputRules({\n rules: [hrRule]\n });\n}\nconst mac = typeof navigator !== 'undefined' ? /Mac/.test(navigator.platform) : false;\nfunction baseKeyMaps(schema) {\n let keys = prosemirrorCommands.baseKeymap;\n function bind(key, cmd) {\n keys[key] = cmd;\n }\n bind('Mod-z', prosemirrorCommands.chainCommands(prosemirrorInputrules.undoInputRule, prosemirrorHistory.undo));\n bind('Shift-Mod-z', prosemirrorHistory.redo);\n const backspaceComands = prosemirrorCommands.chainCommands(prosemirrorInputrules.undoInputRule, cleanUpAtTheStartOfDocument, prosemirrorCommands.deleteSelection, prosemirrorCommands.joinBackward, prosemirrorCommands.selectNodeBackward);\n bind('Backspace', backspaceComands);\n bind('Mod-Backspace', backspaceComands);\n if (!mac) bind('Mod-y', prosemirrorHistory.redo);\n bind('Alt-ArrowUp', prosemirrorCommands.joinUp);\n bind('Alt-ArrowDown', prosemirrorCommands.joinDown);\n bind('Escape', prosemirrorCommands.selectParentNode);\n bind('ArrowLeft', moveLeft());\n bind('ArrowRight', moveRight());\n bind('ArrowDown', createNewParagraphBelow);\n bind('ArrowUp', createNewParagraphAbove);\n if (schema.marks.strong) {\n bind('Mod-b', prosemirrorCommands.toggleMark(schema.marks.strong));\n bind('Mod-B', prosemirrorCommands.toggleMark(schema.marks.strong));\n }\n if (schema.marks.em) {\n bind('Mod-i', prosemirrorCommands.toggleMark(schema.marks.em));\n bind('Mod-I', prosemirrorCommands.toggleMark(schema.marks.em));\n }\n if (schema.marks.superscript) {\n bind('Shift-Mod-.', prosemirrorCommands.toggleMark(schema.marks.superscript));\n }\n if (schema.nodes.hard_break) {\n let br = schema.nodes.hard_break,\n cmd = prosemirrorCommands.chainCommands(prosemirrorCommands.exitCode, (state, dispatch) => {\n dispatch(state.tr.insertText(` `).replaceSelectionWith(br.create()).scrollIntoView());\n return true;\n });\n bind('Mod-Enter', cmd);\n bind('Shift-Enter', cmd);\n if (mac) bind('Ctrl-Enter', cmd);\n }\n const modEnter = mac ? 'Mod-Enter' : 'Ctrl-Enter';\n const enterCommands = [prosemirrorCommands.newlineInCode, prosemirrorCommands.createParagraphNear, prosemirrorCommands.liftEmptyBlock, prosemirrorCommands.splitBlock];\n if (schema.nodes.list_item) {\n enterCommands.unshift(enterKeyOnListCommand);\n\n // TODO: Remove hacky fix\n // This needs to done only when the editor sends messages on Enter.\n // Currently Mod+enter command is never reached as it is overridden at the editor\n // side with Cmd+Enter for sending messages.\n // Fix this by using a different keymap or overriding existing keymap on condition.\n\n enterCommands.unshift(splitListItem(schema.nodes.list_item));\n bind('Tab', indentList());\n bind('Shift-Tab', outdentList());\n }\n bind('Enter', prosemirrorCommands.chainCommands.apply(null, enterCommands));\n bind(modEnter, prosemirrorCommands.chainCommands.apply(null, enterCommands));\n return prosemirrorKeymap.keymap(keys);\n}\nconst validCombos = {\n '**': ['_', '~~', '^'],\n '*': ['__', '~~', '^'],\n '^': ['*', '_'],\n __: ['*', '~~', '^'],\n _: ['**', '~~', '^'],\n '~~': ['__', '_', '**', '*', '^']\n};\nconst validRegex = (char, str) => {\n for (let i = 0; i < validCombos[char].length; i++) {\n const ch = validCombos[char][i];\n if (ch === str) {\n return true;\n }\n const matchLength = str.length - ch.length;\n if (str.substr(matchLength, str.length) === ch) {\n return validRegex(ch, str.substr(0, matchLength));\n }\n }\n return false;\n};\nfunction addMark(markType, schema, charSize, char) {\n return (state, match, start, end) => {\n const [, prefix, textWithCombo] = match;\n const to = end;\n // in case of *string* pattern it matches the text from beginning of the paragraph,\n // because we want ** to work for strong text\n // that's why \"start\" argument is wrong and we need to calculate it ourselves\n const from = textWithCombo ? start + prefix.length : start;\n const nodeBefore = state.doc.resolve(start + prefix.length).nodeBefore;\n if (prefix && prefix.length > 0 && !validRegex(char, prefix) && !(nodeBefore && nodeBefore.type === state.schema.nodes.hard_break)) {\n return null;\n }\n // fixes the following case: my `*name` is *\n // expected result: should ignore special characters inside \"code\"\n if (state.schema.marks.code && state.schema.marks.code.isInSet(state.doc.resolve(from + 1).marks())) {\n return null;\n }\n\n // Prevent autoformatting across hardbreaks\n let containsHardBreak;\n state.doc.nodesBetween(from, to, node => {\n if (node.type === schema.nodes.hard_break) {\n containsHardBreak = true;\n return false;\n }\n return !containsHardBreak;\n });\n if (containsHardBreak) {\n return null;\n }\n\n // fixes autoformatting in heading nodes: # Heading *bold*\n // expected result: should not autoformat *bold*;

Heading *bold*

\n if (state.doc.resolve(from).sameParent(state.doc.resolve(to))) {\n if (!state.doc.resolve(from).parent.type.allowsMarkType(markType)) {\n return null;\n }\n }\n\n // apply mark to the range (from, to)\n let tr = state.tr.addMark(from, to, markType.create());\n if (charSize > 1) {\n // delete special characters after the text\n // Prosemirror removes the last symbol by itself, so we need to remove \"charSize - 1\" symbols\n tr = tr.delete(to - (charSize - 1), to);\n }\n return tr\n // delete special characters before the text\n .delete(from, from + charSize).removeStoredMark(markType);\n };\n}\nfunction addCodeMark(markType, specialChar) {\n return (state, match, start, end) => {\n if (match[1] && match[1].length > 0) {\n const allowedPrefixConditions = [prefix => {\n return prefix === '(';\n }, prefix => {\n const nodeBefore = state.doc.resolve(start + prefix.length).nodeBefore;\n return nodeBefore && nodeBefore.type === state.schema.nodes.hard_break || false;\n }];\n if (allowedPrefixConditions.every(condition => !condition(match[1]))) {\n return null;\n }\n }\n // fixes autoformatting in heading nodes: # Heading `bold`\n // expected result: should not autoformat *bold*;

Heading `bold`

\n if (state.doc.resolve(start).sameParent(state.doc.resolve(end))) {\n if (!state.doc.resolve(start).parent.type.allowsMarkType(markType)) {\n return null;\n }\n }\n let tr = state.tr;\n // checks if a selection exists and needs to be removed\n if (state.selection.from !== state.selection.to) {\n tr.delete(state.selection.from, state.selection.to);\n end -= state.selection.to - state.selection.from;\n }\n const regexStart = end - match[2].length + 1;\n const codeMark = state.schema.marks.code.create();\n return applyMarkOnRange(regexStart, end, false, codeMark, tr).setStoredMarks([codeMark]).delete(regexStart, regexStart + specialChar.length).removeStoredMark(markType);\n };\n}\nconst strongRegex1 = /(\\S*)(\\_\\_([^\\_\\s](\\_(?!\\_)|[^\\_])*[^\\_\\s]|[^\\_\\s])\\_\\_)$/;\nconst strongRegex2 = /(\\S*)(\\*\\*([^\\*\\s](\\*(?!\\*)|[^\\*])*[^\\*\\s]|[^\\*\\s])\\*\\*)$/;\nconst italicRegex1 = /(\\S*[^\\s\\_]*)(\\_([^\\s\\_][^\\_]*[^\\s\\_]|[^\\s\\_])\\_)$/;\nconst italicRegex2 = /(\\S*[^\\s\\*]*)(\\*([^\\s\\*][^\\*]*[^\\s\\*]|[^\\s\\*])\\*)$/;\nconst strikeRegex = /(\\S*)(\\~\\~([^\\s\\~](\\~(?!\\~)|[^\\~])*[^\\s\\~]|[^\\s\\~])\\~\\~)$/;\nconst codeRegex = /(\\S*)(`[^\\s][^`]*`)$/;\nconst supertextRegex = /(\\S*[^\\s^]*)(\\^([^\\s^][^^]*[^\\s^]|[^\\s^])\\^)$/;\n\n/**\n * Create input rules for strong mark\n *\n * @param {Schema} schema\n * @returns {InputRule[]}\n */\nfunction getStrongInputRules(schema) {\n // **string** or __strong__ should bold the text\n\n const markLength = 2;\n const doubleUnderscoreRule = createInputRule$1(strongRegex1, addMark(schema.marks.strong, schema, markLength, '__'));\n const doubleAsterixRule = createInputRule$1(strongRegex2, addMark(schema.marks.strong, schema, markLength, '**'));\n return [doubleUnderscoreRule, doubleAsterixRule];\n}\n\n/**\n * Create input rules for em mark\n *\n * @param {Schema} schema\n * @returns {InputRule[]}\n */\nfunction getItalicInputRules(schema) {\n // *string* or _string_ should italic the text\n const markLength = 1;\n const underscoreRule = createInputRule$1(italicRegex1, addMark(schema.marks.em, schema, markLength, '_'));\n const asterixRule = createInputRule$1(italicRegex2, addMark(schema.marks.em, schema, markLength, '*'));\n return [underscoreRule, asterixRule];\n}\n\n/**\n * Create input rules for strike mark\n *\n * @param {Schema} schema\n * @returns {InputRule[]}\n */\nfunction getStrikeInputRules(schema) {\n const markLength = 2;\n const doubleTildeRule = createInputRule$1(strikeRegex, addMark(schema.marks.strike, schema, markLength, '~~'));\n return [doubleTildeRule];\n}\nfunction getSuperscriptInputRules(schema) {\n const markLength = 1;\n // const doubleTildeRule = addMark(schema.marks.superscript);\n const doubleTildeRule = createInputRule$1(supertextRegex, addMark(schema.marks.superscript, schema, markLength, '^'));\n return [doubleTildeRule];\n}\n\n/**\n * Create input rules for code mark\n *\n * @param {Schema} schema\n * @returns {InputRule[]}\n */\nfunction getCodeInputRules(schema) {\n const backTickRule = createInputRule$1(codeRegex, addCodeMark(schema.marks.code, '`'));\n return [backTickRule];\n}\nfunction textFormattingInputRules(schema) {\n const rules = [];\n if (schema.marks.strong) {\n rules.push(...getStrongInputRules(schema));\n }\n if (schema.marks.em) {\n rules.push(...getItalicInputRules(schema));\n }\n if (schema.marks.superscript) {\n rules.push(...getSuperscriptInputRules(schema));\n }\n if (schema.marks.strike) {\n rules.push(...getStrikeInputRules(schema));\n }\n if (schema.marks.code) {\n rules.push(...getCodeInputRules(schema));\n }\n if (rules.length !== 0) {\n return prosemirrorInputrules.inputRules({\n rules\n });\n }\n return;\n}\n\n/* eslint-disable no-plusplus */\nconst prefix = 'ProseMirror-prompt';\nfunction reportInvalid(dom, message) {\n // FIXME this is awful and needs a lot more work\n let parent = dom.parentNode;\n let msg = parent.appendChild(document.createElement('div'));\n msg.style.left = dom.offsetLeft + dom.offsetWidth + 2 + 'px';\n msg.style.top = dom.offsetTop - 5 + 'px';\n msg.className = 'ProseMirror-invalid';\n msg.textContent = message;\n setTimeout(() => parent.removeChild(msg), 1500);\n}\nfunction getValues(fields, domFields) {\n let result = Object.keys(fields).filter((name, index) => {\n let field = fields[name];\n let dom = domFields[index];\n let value = field.read(dom);\n let bad = field.validate(value);\n if (bad) reportInvalid(dom, bad);\n return !bad;\n }).reduce((acc, name, index) => {\n let field = fields[name];\n let dom = domFields[index];\n let value = field.read(dom);\n acc[name] = field.clean(value);\n return acc;\n }, {});\n return result;\n}\nfunction openPrompt(options) {\n let wrapper = document.body.appendChild(document.createElement('div'));\n wrapper.className = prefix;\n const close = () => {\n // eslint-disable-next-line no-use-before-define\n window.removeEventListener('mousedown', mouseOutside);\n if (wrapper.parentNode) wrapper.parentNode.removeChild(wrapper);\n };\n let mouseOutside = e => {\n if (!wrapper.contains(e.target)) close();\n };\n setTimeout(() => window.addEventListener('mousedown', mouseOutside), 50);\n let domFields = [];\n Object.values(options.fields).map(field => domFields.push(field.render()));\n let submitButton = document.createElement('button');\n submitButton.type = 'submit';\n submitButton.className = 'button tiny button--save-link ' + prefix + '-submit';\n submitButton.textContent = 'Create Link';\n let cancelButton = document.createElement('button');\n cancelButton.type = 'button';\n cancelButton.className = 'button tiny hollow secondary' + prefix + '-cancel';\n cancelButton.textContent = 'Cancel';\n cancelButton.addEventListener('click', close);\n let form = wrapper.appendChild(document.createElement('form'));\n if (options.title) {\n const titleDom = document.createElement('h5');\n titleDom.className = 'sub-block-title';\n form.appendChild(titleDom).textContent = options.title;\n }\n domFields.forEach(field => {\n form.appendChild(document.createElement('div')).appendChild(field);\n });\n let buttons = form.appendChild(document.createElement('div'));\n buttons.className = prefix + '-buttons';\n buttons.appendChild(submitButton);\n buttons.appendChild(document.createTextNode(' '));\n buttons.appendChild(cancelButton);\n let box = wrapper.getBoundingClientRect();\n wrapper.style.top = (window.innerHeight - box.height) / 2 + 'px';\n wrapper.style.left = (window.innerWidth - box.width) / 2 + 'px';\n let submit = () => {\n let params = getValues(options.fields, domFields);\n if (params) {\n close();\n options.callback(params);\n }\n };\n form.addEventListener('submit', e => {\n e.preventDefault();\n submit();\n });\n form.addEventListener('keydown', e => {\n if (e.key === 'Esc') {\n e.preventDefault();\n close();\n } else if (e.key === 'Enter' && !(e.ctrlKey || e.metaKey || e.shiftKey)) {\n e.preventDefault();\n submit();\n } else if (e.key === 'Tab') {\n window.setTimeout(() => {\n if (!wrapper.contains(document.activeElement)) close();\n }, 500);\n }\n });\n let input = form.elements[0];\n if (input) input.focus();\n}\n\n/* eslint-disable class-methods-use-this */\n// ::- The type of field that `FieldPrompt` expects to be passed to it.\nclass Field {\n // :: (Object)\n // Create a field with the given options. Options support by all\n // field types are:\n //\n // **`value`**`: ?any`\n // : The starting value for the field.\n //\n // **`label`**`: string`\n // : The label for the field.\n //\n // **`required`**`: ?bool`\n // : Whether the field is required.\n //\n // **`validate`**`: ?(any) → ?string`\n // : A function to validate the given value. Should return an\n // error message if it is not valid.\n constructor(options) {\n this.options = options;\n }\n\n // render:: (state: EditorState, props: Object) → dom.Node\n // Render the field to the DOM. Should be implemented by all subclasses.\n\n // :: (dom.Node) → any\n // Read the field's value from its DOM node.\n read(dom) {\n return dom.value;\n }\n\n // :: (any) → ?string\n // A field-type-specific validation function.\n validateType() {}\n validate(value) {\n if (!value && this.options.required) return 'Required field';\n return this.validateType(value) || this.options.validate && this.options.validate(value);\n }\n clean(value) {\n return this.options.clean ? this.options.clean(value) : value;\n }\n}\n\n// ::- A field class for single-line text fields.\nclass TextField extends Field {\n render() {\n let input = document.createElement('input');\n input.type = 'text';\n input.placeholder = this.options.label;\n input.className = this.options.class;\n input.value = this.options.value || '';\n input.autocomplete = 'off';\n return input;\n }\n}\nconst cmdItem = (cmd, options) => {\n const passedOptions = {\n label: options.title,\n run: cmd\n };\n Object.keys(options).reduce((acc, optionKey) => {\n acc[optionKey] = options[optionKey];\n return acc;\n }, passedOptions);\n if ((!options.enable || options.enable === true) && !options.select) {\n passedOptions[options.enable ? 'enable' : 'select'] = state => cmd(state);\n }\n return new prosemirrorMenu.MenuItem(passedOptions);\n};\nconst markItem = (markType, options) => {\n const passedOptions = {\n active(state) {\n return markActive(state, markType);\n },\n enable: true\n };\n Object.keys(options).reduce((acc, optionKey) => {\n acc[optionKey] = options[optionKey];\n return acc;\n }, passedOptions);\n return cmdItem(prosemirrorCommands.toggleMark(markType), passedOptions);\n};\nconst blockTypeIsActive = (state, type, attrs) => {\n const {\n $from\n } = state.selection;\n let wrapperDepth;\n let currentDepth = $from.depth;\n while (currentDepth > 0) {\n const currentNodeAtDepth = $from.node(currentDepth);\n ({\n ...attrs\n });\n if (currentNodeAtDepth.attrs.level) {\n currentNodeAtDepth.attrs.level;\n }\n const isType = type.name === currentNodeAtDepth.type.name;\n const hasAttrs = Object.keys(attrs).reduce((prev, curr) => {\n if (attrs[curr] !== currentNodeAtDepth.attrs[curr]) {\n return false;\n }\n return prev;\n }, true);\n if (isType && hasAttrs) {\n wrapperDepth = currentDepth;\n }\n currentDepth -= 1;\n }\n return wrapperDepth;\n};\nconst toggleBlockType = (type, attrs) => (state, dispatch) => {\n const isActive = blockTypeIsActive(state, type, attrs);\n const newNodeType = isActive ? state.schema.nodes.paragraph : type;\n const setBlockFunction = prosemirrorCommands.setBlockType(newNodeType, attrs);\n return setBlockFunction(state, dispatch);\n};\nconst BaseIcon = {\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n path: ''\n};\nconst icons = {\n strong: {\n ...BaseIcon,\n path: 'M6.935 4.44A1.5 1.5 0 0 1 7.996 4h4.383C15.017 4 17 6.182 17 8.625a4.63 4.63 0 0 1-.865 2.682c1.077.827 1.866 2.12 1.866 3.813C18 18.232 15.3 20 13.12 20H8a1.5 1.5 0 0 1-1.5-1.5l-.004-13c0-.397.158-.779.44-1.06ZM9.5 10.25h2.88c.903 0 1.62-.76 1.62-1.625S13.281 7 12.38 7H9.498l.002 3.25Zm0 3V17h3.62c.874 0 1.88-.754 1.88-1.88 0-1.13-.974-1.87-1.88-1.87H9.5Z'\n },\n em: {\n ...BaseIcon,\n path: 'M9.75 4h8.504a.75.75 0 0 1 .102 1.493l-.102.006h-3.197L10.037 18.5h4.213a.75.75 0 0 1 .742.648l.007.102a.75.75 0 0 1-.648.743L14.25 20h-9.5a.747.747 0 0 1-.746-.75c0-.38.28-.694.645-.743l.101-.007h3.685l.021-.065L13.45 5.499h-3.7a.75.75 0 0 1-.742-.648L9 4.75a.75.75 0 0 1 .648-.743L9.751 4h8.503-8.503Z'\n },\n superScript: {\n ...BaseIcon,\n path: `M18.736 3.5c-.543 0-.986.495-.986 1.023a.75.75 0 0 1-1.5 0C16.25 3.278 17.258 2 18.736 2c.855 0 1.684.4 2.15 1.117.49.751.5 1.724-.057 2.672-.285.484-.673.847-1.045 1.141-.187.148-.379.284-.557.41l-.078.056a17.45 17.45 0 0 0-.432.311c-.356.268-.619.511-.78.793h2.514a.75.75 0 0 1 0 1.5H17a.75.75 0 0 1-.75-.75c0-1.396.821-2.182 1.565-2.741.157-.119.32-.234.472-.341l.074-.052c.177-.126.34-.243.493-.363.306-.242.532-.47.682-.724.31-.53.229-.886.093-1.094-.158-.244-.486-.435-.893-.435Z\n M15.26 4.71c.06.562.385 1.043.847 1.318L10.987 12l5.583 6.512a.75.75 0 1 1-1.14.976L10 13.152l-5.43 6.336a.75.75 0 0 1-1.14-.976L9.013 12 3.431 5.488a.75.75 0 1 1 1.139-.976L10 10.848l5.26-6.137Z`\n },\n code: {\n ...BaseIcon,\n path: 'm8.066 18.943 6.5-14.5a.75.75 0 0 1 1.404.518l-.036.096-6.5 14.5a.75.75 0 0 1-1.404-.518l.036-.096 6.5-14.5-6.5 14.5ZM2.22 11.47l4.25-4.25a.75.75 0 0 1 1.133.976l-.073.085L3.81 12l3.72 3.719a.75.75 0 0 1-.976 1.133l-.084-.073-4.25-4.25a.75.75 0 0 1-.073-.976l.073-.084 4.25-4.25-4.25 4.25Zm14.25-4.25a.75.75 0 0 1 .976-.073l.084.073 4.25 4.25a.75.75 0 0 1 .073.976l-.073.085-4.25 4.25a.75.75 0 0 1-1.133-.977l.073-.084L20.19 12l-3.72-3.72a.75.75 0 0 1 0-1.06Z'\n },\n link: {\n ...BaseIcon,\n path: 'M9.25 7a.75.75 0 0 1 .11 1.492l-.11.008H7a3.5 3.5 0 0 0-.206 6.994L7 15.5h2.25a.75.75 0 0 1 .11 1.492L9.25 17H7a5 5 0 0 1-.25-9.994L7 7h2.25ZM17 7a5 5 0 0 1 .25 9.994L17 17h-2.25a.75.75 0 0 1-.11-1.492l.11-.008H17a3.5 3.5 0 0 0 .206-6.994L17 8.5h-2.25a.75.75 0 0 1-.11-1.492L14.75 7H17ZM7 11.25h10a.75.75 0 0 1 .102 1.493L17 12.75H7a.75.75 0 0 1-.102-1.493L7 11.25h10H7Z'\n },\n undo: {\n ...BaseIcon,\n path: 'M4.75 2a.75.75 0 0 1 .743.648l.007.102v5.69l4.574-4.56a6.41 6.41 0 0 1 8.879-.179l.186.18a6.41 6.41 0 0 1 0 9.063l-8.846 8.84a.75.75 0 0 1-1.06-1.062l8.845-8.838a4.91 4.91 0 0 0-6.766-7.112l-.178.17L6.562 9.5h5.688a.75.75 0 0 1 .743.648l.007.102a.75.75 0 0 1-.648.743L12.25 11h-7.5a.75.75 0 0 1-.743-.648L4 10.25v-7.5A.75.75 0 0 1 4.75 2Z'\n },\n redo: {\n ...BaseIcon,\n path: 'M19.25 2a.75.75 0 0 0-.743.648l-.007.102v5.69l-4.574-4.56a6.41 6.41 0 0 0-8.878-.179l-.186.18a6.41 6.41 0 0 0 0 9.063l8.845 8.84a.75.75 0 0 0 1.06-1.062l-8.845-8.838a4.91 4.91 0 0 1 6.766-7.112l.178.17L17.438 9.5H11.75a.75.75 0 0 0-.743.648L11 10.25c0 .38.282.694.648.743l.102.007h7.5a.75.75 0 0 0 .743-.648L20 10.25v-7.5a.75.75 0 0 0-.75-.75Z'\n },\n bulletList: {\n ...BaseIcon,\n path: 'M3.25 17.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm3.5.5h14.5a.75.75 0 0 1 .102 1.494l-.102.006H6.75a.75.75 0 0 1-.102-1.493L6.75 18h14.5-14.5Zm-3.5-7a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm3.5.5h14.5a.75.75 0 0 1 .102 1.494L21.25 13H6.75a.75.75 0 0 1-.102-1.493l.102-.007h14.5-14.5Zm-3.5-7A1.25 1.25 0 1 1 3.25 7a1.25 1.25 0 0 1 0-2.499Zm3.5.5h14.5a.75.75 0 0 1 .102 1.494l-.102.006H6.75a.75.75 0 0 1-.102-1.493L6.75 5h14.5-14.5Z'\n },\n orderedList: {\n ...BaseIcon,\n path: 'M6 2.75a.75.75 0 0 0-1.434-.307l-.002.003a1.45 1.45 0 0 1-.067.132 4.126 4.126 0 0 1-.238.384c-.217.313-.524.663-.906.902a.75.75 0 1 0 .794 1.272c.125-.078.243-.161.353-.248V7.25a.75.75 0 0 0 1.5 0v-4.5ZM20.5 18.75a.75.75 0 0 0-.75-.75h-9a.75.75 0 0 0 0 1.5h9a.75.75 0 0 0 .75-.75ZM20.5 12.244a.75.75 0 0 0-.75-.75h-9a.75.75 0 1 0 0 1.5h9a.75.75 0 0 0 .75-.75ZM20.5 5.75a.75.75 0 0 0-.75-.75h-9a.75.75 0 0 0 0 1.5h9a.75.75 0 0 0 .75-.75ZM5.15 10.52c-.3-.053-.676.066-.87.26a.75.75 0 1 1-1.06-1.06c.556-.556 1.43-.812 2.192-.677.397.07.805.254 1.115.605.316.358.473.825.473 1.352 0 .62-.271 1.08-.606 1.42-.278.283-.63.511-.906.689l-.08.051a5.88 5.88 0 0 0-.481.34H6.25a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75c0-1.314.984-1.953 1.575-2.337l.06-.04c.318-.205.533-.345.69-.504.134-.136.175-.238.175-.369 0-.223-.061-.318-.098-.36a.42.42 0 0 0-.251-.12ZM2.97 21.28s.093.084.004.005l.006.005.013.013a1.426 1.426 0 0 0 .15.125c.095.07.227.158.397.243.341.17.83.329 1.46.329.64 0 1.196-.181 1.601-.54.408-.36.61-.857.595-1.359A1.775 1.775 0 0 0 6.77 19c.259-.305.412-.685.426-1.101a1.73 1.73 0 0 0-.595-1.36C6.196 16.181 5.64 16 5 16c-.63 0-1.119.158-1.46.33a2.592 2.592 0 0 0-.51.334 1.426 1.426 0 0 0-.037.033l-.013.013-.006.005-.002.003H2.97l-.001.002a.75.75 0 0 0 1.048 1.072 1.1 1.1 0 0 1 .192-.121c.159-.08.42-.171.79-.171.36 0 .536.1.608.164.07.061.09.127.088.187a.325.325 0 0 1-.123.23c-.089.077-.263.169-.573.169a.75.75 0 0 0 0 1.5c.31 0 .484.092.573.168.091.08.121.166.123.231a.232.232 0 0 1-.088.187c-.072.064-.247.164-.608.164a1.75 1.75 0 0 1-.79-.17 1.1 1.1 0 0 1-.192-.122.75.75 0 0 0-1.048 1.072Zm.002-4.563-.001.002c.007-.006.2-.168 0-.002Z'\n },\n h1: {\n ...BaseIcon,\n path: 'M19.59 5.081a.746.746 0 0 0-.809.084.751.751 0 0 0-.249.367c-.69 2.051-2.057 3.409-3.168 4.075a.75.75 0 0 0 .772 1.286c.774-.464 1.623-1.18 2.364-2.146v9.503a.75.75 0 0 0 1.5 0V5.772a.75.75 0 0 0-.41-.69ZM3.5 5.75a.75.75 0 0 0-1.5 0v12.5a.75.75 0 0 0 1.5 0V12.5H10v5.75a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-1.5 0V11H3.5V5.75Z'\n },\n h2: {\n ...BaseIcon,\n path: 'M4.5 5.75a.75.75 0 0 0-1.5 0v12.5a.75.75 0 0 0 1.5 0V12.5H11v5.75a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-1.5 0V11H4.5V5.75Zm10.921 2.085c.23-.46.913-1.335 2.58-1.335.842 0 1.459.26 1.86.639.397.376.64.921.64 1.611 0 1.963-1.3 3.068-2.958 4.343l-.212.163C15.825 14.409 14 15.806 14 18.25a.75.75 0 0 0 .75.75h6.5a.75.75 0 0 0 0-1.5h-5.66c.315-1.252 1.427-2.11 2.866-3.218C20.05 13.057 22 11.537 22 8.75c0-1.06-.383-2.015-1.11-2.702C20.166 5.364 19.158 5 18 5c-2.333 0-3.484 1.291-3.92 2.165a.75.75 0 0 0 1.341.67Z'\n },\n h3: {\n ...BaseIcon,\n path: 'M3.5 5.75a.75.75 0 0 0-1.5 0v12.5a.75.75 0 0 0 1.5 0V12.5H10v5.75a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-1.5 0V11H3.5V5.75Zm11.92 2.085c.23-.46.914-1.335 2.58-1.335.843 0 1.46.26 1.86.639.398.376.64.921.64 1.611 0 .606-.161 1.026-.384 1.332-.228.314-.555.554-.953.735-.816.37-1.802.433-2.383.433a.75.75 0 0 0 0 1.5c.581 0 1.567.063 2.383.433.398.18.725.42.953.735.223.306.384.726.384 1.332 0 1.086-.914 2.25-2.5 2.25-1.727 0-2.348-.76-2.553-1.276a.75.75 0 1 0-1.394.552C14.508 17.926 15.727 19 18 19c2.414 0 4-1.836 4-3.75 0-.894-.245-1.63-.67-2.214A3.679 3.679 0 0 0 20.144 12a3.679 3.679 0 0 0 1.186-1.036c.425-.584.67-1.32.67-2.214 0-1.06-.383-2.015-1.11-2.702C20.165 5.364 19.157 5 18 5c-2.334 0-3.484 1.291-3.92 2.165a.75.75 0 1 0 1.34.67Z'\n },\n image: {\n ...BaseIcon,\n path: 'M18.75 4A3.25 3.25 0 0 1 22 7.25v11.5A3.25 3.25 0 0 1 18.75 22H7.25A3.25 3.25 0 0 1 4 18.75v-6.248c.474.198.977.34 1.5.422v5.826c0 .208.036.408.103.594l5.823-5.701a2.25 2.25 0 0 1 3.02-.116l.128.116l5.822 5.702c.067-.186.104-.386.104-.595V7.25a1.75 1.75 0 0 0-1.75-1.75h-5.826a6.457 6.457 0 0 0-.422-1.5h6.248Zm-6.191 10.644l-.084.07l-5.807 5.687c.182.064.378.099.582.099h11.5c.203 0 .399-.035.58-.099l-5.805-5.686a.75.75 0 0 0-.966-.071ZM16.252 7.5a2.252 2.252 0 1 1 0 4.504a2.252 2.252 0 0 1 0-4.504ZM6.5 1a5.5 5.5 0 1 1 0 11a5.5 5.5 0 0 1 0-11Zm9.752 8a.752.752 0 1 0 0 1.504a.752.752 0 0 0 0-1.504ZM6.5 3l-.09.007a.5.5 0 0 0-.402.402L6 3.5V6H3.498l-.09.008a.5.5 0 0 0-.402.402l-.008.09l.008.09a.5.5 0 0 0 .402.402l.09.008H6v2.503l.008.09a.5.5 0 0 0 .402.402l.09.009l.09-.009a.5.5 0 0 0 .402-.402L7 9.503V7h2.505l.09-.008a.5.5 0 0 0 .402-.402l.008-.09l-.008-.09a.5.5 0 0 0-.403-.402L9.504 6H7V3.5l-.008-.09a.5.5 0 0 0-.402-.403L6.5 3Z'\n }\n};\nconst wrapListItem = (nodeType, options) => cmdItem(baseListCommand.wrapInList(nodeType, options.attrs), options);\nconst imageUploadItem = (nodeType, onImageUpload) => new prosemirrorMenu.MenuItem({\n title: \"Upload image\",\n icon: icons.image,\n enable() {\n return true;\n },\n run() {\n onImageUpload();\n return true;\n }\n});\nconst headerItem = (nodeType, options) => {\n const {\n level = 1\n } = options;\n return new prosemirrorMenu.MenuItem({\n title: `Heading ${level}`,\n icon: options.icon,\n active(state) {\n return blockTypeIsActive(state, nodeType, {\n level\n });\n },\n enable() {\n return true;\n },\n run(state, dispatch, view) {\n if (blockTypeIsActive(state, nodeType, {\n level\n })) {\n toggleBlockType(nodeType, {\n level\n })(state, dispatch);\n return true;\n }\n toggleBlockType(nodeType, {\n level\n })(view.state, view.dispatch);\n view.focus();\n return false;\n }\n });\n};\nconst linkItem = markType => new prosemirrorMenu.MenuItem({\n title: \"Add or remove link\",\n icon: icons.link,\n active(state) {\n return markActive(state, markType);\n },\n enable(state) {\n return !state.selection.empty;\n },\n run(state, dispatch, view) {\n if (markActive(state, markType)) {\n prosemirrorCommands.toggleMark(markType)(state, dispatch);\n return true;\n }\n openPrompt({\n title: \"Create a link\",\n fields: {\n href: new TextField({\n label: \"https://example.com\",\n class: \"small\",\n required: true\n })\n },\n callback(attrs) {\n prosemirrorCommands.toggleMark(markType, attrs)(view.state, view.dispatch);\n view.focus();\n }\n });\n return false;\n }\n});\nconst buildMenuOptions = (schema, _ref) => {\n let {\n enabledMenuOptions = [\"strong\", \"em\", \"code\", \"link\", \"undo\", \"redo\", \"bulletList\", \"orderedList\"],\n onImageUpload = () => {}\n } = _ref;\n const availableMenuOptions = {\n strong: markItem(schema.marks.strong, {\n title: \"Toggle strong style\",\n icon: icons.strong\n }),\n em: markItem(schema.marks.em, {\n title: \"Toggle emphasis\",\n icon: icons.em\n }),\n code: markItem(schema.marks.code, {\n title: \"Toggle code font\",\n icon: icons.code\n }),\n link: linkItem(schema.marks.link),\n bulletList: wrapListItem(schema.nodes.bullet_list, {\n title: \"Wrap in bullet list\",\n icon: icons.bulletList\n }),\n orderedList: wrapListItem(schema.nodes.ordered_list, {\n title: \"Wrap in ordered list\",\n icon: icons.orderedList\n }),\n undo: new prosemirrorMenu.MenuItem({\n title: \"Undo last change\",\n run: prosemirrorHistory.undo,\n enable: state => prosemirrorHistory.undo(state),\n icon: icons.undo\n }),\n redo: new prosemirrorMenu.MenuItem({\n title: \"Redo last undone change\",\n run: prosemirrorHistory.redo,\n enable: state => prosemirrorHistory.redo(state),\n icon: icons.redo\n }),\n h1: headerItem(schema.nodes.heading, {\n level: 1,\n title: \"Toggle code font\",\n icon: icons.h1\n }),\n h2: headerItem(schema.nodes.heading, {\n level: 2,\n title: \"Toggle code font\",\n icon: icons.h2\n }),\n h3: headerItem(schema.nodes.heading, {\n level: 3,\n title: \"Toggle code font\",\n icon: icons.h3\n }),\n imageUpload: imageUploadItem(schema.nodes.image, onImageUpload)\n };\n return [enabledMenuOptions.filter(menuOptionKey => !!availableMenuOptions[menuOptionKey]).map(menuOptionKey => availableMenuOptions[menuOptionKey])];\n};\nfunction filterMdToPmSchemaMapping(schema, map) {\n return Object.keys(map).reduce((newMap, key) => {\n const value = map[key];\n const block = value.block || value.node;\n const mark = value.mark;\n if (block && schema.nodes[block] || mark && schema.marks[mark]) {\n newMap[key] = value;\n }\n return newMap;\n }, {});\n}\nconst baseSchemaToMdMapping = {\n nodes: {\n blockquote: 'blockquote',\n paragraph: 'paragraph',\n code_block: ['code', 'fence'],\n list_item: 'list'\n },\n marks: {\n em: 'emphasis',\n superscript: 'sup',\n strong: 'text',\n link: ['link', 'autolink', 'reference', 'linkify'],\n strike: 'strikethrough',\n code: 'backticks'\n }\n};\nconst baseNodesMdToPmMapping = {\n blockquote: {\n block: 'blockquote'\n },\n paragraph: {\n block: 'paragraph'\n },\n softbreak: {\n node: 'hard_break'\n },\n hardbreak: {\n node: 'hard_break'\n },\n code_block: {\n block: 'code_block'\n },\n fence: {\n block: 'code_block',\n // we trim any whitespaces around language definition\n attrs: tok => ({\n language: tok.info && tok.info.trim() || null\n })\n },\n list_item: {\n block: 'list_item'\n },\n bullet_list: {\n block: 'bullet_list'\n },\n ordered_list: {\n block: 'ordered_list',\n attrs: tok => ({\n order: +tok.attrGet('order') || 1\n })\n },\n image: {\n node: 'image',\n getAttrs: tok => {\n const src = tok.attrGet('src');\n const heightMatch = src.match(/cw_image_height=(\\d+)px/);\n return {\n src,\n title: tok.attrGet('title') || null,\n alt: tok.children[0] && tok.children[0].content || null,\n height: heightMatch ? `${heightMatch[1]}px` : null\n };\n }\n }\n};\nconst baseMarksMdToPmMapping = {\n em: {\n mark: 'em'\n },\n sup: {\n mark: 'superscript'\n },\n strong: {\n mark: 'strong'\n },\n link: {\n mark: 'link',\n attrs: tok => ({\n href: tok.attrGet('href'),\n title: tok.attrGet('title') || null\n })\n },\n code_inline: {\n mark: 'code'\n },\n s: {\n mark: 'strike'\n }\n};\nconst messageSchemaToMdMapping = {\n nodes: {\n ...baseSchemaToMdMapping.nodes\n },\n marks: {\n ...baseSchemaToMdMapping.marks\n }\n};\nconst messageMdToPmMapping = {\n ...baseNodesMdToPmMapping,\n ...baseMarksMdToPmMapping,\n mention: {\n node: 'mention',\n getAttrs: _ref2 => {\n let {\n mention\n } = _ref2;\n const {\n userId,\n userFullName\n } = mention;\n return {\n userId,\n userFullName\n };\n }\n }\n};\nconst md$1 = MarkdownIt('commonmark', {\n html: false,\n linkify: false\n});\nmd$1.enable([\n// Process html entity - {, ¯, ", ...\n'entity',\n// Process escaped chars and hardbreaks\n'escape']);\nmd$1.disable(['table', 'hr', 'heading', 'lheading']);\nclass MessageMarkdownTransformer {\n constructor(schema) {\n let tokenizer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : md$1;\n // Enable markdown plugins based on schema\n ['nodes', 'marks'].forEach(key => {\n for (const idx in messageSchemaToMdMapping[key]) {\n if (schema[key][idx]) {\n tokenizer.enable(messageSchemaToMdMapping[key][idx]);\n }\n }\n });\n this.markdownParser = new prosemirrorMarkdown.MarkdownParser(schema, tokenizer, filterMdToPmSchemaMapping(schema, messageMdToPmMapping));\n }\n encode(_node) {\n throw new Error('This is not implemented yet');\n }\n parse(content) {\n return this.markdownParser.parse(content);\n }\n}\nconst articleSchemaToMdMapping = {\n nodes: {\n ...baseSchemaToMdMapping.nodes,\n rule: 'hr',\n heading: ['heading'],\n image: 'image'\n },\n marks: {\n ...baseSchemaToMdMapping.marks\n }\n};\nconst articleMdToPmMapping = {\n ...baseNodesMdToPmMapping,\n ...baseMarksMdToPmMapping,\n hr: {\n node: 'horizontal_rule'\n },\n heading: {\n block: 'heading',\n attrs: tok => ({\n level: +tok.tag.slice(1)\n })\n },\n mention: {\n node: 'mention',\n getAttrs: _ref3 => {\n let {\n mention\n } = _ref3;\n const {\n userId,\n userFullName\n } = mention;\n return {\n userId,\n userFullName\n };\n }\n }\n};\nconst md = MarkdownIt('commonmark', {\n html: false,\n linkify: true,\n breaks: true\n}).use(MarkdownItSup);\nmd.enable([\n// Process html entity - {, ¯, ", ...\n'entity',\n// Process escaped chars and hardbreaks\n'escape', 'hr']);\nclass ArticleMarkdownTransformer {\n constructor(schema) {\n let tokenizer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : md;\n // Enable markdown plugins based on schema\n ['nodes', 'marks'].forEach(key => {\n for (const idx in articleSchemaToMdMapping[key]) {\n if (schema[key][idx]) {\n tokenizer.enable(articleSchemaToMdMapping[key][idx]);\n }\n }\n });\n this.markdownParser = new prosemirrorMarkdown.MarkdownParser(schema, tokenizer, filterMdToPmSchemaMapping(schema, articleMdToPmMapping));\n }\n encode(_node) {\n throw new Error('This is not implemented yet');\n }\n parse(content) {\n return this.markdownParser.parse(content);\n }\n}\nconst mention = (state, node) => {\n const uri = state.esc(`mention://user/${node.attrs.userId}/${encodeURIComponent(node.attrs.userFullName)}`);\n const escapedDisplayName = state.esc('@' + (node.attrs.userFullName || ''));\n state.write(`[${escapedDisplayName}](${uri})`);\n};\nconst blockquote = (state, node) => {\n state.wrapBlock('> ', null, node, () => state.renderContent(node));\n};\nconst code_block = (state, node) => {\n state.write('```' + (node.attrs.params || '') + '\\n');\n state.text(node.textContent, false);\n state.ensureNewLine();\n state.write('```');\n state.closeBlock(node);\n};\nconst heading = (state, node) => {\n state.write(state.repeat('#', node.attrs.level) + ' ');\n state.renderInline(node);\n state.closeBlock(node);\n};\nconst horizontal_rule = (state, node) => {\n state.write(node.attrs.markup || '---');\n state.closeBlock(node);\n};\nconst bullet_list = (state, node) => {\n state.renderList(node, ' ', () => (node.attrs.bullet || '*') + ' ');\n};\nconst ordered_list = (state, node) => {\n let start = node.attrs.order || 1;\n let maxW = String(start + node.childCount - 1).length;\n let space = state.repeat(' ', maxW + 2);\n state.renderList(node, space, i => {\n let nStr = String(start + i);\n return state.repeat(' ', maxW - nStr.length) + nStr + '. ';\n });\n};\nconst list_item = (state, node) => {\n state.renderContent(node);\n};\nconst paragraph = (state, node) => {\n state.renderInline(node);\n state.closeBlock(node);\n};\nconst image = (state, node) => {\n let src = state.esc(node.attrs.src);\n if (node.attrs.height) {\n const param = `cw_image_height=${node.attrs.height}`;\n if (src.includes('?')) {\n src = src.includes('cw_image_height=') ? src.replace(/cw_image_height=[^&]+/, param) : `${src}&${param}`;\n } else {\n src += `?${param}`;\n }\n }\n state.write('![' + state.esc(node.attrs.alt || '') + '](' + src + (node.attrs.title ? ' ' + state.quote(node.attrs.title) : '') + ')');\n};\nconst hard_break = (state, node, parent, index) => {\n for (let i = index + 1; i < parent.childCount; i++) if (parent.child(i).type !== node.type) {\n state.write(' \\n');\n return;\n }\n};\nconst text = (state, node) => {\n state.text(node.text, false);\n};\nconst em = {\n open: '*',\n close: '*',\n mixable: true,\n expelEnclosingWhitespace: true\n};\nconst superscript = {\n open: '^',\n close: '^',\n mixable: false,\n escape: false,\n expelEnclosingWhitespace: false\n};\nconst strike = {\n open: '~~',\n close: '~~',\n mixable: true,\n expelEnclosingWhitespace: true\n};\nconst strong = {\n open: '**',\n close: '**',\n mixable: true,\n expelEnclosingWhitespace: true\n};\nconst link = {\n open(_state, mark, parent, index) {\n return isPlainURL(mark, parent, index, 1) ? '<' : '[';\n },\n close(state, mark, parent, index) {\n return isPlainURL(mark, parent, index, -1) ? '>' : '](' + state.esc(mark.attrs.href) + (mark.attrs.title ? ' ' + state.quote(mark.attrs.title) : '') + ')';\n },\n escape: false\n};\nconst code = {\n open(_state, _mark, parent, index) {\n return backticksFor(parent.child(index), -1);\n },\n close(_state, _mark, parent, index) {\n return backticksFor(parent.child(index - 1), 1);\n },\n escape: false\n};\nfunction backticksFor(node, side) {\n let ticks = /`+/g,\n m,\n len = 0;\n if (node.isText) while (m = ticks.exec(node.text)) len = Math.max(len, m[0].length);\n let result = len > 0 && side > 0 ? ' `' : '`';\n for (let i = 0; i < len; i++) result += '`';\n if (len > 0 && side < 0) result += ' ';\n return result;\n}\nfunction isPlainURL(link, parent, index, side) {\n if (link.attrs.title || !/^\\w+:/.test(link.attrs.href)) return false;\n let content = parent.child(index + (side < 0 ? -1 : 0));\n if (!content.isText || content.text != link.attrs.href || content.marks[content.marks.length - 1] != link) return false;\n if (index == (side < 0 ? 1 : parent.childCount - 1)) return true;\n let next = parent.child(index + (side < 0 ? -2 : 1));\n return !link.isInSet(next.marks);\n}\nconst ArticleMarkdownSerializer = new prosemirrorMarkdown.MarkdownSerializer({\n blockquote,\n code_block,\n heading,\n horizontal_rule,\n bullet_list,\n ordered_list,\n list_item,\n paragraph,\n image,\n hard_break,\n text\n}, {\n em,\n superscript,\n strike,\n strong,\n link,\n code\n});\nconst MessageMarkdownSerializer = new prosemirrorMarkdown.MarkdownSerializer({\n mention,\n blockquote,\n code_block,\n bullet_list,\n ordered_list,\n list_item,\n paragraph,\n image,\n hard_break,\n text\n}, {\n em,\n strike,\n strong,\n link,\n code\n});\nconst fullSchema = new prosemirrorModel.Schema({\n nodes: {\n doc: prosemirrorMarkdown.schema.spec.nodes.get('doc'),\n paragraph: prosemirrorMarkdown.schema.spec.nodes.get('paragraph'),\n blockquote: prosemirrorMarkdown.schema.spec.nodes.get('blockquote'),\n horizontal_rule: prosemirrorMarkdown.schema.spec.nodes.get('horizontal_rule'),\n heading: prosemirrorMarkdown.schema.spec.nodes.get('heading'),\n code_block: prosemirrorMarkdown.schema.spec.nodes.get('code_block'),\n text: prosemirrorMarkdown.schema.spec.nodes.get('text'),\n image: prosemirrorMarkdown.schema.spec.nodes.get('image'),\n hard_break: prosemirrorMarkdown.schema.spec.nodes.get('hard_break'),\n ordered_list: Object.assign(baseListCommand.orderedList, {\n content: 'list_item+',\n group: 'block'\n }),\n bullet_list: Object.assign(baseListCommand.bulletList, {\n content: 'list_item+',\n group: 'block'\n }),\n list_item: Object.assign(baseListCommand.listItem, {\n content: 'paragraph block*'\n })\n },\n marks: {\n link: prosemirrorMarkdown.schema.spec.marks.get('link'),\n em: prosemirrorMarkdown.schema.spec.marks.get('em'),\n superscript: {\n parseDOM: [{\n tag: 'sup'\n }],\n toDOM() {\n return ['sup'];\n }\n },\n strong: prosemirrorMarkdown.schema.spec.marks.get('strong'),\n code: prosemirrorMarkdown.schema.spec.marks.get('code'),\n strike: {\n parseDOM: [{\n tag: 's'\n }, {\n tag: 'del'\n }, {\n tag: 'strike'\n }, {\n style: 'text-decoration',\n getAttrs: value => value === 'line-through'\n }],\n toDOM: () => ['s', 0]\n }\n }\n});\nconst messageSchema = new prosemirrorModel.Schema({\n nodes: {\n doc: prosemirrorMarkdown.schema.spec.nodes.get('doc'),\n paragraph: prosemirrorMarkdown.schema.spec.nodes.get('paragraph'),\n blockquote: prosemirrorMarkdown.schema.spec.nodes.get('blockquote'),\n code_block: prosemirrorMarkdown.schema.spec.nodes.get('code_block'),\n text: prosemirrorMarkdown.schema.spec.nodes.get('text'),\n hard_break: prosemirrorMarkdown.schema.spec.nodes.get('hard_break'),\n image: {\n ...prosemirrorMarkdown.schema.spec.nodes.get('image'),\n attrs: {\n ...prosemirrorMarkdown.schema.spec.nodes.get('image').attrs,\n height: {\n default: null\n }\n },\n parseDOM: [{\n tag: 'img[src]',\n getAttrs: dom => ({\n src: dom.getAttribute('src'),\n title: dom.getAttribute('title'),\n alt: dom.getAttribute('alt'),\n height: parseInt(dom.style.height)\n })\n }],\n toDOM: node => {\n const attrs = {\n src: node.attrs.src,\n alt: node.attrs.alt,\n height: node.attrs.height\n };\n if (node.attrs.height) {\n attrs.style = `height: ${node.attrs.height}`;\n }\n return [\"img\", attrs];\n }\n },\n ordered_list: Object.assign(baseListCommand.orderedList, {\n content: 'list_item+',\n group: 'block'\n }),\n bullet_list: Object.assign(baseListCommand.bulletList, {\n content: 'list_item+',\n group: 'block'\n }),\n list_item: Object.assign(baseListCommand.listItem, {\n content: 'paragraph block*'\n }),\n mention: {\n attrs: {\n userFullName: {\n default: ''\n },\n userId: {\n default: ''\n }\n },\n group: 'inline',\n inline: true,\n selectable: true,\n draggable: true,\n atom: true,\n toDOM: node => ['span', {\n class: 'prosemirror-mention-node',\n 'mention-user-id': node.attrs.userId,\n 'mention-user-full-name': node.attrs.userFullName\n }, `@${node.attrs.userFullName}`],\n parseDOM: [{\n tag: 'span[mention-user-id][mention-user-full-name]',\n getAttrs: dom => {\n const userId = dom.getAttribute('mention-user-id');\n const userFullName = dom.getAttribute('mention-user-full-name');\n return {\n userId,\n userFullName\n };\n }\n }]\n }\n },\n marks: {\n link: prosemirrorMarkdown.schema.spec.marks.get('link'),\n em: prosemirrorMarkdown.schema.spec.marks.get('em'),\n strong: prosemirrorMarkdown.schema.spec.marks.get('strong'),\n code: prosemirrorMarkdown.schema.spec.marks.get('code'),\n strike: {\n parseDOM: [{\n tag: 's'\n }, {\n tag: 'del'\n }, {\n tag: 'strike'\n }, {\n style: 'text-decoration',\n getAttrs: value => value === 'line-through'\n }],\n toDOM: () => ['s', 0]\n }\n }\n});\nconst buildEditor = _ref4 => {\n let {\n schema,\n placeholder,\n methods: {\n onImageUpload\n } = {},\n plugins = [],\n enabledMenuOptions\n } = _ref4;\n return [...(plugins || []), prosemirrorHistory.history(), baseKeyMaps(schema), blocksInputRule(schema), textFormattingInputRules(schema), linksInputRules(schema), hrInputRules(schema), listInputRules(schema), prosemirrorDropcursor.dropCursor(), prosemirrorGapcursor.gapCursor(), Placeholder(placeholder), prosemirrorMenu.menuBar({\n floating: true,\n content: buildMenuOptions(schema, {\n enabledMenuOptions,\n onImageUpload\n })\n }), new prosemirrorState.Plugin({\n props: {\n attributes: {\n class: \"ProseMirror-woot-style\"\n }\n }\n })];\n};\nObject.defineProperty(exports, 'EditorState', {\n enumerable: true,\n get: function () {\n return prosemirrorState.EditorState;\n }\n});\nObject.defineProperty(exports, 'Selection', {\n enumerable: true,\n get: function () {\n return prosemirrorState.Selection;\n }\n});\nObject.defineProperty(exports, 'EditorView', {\n enumerable: true,\n get: function () {\n return prosemirrorView.EditorView;\n }\n});\nexports.ArticleMarkdownSerializer = ArticleMarkdownSerializer;\nexports.ArticleMarkdownTransformer = ArticleMarkdownTransformer;\nexports.MessageMarkdownSerializer = MessageMarkdownSerializer;\nexports.MessageMarkdownTransformer = MessageMarkdownTransformer;\nexports.buildEditor = buildEditor;\nexports.fullSchema = fullSchema;\nexports.messageSchema = messageSchema;","import { __assign } from \"tslib\";\nimport { dropUndefinedKeys, timestampWithMs, uuid4 } from '@sentry/utils';\n/**\n * Keeps track of finished spans for a given transaction\n * @internal\n * @hideconstructor\n * @hidden\n */\nvar SpanRecorder = /** @class */function () {\n function SpanRecorder(maxlen) {\n if (maxlen === void 0) {\n maxlen = 1000;\n }\n this.spans = [];\n this._maxlen = maxlen;\n }\n /**\n * This is just so that we don't run out of memory while recording a lot\n * of spans. At some point we just stop and flush out the start of the\n * trace tree (i.e.the first n spans with the smallest\n * start_timestamp).\n */\n SpanRecorder.prototype.add = function (span) {\n if (this.spans.length > this._maxlen) {\n span.spanRecorder = undefined;\n } else {\n this.spans.push(span);\n }\n };\n return SpanRecorder;\n}();\nexport { SpanRecorder };\n/**\n * Span contains all data about a span\n */\nvar Span = /** @class */function () {\n /**\n * You should never call the constructor manually, always use `Sentry.startTransaction()`\n * or call `startChild()` on an existing span.\n * @internal\n * @hideconstructor\n * @hidden\n */\n function Span(spanContext) {\n /**\n * @inheritDoc\n */\n this.traceId = uuid4();\n /**\n * @inheritDoc\n */\n this.spanId = uuid4().substring(16);\n /**\n * Timestamp in seconds when the span was created.\n */\n this.startTimestamp = timestampWithMs();\n /**\n * @inheritDoc\n */\n this.tags = {};\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this.data = {};\n if (!spanContext) {\n return this;\n }\n if (spanContext.traceId) {\n this.traceId = spanContext.traceId;\n }\n if (spanContext.spanId) {\n this.spanId = spanContext.spanId;\n }\n if (spanContext.parentSpanId) {\n this.parentSpanId = spanContext.parentSpanId;\n }\n // We want to include booleans as well here\n if ('sampled' in spanContext) {\n this.sampled = spanContext.sampled;\n }\n if (spanContext.op) {\n this.op = spanContext.op;\n }\n if (spanContext.description) {\n this.description = spanContext.description;\n }\n if (spanContext.data) {\n this.data = spanContext.data;\n }\n if (spanContext.tags) {\n this.tags = spanContext.tags;\n }\n if (spanContext.status) {\n this.status = spanContext.status;\n }\n if (spanContext.startTimestamp) {\n this.startTimestamp = spanContext.startTimestamp;\n }\n if (spanContext.endTimestamp) {\n this.endTimestamp = spanContext.endTimestamp;\n }\n }\n /**\n * @inheritDoc\n * @deprecated\n */\n Span.prototype.child = function (spanContext) {\n return this.startChild(spanContext);\n };\n /**\n * @inheritDoc\n */\n Span.prototype.startChild = function (spanContext) {\n var childSpan = new Span(__assign(__assign({}, spanContext), {\n parentSpanId: this.spanId,\n sampled: this.sampled,\n traceId: this.traceId\n }));\n childSpan.spanRecorder = this.spanRecorder;\n if (childSpan.spanRecorder) {\n childSpan.spanRecorder.add(childSpan);\n }\n childSpan.transaction = this.transaction;\n return childSpan;\n };\n /**\n * @inheritDoc\n */\n Span.prototype.setTag = function (key, value) {\n var _a;\n this.tags = __assign(__assign({}, this.tags), (_a = {}, _a[key] = value, _a));\n return this;\n };\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n Span.prototype.setData = function (key, value) {\n var _a;\n this.data = __assign(__assign({}, this.data), (_a = {}, _a[key] = value, _a));\n return this;\n };\n /**\n * @inheritDoc\n */\n Span.prototype.setStatus = function (value) {\n this.status = value;\n return this;\n };\n /**\n * @inheritDoc\n */\n Span.prototype.setHttpStatus = function (httpStatus) {\n this.setTag('http.status_code', String(httpStatus));\n var spanStatus = spanStatusfromHttpCode(httpStatus);\n if (spanStatus !== 'unknown_error') {\n this.setStatus(spanStatus);\n }\n return this;\n };\n /**\n * @inheritDoc\n */\n Span.prototype.isSuccess = function () {\n return this.status === 'ok';\n };\n /**\n * @inheritDoc\n */\n Span.prototype.finish = function (endTimestamp) {\n this.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs();\n };\n /**\n * @inheritDoc\n */\n Span.prototype.toTraceparent = function () {\n var sampledString = '';\n if (this.sampled !== undefined) {\n sampledString = this.sampled ? '-1' : '-0';\n }\n return this.traceId + \"-\" + this.spanId + sampledString;\n };\n /**\n * @inheritDoc\n */\n Span.prototype.toContext = function () {\n return dropUndefinedKeys({\n data: this.data,\n description: this.description,\n endTimestamp: this.endTimestamp,\n op: this.op,\n parentSpanId: this.parentSpanId,\n sampled: this.sampled,\n spanId: this.spanId,\n startTimestamp: this.startTimestamp,\n status: this.status,\n tags: this.tags,\n traceId: this.traceId\n });\n };\n /**\n * @inheritDoc\n */\n Span.prototype.updateWithContext = function (spanContext) {\n var _a, _b, _c, _d, _e;\n this.data = (_a = spanContext.data, _a !== null && _a !== void 0 ? _a : {});\n this.description = spanContext.description;\n this.endTimestamp = spanContext.endTimestamp;\n this.op = spanContext.op;\n this.parentSpanId = spanContext.parentSpanId;\n this.sampled = spanContext.sampled;\n this.spanId = (_b = spanContext.spanId, _b !== null && _b !== void 0 ? _b : this.spanId);\n this.startTimestamp = (_c = spanContext.startTimestamp, _c !== null && _c !== void 0 ? _c : this.startTimestamp);\n this.status = spanContext.status;\n this.tags = (_d = spanContext.tags, _d !== null && _d !== void 0 ? _d : {});\n this.traceId = (_e = spanContext.traceId, _e !== null && _e !== void 0 ? _e : this.traceId);\n return this;\n };\n /**\n * @inheritDoc\n */\n Span.prototype.getTraceContext = function () {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n trace_id: this.traceId\n });\n };\n /**\n * @inheritDoc\n */\n Span.prototype.toJSON = function () {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n start_timestamp: this.startTimestamp,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n timestamp: this.endTimestamp,\n trace_id: this.traceId\n });\n };\n return Span;\n}();\nexport { Span };\n/**\n * Converts a HTTP status code into a {@link SpanStatusType}.\n *\n * @param httpStatus The HTTP response status code.\n * @returns The span status or unknown_error.\n */\nexport function spanStatusfromHttpCode(httpStatus) {\n if (httpStatus < 400 && httpStatus >= 100) {\n return 'ok';\n }\n if (httpStatus >= 400 && httpStatus < 500) {\n switch (httpStatus) {\n case 401:\n return 'unauthenticated';\n case 403:\n return 'permission_denied';\n case 404:\n return 'not_found';\n case 409:\n return 'already_exists';\n case 413:\n return 'failed_precondition';\n case 429:\n return 'resource_exhausted';\n default:\n return 'invalid_argument';\n }\n }\n if (httpStatus >= 500 && httpStatus < 600) {\n switch (httpStatus) {\n case 501:\n return 'unimplemented';\n case 503:\n return 'unavailable';\n case 504:\n return 'deadline_exceeded';\n default:\n return 'internal_error';\n }\n }\n return 'unknown_error';\n}","/*!\n * vue-i18n v8.24.3 \n * (c) 2021 kazuya kawaguchi\n * Released under the MIT License.\n */\n/* */\n\n/**\n * constants\n */\n\nvar numberFormatKeys = ['compactDisplay', 'currency', 'currencyDisplay', 'currencySign', 'localeMatcher', 'notation', 'numberingSystem', 'signDisplay', 'style', 'unit', 'unitDisplay', 'useGrouping', 'minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits'];\n\n/**\n * utilities\n */\n\nfunction warn(msg, err) {\n if (typeof console !== 'undefined') {\n console.warn('[vue-i18n] ' + msg);\n /* istanbul ignore if */\n if (err) {\n console.warn(err.stack);\n }\n }\n}\nfunction error(msg, err) {\n if (typeof console !== 'undefined') {\n console.error('[vue-i18n] ' + msg);\n /* istanbul ignore if */\n if (err) {\n console.error(err.stack);\n }\n }\n}\nvar isArray = Array.isArray;\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object';\n}\nfunction isBoolean(val) {\n return typeof val === 'boolean';\n}\nfunction isString(val) {\n return typeof val === 'string';\n}\nvar toString = Object.prototype.toString;\nvar OBJECT_STRING = '[object Object]';\nfunction isPlainObject(obj) {\n return toString.call(obj) === OBJECT_STRING;\n}\nfunction isNull(val) {\n return val === null || val === undefined;\n}\nfunction isFunction(val) {\n return typeof val === 'function';\n}\nfunction parseArgs() {\n var args = [],\n len = arguments.length;\n while (len--) args[len] = arguments[len];\n var locale = null;\n var params = null;\n if (args.length === 1) {\n if (isObject(args[0]) || isArray(args[0])) {\n params = args[0];\n } else if (typeof args[0] === 'string') {\n locale = args[0];\n }\n } else if (args.length === 2) {\n if (typeof args[0] === 'string') {\n locale = args[0];\n }\n /* istanbul ignore if */\n if (isObject(args[1]) || isArray(args[1])) {\n params = args[1];\n }\n }\n return {\n locale: locale,\n params: params\n };\n}\nfunction looseClone(obj) {\n return JSON.parse(JSON.stringify(obj));\n}\nfunction remove(arr, item) {\n if (arr.delete(item)) {\n return arr;\n }\n}\nfunction includes(arr, item) {\n return !!~arr.indexOf(item);\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\nfunction merge(target) {\n var arguments$1 = arguments;\n var output = Object(target);\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments$1[i];\n if (source !== undefined && source !== null) {\n var key = void 0;\n for (key in source) {\n if (hasOwn(source, key)) {\n if (isObject(source[key])) {\n output[key] = merge(output[key], source[key]);\n } else {\n output[key] = source[key];\n }\n }\n }\n }\n }\n return output;\n}\nfunction looseEqual(a, b) {\n if (a === b) {\n return true;\n }\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = isArray(a);\n var isArrayB = isArray(b);\n if (isArrayA && isArrayB) {\n return a.length === b.length && a.every(function (e, i) {\n return looseEqual(e, b[i]);\n });\n } else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return keysA.length === keysB.length && keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n });\n } else {\n /* istanbul ignore next */\n return false;\n }\n } catch (e) {\n /* istanbul ignore next */\n return false;\n }\n } else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n } else {\n return false;\n }\n}\n\n/**\n * Sanitizes html special characters from input strings. For mitigating risk of XSS attacks.\n * @param rawText The raw input from the user that should be escaped.\n */\nfunction escapeHtml(rawText) {\n return rawText.replace(//g, '>').replace(/\"/g, '"').replace(/'/g, ''');\n}\n\n/**\n * Escapes html tags and special symbols from all provided params which were returned from parseArgs().params.\n * This method performs an in-place operation on the params object.\n *\n * @param {any} params Parameters as provided from `parseArgs().params`.\n * May be either an array of strings or a string->any map.\n *\n * @returns The manipulated `params` object.\n */\nfunction escapeParams(params) {\n if (params != null) {\n Object.keys(params).forEach(function (key) {\n if (typeof params[key] == 'string') {\n params[key] = escapeHtml(params[key]);\n }\n });\n }\n return params;\n}\n\n/* */\n\nfunction extend(Vue) {\n if (!Vue.prototype.hasOwnProperty('$i18n')) {\n // $FlowFixMe\n Object.defineProperty(Vue.prototype, '$i18n', {\n get: function get() {\n return this._i18n;\n }\n });\n }\n Vue.prototype.$t = function (key) {\n var values = [],\n len = arguments.length - 1;\n while (len-- > 0) values[len] = arguments[len + 1];\n var i18n = this.$i18n;\n return i18n._t.apply(i18n, [key, i18n.locale, i18n._getMessages(), this].concat(values));\n };\n Vue.prototype.$tc = function (key, choice) {\n var values = [],\n len = arguments.length - 2;\n while (len-- > 0) values[len] = arguments[len + 2];\n var i18n = this.$i18n;\n return i18n._tc.apply(i18n, [key, i18n.locale, i18n._getMessages(), this, choice].concat(values));\n };\n Vue.prototype.$te = function (key, locale) {\n var i18n = this.$i18n;\n return i18n._te(key, i18n.locale, i18n._getMessages(), locale);\n };\n Vue.prototype.$d = function (value) {\n var ref;\n var args = [],\n len = arguments.length - 1;\n while (len-- > 0) args[len] = arguments[len + 1];\n return (ref = this.$i18n).d.apply(ref, [value].concat(args));\n };\n Vue.prototype.$n = function (value) {\n var ref;\n var args = [],\n len = arguments.length - 1;\n while (len-- > 0) args[len] = arguments[len + 1];\n return (ref = this.$i18n).n.apply(ref, [value].concat(args));\n };\n}\n\n/* */\n\nvar mixin = {\n beforeCreate: function beforeCreate() {\n var options = this.$options;\n options.i18n = options.i18n || (options.__i18n ? {} : null);\n if (options.i18n) {\n if (options.i18n instanceof VueI18n) {\n // init locale messages via custom blocks\n if (options.__i18n) {\n try {\n var localeMessages = options.i18n && options.i18n.messages ? options.i18n.messages : {};\n options.__i18n.forEach(function (resource) {\n localeMessages = merge(localeMessages, JSON.parse(resource));\n });\n Object.keys(localeMessages).forEach(function (locale) {\n options.i18n.mergeLocaleMessage(locale, localeMessages[locale]);\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n error(\"Cannot parse locale messages via custom blocks.\", e);\n }\n }\n }\n this._i18n = options.i18n;\n this._i18nWatcher = this._i18n.watchI18nData();\n } else if (isPlainObject(options.i18n)) {\n var rootI18n = this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n ? this.$root.$i18n : null;\n // component local i18n\n if (rootI18n) {\n options.i18n.root = this.$root;\n options.i18n.formatter = rootI18n.formatter;\n options.i18n.fallbackLocale = rootI18n.fallbackLocale;\n options.i18n.formatFallbackMessages = rootI18n.formatFallbackMessages;\n options.i18n.silentTranslationWarn = rootI18n.silentTranslationWarn;\n options.i18n.silentFallbackWarn = rootI18n.silentFallbackWarn;\n options.i18n.pluralizationRules = rootI18n.pluralizationRules;\n options.i18n.preserveDirectiveContent = rootI18n.preserveDirectiveContent;\n this.$root.$once('hook:beforeDestroy', function () {\n options.i18n.root = null;\n options.i18n.formatter = null;\n options.i18n.fallbackLocale = null;\n options.i18n.formatFallbackMessages = null;\n options.i18n.silentTranslationWarn = null;\n options.i18n.silentFallbackWarn = null;\n options.i18n.pluralizationRules = null;\n options.i18n.preserveDirectiveContent = null;\n });\n }\n\n // init locale messages via custom blocks\n if (options.__i18n) {\n try {\n var localeMessages$1 = options.i18n && options.i18n.messages ? options.i18n.messages : {};\n options.__i18n.forEach(function (resource) {\n localeMessages$1 = merge(localeMessages$1, JSON.parse(resource));\n });\n options.i18n.messages = localeMessages$1;\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Cannot parse locale messages via custom blocks.\", e);\n }\n }\n }\n var ref = options.i18n;\n var sharedMessages = ref.sharedMessages;\n if (sharedMessages && isPlainObject(sharedMessages)) {\n options.i18n.messages = merge(options.i18n.messages, sharedMessages);\n }\n this._i18n = new VueI18n(options.i18n);\n this._i18nWatcher = this._i18n.watchI18nData();\n if (options.i18n.sync === undefined || !!options.i18n.sync) {\n this._localeWatcher = this.$i18n.watchLocale();\n }\n if (rootI18n) {\n rootI18n.onComponentInstanceCreated(this._i18n);\n }\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Cannot be interpreted 'i18n' option.\");\n }\n }\n } else if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {\n // root i18n\n this._i18n = this.$root.$i18n;\n } else if (options.parent && options.parent.$i18n && options.parent.$i18n instanceof VueI18n) {\n // parent i18n\n this._i18n = options.parent.$i18n;\n }\n },\n beforeMount: function beforeMount() {\n var options = this.$options;\n options.i18n = options.i18n || (options.__i18n ? {} : null);\n if (options.i18n) {\n if (options.i18n instanceof VueI18n) {\n // init locale messages via custom blocks\n this._i18n.subscribeDataChanging(this);\n this._subscribing = true;\n } else if (isPlainObject(options.i18n)) {\n this._i18n.subscribeDataChanging(this);\n this._subscribing = true;\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Cannot be interpreted 'i18n' option.\");\n }\n }\n } else if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {\n this._i18n.subscribeDataChanging(this);\n this._subscribing = true;\n } else if (options.parent && options.parent.$i18n && options.parent.$i18n instanceof VueI18n) {\n this._i18n.subscribeDataChanging(this);\n this._subscribing = true;\n }\n },\n mounted: function mounted() {\n if (this !== this.$root && this.$options.__INTLIFY_META__ && this.$el) {\n this.$el.setAttribute('data-intlify', this.$options.__INTLIFY_META__);\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (!this._i18n) {\n return;\n }\n var self = this;\n this.$nextTick(function () {\n if (self._subscribing) {\n self._i18n.unsubscribeDataChanging(self);\n delete self._subscribing;\n }\n if (self._i18nWatcher) {\n self._i18nWatcher();\n self._i18n.destroyVM();\n delete self._i18nWatcher;\n }\n if (self._localeWatcher) {\n self._localeWatcher();\n delete self._localeWatcher;\n }\n });\n }\n};\n\n/* */\n\nvar interpolationComponent = {\n name: 'i18n',\n functional: true,\n props: {\n tag: {\n type: [String, Boolean, Object],\n default: 'span'\n },\n path: {\n type: String,\n required: true\n },\n locale: {\n type: String\n },\n places: {\n type: [Array, Object]\n }\n },\n render: function render(h, ref) {\n var data = ref.data;\n var parent = ref.parent;\n var props = ref.props;\n var slots = ref.slots;\n var $i18n = parent.$i18n;\n if (!$i18n) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot find VueI18n instance!');\n }\n return;\n }\n var path = props.path;\n var locale = props.locale;\n var places = props.places;\n var params = slots();\n var children = $i18n.i(path, locale, onlyHasDefaultPlace(params) || places ? useLegacyPlaces(params.default, places) : params);\n var tag = !!props.tag && props.tag !== true || props.tag === false ? props.tag : 'span';\n return tag ? h(tag, data, children) : children;\n }\n};\nfunction onlyHasDefaultPlace(params) {\n var prop;\n for (prop in params) {\n if (prop !== 'default') {\n return false;\n }\n }\n return Boolean(prop);\n}\nfunction useLegacyPlaces(children, places) {\n var params = places ? createParamsFromPlaces(places) : {};\n if (!children) {\n return params;\n }\n\n // Filter empty text nodes\n children = children.filter(function (child) {\n return child.tag || child.text.trim() !== '';\n });\n var everyPlace = children.every(vnodeHasPlaceAttribute);\n if (process.env.NODE_ENV !== 'production' && everyPlace) {\n warn('`place` attribute is deprecated in next major version. Please switch to Vue slots.');\n }\n return children.reduce(everyPlace ? assignChildPlace : assignChildIndex, params);\n}\nfunction createParamsFromPlaces(places) {\n if (process.env.NODE_ENV !== 'production') {\n warn('`places` prop is deprecated in next major version. Please switch to Vue slots.');\n }\n return Array.isArray(places) ? places.reduce(assignChildIndex, {}) : Object.assign({}, places);\n}\nfunction assignChildPlace(params, child) {\n if (child.data && child.data.attrs && child.data.attrs.place) {\n params[child.data.attrs.place] = child;\n }\n return params;\n}\nfunction assignChildIndex(params, child, index) {\n params[index] = child;\n return params;\n}\nfunction vnodeHasPlaceAttribute(vnode) {\n return Boolean(vnode.data && vnode.data.attrs && vnode.data.attrs.place);\n}\n\n/* */\n\nvar numberComponent = {\n name: 'i18n-n',\n functional: true,\n props: {\n tag: {\n type: [String, Boolean, Object],\n default: 'span'\n },\n value: {\n type: Number,\n required: true\n },\n format: {\n type: [String, Object]\n },\n locale: {\n type: String\n }\n },\n render: function render(h, ref) {\n var props = ref.props;\n var parent = ref.parent;\n var data = ref.data;\n var i18n = parent.$i18n;\n if (!i18n) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot find VueI18n instance!');\n }\n return null;\n }\n var key = null;\n var options = null;\n if (isString(props.format)) {\n key = props.format;\n } else if (isObject(props.format)) {\n if (props.format.key) {\n key = props.format.key;\n }\n\n // Filter out number format options only\n options = Object.keys(props.format).reduce(function (acc, prop) {\n var obj;\n if (includes(numberFormatKeys, prop)) {\n return Object.assign({}, acc, (obj = {}, obj[prop] = props.format[prop], obj));\n }\n return acc;\n }, null);\n }\n var locale = props.locale || i18n.locale;\n var parts = i18n._ntp(props.value, locale, key, options);\n var values = parts.map(function (part, index) {\n var obj;\n var slot = data.scopedSlots && data.scopedSlots[part.type];\n return slot ? slot((obj = {}, obj[part.type] = part.value, obj.index = index, obj.parts = parts, obj)) : part.value;\n });\n var tag = !!props.tag && props.tag !== true || props.tag === false ? props.tag : 'span';\n return tag ? h(tag, {\n attrs: data.attrs,\n 'class': data['class'],\n staticClass: data.staticClass\n }, values) : values;\n }\n};\n\n/* */\n\nfunction bind(el, binding, vnode) {\n if (!assert(el, vnode)) {\n return;\n }\n t(el, binding, vnode);\n}\nfunction update(el, binding, vnode, oldVNode) {\n if (!assert(el, vnode)) {\n return;\n }\n var i18n = vnode.context.$i18n;\n if (localeEqual(el, vnode) && looseEqual(binding.value, binding.oldValue) && looseEqual(el._localeMessage, i18n.getLocaleMessage(i18n.locale))) {\n return;\n }\n t(el, binding, vnode);\n}\nfunction unbind(el, binding, vnode, oldVNode) {\n var vm = vnode.context;\n if (!vm) {\n warn('Vue instance does not exists in VNode context');\n return;\n }\n var i18n = vnode.context.$i18n || {};\n if (!binding.modifiers.preserve && !i18n.preserveDirectiveContent) {\n el.textContent = '';\n }\n el._vt = undefined;\n delete el['_vt'];\n el._locale = undefined;\n delete el['_locale'];\n el._localeMessage = undefined;\n delete el['_localeMessage'];\n}\nfunction assert(el, vnode) {\n var vm = vnode.context;\n if (!vm) {\n warn('Vue instance does not exists in VNode context');\n return false;\n }\n if (!vm.$i18n) {\n warn('VueI18n instance does not exists in Vue instance');\n return false;\n }\n return true;\n}\nfunction localeEqual(el, vnode) {\n var vm = vnode.context;\n return el._locale === vm.$i18n.locale;\n}\nfunction t(el, binding, vnode) {\n var ref$1, ref$2;\n var value = binding.value;\n var ref = parseValue(value);\n var path = ref.path;\n var locale = ref.locale;\n var args = ref.args;\n var choice = ref.choice;\n if (!path && !locale && !args) {\n warn('value type not supported');\n return;\n }\n if (!path) {\n warn('`path` is required in v-t directive');\n return;\n }\n var vm = vnode.context;\n if (choice != null) {\n el._vt = el.textContent = (ref$1 = vm.$i18n).tc.apply(ref$1, [path, choice].concat(makeParams(locale, args)));\n } else {\n el._vt = el.textContent = (ref$2 = vm.$i18n).t.apply(ref$2, [path].concat(makeParams(locale, args)));\n }\n el._locale = vm.$i18n.locale;\n el._localeMessage = vm.$i18n.getLocaleMessage(vm.$i18n.locale);\n}\nfunction parseValue(value) {\n var path;\n var locale;\n var args;\n var choice;\n if (isString(value)) {\n path = value;\n } else if (isPlainObject(value)) {\n path = value.path;\n locale = value.locale;\n args = value.args;\n choice = value.choice;\n }\n return {\n path: path,\n locale: locale,\n args: args,\n choice: choice\n };\n}\nfunction makeParams(locale, args) {\n var params = [];\n locale && params.push(locale);\n if (args && (Array.isArray(args) || isPlainObject(args))) {\n params.push(args);\n }\n return params;\n}\nvar Vue;\nfunction install(_Vue) {\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && install.installed && _Vue === Vue) {\n warn('already installed.');\n return;\n }\n install.installed = true;\n Vue = _Vue;\n var version = Vue.version && Number(Vue.version.split('.')[0]) || -1;\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && version < 2) {\n warn(\"vue-i18n (\" + install.version + \") need to use Vue 2.0 or later (Vue: \" + Vue.version + \").\");\n return;\n }\n extend(Vue);\n Vue.mixin(mixin);\n Vue.directive('t', {\n bind: bind,\n update: update,\n unbind: unbind\n });\n Vue.component(interpolationComponent.name, interpolationComponent);\n Vue.component(numberComponent.name, numberComponent);\n\n // use simple mergeStrategies to prevent i18n instance lose '__proto__'\n var strats = Vue.config.optionMergeStrategies;\n strats.i18n = function (parentVal, childVal) {\n return childVal === undefined ? parentVal : childVal;\n };\n}\n\n/* */\n\nvar BaseFormatter = function BaseFormatter() {\n this._caches = Object.create(null);\n};\nBaseFormatter.prototype.interpolate = function interpolate(message, values) {\n if (!values) {\n return [message];\n }\n var tokens = this._caches[message];\n if (!tokens) {\n tokens = parse(message);\n this._caches[message] = tokens;\n }\n return compile(tokens, values);\n};\nvar RE_TOKEN_LIST_VALUE = /^(?:\\d)+/;\nvar RE_TOKEN_NAMED_VALUE = /^(?:\\w)+/;\nfunction parse(format) {\n var tokens = [];\n var position = 0;\n var text = '';\n while (position < format.length) {\n var char = format[position++];\n if (char === '{') {\n if (text) {\n tokens.push({\n type: 'text',\n value: text\n });\n }\n text = '';\n var sub = '';\n char = format[position++];\n while (char !== undefined && char !== '}') {\n sub += char;\n char = format[position++];\n }\n var isClosed = char === '}';\n var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';\n tokens.push({\n value: sub,\n type: type\n });\n } else if (char === '%') {\n // when found rails i18n syntax, skip text capture\n if (format[position] !== '{') {\n text += char;\n }\n } else {\n text += char;\n }\n }\n text && tokens.push({\n type: 'text',\n value: text\n });\n return tokens;\n}\nfunction compile(tokens, values) {\n var compiled = [];\n var index = 0;\n var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';\n if (mode === 'unknown') {\n return compiled;\n }\n while (index < tokens.length) {\n var token = tokens[index];\n switch (token.type) {\n case 'text':\n compiled.push(token.value);\n break;\n case 'list':\n compiled.push(values[parseInt(token.value, 10)]);\n break;\n case 'named':\n if (mode === 'named') {\n compiled.push(values[token.value]);\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Type of token '\" + token.type + \"' and format of value '\" + mode + \"' don't match!\");\n }\n }\n break;\n case 'unknown':\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Detect 'unknown' type of token!\");\n }\n break;\n }\n index++;\n }\n return compiled;\n}\n\n/* */\n\n/**\n * Path parser\n * - Inspired:\n * Vue.js Path parser\n */\n\n// actions\nvar APPEND = 0;\nvar PUSH = 1;\nvar INC_SUB_PATH_DEPTH = 2;\nvar PUSH_SUB_PATH = 3;\n\n// states\nvar BEFORE_PATH = 0;\nvar IN_PATH = 1;\nvar BEFORE_IDENT = 2;\nvar IN_IDENT = 3;\nvar IN_SUB_PATH = 4;\nvar IN_SINGLE_QUOTE = 5;\nvar IN_DOUBLE_QUOTE = 6;\nvar AFTER_PATH = 7;\nvar ERROR = 8;\nvar pathStateMachine = [];\npathStateMachine[BEFORE_PATH] = {\n 'ws': [BEFORE_PATH],\n 'ident': [IN_IDENT, APPEND],\n '[': [IN_SUB_PATH],\n 'eof': [AFTER_PATH]\n};\npathStateMachine[IN_PATH] = {\n 'ws': [IN_PATH],\n '.': [BEFORE_IDENT],\n '[': [IN_SUB_PATH],\n 'eof': [AFTER_PATH]\n};\npathStateMachine[BEFORE_IDENT] = {\n 'ws': [BEFORE_IDENT],\n 'ident': [IN_IDENT, APPEND],\n '0': [IN_IDENT, APPEND],\n 'number': [IN_IDENT, APPEND]\n};\npathStateMachine[IN_IDENT] = {\n 'ident': [IN_IDENT, APPEND],\n '0': [IN_IDENT, APPEND],\n 'number': [IN_IDENT, APPEND],\n 'ws': [IN_PATH, PUSH],\n '.': [BEFORE_IDENT, PUSH],\n '[': [IN_SUB_PATH, PUSH],\n 'eof': [AFTER_PATH, PUSH]\n};\npathStateMachine[IN_SUB_PATH] = {\n \"'\": [IN_SINGLE_QUOTE, APPEND],\n '\"': [IN_DOUBLE_QUOTE, APPEND],\n '[': [IN_SUB_PATH, INC_SUB_PATH_DEPTH],\n ']': [IN_PATH, PUSH_SUB_PATH],\n 'eof': ERROR,\n 'else': [IN_SUB_PATH, APPEND]\n};\npathStateMachine[IN_SINGLE_QUOTE] = {\n \"'\": [IN_SUB_PATH, APPEND],\n 'eof': ERROR,\n 'else': [IN_SINGLE_QUOTE, APPEND]\n};\npathStateMachine[IN_DOUBLE_QUOTE] = {\n '\"': [IN_SUB_PATH, APPEND],\n 'eof': ERROR,\n 'else': [IN_DOUBLE_QUOTE, APPEND]\n};\n\n/**\n * Check if an expression is a literal value.\n */\n\nvar literalValueRE = /^\\s?(?:true|false|-?[\\d.]+|'[^']*'|\"[^\"]*\")\\s?$/;\nfunction isLiteral(exp) {\n return literalValueRE.test(exp);\n}\n\n/**\n * Strip quotes from a string\n */\n\nfunction stripQuotes(str) {\n var a = str.charCodeAt(0);\n var b = str.charCodeAt(str.length - 1);\n return a === b && (a === 0x22 || a === 0x27) ? str.slice(1, -1) : str;\n}\n\n/**\n * Determine the type of a character in a keypath.\n */\n\nfunction getPathCharType(ch) {\n if (ch === undefined || ch === null) {\n return 'eof';\n }\n var code = ch.charCodeAt(0);\n switch (code) {\n case 0x5B: // [\n case 0x5D: // ]\n case 0x2E: // .\n case 0x22: // \"\n case 0x27:\n // '\n return ch;\n case 0x5F: // _\n case 0x24: // $\n case 0x2D:\n // -\n return 'ident';\n case 0x09: // Tab\n case 0x0A: // Newline\n case 0x0D: // Return\n case 0xA0: // No-break space\n case 0xFEFF: // Byte Order Mark\n case 0x2028: // Line Separator\n case 0x2029:\n // Paragraph Separator\n return 'ws';\n }\n return 'ident';\n}\n\n/**\n * Format a subPath, return its plain form if it is\n * a literal string or number. Otherwise prepend the\n * dynamic indicator (*).\n */\n\nfunction formatSubPath(path) {\n var trimmed = path.trim();\n // invalid leading 0\n if (path.charAt(0) === '0' && isNaN(path)) {\n return false;\n }\n return isLiteral(trimmed) ? stripQuotes(trimmed) : '*' + trimmed;\n}\n\n/**\n * Parse a string path into an array of segments\n */\n\nfunction parse$1(path) {\n var keys = [];\n var index = -1;\n var mode = BEFORE_PATH;\n var subPathDepth = 0;\n var c;\n var key;\n var newChar;\n var type;\n var transition;\n var action;\n var typeMap;\n var actions = [];\n actions[PUSH] = function () {\n if (key !== undefined) {\n keys.push(key);\n key = undefined;\n }\n };\n actions[APPEND] = function () {\n if (key === undefined) {\n key = newChar;\n } else {\n key += newChar;\n }\n };\n actions[INC_SUB_PATH_DEPTH] = function () {\n actions[APPEND]();\n subPathDepth++;\n };\n actions[PUSH_SUB_PATH] = function () {\n if (subPathDepth > 0) {\n subPathDepth--;\n mode = IN_SUB_PATH;\n actions[APPEND]();\n } else {\n subPathDepth = 0;\n if (key === undefined) {\n return false;\n }\n key = formatSubPath(key);\n if (key === false) {\n return false;\n } else {\n actions[PUSH]();\n }\n }\n };\n function maybeUnescapeQuote() {\n var nextChar = path[index + 1];\n if (mode === IN_SINGLE_QUOTE && nextChar === \"'\" || mode === IN_DOUBLE_QUOTE && nextChar === '\"') {\n index++;\n newChar = '\\\\' + nextChar;\n actions[APPEND]();\n return true;\n }\n }\n while (mode !== null) {\n index++;\n c = path[index];\n if (c === '\\\\' && maybeUnescapeQuote()) {\n continue;\n }\n type = getPathCharType(c);\n typeMap = pathStateMachine[mode];\n transition = typeMap[type] || typeMap['else'] || ERROR;\n if (transition === ERROR) {\n return; // parse error\n }\n mode = transition[0];\n action = actions[transition[1]];\n if (action) {\n newChar = transition[2];\n newChar = newChar === undefined ? c : newChar;\n if (action() === false) {\n return;\n }\n }\n if (mode === AFTER_PATH) {\n return keys;\n }\n }\n}\nvar I18nPath = function I18nPath() {\n this._cache = Object.create(null);\n};\n\n/**\n * External parse that check for a cache hit first\n */\nI18nPath.prototype.parsePath = function parsePath(path) {\n var hit = this._cache[path];\n if (!hit) {\n hit = parse$1(path);\n if (hit) {\n this._cache[path] = hit;\n }\n }\n return hit || [];\n};\n\n/**\n * Get path value from path string\n */\nI18nPath.prototype.getPathValue = function getPathValue(obj, path) {\n if (!isObject(obj)) {\n return null;\n }\n var paths = this.parsePath(path);\n if (paths.length === 0) {\n return null;\n } else {\n var length = paths.length;\n var last = obj;\n var i = 0;\n while (i < length) {\n var value = last[paths[i]];\n if (value === undefined || value === null) {\n return null;\n }\n last = value;\n i++;\n }\n return last;\n }\n};\n\n/* */\n\nvar htmlTagMatcher = /<\\/?[\\w\\s=\"/.':;#-\\/]+>/;\nvar linkKeyMatcher = /(?:@(?:\\.[a-z]+)?:(?:[\\w\\-_|.]+|\\([\\w\\-_|.]+\\)))/g;\nvar linkKeyPrefixMatcher = /^@(?:\\.([a-z]+))?:/;\nvar bracketsMatcher = /[()]/g;\nvar defaultModifiers = {\n 'upper': function (str) {\n return str.toLocaleUpperCase();\n },\n 'lower': function (str) {\n return str.toLocaleLowerCase();\n },\n 'capitalize': function (str) {\n return \"\" + str.charAt(0).toLocaleUpperCase() + str.substr(1);\n }\n};\nvar defaultFormatter = new BaseFormatter();\nvar VueI18n = function VueI18n(options) {\n var this$1 = this;\n if (options === void 0) options = {};\n\n // Auto install if it is not done yet and `window` has `Vue`.\n // To allow users to avoid auto-installation in some cases,\n // this code should be placed here. See #290\n /* istanbul ignore if */\n if (!Vue && typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n var locale = options.locale || 'en-US';\n var fallbackLocale = options.fallbackLocale === false ? false : options.fallbackLocale || 'en-US';\n var messages = options.messages || {};\n var dateTimeFormats = options.dateTimeFormats || {};\n var numberFormats = options.numberFormats || {};\n this._vm = null;\n this._formatter = options.formatter || defaultFormatter;\n this._modifiers = options.modifiers || {};\n this._missing = options.missing || null;\n this._root = options.root || null;\n this._sync = options.sync === undefined ? true : !!options.sync;\n this._fallbackRoot = options.fallbackRoot === undefined ? true : !!options.fallbackRoot;\n this._formatFallbackMessages = options.formatFallbackMessages === undefined ? false : !!options.formatFallbackMessages;\n this._silentTranslationWarn = options.silentTranslationWarn === undefined ? false : options.silentTranslationWarn;\n this._silentFallbackWarn = options.silentFallbackWarn === undefined ? false : !!options.silentFallbackWarn;\n this._dateTimeFormatters = {};\n this._numberFormatters = {};\n this._path = new I18nPath();\n this._dataListeners = new Set();\n this._componentInstanceCreatedListener = options.componentInstanceCreatedListener || null;\n this._preserveDirectiveContent = options.preserveDirectiveContent === undefined ? false : !!options.preserveDirectiveContent;\n this.pluralizationRules = options.pluralizationRules || {};\n this._warnHtmlInMessage = options.warnHtmlInMessage || 'off';\n this._postTranslation = options.postTranslation || null;\n this._escapeParameterHtml = options.escapeParameterHtml || false;\n\n /**\n * @param choice {number} a choice index given by the input to $tc: `$tc('path.to.rule', choiceIndex)`\n * @param choicesLength {number} an overall amount of available choices\n * @returns a final choice index\n */\n this.getChoiceIndex = function (choice, choicesLength) {\n var thisPrototype = Object.getPrototypeOf(this$1);\n if (thisPrototype && thisPrototype.getChoiceIndex) {\n var prototypeGetChoiceIndex = thisPrototype.getChoiceIndex;\n return prototypeGetChoiceIndex.call(this$1, choice, choicesLength);\n }\n\n // Default (old) getChoiceIndex implementation - english-compatible\n var defaultImpl = function (_choice, _choicesLength) {\n _choice = Math.abs(_choice);\n if (_choicesLength === 2) {\n return _choice ? _choice > 1 ? 1 : 0 : 1;\n }\n return _choice ? Math.min(_choice, 2) : 0;\n };\n if (this$1.locale in this$1.pluralizationRules) {\n return this$1.pluralizationRules[this$1.locale].apply(this$1, [choice, choicesLength]);\n } else {\n return defaultImpl(choice, choicesLength);\n }\n };\n this._exist = function (message, key) {\n if (!message || !key) {\n return false;\n }\n if (!isNull(this$1._path.getPathValue(message, key))) {\n return true;\n }\n // fallback for flat key\n if (message[key]) {\n return true;\n }\n return false;\n };\n if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {\n Object.keys(messages).forEach(function (locale) {\n this$1._checkLocaleMessage(locale, this$1._warnHtmlInMessage, messages[locale]);\n });\n }\n this._initVM({\n locale: locale,\n fallbackLocale: fallbackLocale,\n messages: messages,\n dateTimeFormats: dateTimeFormats,\n numberFormats: numberFormats\n });\n};\nvar prototypeAccessors = {\n vm: {\n configurable: true\n },\n messages: {\n configurable: true\n },\n dateTimeFormats: {\n configurable: true\n },\n numberFormats: {\n configurable: true\n },\n availableLocales: {\n configurable: true\n },\n locale: {\n configurable: true\n },\n fallbackLocale: {\n configurable: true\n },\n formatFallbackMessages: {\n configurable: true\n },\n missing: {\n configurable: true\n },\n formatter: {\n configurable: true\n },\n silentTranslationWarn: {\n configurable: true\n },\n silentFallbackWarn: {\n configurable: true\n },\n preserveDirectiveContent: {\n configurable: true\n },\n warnHtmlInMessage: {\n configurable: true\n },\n postTranslation: {\n configurable: true\n }\n};\nVueI18n.prototype._checkLocaleMessage = function _checkLocaleMessage(locale, level, message) {\n var paths = [];\n var fn = function (level, locale, message, paths) {\n if (isPlainObject(message)) {\n Object.keys(message).forEach(function (key) {\n var val = message[key];\n if (isPlainObject(val)) {\n paths.push(key);\n paths.push('.');\n fn(level, locale, val, paths);\n paths.pop();\n paths.pop();\n } else {\n paths.push(key);\n fn(level, locale, val, paths);\n paths.pop();\n }\n });\n } else if (isArray(message)) {\n message.forEach(function (item, index) {\n if (isPlainObject(item)) {\n paths.push(\"[\" + index + \"]\");\n paths.push('.');\n fn(level, locale, item, paths);\n paths.pop();\n paths.pop();\n } else {\n paths.push(\"[\" + index + \"]\");\n fn(level, locale, item, paths);\n paths.pop();\n }\n });\n } else if (isString(message)) {\n var ret = htmlTagMatcher.test(message);\n if (ret) {\n var msg = \"Detected HTML in message '\" + message + \"' of keypath '\" + paths.join('') + \"' at '\" + locale + \"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp\";\n if (level === 'warn') {\n warn(msg);\n } else if (level === 'error') {\n error(msg);\n }\n }\n }\n };\n fn(level, locale, message, paths);\n};\nVueI18n.prototype._initVM = function _initVM(data) {\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n this._vm = new Vue({\n data: data\n });\n Vue.config.silent = silent;\n};\nVueI18n.prototype.destroyVM = function destroyVM() {\n this._vm.$destroy();\n};\nVueI18n.prototype.subscribeDataChanging = function subscribeDataChanging(vm) {\n this._dataListeners.add(vm);\n};\nVueI18n.prototype.unsubscribeDataChanging = function unsubscribeDataChanging(vm) {\n remove(this._dataListeners, vm);\n};\nVueI18n.prototype.watchI18nData = function watchI18nData() {\n var self = this;\n return this._vm.$watch('$data', function () {\n self._dataListeners.forEach(function (e) {\n Vue.nextTick(function () {\n e && e.$forceUpdate();\n });\n });\n }, {\n deep: true\n });\n};\nVueI18n.prototype.watchLocale = function watchLocale() {\n /* istanbul ignore if */\n if (!this._sync || !this._root) {\n return null;\n }\n var target = this._vm;\n return this._root.$i18n.vm.$watch('locale', function (val) {\n target.$set(target, 'locale', val);\n target.$forceUpdate();\n }, {\n immediate: true\n });\n};\nVueI18n.prototype.onComponentInstanceCreated = function onComponentInstanceCreated(newI18n) {\n if (this._componentInstanceCreatedListener) {\n this._componentInstanceCreatedListener(newI18n, this);\n }\n};\nprototypeAccessors.vm.get = function () {\n return this._vm;\n};\nprototypeAccessors.messages.get = function () {\n return looseClone(this._getMessages());\n};\nprototypeAccessors.dateTimeFormats.get = function () {\n return looseClone(this._getDateTimeFormats());\n};\nprototypeAccessors.numberFormats.get = function () {\n return looseClone(this._getNumberFormats());\n};\nprototypeAccessors.availableLocales.get = function () {\n return Object.keys(this.messages).sort();\n};\nprototypeAccessors.locale.get = function () {\n return this._vm.locale;\n};\nprototypeAccessors.locale.set = function (locale) {\n this._vm.$set(this._vm, 'locale', locale);\n};\nprototypeAccessors.fallbackLocale.get = function () {\n return this._vm.fallbackLocale;\n};\nprototypeAccessors.fallbackLocale.set = function (locale) {\n this._localeChainCache = {};\n this._vm.$set(this._vm, 'fallbackLocale', locale);\n};\nprototypeAccessors.formatFallbackMessages.get = function () {\n return this._formatFallbackMessages;\n};\nprototypeAccessors.formatFallbackMessages.set = function (fallback) {\n this._formatFallbackMessages = fallback;\n};\nprototypeAccessors.missing.get = function () {\n return this._missing;\n};\nprototypeAccessors.missing.set = function (handler) {\n this._missing = handler;\n};\nprototypeAccessors.formatter.get = function () {\n return this._formatter;\n};\nprototypeAccessors.formatter.set = function (formatter) {\n this._formatter = formatter;\n};\nprototypeAccessors.silentTranslationWarn.get = function () {\n return this._silentTranslationWarn;\n};\nprototypeAccessors.silentTranslationWarn.set = function (silent) {\n this._silentTranslationWarn = silent;\n};\nprototypeAccessors.silentFallbackWarn.get = function () {\n return this._silentFallbackWarn;\n};\nprototypeAccessors.silentFallbackWarn.set = function (silent) {\n this._silentFallbackWarn = silent;\n};\nprototypeAccessors.preserveDirectiveContent.get = function () {\n return this._preserveDirectiveContent;\n};\nprototypeAccessors.preserveDirectiveContent.set = function (preserve) {\n this._preserveDirectiveContent = preserve;\n};\nprototypeAccessors.warnHtmlInMessage.get = function () {\n return this._warnHtmlInMessage;\n};\nprototypeAccessors.warnHtmlInMessage.set = function (level) {\n var this$1 = this;\n var orgLevel = this._warnHtmlInMessage;\n this._warnHtmlInMessage = level;\n if (orgLevel !== level && (level === 'warn' || level === 'error')) {\n var messages = this._getMessages();\n Object.keys(messages).forEach(function (locale) {\n this$1._checkLocaleMessage(locale, this$1._warnHtmlInMessage, messages[locale]);\n });\n }\n};\nprototypeAccessors.postTranslation.get = function () {\n return this._postTranslation;\n};\nprototypeAccessors.postTranslation.set = function (handler) {\n this._postTranslation = handler;\n};\nVueI18n.prototype._getMessages = function _getMessages() {\n return this._vm.messages;\n};\nVueI18n.prototype._getDateTimeFormats = function _getDateTimeFormats() {\n return this._vm.dateTimeFormats;\n};\nVueI18n.prototype._getNumberFormats = function _getNumberFormats() {\n return this._vm.numberFormats;\n};\nVueI18n.prototype._warnDefault = function _warnDefault(locale, key, result, vm, values, interpolateMode) {\n if (!isNull(result)) {\n return result;\n }\n if (this._missing) {\n var missingRet = this._missing.apply(null, [locale, key, vm, values]);\n if (isString(missingRet)) {\n return missingRet;\n }\n } else {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key)) {\n warn(\"Cannot translate the value of keypath '\" + key + \"'. \" + 'Use the value of keypath as default.');\n }\n }\n if (this._formatFallbackMessages) {\n var parsedArgs = parseArgs.apply(void 0, values);\n return this._render(key, interpolateMode, parsedArgs.params, key);\n } else {\n return key;\n }\n};\nVueI18n.prototype._isFallbackRoot = function _isFallbackRoot(val) {\n return !val && !isNull(this._root) && this._fallbackRoot;\n};\nVueI18n.prototype._isSilentFallbackWarn = function _isSilentFallbackWarn(key) {\n return this._silentFallbackWarn instanceof RegExp ? this._silentFallbackWarn.test(key) : this._silentFallbackWarn;\n};\nVueI18n.prototype._isSilentFallback = function _isSilentFallback(locale, key) {\n return this._isSilentFallbackWarn(key) && (this._isFallbackRoot() || locale !== this.fallbackLocale);\n};\nVueI18n.prototype._isSilentTranslationWarn = function _isSilentTranslationWarn(key) {\n return this._silentTranslationWarn instanceof RegExp ? this._silentTranslationWarn.test(key) : this._silentTranslationWarn;\n};\nVueI18n.prototype._interpolate = function _interpolate(locale, message, key, host, interpolateMode, values, visitedLinkStack) {\n if (!message) {\n return null;\n }\n var pathRet = this._path.getPathValue(message, key);\n if (isArray(pathRet) || isPlainObject(pathRet)) {\n return pathRet;\n }\n var ret;\n if (isNull(pathRet)) {\n /* istanbul ignore else */\n if (isPlainObject(message)) {\n ret = message[key];\n if (!(isString(ret) || isFunction(ret))) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallback(locale, key)) {\n warn(\"Value of key '\" + key + \"' is not a string or function !\");\n }\n return null;\n }\n } else {\n return null;\n }\n } else {\n /* istanbul ignore else */\n if (isString(pathRet) || isFunction(pathRet)) {\n ret = pathRet;\n } else {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallback(locale, key)) {\n warn(\"Value of key '\" + key + \"' is not a string or function!\");\n }\n return null;\n }\n }\n\n // Check for the existence of links within the translated string\n if (isString(ret) && (ret.indexOf('@:') >= 0 || ret.indexOf('@.') >= 0)) {\n ret = this._link(locale, message, ret, host, 'raw', values, visitedLinkStack);\n }\n return this._render(ret, interpolateMode, values, key);\n};\nVueI18n.prototype._link = function _link(locale, message, str, host, interpolateMode, values, visitedLinkStack) {\n var ret = str;\n\n // Match all the links within the local\n // We are going to replace each of\n // them with its translation\n var matches = ret.match(linkKeyMatcher);\n for (var idx in matches) {\n // ie compatible: filter custom array\n // prototype method\n if (!matches.hasOwnProperty(idx)) {\n continue;\n }\n var link = matches[idx];\n var linkKeyPrefixMatches = link.match(linkKeyPrefixMatcher);\n var linkPrefix = linkKeyPrefixMatches[0];\n var formatterName = linkKeyPrefixMatches[1];\n\n // Remove the leading @:, @.case: and the brackets\n var linkPlaceholder = link.replace(linkPrefix, '').replace(bracketsMatcher, '');\n if (includes(visitedLinkStack, linkPlaceholder)) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Circular reference found. \\\"\" + link + \"\\\" is already visited in the chain of \" + visitedLinkStack.reverse().join(' <- '));\n }\n return ret;\n }\n visitedLinkStack.push(linkPlaceholder);\n\n // Translate the link\n var translated = this._interpolate(locale, message, linkPlaceholder, host, interpolateMode === 'raw' ? 'string' : interpolateMode, interpolateMode === 'raw' ? undefined : values, visitedLinkStack);\n if (this._isFallbackRoot(translated)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(linkPlaceholder)) {\n warn(\"Fall back to translate the link placeholder '\" + linkPlaceholder + \"' with root locale.\");\n }\n /* istanbul ignore if */\n if (!this._root) {\n throw Error('unexpected error');\n }\n var root = this._root.$i18n;\n translated = root._translate(root._getMessages(), root.locale, root.fallbackLocale, linkPlaceholder, host, interpolateMode, values);\n }\n translated = this._warnDefault(locale, linkPlaceholder, translated, host, isArray(values) ? values : [values], interpolateMode);\n if (this._modifiers.hasOwnProperty(formatterName)) {\n translated = this._modifiers[formatterName](translated);\n } else if (defaultModifiers.hasOwnProperty(formatterName)) {\n translated = defaultModifiers[formatterName](translated);\n }\n visitedLinkStack.pop();\n\n // Replace the link with the translated\n ret = !translated ? ret : ret.replace(link, translated);\n }\n return ret;\n};\nVueI18n.prototype._createMessageContext = function _createMessageContext(values) {\n var _list = isArray(values) ? values : [];\n var _named = isObject(values) ? values : {};\n var list = function (index) {\n return _list[index];\n };\n var named = function (key) {\n return _named[key];\n };\n return {\n list: list,\n named: named\n };\n};\nVueI18n.prototype._render = function _render(message, interpolateMode, values, path) {\n if (isFunction(message)) {\n return message(this._createMessageContext(values));\n }\n var ret = this._formatter.interpolate(message, values, path);\n\n // If the custom formatter refuses to work - apply the default one\n if (!ret) {\n ret = defaultFormatter.interpolate(message, values, path);\n }\n\n // if interpolateMode is **not** 'string' ('row'),\n // return the compiled data (e.g. ['foo', VNode, 'bar']) with formatter\n return interpolateMode === 'string' && !isString(ret) ? ret.join('') : ret;\n};\nVueI18n.prototype._appendItemToChain = function _appendItemToChain(chain, item, blocks) {\n var follow = false;\n if (!includes(chain, item)) {\n follow = true;\n if (item) {\n follow = item[item.length - 1] !== '!';\n item = item.replace(/!/g, '');\n chain.push(item);\n if (blocks && blocks[item]) {\n follow = blocks[item];\n }\n }\n }\n return follow;\n};\nVueI18n.prototype._appendLocaleToChain = function _appendLocaleToChain(chain, locale, blocks) {\n var follow;\n var tokens = locale.split('-');\n do {\n var item = tokens.join('-');\n follow = this._appendItemToChain(chain, item, blocks);\n tokens.splice(-1, 1);\n } while (tokens.length && follow === true);\n return follow;\n};\nVueI18n.prototype._appendBlockToChain = function _appendBlockToChain(chain, block, blocks) {\n var follow = true;\n for (var i = 0; i < block.length && isBoolean(follow); i++) {\n var locale = block[i];\n if (isString(locale)) {\n follow = this._appendLocaleToChain(chain, locale, blocks);\n }\n }\n return follow;\n};\nVueI18n.prototype._getLocaleChain = function _getLocaleChain(start, fallbackLocale) {\n if (start === '') {\n return [];\n }\n if (!this._localeChainCache) {\n this._localeChainCache = {};\n }\n var chain = this._localeChainCache[start];\n if (!chain) {\n if (!fallbackLocale) {\n fallbackLocale = this.fallbackLocale;\n }\n chain = [];\n\n // first block defined by start\n var block = [start];\n\n // while any intervening block found\n while (isArray(block)) {\n block = this._appendBlockToChain(chain, block, fallbackLocale);\n }\n\n // last block defined by default\n var defaults;\n if (isArray(fallbackLocale)) {\n defaults = fallbackLocale;\n } else if (isObject(fallbackLocale)) {\n /* $FlowFixMe */\n if (fallbackLocale['default']) {\n defaults = fallbackLocale['default'];\n } else {\n defaults = null;\n }\n } else {\n defaults = fallbackLocale;\n }\n\n // convert defaults to array\n if (isString(defaults)) {\n block = [defaults];\n } else {\n block = defaults;\n }\n if (block) {\n this._appendBlockToChain(chain, block, null);\n }\n this._localeChainCache[start] = chain;\n }\n return chain;\n};\nVueI18n.prototype._translate = function _translate(messages, locale, fallback, key, host, interpolateMode, args) {\n var chain = this._getLocaleChain(locale, fallback);\n var res;\n for (var i = 0; i < chain.length; i++) {\n var step = chain[i];\n res = this._interpolate(step, messages[step], key, host, interpolateMode, args, [key]);\n if (!isNull(res)) {\n if (step !== locale && process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to translate the keypath '\" + key + \"' with '\" + step + \"' locale.\");\n }\n return res;\n }\n }\n return null;\n};\nVueI18n.prototype._t = function _t(key, _locale, messages, host) {\n var ref;\n var values = [],\n len = arguments.length - 4;\n while (len-- > 0) values[len] = arguments[len + 4];\n if (!key) {\n return '';\n }\n var parsedArgs = parseArgs.apply(void 0, values);\n if (this._escapeParameterHtml) {\n parsedArgs.params = escapeParams(parsedArgs.params);\n }\n var locale = parsedArgs.locale || _locale;\n var ret = this._translate(messages, locale, this.fallbackLocale, key, host, 'string', parsedArgs.params);\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to translate the keypath '\" + key + \"' with root locale.\");\n }\n /* istanbul ignore if */\n if (!this._root) {\n throw Error('unexpected error');\n }\n return (ref = this._root).$t.apply(ref, [key].concat(values));\n } else {\n ret = this._warnDefault(locale, key, ret, host, values, 'string');\n if (this._postTranslation && ret !== null && ret !== undefined) {\n ret = this._postTranslation(ret, key);\n }\n return ret;\n }\n};\nVueI18n.prototype.t = function t(key) {\n var ref;\n var values = [],\n len = arguments.length - 1;\n while (len-- > 0) values[len] = arguments[len + 1];\n return (ref = this)._t.apply(ref, [key, this.locale, this._getMessages(), null].concat(values));\n};\nVueI18n.prototype._i = function _i(key, locale, messages, host, values) {\n var ret = this._translate(messages, locale, this.fallbackLocale, key, host, 'raw', values);\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key)) {\n warn(\"Fall back to interpolate the keypath '\" + key + \"' with root locale.\");\n }\n if (!this._root) {\n throw Error('unexpected error');\n }\n return this._root.$i18n.i(key, locale, values);\n } else {\n return this._warnDefault(locale, key, ret, host, [values], 'raw');\n }\n};\nVueI18n.prototype.i = function i(key, locale, values) {\n /* istanbul ignore if */\n if (!key) {\n return '';\n }\n if (!isString(locale)) {\n locale = this.locale;\n }\n return this._i(key, locale, this._getMessages(), null, values);\n};\nVueI18n.prototype._tc = function _tc(key, _locale, messages, host, choice) {\n var ref;\n var values = [],\n len = arguments.length - 5;\n while (len-- > 0) values[len] = arguments[len + 5];\n if (!key) {\n return '';\n }\n if (choice === undefined) {\n choice = 1;\n }\n var predefined = {\n 'count': choice,\n 'n': choice\n };\n var parsedArgs = parseArgs.apply(void 0, values);\n parsedArgs.params = Object.assign(predefined, parsedArgs.params);\n values = parsedArgs.locale === null ? [parsedArgs.params] : [parsedArgs.locale, parsedArgs.params];\n return this.fetchChoice((ref = this)._t.apply(ref, [key, _locale, messages, host].concat(values)), choice);\n};\nVueI18n.prototype.fetchChoice = function fetchChoice(message, choice) {\n /* istanbul ignore if */\n if (!message || !isString(message)) {\n return null;\n }\n var choices = message.split('|');\n choice = this.getChoiceIndex(choice, choices.length);\n if (!choices[choice]) {\n return message;\n }\n return choices[choice].trim();\n};\nVueI18n.prototype.tc = function tc(key, choice) {\n var ref;\n var values = [],\n len = arguments.length - 2;\n while (len-- > 0) values[len] = arguments[len + 2];\n return (ref = this)._tc.apply(ref, [key, this.locale, this._getMessages(), null, choice].concat(values));\n};\nVueI18n.prototype._te = function _te(key, locale, messages) {\n var args = [],\n len = arguments.length - 3;\n while (len-- > 0) args[len] = arguments[len + 3];\n var _locale = parseArgs.apply(void 0, args).locale || locale;\n return this._exist(messages[_locale], key);\n};\nVueI18n.prototype.te = function te(key, locale) {\n return this._te(key, this.locale, this._getMessages(), locale);\n};\nVueI18n.prototype.getLocaleMessage = function getLocaleMessage(locale) {\n return looseClone(this._vm.messages[locale] || {});\n};\nVueI18n.prototype.setLocaleMessage = function setLocaleMessage(locale, message) {\n if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {\n this._checkLocaleMessage(locale, this._warnHtmlInMessage, message);\n }\n this._vm.$set(this._vm.messages, locale, message);\n};\nVueI18n.prototype.mergeLocaleMessage = function mergeLocaleMessage(locale, message) {\n if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {\n this._checkLocaleMessage(locale, this._warnHtmlInMessage, message);\n }\n this._vm.$set(this._vm.messages, locale, merge(typeof this._vm.messages[locale] !== 'undefined' && Object.keys(this._vm.messages[locale]).length ? this._vm.messages[locale] : {}, message));\n};\nVueI18n.prototype.getDateTimeFormat = function getDateTimeFormat(locale) {\n return looseClone(this._vm.dateTimeFormats[locale] || {});\n};\nVueI18n.prototype.setDateTimeFormat = function setDateTimeFormat(locale, format) {\n this._vm.$set(this._vm.dateTimeFormats, locale, format);\n this._clearDateTimeFormat(locale, format);\n};\nVueI18n.prototype.mergeDateTimeFormat = function mergeDateTimeFormat(locale, format) {\n this._vm.$set(this._vm.dateTimeFormats, locale, merge(this._vm.dateTimeFormats[locale] || {}, format));\n this._clearDateTimeFormat(locale, format);\n};\nVueI18n.prototype._clearDateTimeFormat = function _clearDateTimeFormat(locale, format) {\n for (var key in format) {\n var id = locale + \"__\" + key;\n if (!this._dateTimeFormatters.hasOwnProperty(id)) {\n continue;\n }\n delete this._dateTimeFormatters[id];\n }\n};\nVueI18n.prototype._localizeDateTime = function _localizeDateTime(value, locale, fallback, dateTimeFormats, key) {\n var _locale = locale;\n var formats = dateTimeFormats[_locale];\n var chain = this._getLocaleChain(locale, fallback);\n for (var i = 0; i < chain.length; i++) {\n var current = _locale;\n var step = chain[i];\n formats = dateTimeFormats[step];\n _locale = step;\n // fallback locale\n if (isNull(formats) || isNull(formats[key])) {\n if (step !== locale && process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to '\" + step + \"' datetime formats from '\" + current + \"' datetime formats.\");\n }\n } else {\n break;\n }\n }\n if (isNull(formats) || isNull(formats[key])) {\n return null;\n } else {\n var format = formats[key];\n var id = _locale + \"__\" + key;\n var formatter = this._dateTimeFormatters[id];\n if (!formatter) {\n formatter = this._dateTimeFormatters[id] = new Intl.DateTimeFormat(_locale, format);\n }\n return formatter.format(value);\n }\n};\nVueI18n.prototype._d = function _d(value, locale, key) {\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && !VueI18n.availabilities.dateTimeFormat) {\n warn('Cannot format a Date value due to not supported Intl.DateTimeFormat.');\n return '';\n }\n if (!key) {\n return new Intl.DateTimeFormat(locale).format(value);\n }\n var ret = this._localizeDateTime(value, locale, this.fallbackLocale, this._getDateTimeFormats(), key);\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to datetime localization of root: key '\" + key + \"'.\");\n }\n /* istanbul ignore if */\n if (!this._root) {\n throw Error('unexpected error');\n }\n return this._root.$i18n.d(value, key, locale);\n } else {\n return ret || '';\n }\n};\nVueI18n.prototype.d = function d(value) {\n var args = [],\n len = arguments.length - 1;\n while (len-- > 0) args[len] = arguments[len + 1];\n var locale = this.locale;\n var key = null;\n if (args.length === 1) {\n if (isString(args[0])) {\n key = args[0];\n } else if (isObject(args[0])) {\n if (args[0].locale) {\n locale = args[0].locale;\n }\n if (args[0].key) {\n key = args[0].key;\n }\n }\n } else if (args.length === 2) {\n if (isString(args[0])) {\n key = args[0];\n }\n if (isString(args[1])) {\n locale = args[1];\n }\n }\n return this._d(value, locale, key);\n};\nVueI18n.prototype.getNumberFormat = function getNumberFormat(locale) {\n return looseClone(this._vm.numberFormats[locale] || {});\n};\nVueI18n.prototype.setNumberFormat = function setNumberFormat(locale, format) {\n this._vm.$set(this._vm.numberFormats, locale, format);\n this._clearNumberFormat(locale, format);\n};\nVueI18n.prototype.mergeNumberFormat = function mergeNumberFormat(locale, format) {\n this._vm.$set(this._vm.numberFormats, locale, merge(this._vm.numberFormats[locale] || {}, format));\n this._clearNumberFormat(locale, format);\n};\nVueI18n.prototype._clearNumberFormat = function _clearNumberFormat(locale, format) {\n for (var key in format) {\n var id = locale + \"__\" + key;\n if (!this._numberFormatters.hasOwnProperty(id)) {\n continue;\n }\n delete this._numberFormatters[id];\n }\n};\nVueI18n.prototype._getNumberFormatter = function _getNumberFormatter(value, locale, fallback, numberFormats, key, options) {\n var _locale = locale;\n var formats = numberFormats[_locale];\n var chain = this._getLocaleChain(locale, fallback);\n for (var i = 0; i < chain.length; i++) {\n var current = _locale;\n var step = chain[i];\n formats = numberFormats[step];\n _locale = step;\n // fallback locale\n if (isNull(formats) || isNull(formats[key])) {\n if (step !== locale && process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to '\" + step + \"' number formats from '\" + current + \"' number formats.\");\n }\n } else {\n break;\n }\n }\n if (isNull(formats) || isNull(formats[key])) {\n return null;\n } else {\n var format = formats[key];\n var formatter;\n if (options) {\n // If options specified - create one time number formatter\n formatter = new Intl.NumberFormat(_locale, Object.assign({}, format, options));\n } else {\n var id = _locale + \"__\" + key;\n formatter = this._numberFormatters[id];\n if (!formatter) {\n formatter = this._numberFormatters[id] = new Intl.NumberFormat(_locale, format);\n }\n }\n return formatter;\n }\n};\nVueI18n.prototype._n = function _n(value, locale, key, options) {\n /* istanbul ignore if */\n if (!VueI18n.availabilities.numberFormat) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot format a Number value due to not supported Intl.NumberFormat.');\n }\n return '';\n }\n if (!key) {\n var nf = !options ? new Intl.NumberFormat(locale) : new Intl.NumberFormat(locale, options);\n return nf.format(value);\n }\n var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);\n var ret = formatter && formatter.format(value);\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {\n warn(\"Fall back to number localization of root: key '\" + key + \"'.\");\n }\n /* istanbul ignore if */\n if (!this._root) {\n throw Error('unexpected error');\n }\n return this._root.$i18n.n(value, Object.assign({}, {\n key: key,\n locale: locale\n }, options));\n } else {\n return ret || '';\n }\n};\nVueI18n.prototype.n = function n(value) {\n var args = [],\n len = arguments.length - 1;\n while (len-- > 0) args[len] = arguments[len + 1];\n var locale = this.locale;\n var key = null;\n var options = null;\n if (args.length === 1) {\n if (isString(args[0])) {\n key = args[0];\n } else if (isObject(args[0])) {\n if (args[0].locale) {\n locale = args[0].locale;\n }\n if (args[0].key) {\n key = args[0].key;\n }\n\n // Filter out number format options only\n options = Object.keys(args[0]).reduce(function (acc, key) {\n var obj;\n if (includes(numberFormatKeys, key)) {\n return Object.assign({}, acc, (obj = {}, obj[key] = args[0][key], obj));\n }\n return acc;\n }, null);\n }\n } else if (args.length === 2) {\n if (isString(args[0])) {\n key = args[0];\n }\n if (isString(args[1])) {\n locale = args[1];\n }\n }\n return this._n(value, locale, key, options);\n};\nVueI18n.prototype._ntp = function _ntp(value, locale, key, options) {\n /* istanbul ignore if */\n if (!VueI18n.availabilities.numberFormat) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot format to parts a Number value due to not supported Intl.NumberFormat.');\n }\n return [];\n }\n if (!key) {\n var nf = !options ? new Intl.NumberFormat(locale) : new Intl.NumberFormat(locale, options);\n return nf.formatToParts(value);\n }\n var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);\n var ret = formatter && formatter.formatToParts(value);\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._isSilentTranslationWarn(key)) {\n warn(\"Fall back to format number to parts of root: key '\" + key + \"' .\");\n }\n /* istanbul ignore if */\n if (!this._root) {\n throw Error('unexpected error');\n }\n return this._root.$i18n._ntp(value, locale, key, options);\n } else {\n return ret || [];\n }\n};\nObject.defineProperties(VueI18n.prototype, prototypeAccessors);\nvar availabilities;\n// $FlowFixMe\nObject.defineProperty(VueI18n, 'availabilities', {\n get: function get() {\n if (!availabilities) {\n var intlDefined = typeof Intl !== 'undefined';\n availabilities = {\n dateTimeFormat: intlDefined && typeof Intl.DateTimeFormat !== 'undefined',\n numberFormat: intlDefined && typeof Intl.NumberFormat !== 'undefined'\n };\n }\n return availabilities;\n }\n});\nVueI18n.install = install;\nVueI18n.version = '8.24.3';\nexport default VueI18n;","import AnalyticsHelper from './AnalyticsHelper';\nimport DashboardAudioNotificationHelper from './AudioAlerts/DashboardAudioNotificationHelper';\nimport { emitter } from 'shared/helpers/mitt';\n\nexport const CHATWOOT_SET_USER = 'CHATWOOT_SET_USER';\nexport const CHATWOOT_RESET = 'CHATWOOT_RESET';\n\nexport const ANALYTICS_IDENTITY = 'ANALYTICS_IDENTITY';\nexport const ANALYTICS_RESET = 'ANALYTICS_RESET';\n\nexport const initializeAnalyticsEvents = () => {\n emitter.on(ANALYTICS_IDENTITY, ({ user }) => {\n AnalyticsHelper.identify(user);\n });\n};\n\nconst initializeAudioAlerts = user => {\n const { ui_settings: uiSettings } = user || {};\n const {\n always_play_audio_alert: alwaysPlayAudioAlert,\n enable_audio_alerts: audioAlertType,\n alert_if_unread_assigned_conversation_exist: alertIfUnreadConversationExist,\n notification_tone: audioAlertTone,\n // UI Settings can be undefined initally as we don't send the\n // entire payload for the user during the signup process.\n } = uiSettings || {};\n\n DashboardAudioNotificationHelper.setInstanceValues({\n currentUserId: user.id,\n audioAlertType: audioAlertType || 'none',\n audioAlertTone: audioAlertTone || 'ding',\n alwaysPlayAudioAlert: alwaysPlayAudioAlert || false,\n alertIfUnreadConversationExist: alertIfUnreadConversationExist || false,\n });\n};\n\nexport const initializeChatwootEvents = () => {\n emitter.on(CHATWOOT_RESET, () => {\n if (window.$ruut) {\n window.$ruut.reset();\n }\n });\n emitter.on(CHATWOOT_SET_USER, ({ user }) => {\n if (window.$ruut) {\n window.$ruut.setUser(user.email, {\n avatar_url: user.avatar_url,\n email: user.email,\n identifier_hash: user.hmac_identifier,\n name: user.name,\n });\n window.$ruut.setCustomAttributes({\n signedUpAt: user.created_at,\n cloudCustomer: 'true',\n account_id: user.account_id,\n });\n }\n\n initializeAudioAlerts(user);\n });\n};\n","import { __assign, __extends } from \"tslib\";\nimport { v4 as uuid } from '@lukeed/uuid';\nimport jar from 'js-cookie';\nimport { tld } from './tld';\nimport autoBind from '../../lib/bind-all';\nvar defaults = {\n persist: true,\n cookie: {\n key: 'ajs_user_id',\n oldKey: 'ajs_user'\n },\n localStorage: {\n key: 'ajs_user_traits'\n }\n};\nvar Store = /** @class */function () {\n function Store() {\n this.cache = {};\n }\n Store.prototype.get = function (key) {\n return this.cache[key];\n };\n Store.prototype.set = function (key, value) {\n this.cache[key] = value;\n };\n Store.prototype.remove = function (key) {\n delete this.cache[key];\n };\n Object.defineProperty(Store.prototype, \"type\", {\n get: function () {\n return 'memory';\n },\n enumerable: false,\n configurable: true\n });\n return Store;\n}();\nvar ONE_YEAR = 365;\nvar Cookie = /** @class */function (_super) {\n __extends(Cookie, _super);\n function Cookie(options) {\n if (options === void 0) {\n options = Cookie.defaults;\n }\n var _this = _super.call(this) || this;\n _this.options = __assign(__assign({}, Cookie.defaults), options);\n return _this;\n }\n Cookie.available = function () {\n var cookieEnabled = window.navigator.cookieEnabled;\n if (!cookieEnabled) {\n jar.set('ajs:cookies', 'test');\n cookieEnabled = document.cookie.includes('ajs:cookies');\n jar.remove('ajs:cookies');\n }\n return cookieEnabled;\n };\n Object.defineProperty(Cookie, \"defaults\", {\n get: function () {\n return {\n maxage: ONE_YEAR,\n domain: tld(window.location.href),\n path: '/',\n sameSite: 'Lax'\n };\n },\n enumerable: false,\n configurable: true\n });\n Cookie.prototype.opts = function () {\n return {\n sameSite: this.options.sameSite,\n expires: this.options.maxage,\n domain: this.options.domain,\n path: this.options.path,\n secure: this.options.secure\n };\n };\n Cookie.prototype.get = function (key) {\n try {\n var value = jar.get(key);\n if (!value) {\n return null;\n }\n try {\n return JSON.parse(value);\n } catch (e) {\n return value;\n }\n } catch (e) {\n return null;\n }\n };\n Cookie.prototype.set = function (key, value) {\n if (typeof value === 'string') {\n jar.set(key, value, this.opts());\n } else if (value === null) {\n jar.remove(key, this.opts());\n } else {\n jar.set(key, JSON.stringify(value), this.opts());\n }\n };\n Cookie.prototype.remove = function (key) {\n return jar.remove(key, this.opts());\n };\n Object.defineProperty(Cookie.prototype, \"type\", {\n get: function () {\n return 'cookie';\n },\n enumerable: false,\n configurable: true\n });\n return Cookie;\n}(Store);\nexport { Cookie };\nvar localStorageWarning = function (key, state) {\n console.warn(\"Unable to access \".concat(key, \", localStorage may be \").concat(state));\n};\nvar LocalStorage = /** @class */function (_super) {\n __extends(LocalStorage, _super);\n function LocalStorage() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LocalStorage.available = function () {\n var test = 'test';\n try {\n localStorage.setItem(test, test);\n localStorage.removeItem(test);\n return true;\n } catch (e) {\n return false;\n }\n };\n LocalStorage.prototype.get = function (key) {\n try {\n var val = localStorage.getItem(key);\n if (val === null) {\n return null;\n }\n try {\n return JSON.parse(val);\n } catch (e) {\n return val;\n }\n } catch (err) {\n localStorageWarning(key, 'unavailable');\n return null;\n }\n };\n LocalStorage.prototype.set = function (key, value) {\n try {\n localStorage.setItem(key, JSON.stringify(value));\n } catch (_a) {\n localStorageWarning(key, 'full');\n }\n };\n LocalStorage.prototype.remove = function (key) {\n try {\n return localStorage.removeItem(key);\n } catch (err) {\n localStorageWarning(key, 'unavailable');\n }\n };\n Object.defineProperty(LocalStorage.prototype, \"type\", {\n get: function () {\n return 'localStorage';\n },\n enumerable: false,\n configurable: true\n });\n return LocalStorage;\n}(Store);\nexport { LocalStorage };\nvar UniversalStorage = /** @class */function () {\n function UniversalStorage(stores, storageOptions) {\n this.storageOptions = storageOptions;\n this.enabledStores = stores;\n }\n UniversalStorage.prototype.getStores = function (storeTypes) {\n var _this = this;\n var stores = [];\n this.enabledStores.filter(function (i) {\n return !storeTypes || (storeTypes === null || storeTypes === void 0 ? void 0 : storeTypes.includes(i));\n }).forEach(function (storeType) {\n var storage = _this.storageOptions[storeType];\n if (storage !== undefined) {\n stores.push(storage);\n }\n });\n return stores;\n };\n /*\n This is to support few scenarios where:\n - value exist in one of the stores ( as a result of other stores being cleared from browser ) and we want to resync them\n - read values in AJS 1.0 format ( for customers after 1.0 --> 2.0 migration ) and then re-write them in AJS 2.0 format\n */\n /**\n * get value for the key from the stores. it will pick the first value found in the stores, and then sync the value to all the stores\n * if the found value is a number, it will be converted to a string. this is to support legacy behavior that existed in AJS 1.0\n * @param key key for the value to be retrieved\n * @param storeTypes optional array of store types to be used for performing get and sync\n * @returns value for the key or null if not found\n */\n UniversalStorage.prototype.getAndSync = function (key, storeTypes) {\n var val = this.get(key, storeTypes);\n // legacy behavior, getAndSync can change the type of a value from number to string (AJS 1.0 stores numerical values as a number)\n var coercedValue = typeof val === 'number' ? val.toString() : val;\n this.set(key, coercedValue, storeTypes);\n return coercedValue;\n };\n /**\n * get value for the key from the stores. it will return the first value found in the stores\n * @param key key for the value to be retrieved\n * @param storeTypes optional array of store types to be used for retrieving the value\n * @returns value for the key or null if not found\n */\n UniversalStorage.prototype.get = function (key, storeTypes) {\n var val = null;\n for (var _i = 0, _a = this.getStores(storeTypes); _i < _a.length; _i++) {\n var store = _a[_i];\n val = store.get(key);\n if (val) {\n return val;\n }\n }\n return null;\n };\n /**\n * it will set the value for the key in all the stores\n * @param key key for the value to be stored\n * @param value value to be stored\n * @param storeTypes optional array of store types to be used for storing the value\n * @returns value that was stored\n */\n UniversalStorage.prototype.set = function (key, value, storeTypes) {\n for (var _i = 0, _a = this.getStores(storeTypes); _i < _a.length; _i++) {\n var store = _a[_i];\n store.set(key, value);\n }\n };\n /**\n * remove the value for the key from all the stores\n * @param key key for the value to be removed\n * @param storeTypes optional array of store types to be used for removing the value\n */\n UniversalStorage.prototype.clear = function (key, storeTypes) {\n for (var _i = 0, _a = this.getStores(storeTypes); _i < _a.length; _i++) {\n var store = _a[_i];\n store.remove(key);\n }\n };\n return UniversalStorage;\n}();\nexport { UniversalStorage };\nexport function getAvailableStorageOptions(cookieOptions) {\n return {\n cookie: Cookie.available() ? new Cookie(cookieOptions) : undefined,\n localStorage: LocalStorage.available() ? new LocalStorage() : undefined,\n memory: new Store()\n };\n}\nvar User = /** @class */function () {\n function User(options, cookieOptions) {\n if (options === void 0) {\n options = defaults;\n }\n var _this = this;\n var _a, _b, _c, _d;\n this.options = {};\n this.id = function (id) {\n if (_this.options.disable) {\n return null;\n }\n var prevId = _this.identityStore.getAndSync(_this.idKey);\n if (id !== undefined) {\n _this.identityStore.set(_this.idKey, id);\n var changingIdentity = id !== prevId && prevId !== null && id !== null;\n if (changingIdentity) {\n _this.anonymousId(null);\n }\n }\n var retId = _this.identityStore.getAndSync(_this.idKey);\n if (retId) return retId;\n var retLeg = _this.legacyUserStore.get(defaults.cookie.oldKey);\n return retLeg ? typeof retLeg === 'object' ? retLeg.id : retLeg : null;\n };\n this.anonymousId = function (id) {\n var _a, _b;\n if (_this.options.disable) {\n return null;\n }\n if (id === undefined) {\n var val = (_a = _this.identityStore.getAndSync(_this.anonKey)) !== null && _a !== void 0 ? _a : (_b = _this.legacySIO()) === null || _b === void 0 ? void 0 : _b[0];\n if (val) {\n return val;\n }\n }\n if (id === null) {\n _this.identityStore.set(_this.anonKey, null);\n return _this.identityStore.getAndSync(_this.anonKey);\n }\n _this.identityStore.set(_this.anonKey, id !== null && id !== void 0 ? id : uuid());\n return _this.identityStore.getAndSync(_this.anonKey);\n };\n this.traits = function (traits) {\n var _a;\n if (_this.options.disable) {\n return;\n }\n if (traits === null) {\n traits = {};\n }\n if (traits) {\n _this.traitsStore.set(_this.traitsKey, traits !== null && traits !== void 0 ? traits : {});\n }\n return (_a = _this.traitsStore.get(_this.traitsKey)) !== null && _a !== void 0 ? _a : {};\n };\n this.options = options;\n this.cookieOptions = cookieOptions;\n this.idKey = (_b = (_a = options.cookie) === null || _a === void 0 ? void 0 : _a.key) !== null && _b !== void 0 ? _b : defaults.cookie.key;\n this.traitsKey = (_d = (_c = options.localStorage) === null || _c === void 0 ? void 0 : _c.key) !== null && _d !== void 0 ? _d : defaults.localStorage.key;\n this.anonKey = 'ajs_anonymous_id';\n var isDisabled = options.disable === true;\n var shouldPersist = options.persist !== false;\n var defaultStorageTargets = isDisabled ? [] : shouldPersist ? ['localStorage', 'cookie', 'memory'] : ['memory'];\n var storageOptions = getAvailableStorageOptions(cookieOptions);\n if (options.localStorageFallbackDisabled) {\n defaultStorageTargets = defaultStorageTargets.filter(function (t) {\n return t !== 'localStorage';\n });\n }\n this.identityStore = new UniversalStorage(defaultStorageTargets, storageOptions);\n // using only cookies for legacy user store\n this.legacyUserStore = new UniversalStorage(defaultStorageTargets.filter(function (t) {\n return t !== 'localStorage' && t !== 'memory';\n }), storageOptions);\n // using only localStorage / memory for traits store\n this.traitsStore = new UniversalStorage(defaultStorageTargets.filter(function (t) {\n return t !== 'cookie';\n }), storageOptions);\n var legacyUser = this.legacyUserStore.get(defaults.cookie.oldKey);\n if (legacyUser && typeof legacyUser === 'object') {\n legacyUser.id && this.id(legacyUser.id);\n legacyUser.traits && this.traits(legacyUser.traits);\n }\n autoBind(this);\n }\n User.prototype.legacySIO = function () {\n var val = this.legacyUserStore.get('_sio');\n if (!val) {\n return null;\n }\n var _a = val.split('----'),\n anon = _a[0],\n user = _a[1];\n return [anon, user];\n };\n User.prototype.identify = function (id, traits) {\n if (this.options.disable) {\n return;\n }\n traits = traits !== null && traits !== void 0 ? traits : {};\n var currentId = this.id();\n if (currentId === null || currentId === id) {\n traits = __assign(__assign({}, this.traits()), traits);\n }\n if (id) {\n this.id(id);\n }\n this.traits(traits);\n };\n User.prototype.logout = function () {\n this.anonymousId(null);\n this.id(null);\n this.traits({});\n };\n User.prototype.reset = function () {\n this.logout();\n this.identityStore.clear(this.idKey);\n this.identityStore.clear(this.anonKey);\n this.traitsStore.clear(this.traitsKey);\n };\n User.prototype.load = function () {\n return new User(this.options, this.cookieOptions);\n };\n User.prototype.save = function () {\n return true;\n };\n User.defaults = defaults;\n return User;\n}();\nexport { User };\nvar groupDefaults = {\n persist: true,\n cookie: {\n key: 'ajs_group_id'\n },\n localStorage: {\n key: 'ajs_group_properties'\n }\n};\nvar Group = /** @class */function (_super) {\n __extends(Group, _super);\n function Group(options, cookie) {\n if (options === void 0) {\n options = groupDefaults;\n }\n var _this = _super.call(this, options, cookie) || this;\n _this.anonymousId = function (_id) {\n return undefined;\n };\n autoBind(_this);\n return _this;\n }\n return Group;\n}(User);\nexport { Group };","// Store finish reasons in tuple to save on bundle size\n// Readonly type should enforce that this is not mutated.\nexport var FINISH_REASON_TAG = 'finishReason';\nexport var IDLE_TRANSACTION_FINISH_REASONS = ['heartbeatFailed', 'idleTimeout', 'documentHidden'];","\"use strict\";\n\nvar __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Delete = exports.Screen = exports.Page = exports.Track = exports.Identify = exports.Group = exports.Alias = exports.Facade = void 0;\nvar facade_1 = require(\"./facade\");\nObject.defineProperty(exports, \"Facade\", {\n enumerable: true,\n get: function () {\n return facade_1.Facade;\n }\n});\nvar alias_1 = require(\"./alias\");\nObject.defineProperty(exports, \"Alias\", {\n enumerable: true,\n get: function () {\n return alias_1.Alias;\n }\n});\nvar group_1 = require(\"./group\");\nObject.defineProperty(exports, \"Group\", {\n enumerable: true,\n get: function () {\n return group_1.Group;\n }\n});\nvar identify_1 = require(\"./identify\");\nObject.defineProperty(exports, \"Identify\", {\n enumerable: true,\n get: function () {\n return identify_1.Identify;\n }\n});\nvar track_1 = require(\"./track\");\nObject.defineProperty(exports, \"Track\", {\n enumerable: true,\n get: function () {\n return track_1.Track;\n }\n});\nvar page_1 = require(\"./page\");\nObject.defineProperty(exports, \"Page\", {\n enumerable: true,\n get: function () {\n return page_1.Page;\n }\n});\nvar screen_1 = require(\"./screen\");\nObject.defineProperty(exports, \"Screen\", {\n enumerable: true,\n get: function () {\n return screen_1.Screen;\n }\n});\nvar delete_1 = require(\"./delete\");\nObject.defineProperty(exports, \"Delete\", {\n enumerable: true,\n get: function () {\n return delete_1.Delete;\n }\n});\nexports.default = __assign(__assign({}, facade_1.Facade), {\n Alias: alias_1.Alias,\n Group: group_1.Group,\n Identify: identify_1.Identify,\n Track: track_1.Track,\n Page: page_1.Page,\n Screen: screen_1.Screen,\n Delete: delete_1.Delete\n});","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"spinner\",class:`${_vm.size} ${_vm.colorSchemeClasses}`})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Spinner.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Spinner.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./Spinner.vue?vue&type=template&id=25f4edd6&scoped=true\"\nimport script from \"./Spinner.vue?vue&type=script&lang=js\"\nexport * from \"./Spinner.vue?vue&type=script&lang=js\"\nimport style0 from \"./Spinner.vue?vue&type=style&index=0&id=25f4edd6&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"25f4edd6\",\n null\n \n)\n\nexport default component.exports","import toDate from \"../toDate/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name fromUnixTime\n * @category Timestamp Helpers\n * @summary Create a date from a Unix timestamp.\n *\n * @description\n * Create a date from a Unix timestamp.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Number} unixTime - the given Unix timestamp\n * @returns {Date} the date\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Create the date 29 February 2012 11:45:05:\n * var result = fromUnixTime(1330515905)\n * //=> Wed Feb 29 2012 11:45:05\n */\n\nexport default function fromUnixTime(dirtyUnixTime) {\n requiredArgs(1, arguments);\n var unixTime = toInteger(dirtyUnixTime);\n return toDate(unixTime * 1000);\n}","var scope = typeof global !== \"undefined\" && global || typeof self !== \"undefined\" && self || window;\nvar apply = Function.prototype.apply;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function () {\n return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);\n};\nexports.setInterval = function () {\n return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);\n};\nexports.clearTimeout = exports.clearInterval = function (timeout) {\n if (timeout) {\n timeout.close();\n }\n};\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function () {};\nTimeout.prototype.close = function () {\n this._clearFn.call(scope, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function (item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\nexports.unenroll = function (item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\nexports._unrefActive = exports.active = function (item) {\n clearTimeout(item._idleTimeoutId);\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout) item._onTimeout();\n }, msecs);\n }\n};\n\n// setimmediate attaches itself to the global object\nrequire(\"setimmediate\");\n// On some exotic environments, it's not clear which object `setimmediate` was\n// able to install onto. Search each possibility in the same order as the\n// `setimmediate` library.\nexports.setImmediate = typeof self !== \"undefined\" && self.setImmediate || typeof global !== \"undefined\" && global.setImmediate || this && this.setImmediate;\nexports.clearImmediate = typeof self !== \"undefined\" && self.clearImmediate || typeof global !== \"undefined\" && global.clearImmediate || this && this.clearImmediate;","\"use strict\";\n\nvar __importDefault = this && this.__importDefault || function (mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Facade = void 0;\nvar address_1 = __importDefault(require(\"./address\"));\nvar clone_1 = require(\"./clone\");\nvar is_enabled_1 = __importDefault(require(\"./is-enabled\"));\nvar new_date_1 = __importDefault(require(\"new-date\"));\nvar obj_case_1 = __importDefault(require(\"obj-case\"));\nvar isodate_traverse_1 = __importDefault(require(\"@segment/isodate-traverse\"));\nfunction Facade(obj, opts) {\n opts = opts || {};\n this.raw = clone_1.clone(obj);\n if (!(\"clone\" in opts)) opts.clone = true;\n if (opts.clone) obj = clone_1.clone(obj);\n if (!(\"traverse\" in opts)) opts.traverse = true;\n if (!(\"timestamp\" in obj)) obj.timestamp = new Date();else obj.timestamp = new_date_1.default(obj.timestamp);\n if (opts.traverse) isodate_traverse_1.default(obj);\n this.opts = opts;\n this.obj = obj;\n}\nexports.Facade = Facade;\nvar f = Facade.prototype;\nf.proxy = function (field) {\n var fields = field.split(\".\");\n field = fields.shift();\n var obj = this[field] || this.obj[field];\n if (!obj) return obj;\n if (typeof obj === \"function\") obj = obj.call(this) || {};\n if (fields.length === 0) return this.opts.clone ? transform(obj) : obj;\n obj = obj_case_1.default(obj, fields.join(\".\"));\n return this.opts.clone ? transform(obj) : obj;\n};\nf.field = function (field) {\n var obj = this.obj[field];\n return this.opts.clone ? transform(obj) : obj;\n};\nFacade.proxy = function (field) {\n return function () {\n return this.proxy(field);\n };\n};\nFacade.field = function (field) {\n return function () {\n return this.field(field);\n };\n};\nFacade.multi = function (path) {\n return function () {\n var multi = this.proxy(path + \"s\");\n if (Array.isArray(multi)) return multi;\n var one = this.proxy(path);\n if (one) one = [this.opts.clone ? clone_1.clone(one) : one];\n return one || [];\n };\n};\nFacade.one = function (path) {\n return function () {\n var one = this.proxy(path);\n if (one) return one;\n var multi = this.proxy(path + \"s\");\n if (Array.isArray(multi)) return multi[0];\n };\n};\nf.json = function () {\n var ret = this.opts.clone ? clone_1.clone(this.obj) : this.obj;\n if (this.type) ret.type = this.type();\n return ret;\n};\nf.rawEvent = function () {\n return this.raw;\n};\nf.options = function (integration) {\n var obj = this.obj.options || this.obj.context || {};\n var options = this.opts.clone ? clone_1.clone(obj) : obj;\n if (!integration) return options;\n if (!this.enabled(integration)) return;\n var integrations = this.integrations();\n var value = integrations[integration] || obj_case_1.default(integrations, integration);\n if (typeof value !== \"object\") value = obj_case_1.default(this.options(), integration);\n return typeof value === \"object\" ? value : {};\n};\nf.context = f.options;\nf.enabled = function (integration) {\n var allEnabled = this.proxy(\"options.providers.all\");\n if (typeof allEnabled !== \"boolean\") allEnabled = this.proxy(\"options.all\");\n if (typeof allEnabled !== \"boolean\") allEnabled = this.proxy(\"integrations.all\");\n if (typeof allEnabled !== \"boolean\") allEnabled = true;\n var enabled = allEnabled && is_enabled_1.default(integration);\n var options = this.integrations();\n if (options.providers && options.providers.hasOwnProperty(integration)) {\n enabled = options.providers[integration];\n }\n if (options.hasOwnProperty(integration)) {\n var settings = options[integration];\n if (typeof settings === \"boolean\") {\n enabled = settings;\n } else {\n enabled = true;\n }\n }\n return !!enabled;\n};\nf.integrations = function () {\n return this.obj.integrations || this.proxy(\"options.providers\") || this.options();\n};\nf.active = function () {\n var active = this.proxy(\"options.active\");\n if (active === null || active === undefined) active = true;\n return active;\n};\nf.anonymousId = function () {\n return this.field(\"anonymousId\") || this.field(\"sessionId\");\n};\nf.sessionId = f.anonymousId;\nf.groupId = Facade.proxy(\"options.groupId\");\nf.traits = function (aliases) {\n var ret = this.proxy(\"options.traits\") || {};\n var id = this.userId();\n aliases = aliases || {};\n if (id) ret.id = id;\n for (var alias in aliases) {\n if (Object.prototype.hasOwnProperty.call(aliases, alias)) {\n var value = this[alias] == null ? this.proxy(\"options.traits.\" + alias) : this[alias]();\n if (value == null) continue;\n ret[aliases[alias]] = value;\n delete ret[alias];\n }\n }\n return ret;\n};\nf.library = function () {\n var library = this.proxy(\"options.library\");\n if (!library) return {\n name: \"unknown\",\n version: null\n };\n if (typeof library === \"string\") return {\n name: library,\n version: null\n };\n return library;\n};\nf.device = function () {\n var device = this.proxy(\"context.device\");\n if (typeof device !== \"object\" || device === null) {\n device = {};\n }\n var library = this.library().name;\n if (device.type) return device;\n if (library.indexOf(\"ios\") > -1) device.type = \"ios\";\n if (library.indexOf(\"android\") > -1) device.type = \"android\";\n return device;\n};\nf.userAgent = Facade.proxy(\"context.userAgent\");\nf.timezone = Facade.proxy(\"context.timezone\");\nf.timestamp = Facade.field(\"timestamp\");\nf.channel = Facade.field(\"channel\");\nf.ip = Facade.proxy(\"context.ip\");\nf.userId = Facade.field(\"userId\");\naddress_1.default(f);\nfunction transform(obj) {\n return clone_1.clone(obj);\n}","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor;\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor;\n var TempCtor = function () {};\n TempCtor.prototype = superCtor.prototype;\n ctor.prototype = new TempCtor();\n ctor.prototype.constructor = ctor;\n }\n };\n}","import { __assign, __read, __spread } from \"tslib\";\nimport { getMainCarrier } from '@sentry/hub';\nimport { dynamicRequire, isNaN, isNodeEnv, loadModule, logger } from '@sentry/utils';\nimport { registerErrorInstrumentation } from './errors';\nimport { IS_DEBUG_BUILD } from './flags';\nimport { IdleTransaction } from './idletransaction';\nimport { Transaction } from './transaction';\nimport { hasTracingEnabled } from './utils';\n/** Returns all trace headers that are currently on the top scope. */\nfunction traceHeaders() {\n var scope = this.getScope();\n if (scope) {\n var span = scope.getSpan();\n if (span) {\n return {\n 'sentry-trace': span.toTraceparent()\n };\n }\n }\n return {};\n}\n/**\n * Makes a sampling decision for the given transaction and stores it on the transaction.\n *\n * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be\n * sent to Sentry.\n *\n * @param transaction: The transaction needing a sampling decision\n * @param options: The current client's options, so we can access `tracesSampleRate` and/or `tracesSampler`\n * @param samplingContext: Default and user-provided data which may be used to help make the decision\n *\n * @returns The given transaction with its `sampled` value set\n */\nfunction sample(transaction, options, samplingContext) {\n // nothing to do if tracing is not enabled\n if (!hasTracingEnabled(options)) {\n transaction.sampled = false;\n return transaction;\n }\n // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that\n if (transaction.sampled !== undefined) {\n transaction.setMetadata({\n transactionSampling: {\n method: 'explicitly_set'\n }\n });\n return transaction;\n }\n // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` were defined, so one of these should\n // work; prefer the hook if so\n var sampleRate;\n if (typeof options.tracesSampler === 'function') {\n sampleRate = options.tracesSampler(samplingContext);\n transaction.setMetadata({\n transactionSampling: {\n method: 'client_sampler',\n // cast to number in case it's a boolean\n rate: Number(sampleRate)\n }\n });\n } else if (samplingContext.parentSampled !== undefined) {\n sampleRate = samplingContext.parentSampled;\n transaction.setMetadata({\n transactionSampling: {\n method: 'inheritance'\n }\n });\n } else {\n sampleRate = options.tracesSampleRate;\n transaction.setMetadata({\n transactionSampling: {\n method: 'client_rate',\n // cast to number in case it's a boolean\n rate: Number(sampleRate)\n }\n });\n }\n // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The\n // only valid values are booleans or numbers between 0 and 1.)\n if (!isValidSampleRate(sampleRate)) {\n IS_DEBUG_BUILD && logger.warn('[Tracing] Discarding transaction because of invalid sample rate.');\n transaction.sampled = false;\n return transaction;\n }\n // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped\n if (!sampleRate) {\n IS_DEBUG_BUILD && logger.log(\"[Tracing] Discarding transaction because \" + (typeof options.tracesSampler === 'function' ? 'tracesSampler returned 0 or false' : 'a negative sampling decision was inherited or tracesSampleRate is set to 0'));\n transaction.sampled = false;\n return transaction;\n }\n // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is\n // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false.\n transaction.sampled = Math.random() < sampleRate;\n // if we're not going to keep it, we're done\n if (!transaction.sampled) {\n IS_DEBUG_BUILD && logger.log(\"[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = \" + Number(sampleRate) + \")\");\n return transaction;\n }\n IS_DEBUG_BUILD && logger.log(\"[Tracing] starting \" + transaction.op + \" transaction - \" + transaction.name);\n return transaction;\n}\n/**\n * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1).\n */\nfunction isValidSampleRate(rate) {\n // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isNaN(rate) || !(typeof rate === 'number' || typeof rate === 'boolean')) {\n IS_DEBUG_BUILD && logger.warn(\"[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got \" + JSON.stringify(rate) + \" of type \" + JSON.stringify(typeof rate) + \".\");\n return false;\n }\n // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false\n if (rate < 0 || rate > 1) {\n IS_DEBUG_BUILD && logger.warn(\"[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got \" + rate + \".\");\n return false;\n }\n return true;\n}\n/**\n * Creates a new transaction and adds a sampling decision if it doesn't yet have one.\n *\n * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if\n * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an\n * \"extension method.\"\n *\n * @param this: The Hub starting the transaction\n * @param transactionContext: Data used to configure the transaction\n * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any)\n *\n * @returns The new transaction\n *\n * @see {@link Hub.startTransaction}\n */\nfunction _startTransaction(transactionContext, customSamplingContext) {\n var client = this.getClient();\n var options = client && client.getOptions() || {};\n var transaction = new Transaction(transactionContext, this);\n transaction = sample(transaction, options, __assign({\n parentSampled: transactionContext.parentSampled,\n transactionContext: transactionContext\n }, customSamplingContext));\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && options._experiments.maxSpans);\n }\n return transaction;\n}\n/**\n * Create new idle transaction.\n */\nexport function startIdleTransaction(hub, transactionContext, idleTimeout, onScope, customSamplingContext) {\n var client = hub.getClient();\n var options = client && client.getOptions() || {};\n var transaction = new IdleTransaction(transactionContext, hub, idleTimeout, onScope);\n transaction = sample(transaction, options, __assign({\n parentSampled: transactionContext.parentSampled,\n transactionContext: transactionContext\n }, customSamplingContext));\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && options._experiments.maxSpans);\n }\n return transaction;\n}\n/**\n * @private\n */\nexport function _addTracingExtensions() {\n var carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};\n if (!carrier.__SENTRY__.extensions.startTransaction) {\n carrier.__SENTRY__.extensions.startTransaction = _startTransaction;\n }\n if (!carrier.__SENTRY__.extensions.traceHeaders) {\n carrier.__SENTRY__.extensions.traceHeaders = traceHeaders;\n }\n}\n/**\n * @private\n */\nfunction _autoloadDatabaseIntegrations() {\n var carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n var packageToIntegrationMapping = {\n mongodb: function () {\n var integration = dynamicRequire(module, './integrations/node/mongo');\n return new integration.Mongo();\n },\n mongoose: function () {\n var integration = dynamicRequire(module, './integrations/node/mongo');\n return new integration.Mongo({\n mongoose: true\n });\n },\n mysql: function () {\n var integration = dynamicRequire(module, './integrations/node/mysql');\n return new integration.Mysql();\n },\n pg: function () {\n var integration = dynamicRequire(module, './integrations/node/postgres');\n return new integration.Postgres();\n }\n };\n var mappedPackages = Object.keys(packageToIntegrationMapping).filter(function (moduleName) {\n return !!loadModule(moduleName);\n }).map(function (pkg) {\n try {\n return packageToIntegrationMapping[pkg]();\n } catch (e) {\n return undefined;\n }\n }).filter(function (p) {\n return p;\n });\n if (mappedPackages.length > 0) {\n carrier.__SENTRY__.integrations = __spread(carrier.__SENTRY__.integrations || [], mappedPackages);\n }\n}\n/**\n * This patches the global object and injects the Tracing extensions methods\n */\nexport function addExtensionMethods() {\n _addTracingExtensions();\n // Detect and automatically load specified integrations.\n if (isNodeEnv()) {\n _autoloadDatabaseIntegrations();\n }\n // If an error happens globally, we should make sure transaction status is set to error.\n registerErrorInstrumentation();\n}","import { TextSelection, NodeSelection, AllSelection, Selection } from 'prosemirror-state';\nimport { DOMSerializer, Fragment, Mark, Slice, DOMParser } from 'prosemirror-model';\nimport { dropPoint } from 'prosemirror-transform';\nconst domIndex = function (node) {\n for (var index = 0;; index++) {\n node = node.previousSibling;\n if (!node) return index;\n }\n};\nconst parentNode = function (node) {\n let parent = node.assignedSlot || node.parentNode;\n return parent && parent.nodeType == 11 ? parent.host : parent;\n};\nlet reusedRange = null;\n// Note that this will always return the same range, because DOM range\n// objects are every expensive, and keep slowing down subsequent DOM\n// updates, for some reason.\nconst textRange = function (node, from, to) {\n let range = reusedRange || (reusedRange = document.createRange());\n range.setEnd(node, to == null ? node.nodeValue.length : to);\n range.setStart(node, from || 0);\n return range;\n};\nconst clearReusedRange = function () {\n reusedRange = null;\n};\n// Scans forward and backward through DOM positions equivalent to the\n// given one to see if the two are in the same place (i.e. after a\n// text node vs at the end of that text node)\nconst isEquivalentPosition = function (node, off, targetNode, targetOff) {\n return targetNode && (scanFor(node, off, targetNode, targetOff, -1) || scanFor(node, off, targetNode, targetOff, 1));\n};\nconst atomElements = /^(img|br|input|textarea|hr)$/i;\nfunction scanFor(node, off, targetNode, targetOff, dir) {\n for (;;) {\n if (node == targetNode && off == targetOff) return true;\n if (off == (dir < 0 ? 0 : nodeSize(node))) {\n let parent = node.parentNode;\n if (!parent || parent.nodeType != 1 || hasBlockDesc(node) || atomElements.test(node.nodeName) || node.contentEditable == \"false\") return false;\n off = domIndex(node) + (dir < 0 ? 0 : 1);\n node = parent;\n } else if (node.nodeType == 1) {\n node = node.childNodes[off + (dir < 0 ? -1 : 0)];\n if (node.contentEditable == \"false\") return false;\n off = dir < 0 ? nodeSize(node) : 0;\n } else {\n return false;\n }\n }\n}\nfunction nodeSize(node) {\n return node.nodeType == 3 ? node.nodeValue.length : node.childNodes.length;\n}\nfunction textNodeBefore$1(node, offset) {\n for (;;) {\n if (node.nodeType == 3 && offset) return node;\n if (node.nodeType == 1 && offset > 0) {\n if (node.contentEditable == \"false\") return null;\n node = node.childNodes[offset - 1];\n offset = nodeSize(node);\n } else if (node.parentNode && !hasBlockDesc(node)) {\n offset = domIndex(node);\n node = node.parentNode;\n } else {\n return null;\n }\n }\n}\nfunction textNodeAfter$1(node, offset) {\n for (;;) {\n if (node.nodeType == 3 && offset < node.nodeValue.length) return node;\n if (node.nodeType == 1 && offset < node.childNodes.length) {\n if (node.contentEditable == \"false\") return null;\n node = node.childNodes[offset];\n offset = 0;\n } else if (node.parentNode && !hasBlockDesc(node)) {\n offset = domIndex(node) + 1;\n node = node.parentNode;\n } else {\n return null;\n }\n }\n}\nfunction isOnEdge(node, offset, parent) {\n for (let atStart = offset == 0, atEnd = offset == nodeSize(node); atStart || atEnd;) {\n if (node == parent) return true;\n let index = domIndex(node);\n node = node.parentNode;\n if (!node) return false;\n atStart = atStart && index == 0;\n atEnd = atEnd && index == nodeSize(node);\n }\n}\nfunction hasBlockDesc(dom) {\n let desc;\n for (let cur = dom; cur; cur = cur.parentNode) if (desc = cur.pmViewDesc) break;\n return desc && desc.node && desc.node.isBlock && (desc.dom == dom || desc.contentDOM == dom);\n}\n// Work around Chrome issue https://bugs.chromium.org/p/chromium/issues/detail?id=447523\n// (isCollapsed inappropriately returns true in shadow dom)\nconst selectionCollapsed = function (domSel) {\n return domSel.focusNode && isEquivalentPosition(domSel.focusNode, domSel.focusOffset, domSel.anchorNode, domSel.anchorOffset);\n};\nfunction keyEvent(keyCode, key) {\n let event = document.createEvent(\"Event\");\n event.initEvent(\"keydown\", true, true);\n event.keyCode = keyCode;\n event.key = event.code = key;\n return event;\n}\nfunction deepActiveElement(doc) {\n let elt = doc.activeElement;\n while (elt && elt.shadowRoot) elt = elt.shadowRoot.activeElement;\n return elt;\n}\nfunction caretFromPoint(doc, x, y) {\n if (doc.caretPositionFromPoint) {\n try {\n // Firefox throws for this call in hard-to-predict circumstances (#994)\n let pos = doc.caretPositionFromPoint(x, y);\n // Clip the offset, because Chrome will return a text offset\n // into nodes, which can't be treated as a regular DOM\n // offset\n if (pos) return {\n node: pos.offsetNode,\n offset: Math.min(nodeSize(pos.offsetNode), pos.offset)\n };\n } catch (_) {}\n }\n if (doc.caretRangeFromPoint) {\n let range = doc.caretRangeFromPoint(x, y);\n if (range) return {\n node: range.startContainer,\n offset: Math.min(nodeSize(range.startContainer), range.startOffset)\n };\n }\n}\nconst nav = typeof navigator != \"undefined\" ? navigator : null;\nconst doc = typeof document != \"undefined\" ? document : null;\nconst agent = nav && nav.userAgent || \"\";\nconst ie_edge = /Edge\\/(\\d+)/.exec(agent);\nconst ie_upto10 = /MSIE \\d/.exec(agent);\nconst ie_11up = /Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(agent);\nconst ie = !!(ie_upto10 || ie_11up || ie_edge);\nconst ie_version = ie_upto10 ? document.documentMode : ie_11up ? +ie_11up[1] : ie_edge ? +ie_edge[1] : 0;\nconst gecko = !ie && /gecko\\/(\\d+)/i.test(agent);\ngecko && +(/Firefox\\/(\\d+)/.exec(agent) || [0, 0])[1];\nconst _chrome = !ie && /Chrome\\/(\\d+)/.exec(agent);\nconst chrome = !!_chrome;\nconst chrome_version = _chrome ? +_chrome[1] : 0;\nconst safari = !ie && !!nav && /Apple Computer/.test(nav.vendor);\n// Is true for both iOS and iPadOS for convenience\nconst ios = safari && (/Mobile\\/\\w+/.test(agent) || !!nav && nav.maxTouchPoints > 2);\nconst mac = ios || (nav ? /Mac/.test(nav.platform) : false);\nconst windows = nav ? /Win/.test(nav.platform) : false;\nconst android = /Android \\d/.test(agent);\nconst webkit = !!doc && \"webkitFontSmoothing\" in doc.documentElement.style;\nconst webkit_version = webkit ? +(/\\bAppleWebKit\\/(\\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;\nfunction windowRect(doc) {\n let vp = doc.defaultView && doc.defaultView.visualViewport;\n if (vp) return {\n left: 0,\n right: vp.width,\n top: 0,\n bottom: vp.height\n };\n return {\n left: 0,\n right: doc.documentElement.clientWidth,\n top: 0,\n bottom: doc.documentElement.clientHeight\n };\n}\nfunction getSide(value, side) {\n return typeof value == \"number\" ? value : value[side];\n}\nfunction clientRect(node) {\n let rect = node.getBoundingClientRect();\n // Adjust for elements with style \"transform: scale()\"\n let scaleX = rect.width / node.offsetWidth || 1;\n let scaleY = rect.height / node.offsetHeight || 1;\n // Make sure scrollbar width isn't included in the rectangle\n return {\n left: rect.left,\n right: rect.left + node.clientWidth * scaleX,\n top: rect.top,\n bottom: rect.top + node.clientHeight * scaleY\n };\n}\nfunction scrollRectIntoView(view, rect, startDOM) {\n let scrollThreshold = view.someProp(\"scrollThreshold\") || 0,\n scrollMargin = view.someProp(\"scrollMargin\") || 5;\n let doc = view.dom.ownerDocument;\n for (let parent = startDOM || view.dom;; parent = parentNode(parent)) {\n if (!parent) break;\n if (parent.nodeType != 1) continue;\n let elt = parent;\n let atTop = elt == doc.body;\n let bounding = atTop ? windowRect(doc) : clientRect(elt);\n let moveX = 0,\n moveY = 0;\n if (rect.top < bounding.top + getSide(scrollThreshold, \"top\")) moveY = -(bounding.top - rect.top + getSide(scrollMargin, \"top\"));else if (rect.bottom > bounding.bottom - getSide(scrollThreshold, \"bottom\")) moveY = rect.bottom - rect.top > bounding.bottom - bounding.top ? rect.top + getSide(scrollMargin, \"top\") - bounding.top : rect.bottom - bounding.bottom + getSide(scrollMargin, \"bottom\");\n if (rect.left < bounding.left + getSide(scrollThreshold, \"left\")) moveX = -(bounding.left - rect.left + getSide(scrollMargin, \"left\"));else if (rect.right > bounding.right - getSide(scrollThreshold, \"right\")) moveX = rect.right - bounding.right + getSide(scrollMargin, \"right\");\n if (moveX || moveY) {\n if (atTop) {\n doc.defaultView.scrollBy(moveX, moveY);\n } else {\n let startX = elt.scrollLeft,\n startY = elt.scrollTop;\n if (moveY) elt.scrollTop += moveY;\n if (moveX) elt.scrollLeft += moveX;\n let dX = elt.scrollLeft - startX,\n dY = elt.scrollTop - startY;\n rect = {\n left: rect.left - dX,\n top: rect.top - dY,\n right: rect.right - dX,\n bottom: rect.bottom - dY\n };\n }\n }\n if (atTop || /^(fixed|sticky)$/.test(getComputedStyle(parent).position)) break;\n }\n}\n// Store the scroll position of the editor's parent nodes, along with\n// the top position of an element near the top of the editor, which\n// will be used to make sure the visible viewport remains stable even\n// when the size of the content above changes.\nfunction storeScrollPos(view) {\n let rect = view.dom.getBoundingClientRect(),\n startY = Math.max(0, rect.top);\n let refDOM, refTop;\n for (let x = (rect.left + rect.right) / 2, y = startY + 1; y < Math.min(innerHeight, rect.bottom); y += 5) {\n let dom = view.root.elementFromPoint(x, y);\n if (!dom || dom == view.dom || !view.dom.contains(dom)) continue;\n let localRect = dom.getBoundingClientRect();\n if (localRect.top >= startY - 20) {\n refDOM = dom;\n refTop = localRect.top;\n break;\n }\n }\n return {\n refDOM: refDOM,\n refTop: refTop,\n stack: scrollStack(view.dom)\n };\n}\nfunction scrollStack(dom) {\n let stack = [],\n doc = dom.ownerDocument;\n for (let cur = dom; cur; cur = parentNode(cur)) {\n stack.push({\n dom: cur,\n top: cur.scrollTop,\n left: cur.scrollLeft\n });\n if (dom == doc) break;\n }\n return stack;\n}\n// Reset the scroll position of the editor's parent nodes to that what\n// it was before, when storeScrollPos was called.\nfunction resetScrollPos(_ref) {\n let {\n refDOM,\n refTop,\n stack\n } = _ref;\n let newRefTop = refDOM ? refDOM.getBoundingClientRect().top : 0;\n restoreScrollStack(stack, newRefTop == 0 ? 0 : newRefTop - refTop);\n}\nfunction restoreScrollStack(stack, dTop) {\n for (let i = 0; i < stack.length; i++) {\n let {\n dom,\n top,\n left\n } = stack[i];\n if (dom.scrollTop != top + dTop) dom.scrollTop = top + dTop;\n if (dom.scrollLeft != left) dom.scrollLeft = left;\n }\n}\nlet preventScrollSupported = null;\n// Feature-detects support for .focus({preventScroll: true}), and uses\n// a fallback kludge when not supported.\nfunction focusPreventScroll(dom) {\n if (dom.setActive) return dom.setActive(); // in IE\n if (preventScrollSupported) return dom.focus(preventScrollSupported);\n let stored = scrollStack(dom);\n dom.focus(preventScrollSupported == null ? {\n get preventScroll() {\n preventScrollSupported = {\n preventScroll: true\n };\n return true;\n }\n } : undefined);\n if (!preventScrollSupported) {\n preventScrollSupported = false;\n restoreScrollStack(stored, 0);\n }\n}\nfunction findOffsetInNode(node, coords) {\n let closest,\n dxClosest = 2e8,\n coordsClosest,\n offset = 0;\n let rowBot = coords.top,\n rowTop = coords.top;\n let firstBelow, coordsBelow;\n for (let child = node.firstChild, childIndex = 0; child; child = child.nextSibling, childIndex++) {\n let rects;\n if (child.nodeType == 1) rects = child.getClientRects();else if (child.nodeType == 3) rects = textRange(child).getClientRects();else continue;\n for (let i = 0; i < rects.length; i++) {\n let rect = rects[i];\n if (rect.top <= rowBot && rect.bottom >= rowTop) {\n rowBot = Math.max(rect.bottom, rowBot);\n rowTop = Math.min(rect.top, rowTop);\n let dx = rect.left > coords.left ? rect.left - coords.left : rect.right < coords.left ? coords.left - rect.right : 0;\n if (dx < dxClosest) {\n closest = child;\n dxClosest = dx;\n coordsClosest = dx && closest.nodeType == 3 ? {\n left: rect.right < coords.left ? rect.right : rect.left,\n top: coords.top\n } : coords;\n if (child.nodeType == 1 && dx) offset = childIndex + (coords.left >= (rect.left + rect.right) / 2 ? 1 : 0);\n continue;\n }\n } else if (rect.top > coords.top && !firstBelow && rect.left <= coords.left && rect.right >= coords.left) {\n firstBelow = child;\n coordsBelow = {\n left: Math.max(rect.left, Math.min(rect.right, coords.left)),\n top: rect.top\n };\n }\n if (!closest && (coords.left >= rect.right && coords.top >= rect.top || coords.left >= rect.left && coords.top >= rect.bottom)) offset = childIndex + 1;\n }\n }\n if (!closest && firstBelow) {\n closest = firstBelow;\n coordsClosest = coordsBelow;\n dxClosest = 0;\n }\n if (closest && closest.nodeType == 3) return findOffsetInText(closest, coordsClosest);\n if (!closest || dxClosest && closest.nodeType == 1) return {\n node,\n offset\n };\n return findOffsetInNode(closest, coordsClosest);\n}\nfunction findOffsetInText(node, coords) {\n let len = node.nodeValue.length;\n let range = document.createRange();\n for (let i = 0; i < len; i++) {\n range.setEnd(node, i + 1);\n range.setStart(node, i);\n let rect = singleRect(range, 1);\n if (rect.top == rect.bottom) continue;\n if (inRect(coords, rect)) return {\n node,\n offset: i + (coords.left >= (rect.left + rect.right) / 2 ? 1 : 0)\n };\n }\n return {\n node,\n offset: 0\n };\n}\nfunction inRect(coords, rect) {\n return coords.left >= rect.left - 1 && coords.left <= rect.right + 1 && coords.top >= rect.top - 1 && coords.top <= rect.bottom + 1;\n}\nfunction targetKludge(dom, coords) {\n let parent = dom.parentNode;\n if (parent && /^li$/i.test(parent.nodeName) && coords.left < dom.getBoundingClientRect().left) return parent;\n return dom;\n}\nfunction posFromElement(view, elt, coords) {\n let {\n node,\n offset\n } = findOffsetInNode(elt, coords),\n bias = -1;\n if (node.nodeType == 1 && !node.firstChild) {\n let rect = node.getBoundingClientRect();\n bias = rect.left != rect.right && coords.left > (rect.left + rect.right) / 2 ? 1 : -1;\n }\n return view.docView.posFromDOM(node, offset, bias);\n}\nfunction posFromCaret(view, node, offset, coords) {\n // Browser (in caretPosition/RangeFromPoint) will agressively\n // normalize towards nearby inline nodes. Since we are interested in\n // positions between block nodes too, we first walk up the hierarchy\n // of nodes to see if there are block nodes that the coordinates\n // fall outside of. If so, we take the position before/after that\n // block. If not, we call `posFromDOM` on the raw node/offset.\n let outsideBlock = -1;\n for (let cur = node, sawBlock = false;;) {\n if (cur == view.dom) break;\n let desc = view.docView.nearestDesc(cur, true),\n rect;\n if (!desc) return null;\n if (desc.dom.nodeType == 1 && (desc.node.isBlock && desc.parent || !desc.contentDOM) && (\n // Ignore elements with zero-size bounding rectangles\n (rect = desc.dom.getBoundingClientRect()).width || rect.height)) {\n if (desc.node.isBlock && desc.parent) {\n // Only apply the horizontal test to the innermost block. Vertical for any parent.\n if (!sawBlock && rect.left > coords.left || rect.top > coords.top) outsideBlock = desc.posBefore;else if (!sawBlock && rect.right < coords.left || rect.bottom < coords.top) outsideBlock = desc.posAfter;\n sawBlock = true;\n }\n if (!desc.contentDOM && outsideBlock < 0 && !desc.node.isText) {\n // If we are inside a leaf, return the side of the leaf closer to the coords\n let before = desc.node.isBlock ? coords.top < (rect.top + rect.bottom) / 2 : coords.left < (rect.left + rect.right) / 2;\n return before ? desc.posBefore : desc.posAfter;\n }\n }\n cur = desc.dom.parentNode;\n }\n return outsideBlock > -1 ? outsideBlock : view.docView.posFromDOM(node, offset, -1);\n}\nfunction elementFromPoint(element, coords, box) {\n let len = element.childNodes.length;\n if (len && box.top < box.bottom) {\n for (let startI = Math.max(0, Math.min(len - 1, Math.floor(len * (coords.top - box.top) / (box.bottom - box.top)) - 2)), i = startI;;) {\n let child = element.childNodes[i];\n if (child.nodeType == 1) {\n let rects = child.getClientRects();\n for (let j = 0; j < rects.length; j++) {\n let rect = rects[j];\n if (inRect(coords, rect)) return elementFromPoint(child, coords, rect);\n }\n }\n if ((i = (i + 1) % len) == startI) break;\n }\n }\n return element;\n}\n// Given an x,y position on the editor, get the position in the document.\nfunction posAtCoords(view, coords) {\n let doc = view.dom.ownerDocument,\n node,\n offset = 0;\n let caret = caretFromPoint(doc, coords.left, coords.top);\n if (caret) ({\n node,\n offset\n } = caret);\n let elt = (view.root.elementFromPoint ? view.root : doc).elementFromPoint(coords.left, coords.top);\n let pos;\n if (!elt || !view.dom.contains(elt.nodeType != 1 ? elt.parentNode : elt)) {\n let box = view.dom.getBoundingClientRect();\n if (!inRect(coords, box)) return null;\n elt = elementFromPoint(view.dom, coords, box);\n if (!elt) return null;\n }\n // Safari's caretRangeFromPoint returns nonsense when on a draggable element\n if (safari) {\n for (let p = elt; node && p; p = parentNode(p)) if (p.draggable) node = undefined;\n }\n elt = targetKludge(elt, coords);\n if (node) {\n if (gecko && node.nodeType == 1) {\n // Firefox will sometimes return offsets into nodes, which\n // have no actual children, from caretPositionFromPoint (#953)\n offset = Math.min(offset, node.childNodes.length);\n // It'll also move the returned position before image nodes,\n // even if those are behind it.\n if (offset < node.childNodes.length) {\n let next = node.childNodes[offset],\n box;\n if (next.nodeName == \"IMG\" && (box = next.getBoundingClientRect()).right <= coords.left && box.bottom > coords.top) offset++;\n }\n }\n let prev;\n // When clicking above the right side of an uneditable node, Chrome will report a cursor position after that node.\n if (webkit && offset && node.nodeType == 1 && (prev = node.childNodes[offset - 1]).nodeType == 1 && prev.contentEditable == \"false\" && prev.getBoundingClientRect().top >= coords.top) offset--;\n // Suspiciously specific kludge to work around caret*FromPoint\n // never returning a position at the end of the document\n if (node == view.dom && offset == node.childNodes.length - 1 && node.lastChild.nodeType == 1 && coords.top > node.lastChild.getBoundingClientRect().bottom) pos = view.state.doc.content.size;\n // Ignore positions directly after a BR, since caret*FromPoint\n // 'round up' positions that would be more accurately placed\n // before the BR node.\n else if (offset == 0 || node.nodeType != 1 || node.childNodes[offset - 1].nodeName != \"BR\") pos = posFromCaret(view, node, offset, coords);\n }\n if (pos == null) pos = posFromElement(view, elt, coords);\n let desc = view.docView.nearestDesc(elt, true);\n return {\n pos,\n inside: desc ? desc.posAtStart - desc.border : -1\n };\n}\nfunction nonZero(rect) {\n return rect.top < rect.bottom || rect.left < rect.right;\n}\nfunction singleRect(target, bias) {\n let rects = target.getClientRects();\n if (rects.length) {\n let first = rects[bias < 0 ? 0 : rects.length - 1];\n if (nonZero(first)) return first;\n }\n return Array.prototype.find.call(rects, nonZero) || target.getBoundingClientRect();\n}\nconst BIDI = /[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/;\n// Given a position in the document model, get a bounding box of the\n// character at that position, relative to the window.\nfunction coordsAtPos(view, pos, side) {\n let {\n node,\n offset,\n atom\n } = view.docView.domFromPos(pos, side < 0 ? -1 : 1);\n let supportEmptyRange = webkit || gecko;\n if (node.nodeType == 3) {\n // These browsers support querying empty text ranges. Prefer that in\n // bidi context or when at the end of a node.\n if (supportEmptyRange && (BIDI.test(node.nodeValue) || (side < 0 ? !offset : offset == node.nodeValue.length))) {\n let rect = singleRect(textRange(node, offset, offset), side);\n // Firefox returns bad results (the position before the space)\n // when querying a position directly after line-broken\n // whitespace. Detect this situation and and kludge around it\n if (gecko && offset && /\\s/.test(node.nodeValue[offset - 1]) && offset < node.nodeValue.length) {\n let rectBefore = singleRect(textRange(node, offset - 1, offset - 1), -1);\n if (rectBefore.top == rect.top) {\n let rectAfter = singleRect(textRange(node, offset, offset + 1), -1);\n if (rectAfter.top != rect.top) return flattenV(rectAfter, rectAfter.left < rectBefore.left);\n }\n }\n return rect;\n } else {\n let from = offset,\n to = offset,\n takeSide = side < 0 ? 1 : -1;\n if (side < 0 && !offset) {\n to++;\n takeSide = -1;\n } else if (side >= 0 && offset == node.nodeValue.length) {\n from--;\n takeSide = 1;\n } else if (side < 0) {\n from--;\n } else {\n to++;\n }\n return flattenV(singleRect(textRange(node, from, to), takeSide), takeSide < 0);\n }\n }\n let $dom = view.state.doc.resolve(pos - (atom || 0));\n // Return a horizontal line in block context\n if (!$dom.parent.inlineContent) {\n if (atom == null && offset && (side < 0 || offset == nodeSize(node))) {\n let before = node.childNodes[offset - 1];\n if (before.nodeType == 1) return flattenH(before.getBoundingClientRect(), false);\n }\n if (atom == null && offset < nodeSize(node)) {\n let after = node.childNodes[offset];\n if (after.nodeType == 1) return flattenH(after.getBoundingClientRect(), true);\n }\n return flattenH(node.getBoundingClientRect(), side >= 0);\n }\n // Inline, not in text node (this is not Bidi-safe)\n if (atom == null && offset && (side < 0 || offset == nodeSize(node))) {\n let before = node.childNodes[offset - 1];\n let target = before.nodeType == 3 ? textRange(before, nodeSize(before) - (supportEmptyRange ? 0 : 1))\n // BR nodes tend to only return the rectangle before them.\n // Only use them if they are the last element in their parent\n : before.nodeType == 1 && (before.nodeName != \"BR\" || !before.nextSibling) ? before : null;\n if (target) return flattenV(singleRect(target, 1), false);\n }\n if (atom == null && offset < nodeSize(node)) {\n let after = node.childNodes[offset];\n while (after.pmViewDesc && after.pmViewDesc.ignoreForCoords) after = after.nextSibling;\n let target = !after ? null : after.nodeType == 3 ? textRange(after, 0, supportEmptyRange ? 0 : 1) : after.nodeType == 1 ? after : null;\n if (target) return flattenV(singleRect(target, -1), true);\n }\n // All else failed, just try to get a rectangle for the target node\n return flattenV(singleRect(node.nodeType == 3 ? textRange(node) : node, -side), side >= 0);\n}\nfunction flattenV(rect, left) {\n if (rect.width == 0) return rect;\n let x = left ? rect.left : rect.right;\n return {\n top: rect.top,\n bottom: rect.bottom,\n left: x,\n right: x\n };\n}\nfunction flattenH(rect, top) {\n if (rect.height == 0) return rect;\n let y = top ? rect.top : rect.bottom;\n return {\n top: y,\n bottom: y,\n left: rect.left,\n right: rect.right\n };\n}\nfunction withFlushedState(view, state, f) {\n let viewState = view.state,\n active = view.root.activeElement;\n if (viewState != state) view.updateState(state);\n if (active != view.dom) view.focus();\n try {\n return f();\n } finally {\n if (viewState != state) view.updateState(viewState);\n if (active != view.dom && active) active.focus();\n }\n}\n// Whether vertical position motion in a given direction\n// from a position would leave a text block.\nfunction endOfTextblockVertical(view, state, dir) {\n let sel = state.selection;\n let $pos = dir == \"up\" ? sel.$from : sel.$to;\n return withFlushedState(view, state, () => {\n let {\n node: dom\n } = view.docView.domFromPos($pos.pos, dir == \"up\" ? -1 : 1);\n for (;;) {\n let nearest = view.docView.nearestDesc(dom, true);\n if (!nearest) break;\n if (nearest.node.isBlock) {\n dom = nearest.contentDOM || nearest.dom;\n break;\n }\n dom = nearest.dom.parentNode;\n }\n let coords = coordsAtPos(view, $pos.pos, 1);\n for (let child = dom.firstChild; child; child = child.nextSibling) {\n let boxes;\n if (child.nodeType == 1) boxes = child.getClientRects();else if (child.nodeType == 3) boxes = textRange(child, 0, child.nodeValue.length).getClientRects();else continue;\n for (let i = 0; i < boxes.length; i++) {\n let box = boxes[i];\n if (box.bottom > box.top + 1 && (dir == \"up\" ? coords.top - box.top > (box.bottom - coords.top) * 2 : box.bottom - coords.bottom > (coords.bottom - box.top) * 2)) return false;\n }\n }\n return true;\n });\n}\nconst maybeRTL = /[\\u0590-\\u08ac]/;\nfunction endOfTextblockHorizontal(view, state, dir) {\n let {\n $head\n } = state.selection;\n if (!$head.parent.isTextblock) return false;\n let offset = $head.parentOffset,\n atStart = !offset,\n atEnd = offset == $head.parent.content.size;\n let sel = view.domSelection();\n if (!sel) return $head.pos == $head.start() || $head.pos == $head.end();\n // If the textblock is all LTR, or the browser doesn't support\n // Selection.modify (Edge), fall back to a primitive approach\n if (!maybeRTL.test($head.parent.textContent) || !sel.modify) return dir == \"left\" || dir == \"backward\" ? atStart : atEnd;\n return withFlushedState(view, state, () => {\n // This is a huge hack, but appears to be the best we can\n // currently do: use `Selection.modify` to move the selection by\n // one character, and see if that moves the cursor out of the\n // textblock (or doesn't move it at all, when at the start/end of\n // the document).\n let {\n focusNode: oldNode,\n focusOffset: oldOff,\n anchorNode,\n anchorOffset\n } = view.domSelectionRange();\n let oldBidiLevel = sel.caretBidiLevel // Only for Firefox\n ;\n sel.modify(\"move\", dir, \"character\");\n let parentDOM = $head.depth ? view.docView.domAfterPos($head.before()) : view.dom;\n let {\n focusNode: newNode,\n focusOffset: newOff\n } = view.domSelectionRange();\n let result = newNode && !parentDOM.contains(newNode.nodeType == 1 ? newNode : newNode.parentNode) || oldNode == newNode && oldOff == newOff;\n // Restore the previous selection\n try {\n sel.collapse(anchorNode, anchorOffset);\n if (oldNode && (oldNode != anchorNode || oldOff != anchorOffset) && sel.extend) sel.extend(oldNode, oldOff);\n } catch (_) {}\n if (oldBidiLevel != null) sel.caretBidiLevel = oldBidiLevel;\n return result;\n });\n}\nlet cachedState = null;\nlet cachedDir = null;\nlet cachedResult = false;\nfunction endOfTextblock(view, state, dir) {\n if (cachedState == state && cachedDir == dir) return cachedResult;\n cachedState = state;\n cachedDir = dir;\n return cachedResult = dir == \"up\" || dir == \"down\" ? endOfTextblockVertical(view, state, dir) : endOfTextblockHorizontal(view, state, dir);\n}\n\n// View descriptions are data structures that describe the DOM that is\n// used to represent the editor's content. They are used for:\n//\n// - Incremental redrawing when the document changes\n//\n// - Figuring out what part of the document a given DOM position\n// corresponds to\n//\n// - Wiring in custom implementations of the editing interface for a\n// given node\n//\n// They form a doubly-linked mutable tree, starting at `view.docView`.\nconst NOT_DIRTY = 0,\n CHILD_DIRTY = 1,\n CONTENT_DIRTY = 2,\n NODE_DIRTY = 3;\n// Superclass for the various kinds of descriptions. Defines their\n// basic structure and shared methods.\nclass ViewDesc {\n constructor(parent, children, dom,\n // This is the node that holds the child views. It may be null for\n // descs that don't have children.\n contentDOM) {\n this.parent = parent;\n this.children = children;\n this.dom = dom;\n this.contentDOM = contentDOM;\n this.dirty = NOT_DIRTY;\n // An expando property on the DOM node provides a link back to its\n // description.\n dom.pmViewDesc = this;\n }\n // Used to check whether a given description corresponds to a\n // widget/mark/node.\n matchesWidget(widget) {\n return false;\n }\n matchesMark(mark) {\n return false;\n }\n matchesNode(node, outerDeco, innerDeco) {\n return false;\n }\n matchesHack(nodeName) {\n return false;\n }\n // When parsing in-editor content (in domchange.js), we allow\n // descriptions to determine the parse rules that should be used to\n // parse them.\n parseRule() {\n return null;\n }\n // Used by the editor's event handler to ignore events that come\n // from certain descs.\n stopEvent(event) {\n return false;\n }\n // The size of the content represented by this desc.\n get size() {\n let size = 0;\n for (let i = 0; i < this.children.length; i++) size += this.children[i].size;\n return size;\n }\n // For block nodes, this represents the space taken up by their\n // start/end tokens.\n get border() {\n return 0;\n }\n destroy() {\n this.parent = undefined;\n if (this.dom.pmViewDesc == this) this.dom.pmViewDesc = undefined;\n for (let i = 0; i < this.children.length; i++) this.children[i].destroy();\n }\n posBeforeChild(child) {\n for (let i = 0, pos = this.posAtStart;; i++) {\n let cur = this.children[i];\n if (cur == child) return pos;\n pos += cur.size;\n }\n }\n get posBefore() {\n return this.parent.posBeforeChild(this);\n }\n get posAtStart() {\n return this.parent ? this.parent.posBeforeChild(this) + this.border : 0;\n }\n get posAfter() {\n return this.posBefore + this.size;\n }\n get posAtEnd() {\n return this.posAtStart + this.size - 2 * this.border;\n }\n localPosFromDOM(dom, offset, bias) {\n // If the DOM position is in the content, use the child desc after\n // it to figure out a position.\n if (this.contentDOM && this.contentDOM.contains(dom.nodeType == 1 ? dom : dom.parentNode)) {\n if (bias < 0) {\n let domBefore, desc;\n if (dom == this.contentDOM) {\n domBefore = dom.childNodes[offset - 1];\n } else {\n while (dom.parentNode != this.contentDOM) dom = dom.parentNode;\n domBefore = dom.previousSibling;\n }\n while (domBefore && !((desc = domBefore.pmViewDesc) && desc.parent == this)) domBefore = domBefore.previousSibling;\n return domBefore ? this.posBeforeChild(desc) + desc.size : this.posAtStart;\n } else {\n let domAfter, desc;\n if (dom == this.contentDOM) {\n domAfter = dom.childNodes[offset];\n } else {\n while (dom.parentNode != this.contentDOM) dom = dom.parentNode;\n domAfter = dom.nextSibling;\n }\n while (domAfter && !((desc = domAfter.pmViewDesc) && desc.parent == this)) domAfter = domAfter.nextSibling;\n return domAfter ? this.posBeforeChild(desc) : this.posAtEnd;\n }\n }\n // Otherwise, use various heuristics, falling back on the bias\n // parameter, to determine whether to return the position at the\n // start or at the end of this view desc.\n let atEnd;\n if (dom == this.dom && this.contentDOM) {\n atEnd = offset > domIndex(this.contentDOM);\n } else if (this.contentDOM && this.contentDOM != this.dom && this.dom.contains(this.contentDOM)) {\n atEnd = dom.compareDocumentPosition(this.contentDOM) & 2;\n } else if (this.dom.firstChild) {\n if (offset == 0) for (let search = dom;; search = search.parentNode) {\n if (search == this.dom) {\n atEnd = false;\n break;\n }\n if (search.previousSibling) break;\n }\n if (atEnd == null && offset == dom.childNodes.length) for (let search = dom;; search = search.parentNode) {\n if (search == this.dom) {\n atEnd = true;\n break;\n }\n if (search.nextSibling) break;\n }\n }\n return (atEnd == null ? bias > 0 : atEnd) ? this.posAtEnd : this.posAtStart;\n }\n nearestDesc(dom) {\n let onlyNodes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n for (let first = true, cur = dom; cur; cur = cur.parentNode) {\n let desc = this.getDesc(cur),\n nodeDOM;\n if (desc && (!onlyNodes || desc.node)) {\n // If dom is outside of this desc's nodeDOM, don't count it.\n if (first && (nodeDOM = desc.nodeDOM) && !(nodeDOM.nodeType == 1 ? nodeDOM.contains(dom.nodeType == 1 ? dom : dom.parentNode) : nodeDOM == dom)) first = false;else return desc;\n }\n }\n }\n getDesc(dom) {\n let desc = dom.pmViewDesc;\n for (let cur = desc; cur; cur = cur.parent) if (cur == this) return desc;\n }\n posFromDOM(dom, offset, bias) {\n for (let scan = dom; scan; scan = scan.parentNode) {\n let desc = this.getDesc(scan);\n if (desc) return desc.localPosFromDOM(dom, offset, bias);\n }\n return -1;\n }\n // Find the desc for the node after the given pos, if any. (When a\n // parent node overrode rendering, there might not be one.)\n descAt(pos) {\n for (let i = 0, offset = 0; i < this.children.length; i++) {\n let child = this.children[i],\n end = offset + child.size;\n if (offset == pos && end != offset) {\n while (!child.border && child.children.length) {\n for (let i = 0; i < child.children.length; i++) {\n let inner = child.children[i];\n if (inner.size) {\n child = inner;\n break;\n }\n }\n }\n return child;\n }\n if (pos < end) return child.descAt(pos - offset - child.border);\n offset = end;\n }\n }\n domFromPos(pos, side) {\n if (!this.contentDOM) return {\n node: this.dom,\n offset: 0,\n atom: pos + 1\n };\n // First find the position in the child array\n let i = 0,\n offset = 0;\n for (let curPos = 0; i < this.children.length; i++) {\n let child = this.children[i],\n end = curPos + child.size;\n if (end > pos || child instanceof TrailingHackViewDesc) {\n offset = pos - curPos;\n break;\n }\n curPos = end;\n }\n // If this points into the middle of a child, call through\n if (offset) return this.children[i].domFromPos(offset - this.children[i].border, side);\n // Go back if there were any zero-length widgets with side >= 0 before this point\n for (let prev; i && !(prev = this.children[i - 1]).size && prev instanceof WidgetViewDesc && prev.side >= 0; i--) {}\n // Scan towards the first useable node\n if (side <= 0) {\n let prev,\n enter = true;\n for (;; i--, enter = false) {\n prev = i ? this.children[i - 1] : null;\n if (!prev || prev.dom.parentNode == this.contentDOM) break;\n }\n if (prev && side && enter && !prev.border && !prev.domAtom) return prev.domFromPos(prev.size, side);\n return {\n node: this.contentDOM,\n offset: prev ? domIndex(prev.dom) + 1 : 0\n };\n } else {\n let next,\n enter = true;\n for (;; i++, enter = false) {\n next = i < this.children.length ? this.children[i] : null;\n if (!next || next.dom.parentNode == this.contentDOM) break;\n }\n if (next && enter && !next.border && !next.domAtom) return next.domFromPos(0, side);\n return {\n node: this.contentDOM,\n offset: next ? domIndex(next.dom) : this.contentDOM.childNodes.length\n };\n }\n }\n // Used to find a DOM range in a single parent for a given changed\n // range.\n parseRange(from, to) {\n let base = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n if (this.children.length == 0) return {\n node: this.contentDOM,\n from,\n to,\n fromOffset: 0,\n toOffset: this.contentDOM.childNodes.length\n };\n let fromOffset = -1,\n toOffset = -1;\n for (let offset = base, i = 0;; i++) {\n let child = this.children[i],\n end = offset + child.size;\n if (fromOffset == -1 && from <= end) {\n let childBase = offset + child.border;\n // FIXME maybe descend mark views to parse a narrower range?\n if (from >= childBase && to <= end - child.border && child.node && child.contentDOM && this.contentDOM.contains(child.contentDOM)) return child.parseRange(from, to, childBase);\n from = offset;\n for (let j = i; j > 0; j--) {\n let prev = this.children[j - 1];\n if (prev.size && prev.dom.parentNode == this.contentDOM && !prev.emptyChildAt(1)) {\n fromOffset = domIndex(prev.dom) + 1;\n break;\n }\n from -= prev.size;\n }\n if (fromOffset == -1) fromOffset = 0;\n }\n if (fromOffset > -1 && (end > to || i == this.children.length - 1)) {\n to = end;\n for (let j = i + 1; j < this.children.length; j++) {\n let next = this.children[j];\n if (next.size && next.dom.parentNode == this.contentDOM && !next.emptyChildAt(-1)) {\n toOffset = domIndex(next.dom);\n break;\n }\n to += next.size;\n }\n if (toOffset == -1) toOffset = this.contentDOM.childNodes.length;\n break;\n }\n offset = end;\n }\n return {\n node: this.contentDOM,\n from,\n to,\n fromOffset,\n toOffset\n };\n }\n emptyChildAt(side) {\n if (this.border || !this.contentDOM || !this.children.length) return false;\n let child = this.children[side < 0 ? 0 : this.children.length - 1];\n return child.size == 0 || child.emptyChildAt(side);\n }\n domAfterPos(pos) {\n let {\n node,\n offset\n } = this.domFromPos(pos, 0);\n if (node.nodeType != 1 || offset == node.childNodes.length) throw new RangeError(\"No node after pos \" + pos);\n return node.childNodes[offset];\n }\n // View descs are responsible for setting any selection that falls\n // entirely inside of them, so that custom implementations can do\n // custom things with the selection. Note that this falls apart when\n // a selection starts in such a node and ends in another, in which\n // case we just use whatever domFromPos produces as a best effort.\n setSelection(anchor, head, view) {\n let force = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n // If the selection falls entirely in a child, give it to that child\n let from = Math.min(anchor, head),\n to = Math.max(anchor, head);\n for (let i = 0, offset = 0; i < this.children.length; i++) {\n let child = this.children[i],\n end = offset + child.size;\n if (from > offset && to < end) return child.setSelection(anchor - offset - child.border, head - offset - child.border, view, force);\n offset = end;\n }\n let anchorDOM = this.domFromPos(anchor, anchor ? -1 : 1);\n let headDOM = head == anchor ? anchorDOM : this.domFromPos(head, head ? -1 : 1);\n let domSel = view.root.getSelection();\n let selRange = view.domSelectionRange();\n let brKludge = false;\n // On Firefox, using Selection.collapse to put the cursor after a\n // BR node for some reason doesn't always work (#1073). On Safari,\n // the cursor sometimes inexplicable visually lags behind its\n // reported position in such situations (#1092).\n if ((gecko || safari) && anchor == head) {\n let {\n node,\n offset\n } = anchorDOM;\n if (node.nodeType == 3) {\n brKludge = !!(offset && node.nodeValue[offset - 1] == \"\\n\");\n // Issue #1128\n if (brKludge && offset == node.nodeValue.length) {\n for (let scan = node, after; scan; scan = scan.parentNode) {\n if (after = scan.nextSibling) {\n if (after.nodeName == \"BR\") anchorDOM = headDOM = {\n node: after.parentNode,\n offset: domIndex(after) + 1\n };\n break;\n }\n let desc = scan.pmViewDesc;\n if (desc && desc.node && desc.node.isBlock) break;\n }\n }\n } else {\n let prev = node.childNodes[offset - 1];\n brKludge = prev && (prev.nodeName == \"BR\" || prev.contentEditable == \"false\");\n }\n }\n // Firefox can act strangely when the selection is in front of an\n // uneditable node. See #1163 and https://bugzilla.mozilla.org/show_bug.cgi?id=1709536\n if (gecko && selRange.focusNode && selRange.focusNode != headDOM.node && selRange.focusNode.nodeType == 1) {\n let after = selRange.focusNode.childNodes[selRange.focusOffset];\n if (after && after.contentEditable == \"false\") force = true;\n }\n if (!(force || brKludge && safari) && isEquivalentPosition(anchorDOM.node, anchorDOM.offset, selRange.anchorNode, selRange.anchorOffset) && isEquivalentPosition(headDOM.node, headDOM.offset, selRange.focusNode, selRange.focusOffset)) return;\n // Selection.extend can be used to create an 'inverted' selection\n // (one where the focus is before the anchor), but not all\n // browsers support it yet.\n let domSelExtended = false;\n if ((domSel.extend || anchor == head) && !brKludge) {\n domSel.collapse(anchorDOM.node, anchorDOM.offset);\n try {\n if (anchor != head) domSel.extend(headDOM.node, headDOM.offset);\n domSelExtended = true;\n } catch (_) {\n // In some cases with Chrome the selection is empty after calling\n // collapse, even when it should be valid. This appears to be a bug, but\n // it is difficult to isolate. If this happens fallback to the old path\n // without using extend.\n // Similarly, this could crash on Safari if the editor is hidden, and\n // there was no selection.\n }\n }\n if (!domSelExtended) {\n if (anchor > head) {\n let tmp = anchorDOM;\n anchorDOM = headDOM;\n headDOM = tmp;\n }\n let range = document.createRange();\n range.setEnd(headDOM.node, headDOM.offset);\n range.setStart(anchorDOM.node, anchorDOM.offset);\n domSel.removeAllRanges();\n domSel.addRange(range);\n }\n }\n ignoreMutation(mutation) {\n return !this.contentDOM && mutation.type != \"selection\";\n }\n get contentLost() {\n return this.contentDOM && this.contentDOM != this.dom && !this.dom.contains(this.contentDOM);\n }\n // Remove a subtree of the element tree that has been touched\n // by a DOM change, so that the next update will redraw it.\n markDirty(from, to) {\n for (let offset = 0, i = 0; i < this.children.length; i++) {\n let child = this.children[i],\n end = offset + child.size;\n if (offset == end ? from <= end && to >= offset : from < end && to > offset) {\n let startInside = offset + child.border,\n endInside = end - child.border;\n if (from >= startInside && to <= endInside) {\n this.dirty = from == offset || to == end ? CONTENT_DIRTY : CHILD_DIRTY;\n if (from == startInside && to == endInside && (child.contentLost || child.dom.parentNode != this.contentDOM)) child.dirty = NODE_DIRTY;else child.markDirty(from - startInside, to - startInside);\n return;\n } else {\n child.dirty = child.dom == child.contentDOM && child.dom.parentNode == this.contentDOM && !child.children.length ? CONTENT_DIRTY : NODE_DIRTY;\n }\n }\n offset = end;\n }\n this.dirty = CONTENT_DIRTY;\n }\n markParentsDirty() {\n let level = 1;\n for (let node = this.parent; node; node = node.parent, level++) {\n let dirty = level == 1 ? CONTENT_DIRTY : CHILD_DIRTY;\n if (node.dirty < dirty) node.dirty = dirty;\n }\n }\n get domAtom() {\n return false;\n }\n get ignoreForCoords() {\n return false;\n }\n isText(text) {\n return false;\n }\n}\n// A widget desc represents a widget decoration, which is a DOM node\n// drawn between the document nodes.\nclass WidgetViewDesc extends ViewDesc {\n constructor(parent, widget, view, pos) {\n let self,\n dom = widget.type.toDOM;\n if (typeof dom == \"function\") dom = dom(view, () => {\n if (!self) return pos;\n if (self.parent) return self.parent.posBeforeChild(self);\n });\n if (!widget.type.spec.raw) {\n if (dom.nodeType != 1) {\n let wrap = document.createElement(\"span\");\n wrap.appendChild(dom);\n dom = wrap;\n }\n dom.contentEditable = \"false\";\n dom.classList.add(\"ProseMirror-widget\");\n }\n super(parent, [], dom, null);\n this.widget = widget;\n this.widget = widget;\n self = this;\n }\n matchesWidget(widget) {\n return this.dirty == NOT_DIRTY && widget.type.eq(this.widget.type);\n }\n parseRule() {\n return {\n ignore: true\n };\n }\n stopEvent(event) {\n let stop = this.widget.spec.stopEvent;\n return stop ? stop(event) : false;\n }\n ignoreMutation(mutation) {\n return mutation.type != \"selection\" || this.widget.spec.ignoreSelection;\n }\n destroy() {\n this.widget.type.destroy(this.dom);\n super.destroy();\n }\n get domAtom() {\n return true;\n }\n get side() {\n return this.widget.type.side;\n }\n}\nclass CompositionViewDesc extends ViewDesc {\n constructor(parent, dom, textDOM, text) {\n super(parent, [], dom, null);\n this.textDOM = textDOM;\n this.text = text;\n }\n get size() {\n return this.text.length;\n }\n localPosFromDOM(dom, offset) {\n if (dom != this.textDOM) return this.posAtStart + (offset ? this.size : 0);\n return this.posAtStart + offset;\n }\n domFromPos(pos) {\n return {\n node: this.textDOM,\n offset: pos\n };\n }\n ignoreMutation(mut) {\n return mut.type === 'characterData' && mut.target.nodeValue == mut.oldValue;\n }\n}\n// A mark desc represents a mark. May have multiple children,\n// depending on how the mark is split. Note that marks are drawn using\n// a fixed nesting order, for simplicity and predictability, so in\n// some cases they will be split more often than would appear\n// necessary.\nclass MarkViewDesc extends ViewDesc {\n constructor(parent, mark, dom, contentDOM, spec) {\n super(parent, [], dom, contentDOM);\n this.mark = mark;\n this.spec = spec;\n }\n static create(parent, mark, inline, view) {\n let custom = view.nodeViews[mark.type.name];\n let spec = custom && custom(mark, view, inline);\n if (!spec || !spec.dom) spec = DOMSerializer.renderSpec(document, mark.type.spec.toDOM(mark, inline), null, mark.attrs);\n return new MarkViewDesc(parent, mark, spec.dom, spec.contentDOM || spec.dom, spec);\n }\n parseRule() {\n if (this.dirty & NODE_DIRTY || this.mark.type.spec.reparseInView) return null;\n return {\n mark: this.mark.type.name,\n attrs: this.mark.attrs,\n contentElement: this.contentDOM\n };\n }\n matchesMark(mark) {\n return this.dirty != NODE_DIRTY && this.mark.eq(mark);\n }\n markDirty(from, to) {\n super.markDirty(from, to);\n // Move dirty info to nearest node view\n if (this.dirty != NOT_DIRTY) {\n let parent = this.parent;\n while (!parent.node) parent = parent.parent;\n if (parent.dirty < this.dirty) parent.dirty = this.dirty;\n this.dirty = NOT_DIRTY;\n }\n }\n slice(from, to, view) {\n let copy = MarkViewDesc.create(this.parent, this.mark, true, view);\n let nodes = this.children,\n size = this.size;\n if (to < size) nodes = replaceNodes(nodes, to, size, view);\n if (from > 0) nodes = replaceNodes(nodes, 0, from, view);\n for (let i = 0; i < nodes.length; i++) nodes[i].parent = copy;\n copy.children = nodes;\n return copy;\n }\n ignoreMutation(mutation) {\n return this.spec.ignoreMutation ? this.spec.ignoreMutation(mutation) : super.ignoreMutation(mutation);\n }\n destroy() {\n if (this.spec.destroy) this.spec.destroy();\n super.destroy();\n }\n}\n// Node view descs are the main, most common type of view desc, and\n// correspond to an actual node in the document. Unlike mark descs,\n// they populate their child array themselves.\nclass NodeViewDesc extends ViewDesc {\n constructor(parent, node, outerDeco, innerDeco, dom, contentDOM, nodeDOM, view, pos) {\n super(parent, [], dom, contentDOM);\n this.node = node;\n this.outerDeco = outerDeco;\n this.innerDeco = innerDeco;\n this.nodeDOM = nodeDOM;\n }\n // By default, a node is rendered using the `toDOM` method from the\n // node type spec. But client code can use the `nodeViews` spec to\n // supply a custom node view, which can influence various aspects of\n // the way the node works.\n //\n // (Using subclassing for this was intentionally decided against,\n // since it'd require exposing a whole slew of finicky\n // implementation details to the user code that they probably will\n // never need.)\n static create(parent, node, outerDeco, innerDeco, view, pos) {\n let custom = view.nodeViews[node.type.name],\n descObj;\n let spec = custom && custom(node, view, () => {\n // (This is a function that allows the custom view to find its\n // own position)\n if (!descObj) return pos;\n if (descObj.parent) return descObj.parent.posBeforeChild(descObj);\n }, outerDeco, innerDeco);\n let dom = spec && spec.dom,\n contentDOM = spec && spec.contentDOM;\n if (node.isText) {\n if (!dom) dom = document.createTextNode(node.text);else if (dom.nodeType != 3) throw new RangeError(\"Text must be rendered as a DOM text node\");\n } else if (!dom) {\n let spec = DOMSerializer.renderSpec(document, node.type.spec.toDOM(node), null, node.attrs);\n ({\n dom,\n contentDOM\n } = spec);\n }\n if (!contentDOM && !node.isText && dom.nodeName != \"BR\") {\n // Chrome gets confused by
\n if (!dom.hasAttribute(\"contenteditable\")) dom.contentEditable = \"false\";\n if (node.type.spec.draggable) dom.draggable = true;\n }\n let nodeDOM = dom;\n dom = applyOuterDeco(dom, outerDeco, node);\n if (spec) return descObj = new CustomNodeViewDesc(parent, node, outerDeco, innerDeco, dom, contentDOM || null, nodeDOM, spec, view, pos + 1);else if (node.isText) return new TextViewDesc(parent, node, outerDeco, innerDeco, dom, nodeDOM, view);else return new NodeViewDesc(parent, node, outerDeco, innerDeco, dom, contentDOM || null, nodeDOM, view, pos + 1);\n }\n parseRule() {\n // Experimental kludge to allow opt-in re-parsing of nodes\n if (this.node.type.spec.reparseInView) return null;\n // FIXME the assumption that this can always return the current\n // attrs means that if the user somehow manages to change the\n // attrs in the dom, that won't be picked up. Not entirely sure\n // whether this is a problem\n let rule = {\n node: this.node.type.name,\n attrs: this.node.attrs\n };\n if (this.node.type.whitespace == \"pre\") rule.preserveWhitespace = \"full\";\n if (!this.contentDOM) {\n rule.getContent = () => this.node.content;\n } else if (!this.contentLost) {\n rule.contentElement = this.contentDOM;\n } else {\n // Chrome likes to randomly recreate parent nodes when\n // backspacing things. When that happens, this tries to find the\n // new parent.\n for (let i = this.children.length - 1; i >= 0; i--) {\n let child = this.children[i];\n if (this.dom.contains(child.dom.parentNode)) {\n rule.contentElement = child.dom.parentNode;\n break;\n }\n }\n if (!rule.contentElement) rule.getContent = () => Fragment.empty;\n }\n return rule;\n }\n matchesNode(node, outerDeco, innerDeco) {\n return this.dirty == NOT_DIRTY && node.eq(this.node) && sameOuterDeco(outerDeco, this.outerDeco) && innerDeco.eq(this.innerDeco);\n }\n get size() {\n return this.node.nodeSize;\n }\n get border() {\n return this.node.isLeaf ? 0 : 1;\n }\n // Syncs `this.children` to match `this.node.content` and the local\n // decorations, possibly introducing nesting for marks. Then, in a\n // separate step, syncs the DOM inside `this.contentDOM` to\n // `this.children`.\n updateChildren(view, pos) {\n let inline = this.node.inlineContent,\n off = pos;\n let composition = view.composing ? this.localCompositionInfo(view, pos) : null;\n let localComposition = composition && composition.pos > -1 ? composition : null;\n let compositionInChild = composition && composition.pos < 0;\n let updater = new ViewTreeUpdater(this, localComposition && localComposition.node, view);\n iterDeco(this.node, this.innerDeco, (widget, i, insideNode) => {\n if (widget.spec.marks) updater.syncToMarks(widget.spec.marks, inline, view);else if (widget.type.side >= 0 && !insideNode) updater.syncToMarks(i == this.node.childCount ? Mark.none : this.node.child(i).marks, inline, view);\n // If the next node is a desc matching this widget, reuse it,\n // otherwise insert the widget as a new view desc.\n updater.placeWidget(widget, view, off);\n }, (child, outerDeco, innerDeco, i) => {\n // Make sure the wrapping mark descs match the node's marks.\n updater.syncToMarks(child.marks, inline, view);\n // Try several strategies for drawing this node\n let compIndex;\n if (updater.findNodeMatch(child, outerDeco, innerDeco, i)) ;else if (compositionInChild && view.state.selection.from > off && view.state.selection.to < off + child.nodeSize && (compIndex = updater.findIndexWithChild(composition.node)) > -1 && updater.updateNodeAt(child, outerDeco, innerDeco, compIndex, view)) ;else if (updater.updateNextNode(child, outerDeco, innerDeco, view, i, off)) ;else {\n // Add it as a new view\n updater.addNode(child, outerDeco, innerDeco, view, off);\n }\n off += child.nodeSize;\n });\n // Drop all remaining descs after the current position.\n updater.syncToMarks([], inline, view);\n if (this.node.isTextblock) updater.addTextblockHacks();\n updater.destroyRest();\n // Sync the DOM if anything changed\n if (updater.changed || this.dirty == CONTENT_DIRTY) {\n // May have to protect focused DOM from being changed if a composition is active\n if (localComposition) this.protectLocalComposition(view, localComposition);\n renderDescs(this.contentDOM, this.children, view);\n if (ios) iosHacks(this.dom);\n }\n }\n localCompositionInfo(view, pos) {\n // Only do something if both the selection and a focused text node\n // are inside of this node\n let {\n from,\n to\n } = view.state.selection;\n if (!(view.state.selection instanceof TextSelection) || from < pos || to > pos + this.node.content.size) return null;\n let textNode = view.input.compositionNode;\n if (!textNode || !this.dom.contains(textNode.parentNode)) return null;\n if (this.node.inlineContent) {\n // Find the text in the focused node in the node, stop if it's not\n // there (may have been modified through other means, in which\n // case it should overwritten)\n let text = textNode.nodeValue;\n let textPos = findTextInFragment(this.node.content, text, from - pos, to - pos);\n return textPos < 0 ? null : {\n node: textNode,\n pos: textPos,\n text\n };\n } else {\n return {\n node: textNode,\n pos: -1,\n text: \"\"\n };\n }\n }\n protectLocalComposition(view, _ref2) {\n let {\n node,\n pos,\n text\n } = _ref2;\n // The node is already part of a local view desc, leave it there\n if (this.getDesc(node)) return;\n // Create a composition view for the orphaned nodes\n let topNode = node;\n for (;; topNode = topNode.parentNode) {\n if (topNode.parentNode == this.contentDOM) break;\n while (topNode.previousSibling) topNode.parentNode.removeChild(topNode.previousSibling);\n while (topNode.nextSibling) topNode.parentNode.removeChild(topNode.nextSibling);\n if (topNode.pmViewDesc) topNode.pmViewDesc = undefined;\n }\n let desc = new CompositionViewDesc(this, topNode, node, text);\n view.input.compositionNodes.push(desc);\n // Patch up this.children to contain the composition view\n this.children = replaceNodes(this.children, pos, pos + text.length, view, desc);\n }\n // If this desc must be updated to match the given node decoration,\n // do so and return true.\n update(node, outerDeco, innerDeco, view) {\n if (this.dirty == NODE_DIRTY || !node.sameMarkup(this.node)) return false;\n this.updateInner(node, outerDeco, innerDeco, view);\n return true;\n }\n updateInner(node, outerDeco, innerDeco, view) {\n this.updateOuterDeco(outerDeco);\n this.node = node;\n this.innerDeco = innerDeco;\n if (this.contentDOM) this.updateChildren(view, this.posAtStart);\n this.dirty = NOT_DIRTY;\n }\n updateOuterDeco(outerDeco) {\n if (sameOuterDeco(outerDeco, this.outerDeco)) return;\n let needsWrap = this.nodeDOM.nodeType != 1;\n let oldDOM = this.dom;\n this.dom = patchOuterDeco(this.dom, this.nodeDOM, computeOuterDeco(this.outerDeco, this.node, needsWrap), computeOuterDeco(outerDeco, this.node, needsWrap));\n if (this.dom != oldDOM) {\n oldDOM.pmViewDesc = undefined;\n this.dom.pmViewDesc = this;\n }\n this.outerDeco = outerDeco;\n }\n // Mark this node as being the selected node.\n selectNode() {\n if (this.nodeDOM.nodeType == 1) this.nodeDOM.classList.add(\"ProseMirror-selectednode\");\n if (this.contentDOM || !this.node.type.spec.draggable) this.dom.draggable = true;\n }\n // Remove selected node marking from this node.\n deselectNode() {\n if (this.nodeDOM.nodeType == 1) {\n this.nodeDOM.classList.remove(\"ProseMirror-selectednode\");\n if (this.contentDOM || !this.node.type.spec.draggable) this.dom.removeAttribute(\"draggable\");\n }\n }\n get domAtom() {\n return this.node.isAtom;\n }\n}\n// Create a view desc for the top-level document node, to be exported\n// and used by the view class.\nfunction docViewDesc(doc, outerDeco, innerDeco, dom, view) {\n applyOuterDeco(dom, outerDeco, doc);\n let docView = new NodeViewDesc(undefined, doc, outerDeco, innerDeco, dom, dom, dom, view, 0);\n if (docView.contentDOM) docView.updateChildren(view, 0);\n return docView;\n}\nclass TextViewDesc extends NodeViewDesc {\n constructor(parent, node, outerDeco, innerDeco, dom, nodeDOM, view) {\n super(parent, node, outerDeco, innerDeco, dom, null, nodeDOM, view, 0);\n }\n parseRule() {\n let skip = this.nodeDOM.parentNode;\n while (skip && skip != this.dom && !skip.pmIsDeco) skip = skip.parentNode;\n return {\n skip: skip || true\n };\n }\n update(node, outerDeco, innerDeco, view) {\n if (this.dirty == NODE_DIRTY || this.dirty != NOT_DIRTY && !this.inParent() || !node.sameMarkup(this.node)) return false;\n this.updateOuterDeco(outerDeco);\n if ((this.dirty != NOT_DIRTY || node.text != this.node.text) && node.text != this.nodeDOM.nodeValue) {\n this.nodeDOM.nodeValue = node.text;\n if (view.trackWrites == this.nodeDOM) view.trackWrites = null;\n }\n this.node = node;\n this.dirty = NOT_DIRTY;\n return true;\n }\n inParent() {\n let parentDOM = this.parent.contentDOM;\n for (let n = this.nodeDOM; n; n = n.parentNode) if (n == parentDOM) return true;\n return false;\n }\n domFromPos(pos) {\n return {\n node: this.nodeDOM,\n offset: pos\n };\n }\n localPosFromDOM(dom, offset, bias) {\n if (dom == this.nodeDOM) return this.posAtStart + Math.min(offset, this.node.text.length);\n return super.localPosFromDOM(dom, offset, bias);\n }\n ignoreMutation(mutation) {\n return mutation.type != \"characterData\" && mutation.type != \"selection\";\n }\n slice(from, to, view) {\n let node = this.node.cut(from, to),\n dom = document.createTextNode(node.text);\n return new TextViewDesc(this.parent, node, this.outerDeco, this.innerDeco, dom, dom, view);\n }\n markDirty(from, to) {\n super.markDirty(from, to);\n if (this.dom != this.nodeDOM && (from == 0 || to == this.nodeDOM.nodeValue.length)) this.dirty = NODE_DIRTY;\n }\n get domAtom() {\n return false;\n }\n isText(text) {\n return this.node.text == text;\n }\n}\n// A dummy desc used to tag trailing BR or IMG nodes created to work\n// around contentEditable terribleness.\nclass TrailingHackViewDesc extends ViewDesc {\n parseRule() {\n return {\n ignore: true\n };\n }\n matchesHack(nodeName) {\n return this.dirty == NOT_DIRTY && this.dom.nodeName == nodeName;\n }\n get domAtom() {\n return true;\n }\n get ignoreForCoords() {\n return this.dom.nodeName == \"IMG\";\n }\n}\n// A separate subclass is used for customized node views, so that the\n// extra checks only have to be made for nodes that are actually\n// customized.\nclass CustomNodeViewDesc extends NodeViewDesc {\n constructor(parent, node, outerDeco, innerDeco, dom, contentDOM, nodeDOM, spec, view, pos) {\n super(parent, node, outerDeco, innerDeco, dom, contentDOM, nodeDOM, view, pos);\n this.spec = spec;\n }\n // A custom `update` method gets to decide whether the update goes\n // through. If it does, and there's a `contentDOM` node, our logic\n // updates the children.\n update(node, outerDeco, innerDeco, view) {\n if (this.dirty == NODE_DIRTY) return false;\n if (this.spec.update && (this.node.type == node.type || this.spec.multiType)) {\n let result = this.spec.update(node, outerDeco, innerDeco);\n if (result) this.updateInner(node, outerDeco, innerDeco, view);\n return result;\n } else if (!this.contentDOM && !node.isLeaf) {\n return false;\n } else {\n return super.update(node, outerDeco, innerDeco, view);\n }\n }\n selectNode() {\n this.spec.selectNode ? this.spec.selectNode() : super.selectNode();\n }\n deselectNode() {\n this.spec.deselectNode ? this.spec.deselectNode() : super.deselectNode();\n }\n setSelection(anchor, head, view, force) {\n this.spec.setSelection ? this.spec.setSelection(anchor, head, view.root) : super.setSelection(anchor, head, view, force);\n }\n destroy() {\n if (this.spec.destroy) this.spec.destroy();\n super.destroy();\n }\n stopEvent(event) {\n return this.spec.stopEvent ? this.spec.stopEvent(event) : false;\n }\n ignoreMutation(mutation) {\n return this.spec.ignoreMutation ? this.spec.ignoreMutation(mutation) : super.ignoreMutation(mutation);\n }\n}\n// Sync the content of the given DOM node with the nodes associated\n// with the given array of view descs, recursing into mark descs\n// because this should sync the subtree for a whole node at a time.\nfunction renderDescs(parentDOM, descs, view) {\n let dom = parentDOM.firstChild,\n written = false;\n for (let i = 0; i < descs.length; i++) {\n let desc = descs[i],\n childDOM = desc.dom;\n if (childDOM.parentNode == parentDOM) {\n while (childDOM != dom) {\n dom = rm(dom);\n written = true;\n }\n dom = dom.nextSibling;\n } else {\n written = true;\n parentDOM.insertBefore(childDOM, dom);\n }\n if (desc instanceof MarkViewDesc) {\n let pos = dom ? dom.previousSibling : parentDOM.lastChild;\n renderDescs(desc.contentDOM, desc.children, view);\n dom = pos ? pos.nextSibling : parentDOM.firstChild;\n }\n }\n while (dom) {\n dom = rm(dom);\n written = true;\n }\n if (written && view.trackWrites == parentDOM) view.trackWrites = null;\n}\nconst OuterDecoLevel = function (nodeName) {\n if (nodeName) this.nodeName = nodeName;\n};\nOuterDecoLevel.prototype = Object.create(null);\nconst noDeco = [new OuterDecoLevel()];\nfunction computeOuterDeco(outerDeco, node, needsWrap) {\n if (outerDeco.length == 0) return noDeco;\n let top = needsWrap ? noDeco[0] : new OuterDecoLevel(),\n result = [top];\n for (let i = 0; i < outerDeco.length; i++) {\n let attrs = outerDeco[i].type.attrs;\n if (!attrs) continue;\n if (attrs.nodeName) result.push(top = new OuterDecoLevel(attrs.nodeName));\n for (let name in attrs) {\n let val = attrs[name];\n if (val == null) continue;\n if (needsWrap && result.length == 1) result.push(top = new OuterDecoLevel(node.isInline ? \"span\" : \"div\"));\n if (name == \"class\") top.class = (top.class ? top.class + \" \" : \"\") + val;else if (name == \"style\") top.style = (top.style ? top.style + \";\" : \"\") + val;else if (name != \"nodeName\") top[name] = val;\n }\n }\n return result;\n}\nfunction patchOuterDeco(outerDOM, nodeDOM, prevComputed, curComputed) {\n // Shortcut for trivial case\n if (prevComputed == noDeco && curComputed == noDeco) return nodeDOM;\n let curDOM = nodeDOM;\n for (let i = 0; i < curComputed.length; i++) {\n let deco = curComputed[i],\n prev = prevComputed[i];\n if (i) {\n let parent;\n if (prev && prev.nodeName == deco.nodeName && curDOM != outerDOM && (parent = curDOM.parentNode) && parent.nodeName.toLowerCase() == deco.nodeName) {\n curDOM = parent;\n } else {\n parent = document.createElement(deco.nodeName);\n parent.pmIsDeco = true;\n parent.appendChild(curDOM);\n prev = noDeco[0];\n curDOM = parent;\n }\n }\n patchAttributes(curDOM, prev || noDeco[0], deco);\n }\n return curDOM;\n}\nfunction patchAttributes(dom, prev, cur) {\n for (let name in prev) if (name != \"class\" && name != \"style\" && name != \"nodeName\" && !(name in cur)) dom.removeAttribute(name);\n for (let name in cur) if (name != \"class\" && name != \"style\" && name != \"nodeName\" && cur[name] != prev[name]) dom.setAttribute(name, cur[name]);\n if (prev.class != cur.class) {\n let prevList = prev.class ? prev.class.split(\" \").filter(Boolean) : [];\n let curList = cur.class ? cur.class.split(\" \").filter(Boolean) : [];\n for (let i = 0; i < prevList.length; i++) if (curList.indexOf(prevList[i]) == -1) dom.classList.remove(prevList[i]);\n for (let i = 0; i < curList.length; i++) if (prevList.indexOf(curList[i]) == -1) dom.classList.add(curList[i]);\n if (dom.classList.length == 0) dom.removeAttribute(\"class\");\n }\n if (prev.style != cur.style) {\n if (prev.style) {\n let prop = /\\s*([\\w\\-\\xa1-\\uffff]+)\\s*:(?:\"(?:\\\\.|[^\"])*\"|'(?:\\\\.|[^'])*'|\\(.*?\\)|[^;])*/g,\n m;\n while (m = prop.exec(prev.style)) dom.style.removeProperty(m[1]);\n }\n if (cur.style) dom.style.cssText += cur.style;\n }\n}\nfunction applyOuterDeco(dom, deco, node) {\n return patchOuterDeco(dom, dom, noDeco, computeOuterDeco(deco, node, dom.nodeType != 1));\n}\nfunction sameOuterDeco(a, b) {\n if (a.length != b.length) return false;\n for (let i = 0; i < a.length; i++) if (!a[i].type.eq(b[i].type)) return false;\n return true;\n}\n// Remove a DOM node and return its next sibling.\nfunction rm(dom) {\n let next = dom.nextSibling;\n dom.parentNode.removeChild(dom);\n return next;\n}\n// Helper class for incrementally updating a tree of mark descs and\n// the widget and node descs inside of them.\nclass ViewTreeUpdater {\n constructor(top, lock, view) {\n this.lock = lock;\n this.view = view;\n // Index into `this.top`'s child array, represents the current\n // update position.\n this.index = 0;\n // When entering a mark, the current top and index are pushed\n // onto this.\n this.stack = [];\n // Tracks whether anything was changed\n this.changed = false;\n this.top = top;\n this.preMatch = preMatch(top.node.content, top);\n }\n // Destroy and remove the children between the given indices in\n // `this.top`.\n destroyBetween(start, end) {\n if (start == end) return;\n for (let i = start; i < end; i++) this.top.children[i].destroy();\n this.top.children.splice(start, end - start);\n this.changed = true;\n }\n // Destroy all remaining children in `this.top`.\n destroyRest() {\n this.destroyBetween(this.index, this.top.children.length);\n }\n // Sync the current stack of mark descs with the given array of\n // marks, reusing existing mark descs when possible.\n syncToMarks(marks, inline, view) {\n let keep = 0,\n depth = this.stack.length >> 1;\n let maxKeep = Math.min(depth, marks.length);\n while (keep < maxKeep && (keep == depth - 1 ? this.top : this.stack[keep + 1 << 1]).matchesMark(marks[keep]) && marks[keep].type.spec.spanning !== false) keep++;\n while (keep < depth) {\n this.destroyRest();\n this.top.dirty = NOT_DIRTY;\n this.index = this.stack.pop();\n this.top = this.stack.pop();\n depth--;\n }\n while (depth < marks.length) {\n this.stack.push(this.top, this.index + 1);\n let found = -1;\n for (let i = this.index; i < Math.min(this.index + 3, this.top.children.length); i++) {\n let next = this.top.children[i];\n if (next.matchesMark(marks[depth]) && !this.isLocked(next.dom)) {\n found = i;\n break;\n }\n }\n if (found > -1) {\n if (found > this.index) {\n this.changed = true;\n this.destroyBetween(this.index, found);\n }\n this.top = this.top.children[this.index];\n } else {\n let markDesc = MarkViewDesc.create(this.top, marks[depth], inline, view);\n this.top.children.splice(this.index, 0, markDesc);\n this.top = markDesc;\n this.changed = true;\n }\n this.index = 0;\n depth++;\n }\n }\n // Try to find a node desc matching the given data. Skip over it and\n // return true when successful.\n findNodeMatch(node, outerDeco, innerDeco, index) {\n let found = -1,\n targetDesc;\n if (index >= this.preMatch.index && (targetDesc = this.preMatch.matches[index - this.preMatch.index]).parent == this.top && targetDesc.matchesNode(node, outerDeco, innerDeco)) {\n found = this.top.children.indexOf(targetDesc, this.index);\n } else {\n for (let i = this.index, e = Math.min(this.top.children.length, i + 5); i < e; i++) {\n let child = this.top.children[i];\n if (child.matchesNode(node, outerDeco, innerDeco) && !this.preMatch.matched.has(child)) {\n found = i;\n break;\n }\n }\n }\n if (found < 0) return false;\n this.destroyBetween(this.index, found);\n this.index++;\n return true;\n }\n updateNodeAt(node, outerDeco, innerDeco, index, view) {\n let child = this.top.children[index];\n if (child.dirty == NODE_DIRTY && child.dom == child.contentDOM) child.dirty = CONTENT_DIRTY;\n if (!child.update(node, outerDeco, innerDeco, view)) return false;\n this.destroyBetween(this.index, index);\n this.index++;\n return true;\n }\n findIndexWithChild(domNode) {\n for (;;) {\n let parent = domNode.parentNode;\n if (!parent) return -1;\n if (parent == this.top.contentDOM) {\n let desc = domNode.pmViewDesc;\n if (desc) for (let i = this.index; i < this.top.children.length; i++) {\n if (this.top.children[i] == desc) return i;\n }\n return -1;\n }\n domNode = parent;\n }\n }\n // Try to update the next node, if any, to the given data. Checks\n // pre-matches to avoid overwriting nodes that could still be used.\n updateNextNode(node, outerDeco, innerDeco, view, index, pos) {\n for (let i = this.index; i < this.top.children.length; i++) {\n let next = this.top.children[i];\n if (next instanceof NodeViewDesc) {\n let preMatch = this.preMatch.matched.get(next);\n if (preMatch != null && preMatch != index) return false;\n let nextDOM = next.dom,\n updated;\n // Can't update if nextDOM is or contains this.lock, except if\n // it's a text node whose content already matches the new text\n // and whose decorations match the new ones.\n let locked = this.isLocked(nextDOM) && !(node.isText && next.node && next.node.isText && next.nodeDOM.nodeValue == node.text && next.dirty != NODE_DIRTY && sameOuterDeco(outerDeco, next.outerDeco));\n if (!locked && next.update(node, outerDeco, innerDeco, view)) {\n this.destroyBetween(this.index, i);\n if (next.dom != nextDOM) this.changed = true;\n this.index++;\n return true;\n } else if (!locked && (updated = this.recreateWrapper(next, node, outerDeco, innerDeco, view, pos))) {\n this.destroyBetween(this.index, i);\n this.top.children[this.index] = updated;\n if (updated.contentDOM) {\n updated.dirty = CONTENT_DIRTY;\n updated.updateChildren(view, pos + 1);\n updated.dirty = NOT_DIRTY;\n }\n this.changed = true;\n this.index++;\n return true;\n }\n break;\n }\n }\n return false;\n }\n // When a node with content is replaced by a different node with\n // identical content, move over its children.\n recreateWrapper(next, node, outerDeco, innerDeco, view, pos) {\n if (next.dirty || node.isAtom || !next.children.length || !next.node.content.eq(node.content) || !sameOuterDeco(outerDeco, next.outerDeco) || !innerDeco.eq(next.innerDeco)) return null;\n let wrapper = NodeViewDesc.create(this.top, node, outerDeco, innerDeco, view, pos);\n if (wrapper.contentDOM) {\n wrapper.children = next.children;\n next.children = [];\n for (let ch of wrapper.children) ch.parent = wrapper;\n }\n next.destroy();\n return wrapper;\n }\n // Insert the node as a newly created node desc.\n addNode(node, outerDeco, innerDeco, view, pos) {\n let desc = NodeViewDesc.create(this.top, node, outerDeco, innerDeco, view, pos);\n if (desc.contentDOM) desc.updateChildren(view, pos + 1);\n this.top.children.splice(this.index++, 0, desc);\n this.changed = true;\n }\n placeWidget(widget, view, pos) {\n let next = this.index < this.top.children.length ? this.top.children[this.index] : null;\n if (next && next.matchesWidget(widget) && (widget == next.widget || !next.widget.type.toDOM.parentNode)) {\n this.index++;\n } else {\n let desc = new WidgetViewDesc(this.top, widget, view, pos);\n this.top.children.splice(this.index++, 0, desc);\n this.changed = true;\n }\n }\n // Make sure a textblock looks and behaves correctly in\n // contentEditable.\n addTextblockHacks() {\n let lastChild = this.top.children[this.index - 1],\n parent = this.top;\n while (lastChild instanceof MarkViewDesc) {\n parent = lastChild;\n lastChild = parent.children[parent.children.length - 1];\n }\n if (!lastChild ||\n // Empty textblock\n !(lastChild instanceof TextViewDesc) || /\\n$/.test(lastChild.node.text) || this.view.requiresGeckoHackNode && /\\s$/.test(lastChild.node.text)) {\n // Avoid bugs in Safari's cursor drawing (#1165) and Chrome's mouse selection (#1152)\n if ((safari || chrome) && lastChild && lastChild.dom.contentEditable == \"false\") this.addHackNode(\"IMG\", parent);\n this.addHackNode(\"BR\", this.top);\n }\n }\n addHackNode(nodeName, parent) {\n if (parent == this.top && this.index < parent.children.length && parent.children[this.index].matchesHack(nodeName)) {\n this.index++;\n } else {\n let dom = document.createElement(nodeName);\n if (nodeName == \"IMG\") {\n dom.className = \"ProseMirror-separator\";\n dom.alt = \"\";\n }\n if (nodeName == \"BR\") dom.className = \"ProseMirror-trailingBreak\";\n let hack = new TrailingHackViewDesc(this.top, [], dom, null);\n if (parent != this.top) parent.children.push(hack);else parent.children.splice(this.index++, 0, hack);\n this.changed = true;\n }\n }\n isLocked(node) {\n return this.lock && (node == this.lock || node.nodeType == 1 && node.contains(this.lock.parentNode));\n }\n}\n// Iterate from the end of the fragment and array of descs to find\n// directly matching ones, in order to avoid overeagerly reusing those\n// for other nodes. Returns the fragment index of the first node that\n// is part of the sequence of matched nodes at the end of the\n// fragment.\nfunction preMatch(frag, parentDesc) {\n let curDesc = parentDesc,\n descI = curDesc.children.length;\n let fI = frag.childCount,\n matched = new Map(),\n matches = [];\n outer: while (fI > 0) {\n let desc;\n for (;;) {\n if (descI) {\n let next = curDesc.children[descI - 1];\n if (next instanceof MarkViewDesc) {\n curDesc = next;\n descI = next.children.length;\n } else {\n desc = next;\n descI--;\n break;\n }\n } else if (curDesc == parentDesc) {\n break outer;\n } else {\n // FIXME\n descI = curDesc.parent.children.indexOf(curDesc);\n curDesc = curDesc.parent;\n }\n }\n let node = desc.node;\n if (!node) continue;\n if (node != frag.child(fI - 1)) break;\n --fI;\n matched.set(desc, fI);\n matches.push(desc);\n }\n return {\n index: fI,\n matched,\n matches: matches.reverse()\n };\n}\nfunction compareSide(a, b) {\n return a.type.side - b.type.side;\n}\n// This function abstracts iterating over the nodes and decorations in\n// a fragment. Calls `onNode` for each node, with its local and child\n// decorations. Splits text nodes when there is a decoration starting\n// or ending inside of them. Calls `onWidget` for each widget.\nfunction iterDeco(parent, deco, onWidget, onNode) {\n let locals = deco.locals(parent),\n offset = 0;\n // Simple, cheap variant for when there are no local decorations\n if (locals.length == 0) {\n for (let i = 0; i < parent.childCount; i++) {\n let child = parent.child(i);\n onNode(child, locals, deco.forChild(offset, child), i);\n offset += child.nodeSize;\n }\n return;\n }\n let decoIndex = 0,\n active = [],\n restNode = null;\n for (let parentIndex = 0;;) {\n let widget, widgets;\n while (decoIndex < locals.length && locals[decoIndex].to == offset) {\n let next = locals[decoIndex++];\n if (next.widget) {\n if (!widget) widget = next;else (widgets || (widgets = [widget])).push(next);\n }\n }\n if (widget) {\n if (widgets) {\n widgets.sort(compareSide);\n for (let i = 0; i < widgets.length; i++) onWidget(widgets[i], parentIndex, !!restNode);\n } else {\n onWidget(widget, parentIndex, !!restNode);\n }\n }\n let child, index;\n if (restNode) {\n index = -1;\n child = restNode;\n restNode = null;\n } else if (parentIndex < parent.childCount) {\n index = parentIndex;\n child = parent.child(parentIndex++);\n } else {\n break;\n }\n for (let i = 0; i < active.length; i++) if (active[i].to <= offset) active.splice(i--, 1);\n while (decoIndex < locals.length && locals[decoIndex].from <= offset && locals[decoIndex].to > offset) active.push(locals[decoIndex++]);\n let end = offset + child.nodeSize;\n if (child.isText) {\n let cutAt = end;\n if (decoIndex < locals.length && locals[decoIndex].from < cutAt) cutAt = locals[decoIndex].from;\n for (let i = 0; i < active.length; i++) if (active[i].to < cutAt) cutAt = active[i].to;\n if (cutAt < end) {\n restNode = child.cut(cutAt - offset);\n child = child.cut(0, cutAt - offset);\n end = cutAt;\n index = -1;\n }\n } else {\n while (decoIndex < locals.length && locals[decoIndex].to < end) decoIndex++;\n }\n let outerDeco = child.isInline && !child.isLeaf ? active.filter(d => !d.inline) : active.slice();\n onNode(child, outerDeco, deco.forChild(offset, child), index);\n offset = end;\n }\n}\n// List markers in Mobile Safari will mysteriously disappear\n// sometimes. This works around that.\nfunction iosHacks(dom) {\n if (dom.nodeName == \"UL\" || dom.nodeName == \"OL\") {\n let oldCSS = dom.style.cssText;\n dom.style.cssText = oldCSS + \"; list-style: square !important\";\n window.getComputedStyle(dom).listStyle;\n dom.style.cssText = oldCSS;\n }\n}\n// Find a piece of text in an inline fragment, overlapping from-to\nfunction findTextInFragment(frag, text, from, to) {\n for (let i = 0, pos = 0; i < frag.childCount && pos <= to;) {\n let child = frag.child(i++),\n childStart = pos;\n pos += child.nodeSize;\n if (!child.isText) continue;\n let str = child.text;\n while (i < frag.childCount) {\n let next = frag.child(i++);\n pos += next.nodeSize;\n if (!next.isText) break;\n str += next.text;\n }\n if (pos >= from) {\n if (pos >= to && str.slice(to - text.length - childStart, to - childStart) == text) return to - text.length;\n let found = childStart < to ? str.lastIndexOf(text, to - childStart - 1) : -1;\n if (found >= 0 && found + text.length + childStart >= from) return childStart + found;\n if (from == to && str.length >= to + text.length - childStart && str.slice(to - childStart, to - childStart + text.length) == text) return to;\n }\n }\n return -1;\n}\n// Replace range from-to in an array of view descs with replacement\n// (may be null to just delete). This goes very much against the grain\n// of the rest of this code, which tends to create nodes with the\n// right shape in one go, rather than messing with them after\n// creation, but is necessary in the composition hack.\nfunction replaceNodes(nodes, from, to, view, replacement) {\n let result = [];\n for (let i = 0, off = 0; i < nodes.length; i++) {\n let child = nodes[i],\n start = off,\n end = off += child.size;\n if (start >= to || end <= from) {\n result.push(child);\n } else {\n if (start < from) result.push(child.slice(0, from - start, view));\n if (replacement) {\n result.push(replacement);\n replacement = undefined;\n }\n if (end > to) result.push(child.slice(to - start, child.size, view));\n }\n }\n return result;\n}\nfunction selectionFromDOM(view) {\n let origin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n let domSel = view.domSelectionRange(),\n doc = view.state.doc;\n if (!domSel.focusNode) return null;\n let nearestDesc = view.docView.nearestDesc(domSel.focusNode),\n inWidget = nearestDesc && nearestDesc.size == 0;\n let head = view.docView.posFromDOM(domSel.focusNode, domSel.focusOffset, 1);\n if (head < 0) return null;\n let $head = doc.resolve(head),\n anchor,\n selection;\n if (selectionCollapsed(domSel)) {\n anchor = head;\n while (nearestDesc && !nearestDesc.node) nearestDesc = nearestDesc.parent;\n let nearestDescNode = nearestDesc.node;\n if (nearestDesc && nearestDescNode.isAtom && NodeSelection.isSelectable(nearestDescNode) && nearestDesc.parent && !(nearestDescNode.isInline && isOnEdge(domSel.focusNode, domSel.focusOffset, nearestDesc.dom))) {\n let pos = nearestDesc.posBefore;\n selection = new NodeSelection(head == pos ? $head : doc.resolve(pos));\n }\n } else {\n if (domSel instanceof view.dom.ownerDocument.defaultView.Selection && domSel.rangeCount > 1) {\n let min = head,\n max = head;\n for (let i = 0; i < domSel.rangeCount; i++) {\n let range = domSel.getRangeAt(i);\n min = Math.min(min, view.docView.posFromDOM(range.startContainer, range.startOffset, 1));\n max = Math.max(max, view.docView.posFromDOM(range.endContainer, range.endOffset, -1));\n }\n if (min < 0) return null;\n [anchor, head] = max == view.state.selection.anchor ? [max, min] : [min, max];\n $head = doc.resolve(head);\n } else {\n anchor = view.docView.posFromDOM(domSel.anchorNode, domSel.anchorOffset, 1);\n }\n if (anchor < 0) return null;\n }\n let $anchor = doc.resolve(anchor);\n if (!selection) {\n let bias = origin == \"pointer\" || view.state.selection.head < $head.pos && !inWidget ? 1 : -1;\n selection = selectionBetween(view, $anchor, $head, bias);\n }\n return selection;\n}\nfunction editorOwnsSelection(view) {\n return view.editable ? view.hasFocus() : hasSelection(view) && document.activeElement && document.activeElement.contains(view.dom);\n}\nfunction selectionToDOM(view) {\n let force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n let sel = view.state.selection;\n syncNodeSelection(view, sel);\n if (!editorOwnsSelection(view)) return;\n // The delayed drag selection causes issues with Cell Selections\n // in Safari. And the drag selection delay is to workarond issues\n // which only present in Chrome.\n if (!force && view.input.mouseDown && view.input.mouseDown.allowDefault && chrome) {\n let domSel = view.domSelectionRange(),\n curSel = view.domObserver.currentSelection;\n if (domSel.anchorNode && curSel.anchorNode && isEquivalentPosition(domSel.anchorNode, domSel.anchorOffset, curSel.anchorNode, curSel.anchorOffset)) {\n view.input.mouseDown.delayedSelectionSync = true;\n view.domObserver.setCurSelection();\n return;\n }\n }\n view.domObserver.disconnectSelection();\n if (view.cursorWrapper) {\n selectCursorWrapper(view);\n } else {\n let {\n anchor,\n head\n } = sel,\n resetEditableFrom,\n resetEditableTo;\n if (brokenSelectBetweenUneditable && !(sel instanceof TextSelection)) {\n if (!sel.$from.parent.inlineContent) resetEditableFrom = temporarilyEditableNear(view, sel.from);\n if (!sel.empty && !sel.$from.parent.inlineContent) resetEditableTo = temporarilyEditableNear(view, sel.to);\n }\n view.docView.setSelection(anchor, head, view, force);\n if (brokenSelectBetweenUneditable) {\n if (resetEditableFrom) resetEditable(resetEditableFrom);\n if (resetEditableTo) resetEditable(resetEditableTo);\n }\n if (sel.visible) {\n view.dom.classList.remove(\"ProseMirror-hideselection\");\n } else {\n view.dom.classList.add(\"ProseMirror-hideselection\");\n if (\"onselectionchange\" in document) removeClassOnSelectionChange(view);\n }\n }\n view.domObserver.setCurSelection();\n view.domObserver.connectSelection();\n}\n// Kludge to work around Webkit not allowing a selection to start/end\n// between non-editable block nodes. We briefly make something\n// editable, set the selection, then set it uneditable again.\nconst brokenSelectBetweenUneditable = safari || chrome && chrome_version < 63;\nfunction temporarilyEditableNear(view, pos) {\n let {\n node,\n offset\n } = view.docView.domFromPos(pos, 0);\n let after = offset < node.childNodes.length ? node.childNodes[offset] : null;\n let before = offset ? node.childNodes[offset - 1] : null;\n if (safari && after && after.contentEditable == \"false\") return setEditable(after);\n if ((!after || after.contentEditable == \"false\") && (!before || before.contentEditable == \"false\")) {\n if (after) return setEditable(after);else if (before) return setEditable(before);\n }\n}\nfunction setEditable(element) {\n element.contentEditable = \"true\";\n if (safari && element.draggable) {\n element.draggable = false;\n element.wasDraggable = true;\n }\n return element;\n}\nfunction resetEditable(element) {\n element.contentEditable = \"false\";\n if (element.wasDraggable) {\n element.draggable = true;\n element.wasDraggable = null;\n }\n}\nfunction removeClassOnSelectionChange(view) {\n let doc = view.dom.ownerDocument;\n doc.removeEventListener(\"selectionchange\", view.input.hideSelectionGuard);\n let domSel = view.domSelectionRange();\n let node = domSel.anchorNode,\n offset = domSel.anchorOffset;\n doc.addEventListener(\"selectionchange\", view.input.hideSelectionGuard = () => {\n if (domSel.anchorNode != node || domSel.anchorOffset != offset) {\n doc.removeEventListener(\"selectionchange\", view.input.hideSelectionGuard);\n setTimeout(() => {\n if (!editorOwnsSelection(view) || view.state.selection.visible) view.dom.classList.remove(\"ProseMirror-hideselection\");\n }, 20);\n }\n });\n}\nfunction selectCursorWrapper(view) {\n let domSel = view.domSelection(),\n range = document.createRange();\n if (!domSel) return;\n let node = view.cursorWrapper.dom,\n img = node.nodeName == \"IMG\";\n if (img) range.setStart(node.parentNode, domIndex(node) + 1);else range.setStart(node, 0);\n range.collapse(true);\n domSel.removeAllRanges();\n domSel.addRange(range);\n // Kludge to kill 'control selection' in IE11 when selecting an\n // invisible cursor wrapper, since that would result in those weird\n // resize handles and a selection that considers the absolutely\n // positioned wrapper, rather than the root editable node, the\n // focused element.\n if (!img && !view.state.selection.visible && ie && ie_version <= 11) {\n node.disabled = true;\n node.disabled = false;\n }\n}\nfunction syncNodeSelection(view, sel) {\n if (sel instanceof NodeSelection) {\n let desc = view.docView.descAt(sel.from);\n if (desc != view.lastSelectedViewDesc) {\n clearNodeSelection(view);\n if (desc) desc.selectNode();\n view.lastSelectedViewDesc = desc;\n }\n } else {\n clearNodeSelection(view);\n }\n}\n// Clear all DOM statefulness of the last node selection.\nfunction clearNodeSelection(view) {\n if (view.lastSelectedViewDesc) {\n if (view.lastSelectedViewDesc.parent) view.lastSelectedViewDesc.deselectNode();\n view.lastSelectedViewDesc = undefined;\n }\n}\nfunction selectionBetween(view, $anchor, $head, bias) {\n return view.someProp(\"createSelectionBetween\", f => f(view, $anchor, $head)) || TextSelection.between($anchor, $head, bias);\n}\nfunction hasFocusAndSelection(view) {\n if (view.editable && !view.hasFocus()) return false;\n return hasSelection(view);\n}\nfunction hasSelection(view) {\n let sel = view.domSelectionRange();\n if (!sel.anchorNode) return false;\n try {\n // Firefox will raise 'permission denied' errors when accessing\n // properties of `sel.anchorNode` when it's in a generated CSS\n // element.\n return view.dom.contains(sel.anchorNode.nodeType == 3 ? sel.anchorNode.parentNode : sel.anchorNode) && (view.editable || view.dom.contains(sel.focusNode.nodeType == 3 ? sel.focusNode.parentNode : sel.focusNode));\n } catch (_) {\n return false;\n }\n}\nfunction anchorInRightPlace(view) {\n let anchorDOM = view.docView.domFromPos(view.state.selection.anchor, 0);\n let domSel = view.domSelectionRange();\n return isEquivalentPosition(anchorDOM.node, anchorDOM.offset, domSel.anchorNode, domSel.anchorOffset);\n}\nfunction moveSelectionBlock(state, dir) {\n let {\n $anchor,\n $head\n } = state.selection;\n let $side = dir > 0 ? $anchor.max($head) : $anchor.min($head);\n let $start = !$side.parent.inlineContent ? $side : $side.depth ? state.doc.resolve(dir > 0 ? $side.after() : $side.before()) : null;\n return $start && Selection.findFrom($start, dir);\n}\nfunction apply(view, sel) {\n view.dispatch(view.state.tr.setSelection(sel).scrollIntoView());\n return true;\n}\nfunction selectHorizontally(view, dir, mods) {\n let sel = view.state.selection;\n if (sel instanceof TextSelection) {\n if (mods.indexOf(\"s\") > -1) {\n let {\n $head\n } = sel,\n node = $head.textOffset ? null : dir < 0 ? $head.nodeBefore : $head.nodeAfter;\n if (!node || node.isText || !node.isLeaf) return false;\n let $newHead = view.state.doc.resolve($head.pos + node.nodeSize * (dir < 0 ? -1 : 1));\n return apply(view, new TextSelection(sel.$anchor, $newHead));\n } else if (!sel.empty) {\n return false;\n } else if (view.endOfTextblock(dir > 0 ? \"forward\" : \"backward\")) {\n let next = moveSelectionBlock(view.state, dir);\n if (next && next instanceof NodeSelection) return apply(view, next);\n return false;\n } else if (!(mac && mods.indexOf(\"m\") > -1)) {\n let $head = sel.$head,\n node = $head.textOffset ? null : dir < 0 ? $head.nodeBefore : $head.nodeAfter,\n desc;\n if (!node || node.isText) return false;\n let nodePos = dir < 0 ? $head.pos - node.nodeSize : $head.pos;\n if (!(node.isAtom || (desc = view.docView.descAt(nodePos)) && !desc.contentDOM)) return false;\n if (NodeSelection.isSelectable(node)) {\n return apply(view, new NodeSelection(dir < 0 ? view.state.doc.resolve($head.pos - node.nodeSize) : $head));\n } else if (webkit) {\n // Chrome and Safari will introduce extra pointless cursor\n // positions around inline uneditable nodes, so we have to\n // take over and move the cursor past them (#937)\n return apply(view, new TextSelection(view.state.doc.resolve(dir < 0 ? nodePos : nodePos + node.nodeSize)));\n } else {\n return false;\n }\n }\n } else if (sel instanceof NodeSelection && sel.node.isInline) {\n return apply(view, new TextSelection(dir > 0 ? sel.$to : sel.$from));\n } else {\n let next = moveSelectionBlock(view.state, dir);\n if (next) return apply(view, next);\n return false;\n }\n}\nfunction nodeLen(node) {\n return node.nodeType == 3 ? node.nodeValue.length : node.childNodes.length;\n}\nfunction isIgnorable(dom, dir) {\n let desc = dom.pmViewDesc;\n return desc && desc.size == 0 && (dir < 0 || dom.nextSibling || dom.nodeName != \"BR\");\n}\nfunction skipIgnoredNodes(view, dir) {\n return dir < 0 ? skipIgnoredNodesBefore(view) : skipIgnoredNodesAfter(view);\n}\n// Make sure the cursor isn't directly after one or more ignored\n// nodes, which will confuse the browser's cursor motion logic.\nfunction skipIgnoredNodesBefore(view) {\n let sel = view.domSelectionRange();\n let node = sel.focusNode,\n offset = sel.focusOffset;\n if (!node) return;\n let moveNode,\n moveOffset,\n force = false;\n // Gecko will do odd things when the selection is directly in front\n // of a non-editable node, so in that case, move it into the next\n // node if possible. Issue prosemirror/prosemirror#832.\n if (gecko && node.nodeType == 1 && offset < nodeLen(node) && isIgnorable(node.childNodes[offset], -1)) force = true;\n for (;;) {\n if (offset > 0) {\n if (node.nodeType != 1) {\n break;\n } else {\n let before = node.childNodes[offset - 1];\n if (isIgnorable(before, -1)) {\n moveNode = node;\n moveOffset = --offset;\n } else if (before.nodeType == 3) {\n node = before;\n offset = node.nodeValue.length;\n } else break;\n }\n } else if (isBlockNode(node)) {\n break;\n } else {\n let prev = node.previousSibling;\n while (prev && isIgnorable(prev, -1)) {\n moveNode = node.parentNode;\n moveOffset = domIndex(prev);\n prev = prev.previousSibling;\n }\n if (!prev) {\n node = node.parentNode;\n if (node == view.dom) break;\n offset = 0;\n } else {\n node = prev;\n offset = nodeLen(node);\n }\n }\n }\n if (force) setSelFocus(view, node, offset);else if (moveNode) setSelFocus(view, moveNode, moveOffset);\n}\n// Make sure the cursor isn't directly before one or more ignored\n// nodes.\nfunction skipIgnoredNodesAfter(view) {\n let sel = view.domSelectionRange();\n let node = sel.focusNode,\n offset = sel.focusOffset;\n if (!node) return;\n let len = nodeLen(node);\n let moveNode, moveOffset;\n for (;;) {\n if (offset < len) {\n if (node.nodeType != 1) break;\n let after = node.childNodes[offset];\n if (isIgnorable(after, 1)) {\n moveNode = node;\n moveOffset = ++offset;\n } else break;\n } else if (isBlockNode(node)) {\n break;\n } else {\n let next = node.nextSibling;\n while (next && isIgnorable(next, 1)) {\n moveNode = next.parentNode;\n moveOffset = domIndex(next) + 1;\n next = next.nextSibling;\n }\n if (!next) {\n node = node.parentNode;\n if (node == view.dom) break;\n offset = len = 0;\n } else {\n node = next;\n offset = 0;\n len = nodeLen(node);\n }\n }\n }\n if (moveNode) setSelFocus(view, moveNode, moveOffset);\n}\nfunction isBlockNode(dom) {\n let desc = dom.pmViewDesc;\n return desc && desc.node && desc.node.isBlock;\n}\nfunction textNodeAfter(node, offset) {\n while (node && offset == node.childNodes.length && !hasBlockDesc(node)) {\n offset = domIndex(node) + 1;\n node = node.parentNode;\n }\n while (node && offset < node.childNodes.length) {\n let next = node.childNodes[offset];\n if (next.nodeType == 3) return next;\n if (next.nodeType == 1 && next.contentEditable == \"false\") break;\n node = next;\n offset = 0;\n }\n}\nfunction textNodeBefore(node, offset) {\n while (node && !offset && !hasBlockDesc(node)) {\n offset = domIndex(node);\n node = node.parentNode;\n }\n while (node && offset) {\n let next = node.childNodes[offset - 1];\n if (next.nodeType == 3) return next;\n if (next.nodeType == 1 && next.contentEditable == \"false\") break;\n node = next;\n offset = node.childNodes.length;\n }\n}\nfunction setSelFocus(view, node, offset) {\n if (node.nodeType != 3) {\n let before, after;\n if (after = textNodeAfter(node, offset)) {\n node = after;\n offset = 0;\n } else if (before = textNodeBefore(node, offset)) {\n node = before;\n offset = before.nodeValue.length;\n }\n }\n let sel = view.domSelection();\n if (!sel) return;\n if (selectionCollapsed(sel)) {\n let range = document.createRange();\n range.setEnd(node, offset);\n range.setStart(node, offset);\n sel.removeAllRanges();\n sel.addRange(range);\n } else if (sel.extend) {\n sel.extend(node, offset);\n }\n view.domObserver.setCurSelection();\n let {\n state\n } = view;\n // If no state update ends up happening, reset the selection.\n setTimeout(() => {\n if (view.state == state) selectionToDOM(view);\n }, 50);\n}\nfunction findDirection(view, pos) {\n let $pos = view.state.doc.resolve(pos);\n if (!(chrome || windows) && $pos.parent.inlineContent) {\n let coords = view.coordsAtPos(pos);\n if (pos > $pos.start()) {\n let before = view.coordsAtPos(pos - 1);\n let mid = (before.top + before.bottom) / 2;\n if (mid > coords.top && mid < coords.bottom && Math.abs(before.left - coords.left) > 1) return before.left < coords.left ? \"ltr\" : \"rtl\";\n }\n if (pos < $pos.end()) {\n let after = view.coordsAtPos(pos + 1);\n let mid = (after.top + after.bottom) / 2;\n if (mid > coords.top && mid < coords.bottom && Math.abs(after.left - coords.left) > 1) return after.left > coords.left ? \"ltr\" : \"rtl\";\n }\n }\n let computed = getComputedStyle(view.dom).direction;\n return computed == \"rtl\" ? \"rtl\" : \"ltr\";\n}\n// Check whether vertical selection motion would involve node\n// selections. If so, apply it (if not, the result is left to the\n// browser)\nfunction selectVertically(view, dir, mods) {\n let sel = view.state.selection;\n if (sel instanceof TextSelection && !sel.empty || mods.indexOf(\"s\") > -1) return false;\n if (mac && mods.indexOf(\"m\") > -1) return false;\n let {\n $from,\n $to\n } = sel;\n if (!$from.parent.inlineContent || view.endOfTextblock(dir < 0 ? \"up\" : \"down\")) {\n let next = moveSelectionBlock(view.state, dir);\n if (next && next instanceof NodeSelection) return apply(view, next);\n }\n if (!$from.parent.inlineContent) {\n let side = dir < 0 ? $from : $to;\n let beyond = sel instanceof AllSelection ? Selection.near(side, dir) : Selection.findFrom(side, dir);\n return beyond ? apply(view, beyond) : false;\n }\n return false;\n}\nfunction stopNativeHorizontalDelete(view, dir) {\n if (!(view.state.selection instanceof TextSelection)) return true;\n let {\n $head,\n $anchor,\n empty\n } = view.state.selection;\n if (!$head.sameParent($anchor)) return true;\n if (!empty) return false;\n if (view.endOfTextblock(dir > 0 ? \"forward\" : \"backward\")) return true;\n let nextNode = !$head.textOffset && (dir < 0 ? $head.nodeBefore : $head.nodeAfter);\n if (nextNode && !nextNode.isText) {\n let tr = view.state.tr;\n if (dir < 0) tr.delete($head.pos - nextNode.nodeSize, $head.pos);else tr.delete($head.pos, $head.pos + nextNode.nodeSize);\n view.dispatch(tr);\n return true;\n }\n return false;\n}\nfunction switchEditable(view, node, state) {\n view.domObserver.stop();\n node.contentEditable = state;\n view.domObserver.start();\n}\n// Issue #867 / #1090 / https://bugs.chromium.org/p/chromium/issues/detail?id=903821\n// In which Safari (and at some point in the past, Chrome) does really\n// wrong things when the down arrow is pressed when the cursor is\n// directly at the start of a textblock and has an uneditable node\n// after it\nfunction safariDownArrowBug(view) {\n if (!safari || view.state.selection.$head.parentOffset > 0) return false;\n let {\n focusNode,\n focusOffset\n } = view.domSelectionRange();\n if (focusNode && focusNode.nodeType == 1 && focusOffset == 0 && focusNode.firstChild && focusNode.firstChild.contentEditable == \"false\") {\n let child = focusNode.firstChild;\n switchEditable(view, child, \"true\");\n setTimeout(() => switchEditable(view, child, \"false\"), 20);\n }\n return false;\n}\n// A backdrop key mapping used to make sure we always suppress keys\n// that have a dangerous default effect, even if the commands they are\n// bound to return false, and to make sure that cursor-motion keys\n// find a cursor (as opposed to a node selection) when pressed. For\n// cursor-motion keys, the code in the handlers also takes care of\n// block selections.\nfunction getMods(event) {\n let result = \"\";\n if (event.ctrlKey) result += \"c\";\n if (event.metaKey) result += \"m\";\n if (event.altKey) result += \"a\";\n if (event.shiftKey) result += \"s\";\n return result;\n}\nfunction captureKeyDown(view, event) {\n let code = event.keyCode,\n mods = getMods(event);\n if (code == 8 || mac && code == 72 && mods == \"c\") {\n // Backspace, Ctrl-h on Mac\n return stopNativeHorizontalDelete(view, -1) || skipIgnoredNodes(view, -1);\n } else if (code == 46 && !event.shiftKey || mac && code == 68 && mods == \"c\") {\n // Delete, Ctrl-d on Mac\n return stopNativeHorizontalDelete(view, 1) || skipIgnoredNodes(view, 1);\n } else if (code == 13 || code == 27) {\n // Enter, Esc\n return true;\n } else if (code == 37 || mac && code == 66 && mods == \"c\") {\n // Left arrow, Ctrl-b on Mac\n let dir = code == 37 ? findDirection(view, view.state.selection.from) == \"ltr\" ? -1 : 1 : -1;\n return selectHorizontally(view, dir, mods) || skipIgnoredNodes(view, dir);\n } else if (code == 39 || mac && code == 70 && mods == \"c\") {\n // Right arrow, Ctrl-f on Mac\n let dir = code == 39 ? findDirection(view, view.state.selection.from) == \"ltr\" ? 1 : -1 : 1;\n return selectHorizontally(view, dir, mods) || skipIgnoredNodes(view, dir);\n } else if (code == 38 || mac && code == 80 && mods == \"c\") {\n // Up arrow, Ctrl-p on Mac\n return selectVertically(view, -1, mods) || skipIgnoredNodes(view, -1);\n } else if (code == 40 || mac && code == 78 && mods == \"c\") {\n // Down arrow, Ctrl-n on Mac\n return safariDownArrowBug(view) || selectVertically(view, 1, mods) || skipIgnoredNodes(view, 1);\n } else if (mods == (mac ? \"m\" : \"c\") && (code == 66 || code == 73 || code == 89 || code == 90)) {\n // Mod-[biyz]\n return true;\n }\n return false;\n}\nfunction serializeForClipboard(view, slice) {\n view.someProp(\"transformCopied\", f => {\n slice = f(slice, view);\n });\n let context = [],\n {\n content,\n openStart,\n openEnd\n } = slice;\n while (openStart > 1 && openEnd > 1 && content.childCount == 1 && content.firstChild.childCount == 1) {\n openStart--;\n openEnd--;\n let node = content.firstChild;\n context.push(node.type.name, node.attrs != node.type.defaultAttrs ? node.attrs : null);\n content = node.content;\n }\n let serializer = view.someProp(\"clipboardSerializer\") || DOMSerializer.fromSchema(view.state.schema);\n let doc = detachedDoc(),\n wrap = doc.createElement(\"div\");\n wrap.appendChild(serializer.serializeFragment(content, {\n document: doc\n }));\n let firstChild = wrap.firstChild,\n needsWrap,\n wrappers = 0;\n while (firstChild && firstChild.nodeType == 1 && (needsWrap = wrapMap[firstChild.nodeName.toLowerCase()])) {\n for (let i = needsWrap.length - 1; i >= 0; i--) {\n let wrapper = doc.createElement(needsWrap[i]);\n while (wrap.firstChild) wrapper.appendChild(wrap.firstChild);\n wrap.appendChild(wrapper);\n wrappers++;\n }\n firstChild = wrap.firstChild;\n }\n if (firstChild && firstChild.nodeType == 1) firstChild.setAttribute(\"data-pm-slice\", `${openStart} ${openEnd}${wrappers ? ` -${wrappers}` : \"\"} ${JSON.stringify(context)}`);\n let text = view.someProp(\"clipboardTextSerializer\", f => f(slice, view)) || slice.content.textBetween(0, slice.content.size, \"\\n\\n\");\n return {\n dom: wrap,\n text,\n slice\n };\n}\n// Read a slice of content from the clipboard (or drop data).\nfunction parseFromClipboard(view, text, html, plainText, $context) {\n let inCode = $context.parent.type.spec.code;\n let dom, slice;\n if (!html && !text) return null;\n let asText = text && (plainText || inCode || !html);\n if (asText) {\n view.someProp(\"transformPastedText\", f => {\n text = f(text, inCode || plainText, view);\n });\n if (inCode) return text ? new Slice(Fragment.from(view.state.schema.text(text.replace(/\\r\\n?/g, \"\\n\"))), 0, 0) : Slice.empty;\n let parsed = view.someProp(\"clipboardTextParser\", f => f(text, $context, plainText, view));\n if (parsed) {\n slice = parsed;\n } else {\n let marks = $context.marks();\n let {\n schema\n } = view.state,\n serializer = DOMSerializer.fromSchema(schema);\n dom = document.createElement(\"div\");\n text.split(/(?:\\r\\n?|\\n)+/).forEach(block => {\n let p = dom.appendChild(document.createElement(\"p\"));\n if (block) p.appendChild(serializer.serializeNode(schema.text(block, marks)));\n });\n }\n } else {\n view.someProp(\"transformPastedHTML\", f => {\n html = f(html, view);\n });\n dom = readHTML(html);\n if (webkit) restoreReplacedSpaces(dom);\n }\n let contextNode = dom && dom.querySelector(\"[data-pm-slice]\");\n let sliceData = contextNode && /^(\\d+) (\\d+)(?: -(\\d+))? (.*)/.exec(contextNode.getAttribute(\"data-pm-slice\") || \"\");\n if (sliceData && sliceData[3]) for (let i = +sliceData[3]; i > 0; i--) {\n let child = dom.firstChild;\n while (child && child.nodeType != 1) child = child.nextSibling;\n if (!child) break;\n dom = child;\n }\n if (!slice) {\n let parser = view.someProp(\"clipboardParser\") || view.someProp(\"domParser\") || DOMParser.fromSchema(view.state.schema);\n slice = parser.parseSlice(dom, {\n preserveWhitespace: !!(asText || sliceData),\n context: $context,\n ruleFromNode(dom) {\n if (dom.nodeName == \"BR\" && !dom.nextSibling && dom.parentNode && !inlineParents.test(dom.parentNode.nodeName)) return {\n ignore: true\n };\n return null;\n }\n });\n }\n if (sliceData) {\n slice = addContext(closeSlice(slice, +sliceData[1], +sliceData[2]), sliceData[4]);\n } else {\n // HTML wasn't created by ProseMirror. Make sure top-level siblings are coherent\n slice = Slice.maxOpen(normalizeSiblings(slice.content, $context), true);\n if (slice.openStart || slice.openEnd) {\n let openStart = 0,\n openEnd = 0;\n for (let node = slice.content.firstChild; openStart < slice.openStart && !node.type.spec.isolating; openStart++, node = node.firstChild) {}\n for (let node = slice.content.lastChild; openEnd < slice.openEnd && !node.type.spec.isolating; openEnd++, node = node.lastChild) {}\n slice = closeSlice(slice, openStart, openEnd);\n }\n }\n view.someProp(\"transformPasted\", f => {\n slice = f(slice, view);\n });\n return slice;\n}\nconst inlineParents = /^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;\n// Takes a slice parsed with parseSlice, which means there hasn't been\n// any content-expression checking done on the top nodes, tries to\n// find a parent node in the current context that might fit the nodes,\n// and if successful, rebuilds the slice so that it fits into that parent.\n//\n// This addresses the problem that Transform.replace expects a\n// coherent slice, and will fail to place a set of siblings that don't\n// fit anywhere in the schema.\nfunction normalizeSiblings(fragment, $context) {\n if (fragment.childCount < 2) return fragment;\n for (let d = $context.depth; d >= 0; d--) {\n let parent = $context.node(d);\n let match = parent.contentMatchAt($context.index(d));\n let lastWrap,\n result = [];\n fragment.forEach(node => {\n if (!result) return;\n let wrap = match.findWrapping(node.type),\n inLast;\n if (!wrap) return result = null;\n if (inLast = result.length && lastWrap.length && addToSibling(wrap, lastWrap, node, result[result.length - 1], 0)) {\n result[result.length - 1] = inLast;\n } else {\n if (result.length) result[result.length - 1] = closeRight(result[result.length - 1], lastWrap.length);\n let wrapped = withWrappers(node, wrap);\n result.push(wrapped);\n match = match.matchType(wrapped.type);\n lastWrap = wrap;\n }\n });\n if (result) return Fragment.from(result);\n }\n return fragment;\n}\nfunction withWrappers(node, wrap) {\n let from = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n for (let i = wrap.length - 1; i >= from; i--) node = wrap[i].create(null, Fragment.from(node));\n return node;\n}\n// Used to group adjacent nodes wrapped in similar parents by\n// normalizeSiblings into the same parent node\nfunction addToSibling(wrap, lastWrap, node, sibling, depth) {\n if (depth < wrap.length && depth < lastWrap.length && wrap[depth] == lastWrap[depth]) {\n let inner = addToSibling(wrap, lastWrap, node, sibling.lastChild, depth + 1);\n if (inner) return sibling.copy(sibling.content.replaceChild(sibling.childCount - 1, inner));\n let match = sibling.contentMatchAt(sibling.childCount);\n if (match.matchType(depth == wrap.length - 1 ? node.type : wrap[depth + 1])) return sibling.copy(sibling.content.append(Fragment.from(withWrappers(node, wrap, depth + 1))));\n }\n}\nfunction closeRight(node, depth) {\n if (depth == 0) return node;\n let fragment = node.content.replaceChild(node.childCount - 1, closeRight(node.lastChild, depth - 1));\n let fill = node.contentMatchAt(node.childCount).fillBefore(Fragment.empty, true);\n return node.copy(fragment.append(fill));\n}\nfunction closeRange(fragment, side, from, to, depth, openEnd) {\n let node = side < 0 ? fragment.firstChild : fragment.lastChild,\n inner = node.content;\n if (fragment.childCount > 1) openEnd = 0;\n if (depth < to - 1) inner = closeRange(inner, side, from, to, depth + 1, openEnd);\n if (depth >= from) inner = side < 0 ? node.contentMatchAt(0).fillBefore(inner, openEnd <= depth).append(inner) : inner.append(node.contentMatchAt(node.childCount).fillBefore(Fragment.empty, true));\n return fragment.replaceChild(side < 0 ? 0 : fragment.childCount - 1, node.copy(inner));\n}\nfunction closeSlice(slice, openStart, openEnd) {\n if (openStart < slice.openStart) slice = new Slice(closeRange(slice.content, -1, openStart, slice.openStart, 0, slice.openEnd), openStart, slice.openEnd);\n if (openEnd < slice.openEnd) slice = new Slice(closeRange(slice.content, 1, openEnd, slice.openEnd, 0, 0), slice.openStart, openEnd);\n return slice;\n}\n// Trick from jQuery -- some elements must be wrapped in other\n// elements for innerHTML to work. I.e. if you do `div.innerHTML =\n// \"..\"` the table cells are ignored.\nconst wrapMap = {\n thead: [\"table\"],\n tbody: [\"table\"],\n tfoot: [\"table\"],\n caption: [\"table\"],\n colgroup: [\"table\"],\n col: [\"table\", \"colgroup\"],\n tr: [\"table\", \"tbody\"],\n td: [\"table\", \"tbody\", \"tr\"],\n th: [\"table\", \"tbody\", \"tr\"]\n};\nlet _detachedDoc = null;\nfunction detachedDoc() {\n return _detachedDoc || (_detachedDoc = document.implementation.createHTMLDocument(\"title\"));\n}\nlet _policy = null;\nfunction maybeWrapTrusted(html) {\n let trustedTypes = window.trustedTypes;\n if (!trustedTypes) return html;\n // With the require-trusted-types-for CSP, Chrome will block\n // innerHTML, even on a detached document. This wraps the string in\n // a way that makes the browser allow us to use its parser again.\n if (!_policy) _policy = trustedTypes.createPolicy(\"ProseMirrorClipboard\", {\n createHTML: s => s\n });\n return _policy.createHTML(html);\n}\nfunction readHTML(html) {\n let metas = /^(\\s*]*>)*/.exec(html);\n if (metas) html = html.slice(metas[0].length);\n let elt = detachedDoc().createElement(\"div\");\n let firstTag = /<([a-z][^>\\s]+)/i.exec(html),\n wrap;\n if (wrap = firstTag && wrapMap[firstTag[1].toLowerCase()]) html = wrap.map(n => \"<\" + n + \">\").join(\"\") + html + wrap.map(n => \"\").reverse().join(\"\");\n elt.innerHTML = maybeWrapTrusted(html);\n if (wrap) for (let i = 0; i < wrap.length; i++) elt = elt.querySelector(wrap[i]) || elt;\n return elt;\n}\n// Webkit browsers do some hard-to-predict replacement of regular\n// spaces with non-breaking spaces when putting content on the\n// clipboard. This tries to convert such non-breaking spaces (which\n// will be wrapped in a plain span on Chrome, a span with class\n// Apple-converted-space on Safari) back to regular spaces.\nfunction restoreReplacedSpaces(dom) {\n let nodes = dom.querySelectorAll(chrome ? \"span:not([class]):not([style])\" : \"span.Apple-converted-space\");\n for (let i = 0; i < nodes.length; i++) {\n let node = nodes[i];\n if (node.childNodes.length == 1 && node.textContent == \"\\u00a0\" && node.parentNode) node.parentNode.replaceChild(dom.ownerDocument.createTextNode(\" \"), node);\n }\n}\nfunction addContext(slice, context) {\n if (!slice.size) return slice;\n let schema = slice.content.firstChild.type.schema,\n array;\n try {\n array = JSON.parse(context);\n } catch (e) {\n return slice;\n }\n let {\n content,\n openStart,\n openEnd\n } = slice;\n for (let i = array.length - 2; i >= 0; i -= 2) {\n let type = schema.nodes[array[i]];\n if (!type || type.hasRequiredAttrs()) break;\n content = Fragment.from(type.create(array[i + 1], content));\n openStart++;\n openEnd++;\n }\n return new Slice(content, openStart, openEnd);\n}\n\n// A collection of DOM events that occur within the editor, and callback functions\n// to invoke when the event fires.\nconst handlers = {};\nconst editHandlers = {};\nconst passiveHandlers = {\n touchstart: true,\n touchmove: true\n};\nclass InputState {\n constructor() {\n this.shiftKey = false;\n this.mouseDown = null;\n this.lastKeyCode = null;\n this.lastKeyCodeTime = 0;\n this.lastClick = {\n time: 0,\n x: 0,\n y: 0,\n type: \"\"\n };\n this.lastSelectionOrigin = null;\n this.lastSelectionTime = 0;\n this.lastIOSEnter = 0;\n this.lastIOSEnterFallbackTimeout = -1;\n this.lastFocus = 0;\n this.lastTouch = 0;\n this.lastChromeDelete = 0;\n this.composing = false;\n this.compositionNode = null;\n this.composingTimeout = -1;\n this.compositionNodes = [];\n this.compositionEndedAt = -2e8;\n this.compositionID = 1;\n // Set to a composition ID when there are pending changes at compositionend\n this.compositionPendingChanges = 0;\n this.domChangeCount = 0;\n this.eventHandlers = Object.create(null);\n this.hideSelectionGuard = null;\n }\n}\nfunction initInput(view) {\n for (let event in handlers) {\n let handler = handlers[event];\n view.dom.addEventListener(event, view.input.eventHandlers[event] = event => {\n if (eventBelongsToView(view, event) && !runCustomHandler(view, event) && (view.editable || !(event.type in editHandlers))) handler(view, event);\n }, passiveHandlers[event] ? {\n passive: true\n } : undefined);\n }\n // On Safari, for reasons beyond my understanding, adding an input\n // event handler makes an issue where the composition vanishes when\n // you press enter go away.\n if (safari) view.dom.addEventListener(\"input\", () => null);\n ensureListeners(view);\n}\nfunction setSelectionOrigin(view, origin) {\n view.input.lastSelectionOrigin = origin;\n view.input.lastSelectionTime = Date.now();\n}\nfunction destroyInput(view) {\n view.domObserver.stop();\n for (let type in view.input.eventHandlers) view.dom.removeEventListener(type, view.input.eventHandlers[type]);\n clearTimeout(view.input.composingTimeout);\n clearTimeout(view.input.lastIOSEnterFallbackTimeout);\n}\nfunction ensureListeners(view) {\n view.someProp(\"handleDOMEvents\", currentHandlers => {\n for (let type in currentHandlers) if (!view.input.eventHandlers[type]) view.dom.addEventListener(type, view.input.eventHandlers[type] = event => runCustomHandler(view, event));\n });\n}\nfunction runCustomHandler(view, event) {\n return view.someProp(\"handleDOMEvents\", handlers => {\n let handler = handlers[event.type];\n return handler ? handler(view, event) || event.defaultPrevented : false;\n });\n}\nfunction eventBelongsToView(view, event) {\n if (!event.bubbles) return true;\n if (event.defaultPrevented) return false;\n for (let node = event.target; node != view.dom; node = node.parentNode) if (!node || node.nodeType == 11 || node.pmViewDesc && node.pmViewDesc.stopEvent(event)) return false;\n return true;\n}\nfunction dispatchEvent(view, event) {\n if (!runCustomHandler(view, event) && handlers[event.type] && (view.editable || !(event.type in editHandlers))) handlers[event.type](view, event);\n}\neditHandlers.keydown = (view, _event) => {\n let event = _event;\n view.input.shiftKey = event.keyCode == 16 || event.shiftKey;\n if (inOrNearComposition(view, event)) return;\n view.input.lastKeyCode = event.keyCode;\n view.input.lastKeyCodeTime = Date.now();\n // Suppress enter key events on Chrome Android, because those tend\n // to be part of a confused sequence of composition events fired,\n // and handling them eagerly tends to corrupt the input.\n if (android && chrome && event.keyCode == 13) return;\n if (event.keyCode != 229) view.domObserver.forceFlush();\n // On iOS, if we preventDefault enter key presses, the virtual\n // keyboard gets confused. So the hack here is to set a flag that\n // makes the DOM change code recognize that what just happens should\n // be replaced by whatever the Enter key handlers do.\n if (ios && event.keyCode == 13 && !event.ctrlKey && !event.altKey && !event.metaKey) {\n let now = Date.now();\n view.input.lastIOSEnter = now;\n view.input.lastIOSEnterFallbackTimeout = setTimeout(() => {\n if (view.input.lastIOSEnter == now) {\n view.someProp(\"handleKeyDown\", f => f(view, keyEvent(13, \"Enter\")));\n view.input.lastIOSEnter = 0;\n }\n }, 200);\n } else if (view.someProp(\"handleKeyDown\", f => f(view, event)) || captureKeyDown(view, event)) {\n event.preventDefault();\n } else {\n setSelectionOrigin(view, \"key\");\n }\n};\neditHandlers.keyup = (view, event) => {\n if (event.keyCode == 16) view.input.shiftKey = false;\n};\neditHandlers.keypress = (view, _event) => {\n let event = _event;\n if (inOrNearComposition(view, event) || !event.charCode || event.ctrlKey && !event.altKey || mac && event.metaKey) return;\n if (view.someProp(\"handleKeyPress\", f => f(view, event))) {\n event.preventDefault();\n return;\n }\n let sel = view.state.selection;\n if (!(sel instanceof TextSelection) || !sel.$from.sameParent(sel.$to)) {\n let text = String.fromCharCode(event.charCode);\n if (!/[\\r\\n]/.test(text) && !view.someProp(\"handleTextInput\", f => f(view, sel.$from.pos, sel.$to.pos, text))) view.dispatch(view.state.tr.insertText(text).scrollIntoView());\n event.preventDefault();\n }\n};\nfunction eventCoords(event) {\n return {\n left: event.clientX,\n top: event.clientY\n };\n}\nfunction isNear(event, click) {\n let dx = click.x - event.clientX,\n dy = click.y - event.clientY;\n return dx * dx + dy * dy < 100;\n}\nfunction runHandlerOnContext(view, propName, pos, inside, event) {\n if (inside == -1) return false;\n let $pos = view.state.doc.resolve(inside);\n for (let i = $pos.depth + 1; i > 0; i--) {\n if (view.someProp(propName, f => i > $pos.depth ? f(view, pos, $pos.nodeAfter, $pos.before(i), event, true) : f(view, pos, $pos.node(i), $pos.before(i), event, false))) return true;\n }\n return false;\n}\nfunction updateSelection(view, selection, origin) {\n if (!view.focused) view.focus();\n if (view.state.selection.eq(selection)) return;\n let tr = view.state.tr.setSelection(selection);\n if (origin == \"pointer\") tr.setMeta(\"pointer\", true);\n view.dispatch(tr);\n}\nfunction selectClickedLeaf(view, inside) {\n if (inside == -1) return false;\n let $pos = view.state.doc.resolve(inside),\n node = $pos.nodeAfter;\n if (node && node.isAtom && NodeSelection.isSelectable(node)) {\n updateSelection(view, new NodeSelection($pos), \"pointer\");\n return true;\n }\n return false;\n}\nfunction selectClickedNode(view, inside) {\n if (inside == -1) return false;\n let sel = view.state.selection,\n selectedNode,\n selectAt;\n if (sel instanceof NodeSelection) selectedNode = sel.node;\n let $pos = view.state.doc.resolve(inside);\n for (let i = $pos.depth + 1; i > 0; i--) {\n let node = i > $pos.depth ? $pos.nodeAfter : $pos.node(i);\n if (NodeSelection.isSelectable(node)) {\n if (selectedNode && sel.$from.depth > 0 && i >= sel.$from.depth && $pos.before(sel.$from.depth + 1) == sel.$from.pos) selectAt = $pos.before(sel.$from.depth);else selectAt = $pos.before(i);\n break;\n }\n }\n if (selectAt != null) {\n updateSelection(view, NodeSelection.create(view.state.doc, selectAt), \"pointer\");\n return true;\n } else {\n return false;\n }\n}\nfunction handleSingleClick(view, pos, inside, event, selectNode) {\n return runHandlerOnContext(view, \"handleClickOn\", pos, inside, event) || view.someProp(\"handleClick\", f => f(view, pos, event)) || (selectNode ? selectClickedNode(view, inside) : selectClickedLeaf(view, inside));\n}\nfunction handleDoubleClick(view, pos, inside, event) {\n return runHandlerOnContext(view, \"handleDoubleClickOn\", pos, inside, event) || view.someProp(\"handleDoubleClick\", f => f(view, pos, event));\n}\nfunction handleTripleClick(view, pos, inside, event) {\n return runHandlerOnContext(view, \"handleTripleClickOn\", pos, inside, event) || view.someProp(\"handleTripleClick\", f => f(view, pos, event)) || defaultTripleClick(view, inside, event);\n}\nfunction defaultTripleClick(view, inside, event) {\n if (event.button != 0) return false;\n let doc = view.state.doc;\n if (inside == -1) {\n if (doc.inlineContent) {\n updateSelection(view, TextSelection.create(doc, 0, doc.content.size), \"pointer\");\n return true;\n }\n return false;\n }\n let $pos = doc.resolve(inside);\n for (let i = $pos.depth + 1; i > 0; i--) {\n let node = i > $pos.depth ? $pos.nodeAfter : $pos.node(i);\n let nodePos = $pos.before(i);\n if (node.inlineContent) updateSelection(view, TextSelection.create(doc, nodePos + 1, nodePos + 1 + node.content.size), \"pointer\");else if (NodeSelection.isSelectable(node)) updateSelection(view, NodeSelection.create(doc, nodePos), \"pointer\");else continue;\n return true;\n }\n}\nfunction forceDOMFlush(view) {\n return endComposition(view);\n}\nconst selectNodeModifier = mac ? \"metaKey\" : \"ctrlKey\";\nhandlers.mousedown = (view, _event) => {\n let event = _event;\n view.input.shiftKey = event.shiftKey;\n let flushed = forceDOMFlush(view);\n let now = Date.now(),\n type = \"singleClick\";\n if (now - view.input.lastClick.time < 500 && isNear(event, view.input.lastClick) && !event[selectNodeModifier]) {\n if (view.input.lastClick.type == \"singleClick\") type = \"doubleClick\";else if (view.input.lastClick.type == \"doubleClick\") type = \"tripleClick\";\n }\n view.input.lastClick = {\n time: now,\n x: event.clientX,\n y: event.clientY,\n type\n };\n let pos = view.posAtCoords(eventCoords(event));\n if (!pos) return;\n if (type == \"singleClick\") {\n if (view.input.mouseDown) view.input.mouseDown.done();\n view.input.mouseDown = new MouseDown(view, pos, event, !!flushed);\n } else if ((type == \"doubleClick\" ? handleDoubleClick : handleTripleClick)(view, pos.pos, pos.inside, event)) {\n event.preventDefault();\n } else {\n setSelectionOrigin(view, \"pointer\");\n }\n};\nclass MouseDown {\n constructor(view, pos, event, flushed) {\n this.view = view;\n this.pos = pos;\n this.event = event;\n this.flushed = flushed;\n this.delayedSelectionSync = false;\n this.mightDrag = null;\n this.startDoc = view.state.doc;\n this.selectNode = !!event[selectNodeModifier];\n this.allowDefault = event.shiftKey;\n let targetNode, targetPos;\n if (pos.inside > -1) {\n targetNode = view.state.doc.nodeAt(pos.inside);\n targetPos = pos.inside;\n } else {\n let $pos = view.state.doc.resolve(pos.pos);\n targetNode = $pos.parent;\n targetPos = $pos.depth ? $pos.before() : 0;\n }\n const target = flushed ? null : event.target;\n const targetDesc = target ? view.docView.nearestDesc(target, true) : null;\n this.target = targetDesc && targetDesc.dom.nodeType == 1 ? targetDesc.dom : null;\n let {\n selection\n } = view.state;\n if (event.button == 0 && targetNode.type.spec.draggable && targetNode.type.spec.selectable !== false || selection instanceof NodeSelection && selection.from <= targetPos && selection.to > targetPos) this.mightDrag = {\n node: targetNode,\n pos: targetPos,\n addAttr: !!(this.target && !this.target.draggable),\n setUneditable: !!(this.target && gecko && !this.target.hasAttribute(\"contentEditable\"))\n };\n if (this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable)) {\n this.view.domObserver.stop();\n if (this.mightDrag.addAttr) this.target.draggable = true;\n if (this.mightDrag.setUneditable) setTimeout(() => {\n if (this.view.input.mouseDown == this) this.target.setAttribute(\"contentEditable\", \"false\");\n }, 20);\n this.view.domObserver.start();\n }\n view.root.addEventListener(\"mouseup\", this.up = this.up.bind(this));\n view.root.addEventListener(\"mousemove\", this.move = this.move.bind(this));\n setSelectionOrigin(view, \"pointer\");\n }\n done() {\n this.view.root.removeEventListener(\"mouseup\", this.up);\n this.view.root.removeEventListener(\"mousemove\", this.move);\n if (this.mightDrag && this.target) {\n this.view.domObserver.stop();\n if (this.mightDrag.addAttr) this.target.removeAttribute(\"draggable\");\n if (this.mightDrag.setUneditable) this.target.removeAttribute(\"contentEditable\");\n this.view.domObserver.start();\n }\n if (this.delayedSelectionSync) setTimeout(() => selectionToDOM(this.view));\n this.view.input.mouseDown = null;\n }\n up(event) {\n this.done();\n if (!this.view.dom.contains(event.target)) return;\n let pos = this.pos;\n if (this.view.state.doc != this.startDoc) pos = this.view.posAtCoords(eventCoords(event));\n this.updateAllowDefault(event);\n if (this.allowDefault || !pos) {\n setSelectionOrigin(this.view, \"pointer\");\n } else if (handleSingleClick(this.view, pos.pos, pos.inside, event, this.selectNode)) {\n event.preventDefault();\n } else if (event.button == 0 && (this.flushed ||\n // Safari ignores clicks on draggable elements\n safari && this.mightDrag && !this.mightDrag.node.isAtom ||\n // Chrome will sometimes treat a node selection as a\n // cursor, but still report that the node is selected\n // when asked through getSelection. You'll then get a\n // situation where clicking at the point where that\n // (hidden) cursor is doesn't change the selection, and\n // thus doesn't get a reaction from ProseMirror. This\n // works around that.\n chrome && !this.view.state.selection.visible && Math.min(Math.abs(pos.pos - this.view.state.selection.from), Math.abs(pos.pos - this.view.state.selection.to)) <= 2)) {\n updateSelection(this.view, Selection.near(this.view.state.doc.resolve(pos.pos)), \"pointer\");\n event.preventDefault();\n } else {\n setSelectionOrigin(this.view, \"pointer\");\n }\n }\n move(event) {\n this.updateAllowDefault(event);\n setSelectionOrigin(this.view, \"pointer\");\n if (event.buttons == 0) this.done();\n }\n updateAllowDefault(event) {\n if (!this.allowDefault && (Math.abs(this.event.x - event.clientX) > 4 || Math.abs(this.event.y - event.clientY) > 4)) this.allowDefault = true;\n }\n}\nhandlers.touchstart = view => {\n view.input.lastTouch = Date.now();\n forceDOMFlush(view);\n setSelectionOrigin(view, \"pointer\");\n};\nhandlers.touchmove = view => {\n view.input.lastTouch = Date.now();\n setSelectionOrigin(view, \"pointer\");\n};\nhandlers.contextmenu = view => forceDOMFlush(view);\nfunction inOrNearComposition(view, event) {\n if (view.composing) return true;\n // See https://www.stum.de/2016/06/24/handling-ime-events-in-javascript/.\n // On Japanese input method editors (IMEs), the Enter key is used to confirm character\n // selection. On Safari, when Enter is pressed, compositionend and keydown events are\n // emitted. The keydown event triggers newline insertion, which we don't want.\n // This method returns true if the keydown event should be ignored.\n // We only ignore it once, as pressing Enter a second time *should* insert a newline.\n // Furthermore, the keydown event timestamp must be close to the compositionEndedAt timestamp.\n // This guards against the case where compositionend is triggered without the keyboard\n // (e.g. character confirmation may be done with the mouse), and keydown is triggered\n // afterwards- we wouldn't want to ignore the keydown event in this case.\n if (safari && Math.abs(event.timeStamp - view.input.compositionEndedAt) < 500) {\n view.input.compositionEndedAt = -2e8;\n return true;\n }\n return false;\n}\n// Drop active composition after 5 seconds of inactivity on Android\nconst timeoutComposition = android ? 5000 : -1;\neditHandlers.compositionstart = editHandlers.compositionupdate = view => {\n if (!view.composing) {\n view.domObserver.flush();\n let {\n state\n } = view,\n $pos = state.selection.$to;\n if (state.selection instanceof TextSelection && (state.storedMarks || !$pos.textOffset && $pos.parentOffset && $pos.nodeBefore.marks.some(m => m.type.spec.inclusive === false))) {\n // Need to wrap the cursor in mark nodes different from the ones in the DOM context\n view.markCursor = view.state.storedMarks || $pos.marks();\n endComposition(view, true);\n view.markCursor = null;\n } else {\n endComposition(view, !state.selection.empty);\n // In firefox, if the cursor is after but outside a marked node,\n // the inserted text won't inherit the marks. So this moves it\n // inside if necessary.\n if (gecko && state.selection.empty && $pos.parentOffset && !$pos.textOffset && $pos.nodeBefore.marks.length) {\n let sel = view.domSelectionRange();\n for (let node = sel.focusNode, offset = sel.focusOffset; node && node.nodeType == 1 && offset != 0;) {\n let before = offset < 0 ? node.lastChild : node.childNodes[offset - 1];\n if (!before) break;\n if (before.nodeType == 3) {\n let sel = view.domSelection();\n if (sel) sel.collapse(before, before.nodeValue.length);\n break;\n } else {\n node = before;\n offset = -1;\n }\n }\n }\n }\n view.input.composing = true;\n }\n scheduleComposeEnd(view, timeoutComposition);\n};\neditHandlers.compositionend = (view, event) => {\n if (view.composing) {\n view.input.composing = false;\n view.input.compositionEndedAt = event.timeStamp;\n view.input.compositionPendingChanges = view.domObserver.pendingRecords().length ? view.input.compositionID : 0;\n view.input.compositionNode = null;\n if (view.input.compositionPendingChanges) Promise.resolve().then(() => view.domObserver.flush());\n view.input.compositionID++;\n scheduleComposeEnd(view, 20);\n }\n};\nfunction scheduleComposeEnd(view, delay) {\n clearTimeout(view.input.composingTimeout);\n if (delay > -1) view.input.composingTimeout = setTimeout(() => endComposition(view), delay);\n}\nfunction clearComposition(view) {\n if (view.composing) {\n view.input.composing = false;\n view.input.compositionEndedAt = timestampFromCustomEvent();\n }\n while (view.input.compositionNodes.length > 0) view.input.compositionNodes.pop().markParentsDirty();\n}\nfunction findCompositionNode(view) {\n let sel = view.domSelectionRange();\n if (!sel.focusNode) return null;\n let textBefore = textNodeBefore$1(sel.focusNode, sel.focusOffset);\n let textAfter = textNodeAfter$1(sel.focusNode, sel.focusOffset);\n if (textBefore && textAfter && textBefore != textAfter) {\n let descAfter = textAfter.pmViewDesc,\n lastChanged = view.domObserver.lastChangedTextNode;\n if (textBefore == lastChanged || textAfter == lastChanged) return lastChanged;\n if (!descAfter || !descAfter.isText(textAfter.nodeValue)) {\n return textAfter;\n } else if (view.input.compositionNode == textAfter) {\n let descBefore = textBefore.pmViewDesc;\n if (!(!descBefore || !descBefore.isText(textBefore.nodeValue))) return textAfter;\n }\n }\n return textBefore || textAfter;\n}\nfunction timestampFromCustomEvent() {\n let event = document.createEvent(\"Event\");\n event.initEvent(\"event\", true, true);\n return event.timeStamp;\n}\n/**\n@internal\n*/\nfunction endComposition(view) {\n let restarting = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n if (android && view.domObserver.flushingSoon >= 0) return;\n view.domObserver.forceFlush();\n clearComposition(view);\n if (restarting || view.docView && view.docView.dirty) {\n let sel = selectionFromDOM(view);\n if (sel && !sel.eq(view.state.selection)) view.dispatch(view.state.tr.setSelection(sel));else if ((view.markCursor || restarting) && !view.state.selection.empty) view.dispatch(view.state.tr.deleteSelection());else view.updateState(view.state);\n return true;\n }\n return false;\n}\nfunction captureCopy(view, dom) {\n // The extra wrapper is somehow necessary on IE/Edge to prevent the\n // content from being mangled when it is put onto the clipboard\n if (!view.dom.parentNode) return;\n let wrap = view.dom.parentNode.appendChild(document.createElement(\"div\"));\n wrap.appendChild(dom);\n wrap.style.cssText = \"position: fixed; left: -10000px; top: 10px\";\n let sel = getSelection(),\n range = document.createRange();\n range.selectNodeContents(dom);\n // Done because IE will fire a selectionchange moving the selection\n // to its start when removeAllRanges is called and the editor still\n // has focus (which will mess up the editor's selection state).\n view.dom.blur();\n sel.removeAllRanges();\n sel.addRange(range);\n setTimeout(() => {\n if (wrap.parentNode) wrap.parentNode.removeChild(wrap);\n view.focus();\n }, 50);\n}\n// This is very crude, but unfortunately both these browsers _pretend_\n// that they have a clipboard API—all the objects and methods are\n// there, they just don't work, and they are hard to test.\nconst brokenClipboardAPI = ie && ie_version < 15 || ios && webkit_version < 604;\nhandlers.copy = editHandlers.cut = (view, _event) => {\n let event = _event;\n let sel = view.state.selection,\n cut = event.type == \"cut\";\n if (sel.empty) return;\n // IE and Edge's clipboard interface is completely broken\n let data = brokenClipboardAPI ? null : event.clipboardData;\n let slice = sel.content(),\n {\n dom,\n text\n } = serializeForClipboard(view, slice);\n if (data) {\n event.preventDefault();\n data.clearData();\n data.setData(\"text/html\", dom.innerHTML);\n data.setData(\"text/plain\", text);\n } else {\n captureCopy(view, dom);\n }\n if (cut) view.dispatch(view.state.tr.deleteSelection().scrollIntoView().setMeta(\"uiEvent\", \"cut\"));\n};\nfunction sliceSingleNode(slice) {\n return slice.openStart == 0 && slice.openEnd == 0 && slice.content.childCount == 1 ? slice.content.firstChild : null;\n}\nfunction capturePaste(view, event) {\n if (!view.dom.parentNode) return;\n let plainText = view.input.shiftKey || view.state.selection.$from.parent.type.spec.code;\n let target = view.dom.parentNode.appendChild(document.createElement(plainText ? \"textarea\" : \"div\"));\n if (!plainText) target.contentEditable = \"true\";\n target.style.cssText = \"position: fixed; left: -10000px; top: 10px\";\n target.focus();\n let plain = view.input.shiftKey && view.input.lastKeyCode != 45;\n setTimeout(() => {\n view.focus();\n if (target.parentNode) target.parentNode.removeChild(target);\n if (plainText) doPaste(view, target.value, null, plain, event);else doPaste(view, target.textContent, target.innerHTML, plain, event);\n }, 50);\n}\nfunction doPaste(view, text, html, preferPlain, event) {\n let slice = parseFromClipboard(view, text, html, preferPlain, view.state.selection.$from);\n if (view.someProp(\"handlePaste\", f => f(view, event, slice || Slice.empty))) return true;\n if (!slice) return false;\n let singleNode = sliceSingleNode(slice);\n let tr = singleNode ? view.state.tr.replaceSelectionWith(singleNode, preferPlain) : view.state.tr.replaceSelection(slice);\n view.dispatch(tr.scrollIntoView().setMeta(\"paste\", true).setMeta(\"uiEvent\", \"paste\"));\n return true;\n}\nfunction getText(clipboardData) {\n let text = clipboardData.getData(\"text/plain\") || clipboardData.getData(\"Text\");\n if (text) return text;\n let uris = clipboardData.getData(\"text/uri-list\");\n return uris ? uris.replace(/\\r?\\n/g, \" \") : \"\";\n}\neditHandlers.paste = (view, _event) => {\n let event = _event;\n // Handling paste from JavaScript during composition is very poorly\n // handled by browsers, so as a dodgy but preferable kludge, we just\n // let the browser do its native thing there, except on Android,\n // where the editor is almost always composing.\n if (view.composing && !android) return;\n let data = brokenClipboardAPI ? null : event.clipboardData;\n let plain = view.input.shiftKey && view.input.lastKeyCode != 45;\n if (data && doPaste(view, getText(data), data.getData(\"text/html\"), plain, event)) event.preventDefault();else capturePaste(view, event);\n};\nclass Dragging {\n constructor(slice, move, node) {\n this.slice = slice;\n this.move = move;\n this.node = node;\n }\n}\nconst dragCopyModifier = mac ? \"altKey\" : \"ctrlKey\";\nhandlers.dragstart = (view, _event) => {\n let event = _event;\n let mouseDown = view.input.mouseDown;\n if (mouseDown) mouseDown.done();\n if (!event.dataTransfer) return;\n let sel = view.state.selection;\n let pos = sel.empty ? null : view.posAtCoords(eventCoords(event));\n let node;\n if (pos && pos.pos >= sel.from && pos.pos <= (sel instanceof NodeSelection ? sel.to - 1 : sel.to)) ;else if (mouseDown && mouseDown.mightDrag) {\n node = NodeSelection.create(view.state.doc, mouseDown.mightDrag.pos);\n } else if (event.target && event.target.nodeType == 1) {\n let desc = view.docView.nearestDesc(event.target, true);\n if (desc && desc.node.type.spec.draggable && desc != view.docView) node = NodeSelection.create(view.state.doc, desc.posBefore);\n }\n let draggedSlice = (node || view.state.selection).content();\n let {\n dom,\n text,\n slice\n } = serializeForClipboard(view, draggedSlice);\n // Pre-120 Chrome versions clear files when calling `clearData` (#1472)\n if (!event.dataTransfer.files.length || !chrome || chrome_version > 120) event.dataTransfer.clearData();\n event.dataTransfer.setData(brokenClipboardAPI ? \"Text\" : \"text/html\", dom.innerHTML);\n // See https://github.com/ProseMirror/prosemirror/issues/1156\n event.dataTransfer.effectAllowed = \"copyMove\";\n if (!brokenClipboardAPI) event.dataTransfer.setData(\"text/plain\", text);\n view.dragging = new Dragging(slice, !event[dragCopyModifier], node);\n};\nhandlers.dragend = view => {\n let dragging = view.dragging;\n window.setTimeout(() => {\n if (view.dragging == dragging) view.dragging = null;\n }, 50);\n};\neditHandlers.dragover = editHandlers.dragenter = (_, e) => e.preventDefault();\neditHandlers.drop = (view, _event) => {\n let event = _event;\n let dragging = view.dragging;\n view.dragging = null;\n if (!event.dataTransfer) return;\n let eventPos = view.posAtCoords(eventCoords(event));\n if (!eventPos) return;\n let $mouse = view.state.doc.resolve(eventPos.pos);\n let slice = dragging && dragging.slice;\n if (slice) {\n view.someProp(\"transformPasted\", f => {\n slice = f(slice, view);\n });\n } else {\n slice = parseFromClipboard(view, getText(event.dataTransfer), brokenClipboardAPI ? null : event.dataTransfer.getData(\"text/html\"), false, $mouse);\n }\n let move = !!(dragging && !event[dragCopyModifier]);\n if (view.someProp(\"handleDrop\", f => f(view, event, slice || Slice.empty, move))) {\n event.preventDefault();\n return;\n }\n if (!slice) return;\n event.preventDefault();\n let insertPos = slice ? dropPoint(view.state.doc, $mouse.pos, slice) : $mouse.pos;\n if (insertPos == null) insertPos = $mouse.pos;\n let tr = view.state.tr;\n if (move) {\n let {\n node\n } = dragging;\n if (node) node.replace(tr);else tr.deleteSelection();\n }\n let pos = tr.mapping.map(insertPos);\n let isNode = slice.openStart == 0 && slice.openEnd == 0 && slice.content.childCount == 1;\n let beforeInsert = tr.doc;\n if (isNode) tr.replaceRangeWith(pos, pos, slice.content.firstChild);else tr.replaceRange(pos, pos, slice);\n if (tr.doc.eq(beforeInsert)) return;\n let $pos = tr.doc.resolve(pos);\n if (isNode && NodeSelection.isSelectable(slice.content.firstChild) && $pos.nodeAfter && $pos.nodeAfter.sameMarkup(slice.content.firstChild)) {\n tr.setSelection(new NodeSelection($pos));\n } else {\n let end = tr.mapping.map(insertPos);\n tr.mapping.maps[tr.mapping.maps.length - 1].forEach((_from, _to, _newFrom, newTo) => end = newTo);\n tr.setSelection(selectionBetween(view, $pos, tr.doc.resolve(end)));\n }\n view.focus();\n view.dispatch(tr.setMeta(\"uiEvent\", \"drop\"));\n};\nhandlers.focus = view => {\n view.input.lastFocus = Date.now();\n if (!view.focused) {\n view.domObserver.stop();\n view.dom.classList.add(\"ProseMirror-focused\");\n view.domObserver.start();\n view.focused = true;\n setTimeout(() => {\n if (view.docView && view.hasFocus() && !view.domObserver.currentSelection.eq(view.domSelectionRange())) selectionToDOM(view);\n }, 20);\n }\n};\nhandlers.blur = (view, _event) => {\n let event = _event;\n if (view.focused) {\n view.domObserver.stop();\n view.dom.classList.remove(\"ProseMirror-focused\");\n view.domObserver.start();\n if (event.relatedTarget && view.dom.contains(event.relatedTarget)) view.domObserver.currentSelection.clear();\n view.focused = false;\n }\n};\nhandlers.beforeinput = (view, _event) => {\n let event = _event;\n // We should probably do more with beforeinput events, but support\n // is so spotty that I'm still waiting to see where they are going.\n // Very specific hack to deal with backspace sometimes failing on\n // Chrome Android when after an uneditable node.\n if (chrome && android && event.inputType == \"deleteContentBackward\") {\n view.domObserver.flushSoon();\n let {\n domChangeCount\n } = view.input;\n setTimeout(() => {\n if (view.input.domChangeCount != domChangeCount) return; // Event already had some effect\n // This bug tends to close the virtual keyboard, so we refocus\n view.dom.blur();\n view.focus();\n if (view.someProp(\"handleKeyDown\", f => f(view, keyEvent(8, \"Backspace\")))) return;\n let {\n $cursor\n } = view.state.selection;\n // Crude approximation of backspace behavior when no command handled it\n if ($cursor && $cursor.pos > 0) view.dispatch(view.state.tr.delete($cursor.pos - 1, $cursor.pos).scrollIntoView());\n }, 50);\n }\n};\n// Make sure all handlers get registered\nfor (let prop in editHandlers) handlers[prop] = editHandlers[prop];\nfunction compareObjs(a, b) {\n if (a == b) return true;\n for (let p in a) if (a[p] !== b[p]) return false;\n for (let p in b) if (!(p in a)) return false;\n return true;\n}\nclass WidgetType {\n constructor(toDOM, spec) {\n this.toDOM = toDOM;\n this.spec = spec || noSpec;\n this.side = this.spec.side || 0;\n }\n map(mapping, span, offset, oldOffset) {\n let {\n pos,\n deleted\n } = mapping.mapResult(span.from + oldOffset, this.side < 0 ? -1 : 1);\n return deleted ? null : new Decoration(pos - offset, pos - offset, this);\n }\n valid() {\n return true;\n }\n eq(other) {\n return this == other || other instanceof WidgetType && (this.spec.key && this.spec.key == other.spec.key || this.toDOM == other.toDOM && compareObjs(this.spec, other.spec));\n }\n destroy(node) {\n if (this.spec.destroy) this.spec.destroy(node);\n }\n}\nclass InlineType {\n constructor(attrs, spec) {\n this.attrs = attrs;\n this.spec = spec || noSpec;\n }\n map(mapping, span, offset, oldOffset) {\n let from = mapping.map(span.from + oldOffset, this.spec.inclusiveStart ? -1 : 1) - offset;\n let to = mapping.map(span.to + oldOffset, this.spec.inclusiveEnd ? 1 : -1) - offset;\n return from >= to ? null : new Decoration(from, to, this);\n }\n valid(_, span) {\n return span.from < span.to;\n }\n eq(other) {\n return this == other || other instanceof InlineType && compareObjs(this.attrs, other.attrs) && compareObjs(this.spec, other.spec);\n }\n static is(span) {\n return span.type instanceof InlineType;\n }\n destroy() {}\n}\nclass NodeType {\n constructor(attrs, spec) {\n this.attrs = attrs;\n this.spec = spec || noSpec;\n }\n map(mapping, span, offset, oldOffset) {\n let from = mapping.mapResult(span.from + oldOffset, 1);\n if (from.deleted) return null;\n let to = mapping.mapResult(span.to + oldOffset, -1);\n if (to.deleted || to.pos <= from.pos) return null;\n return new Decoration(from.pos - offset, to.pos - offset, this);\n }\n valid(node, span) {\n let {\n index,\n offset\n } = node.content.findIndex(span.from),\n child;\n return offset == span.from && !(child = node.child(index)).isText && offset + child.nodeSize == span.to;\n }\n eq(other) {\n return this == other || other instanceof NodeType && compareObjs(this.attrs, other.attrs) && compareObjs(this.spec, other.spec);\n }\n destroy() {}\n}\n/**\nDecoration objects can be provided to the view through the\n[`decorations` prop](https://prosemirror.net/docs/ref/#view.EditorProps.decorations). They come in\nseveral variants—see the static members of this class for details.\n*/\nclass Decoration {\n /**\n @internal\n */\n constructor(\n /**\n The start position of the decoration.\n */\n from,\n /**\n The end position. Will be the same as `from` for [widget\n decorations](https://prosemirror.net/docs/ref/#view.Decoration^widget).\n */\n to,\n /**\n @internal\n */\n type) {\n this.from = from;\n this.to = to;\n this.type = type;\n }\n /**\n @internal\n */\n copy(from, to) {\n return new Decoration(from, to, this.type);\n }\n /**\n @internal\n */\n eq(other) {\n let offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return this.type.eq(other.type) && this.from + offset == other.from && this.to + offset == other.to;\n }\n /**\n @internal\n */\n map(mapping, offset, oldOffset) {\n return this.type.map(mapping, this, offset, oldOffset);\n }\n /**\n Creates a widget decoration, which is a DOM node that's shown in\n the document at the given position. It is recommended that you\n delay rendering the widget by passing a function that will be\n called when the widget is actually drawn in a view, but you can\n also directly pass a DOM node. `getPos` can be used to find the\n widget's current document position.\n */\n static widget(pos, toDOM, spec) {\n return new Decoration(pos, pos, new WidgetType(toDOM, spec));\n }\n /**\n Creates an inline decoration, which adds the given attributes to\n each inline node between `from` and `to`.\n */\n static inline(from, to, attrs, spec) {\n return new Decoration(from, to, new InlineType(attrs, spec));\n }\n /**\n Creates a node decoration. `from` and `to` should point precisely\n before and after a node in the document. That node, and only that\n node, will receive the given attributes.\n */\n static node(from, to, attrs, spec) {\n return new Decoration(from, to, new NodeType(attrs, spec));\n }\n /**\n The spec provided when creating this decoration. Can be useful\n if you've stored extra information in that object.\n */\n get spec() {\n return this.type.spec;\n }\n /**\n @internal\n */\n get inline() {\n return this.type instanceof InlineType;\n }\n /**\n @internal\n */\n get widget() {\n return this.type instanceof WidgetType;\n }\n}\nconst none = [],\n noSpec = {};\n/**\nA collection of [decorations](https://prosemirror.net/docs/ref/#view.Decoration), organized in such\na way that the drawing algorithm can efficiently use and compare\nthem. This is a persistent data structure—it is not modified,\nupdates create a new value.\n*/\nclass DecorationSet {\n /**\n @internal\n */\n constructor(local, children) {\n this.local = local.length ? local : none;\n this.children = children.length ? children : none;\n }\n /**\n Create a set of decorations, using the structure of the given\n document. This will consume (modify) the `decorations` array, so\n you must make a copy if you want need to preserve that.\n */\n static create(doc, decorations) {\n return decorations.length ? buildTree(decorations, doc, 0, noSpec) : empty;\n }\n /**\n Find all decorations in this set which touch the given range\n (including decorations that start or end directly at the\n boundaries) and match the given predicate on their spec. When\n `start` and `end` are omitted, all decorations in the set are\n considered. When `predicate` isn't given, all decorations are\n assumed to match.\n */\n find(start, end, predicate) {\n let result = [];\n this.findInner(start == null ? 0 : start, end == null ? 1e9 : end, result, 0, predicate);\n return result;\n }\n findInner(start, end, result, offset, predicate) {\n for (let i = 0; i < this.local.length; i++) {\n let span = this.local[i];\n if (span.from <= end && span.to >= start && (!predicate || predicate(span.spec))) result.push(span.copy(span.from + offset, span.to + offset));\n }\n for (let i = 0; i < this.children.length; i += 3) {\n if (this.children[i] < end && this.children[i + 1] > start) {\n let childOff = this.children[i] + 1;\n this.children[i + 2].findInner(start - childOff, end - childOff, result, offset + childOff, predicate);\n }\n }\n }\n /**\n Map the set of decorations in response to a change in the\n document.\n */\n map(mapping, doc, options) {\n if (this == empty || mapping.maps.length == 0) return this;\n return this.mapInner(mapping, doc, 0, 0, options || noSpec);\n }\n /**\n @internal\n */\n mapInner(mapping, node, offset, oldOffset, options) {\n let newLocal;\n for (let i = 0; i < this.local.length; i++) {\n let mapped = this.local[i].map(mapping, offset, oldOffset);\n if (mapped && mapped.type.valid(node, mapped)) (newLocal || (newLocal = [])).push(mapped);else if (options.onRemove) options.onRemove(this.local[i].spec);\n }\n if (this.children.length) return mapChildren(this.children, newLocal || [], mapping, node, offset, oldOffset, options);else return newLocal ? new DecorationSet(newLocal.sort(byPos), none) : empty;\n }\n /**\n Add the given array of decorations to the ones in the set,\n producing a new set. Consumes the `decorations` array. Needs\n access to the current document to create the appropriate tree\n structure.\n */\n add(doc, decorations) {\n if (!decorations.length) return this;\n if (this == empty) return DecorationSet.create(doc, decorations);\n return this.addInner(doc, decorations, 0);\n }\n addInner(doc, decorations, offset) {\n let children,\n childIndex = 0;\n doc.forEach((childNode, childOffset) => {\n let baseOffset = childOffset + offset,\n found;\n if (!(found = takeSpansForNode(decorations, childNode, baseOffset))) return;\n if (!children) children = this.children.slice();\n while (childIndex < children.length && children[childIndex] < childOffset) childIndex += 3;\n if (children[childIndex] == childOffset) children[childIndex + 2] = children[childIndex + 2].addInner(childNode, found, baseOffset + 1);else children.splice(childIndex, 0, childOffset, childOffset + childNode.nodeSize, buildTree(found, childNode, baseOffset + 1, noSpec));\n childIndex += 3;\n });\n let local = moveSpans(childIndex ? withoutNulls(decorations) : decorations, -offset);\n for (let i = 0; i < local.length; i++) if (!local[i].type.valid(doc, local[i])) local.splice(i--, 1);\n return new DecorationSet(local.length ? this.local.concat(local).sort(byPos) : this.local, children || this.children);\n }\n /**\n Create a new set that contains the decorations in this set, minus\n the ones in the given array.\n */\n remove(decorations) {\n if (decorations.length == 0 || this == empty) return this;\n return this.removeInner(decorations, 0);\n }\n removeInner(decorations, offset) {\n let children = this.children,\n local = this.local;\n for (let i = 0; i < children.length; i += 3) {\n let found;\n let from = children[i] + offset,\n to = children[i + 1] + offset;\n for (let j = 0, span; j < decorations.length; j++) if (span = decorations[j]) {\n if (span.from > from && span.to < to) {\n decorations[j] = null;\n (found || (found = [])).push(span);\n }\n }\n if (!found) continue;\n if (children == this.children) children = this.children.slice();\n let removed = children[i + 2].removeInner(found, from + 1);\n if (removed != empty) {\n children[i + 2] = removed;\n } else {\n children.splice(i, 3);\n i -= 3;\n }\n }\n if (local.length) for (let i = 0, span; i < decorations.length; i++) if (span = decorations[i]) {\n for (let j = 0; j < local.length; j++) if (local[j].eq(span, offset)) {\n if (local == this.local) local = this.local.slice();\n local.splice(j--, 1);\n }\n }\n if (children == this.children && local == this.local) return this;\n return local.length || children.length ? new DecorationSet(local, children) : empty;\n }\n forChild(offset, node) {\n if (this == empty) return this;\n if (node.isLeaf) return DecorationSet.empty;\n let child, local;\n for (let i = 0; i < this.children.length; i += 3) if (this.children[i] >= offset) {\n if (this.children[i] == offset) child = this.children[i + 2];\n break;\n }\n let start = offset + 1,\n end = start + node.content.size;\n for (let i = 0; i < this.local.length; i++) {\n let dec = this.local[i];\n if (dec.from < end && dec.to > start && dec.type instanceof InlineType) {\n let from = Math.max(start, dec.from) - start,\n to = Math.min(end, dec.to) - start;\n if (from < to) (local || (local = [])).push(dec.copy(from, to));\n }\n }\n if (local) {\n let localSet = new DecorationSet(local.sort(byPos), none);\n return child ? new DecorationGroup([localSet, child]) : localSet;\n }\n return child || empty;\n }\n /**\n @internal\n */\n eq(other) {\n if (this == other) return true;\n if (!(other instanceof DecorationSet) || this.local.length != other.local.length || this.children.length != other.children.length) return false;\n for (let i = 0; i < this.local.length; i++) if (!this.local[i].eq(other.local[i])) return false;\n for (let i = 0; i < this.children.length; i += 3) if (this.children[i] != other.children[i] || this.children[i + 1] != other.children[i + 1] || !this.children[i + 2].eq(other.children[i + 2])) return false;\n return true;\n }\n /**\n @internal\n */\n locals(node) {\n return removeOverlap(this.localsInner(node));\n }\n /**\n @internal\n */\n localsInner(node) {\n if (this == empty) return none;\n if (node.inlineContent || !this.local.some(InlineType.is)) return this.local;\n let result = [];\n for (let i = 0; i < this.local.length; i++) {\n if (!(this.local[i].type instanceof InlineType)) result.push(this.local[i]);\n }\n return result;\n }\n forEachSet(f) {\n f(this);\n }\n}\n/**\nThe empty set of decorations.\n*/\nDecorationSet.empty = new DecorationSet([], []);\n/**\n@internal\n*/\nDecorationSet.removeOverlap = removeOverlap;\nconst empty = DecorationSet.empty;\n// An abstraction that allows the code dealing with decorations to\n// treat multiple DecorationSet objects as if it were a single object\n// with (a subset of) the same interface.\nclass DecorationGroup {\n constructor(members) {\n this.members = members;\n }\n map(mapping, doc) {\n const mappedDecos = this.members.map(member => member.map(mapping, doc, noSpec));\n return DecorationGroup.from(mappedDecos);\n }\n forChild(offset, child) {\n if (child.isLeaf) return DecorationSet.empty;\n let found = [];\n for (let i = 0; i < this.members.length; i++) {\n let result = this.members[i].forChild(offset, child);\n if (result == empty) continue;\n if (result instanceof DecorationGroup) found = found.concat(result.members);else found.push(result);\n }\n return DecorationGroup.from(found);\n }\n eq(other) {\n if (!(other instanceof DecorationGroup) || other.members.length != this.members.length) return false;\n for (let i = 0; i < this.members.length; i++) if (!this.members[i].eq(other.members[i])) return false;\n return true;\n }\n locals(node) {\n let result,\n sorted = true;\n for (let i = 0; i < this.members.length; i++) {\n let locals = this.members[i].localsInner(node);\n if (!locals.length) continue;\n if (!result) {\n result = locals;\n } else {\n if (sorted) {\n result = result.slice();\n sorted = false;\n }\n for (let j = 0; j < locals.length; j++) result.push(locals[j]);\n }\n }\n return result ? removeOverlap(sorted ? result : result.sort(byPos)) : none;\n }\n // Create a group for the given array of decoration sets, or return\n // a single set when possible.\n static from(members) {\n switch (members.length) {\n case 0:\n return empty;\n case 1:\n return members[0];\n default:\n return new DecorationGroup(members.every(m => m instanceof DecorationSet) ? members : members.reduce((r, m) => r.concat(m instanceof DecorationSet ? m : m.members), []));\n }\n }\n forEachSet(f) {\n for (let i = 0; i < this.members.length; i++) this.members[i].forEachSet(f);\n }\n}\nfunction mapChildren(oldChildren, newLocal, mapping, node, offset, oldOffset, options) {\n let children = oldChildren.slice();\n // Mark the children that are directly touched by changes, and\n // move those that are after the changes.\n for (let i = 0, baseOffset = oldOffset; i < mapping.maps.length; i++) {\n let moved = 0;\n mapping.maps[i].forEach((oldStart, oldEnd, newStart, newEnd) => {\n let dSize = newEnd - newStart - (oldEnd - oldStart);\n for (let i = 0; i < children.length; i += 3) {\n let end = children[i + 1];\n if (end < 0 || oldStart > end + baseOffset - moved) continue;\n let start = children[i] + baseOffset - moved;\n if (oldEnd >= start) {\n children[i + 1] = oldStart <= start ? -2 : -1;\n } else if (oldStart >= baseOffset && dSize) {\n children[i] += dSize;\n children[i + 1] += dSize;\n }\n }\n moved += dSize;\n });\n baseOffset = mapping.maps[i].map(baseOffset, -1);\n }\n // Find the child nodes that still correspond to a single node,\n // recursively call mapInner on them and update their positions.\n let mustRebuild = false;\n for (let i = 0; i < children.length; i += 3) if (children[i + 1] < 0) {\n // Touched nodes\n if (children[i + 1] == -2) {\n mustRebuild = true;\n children[i + 1] = -1;\n continue;\n }\n let from = mapping.map(oldChildren[i] + oldOffset),\n fromLocal = from - offset;\n if (fromLocal < 0 || fromLocal >= node.content.size) {\n mustRebuild = true;\n continue;\n }\n // Must read oldChildren because children was tagged with -1\n let to = mapping.map(oldChildren[i + 1] + oldOffset, -1),\n toLocal = to - offset;\n let {\n index,\n offset: childOffset\n } = node.content.findIndex(fromLocal);\n let childNode = node.maybeChild(index);\n if (childNode && childOffset == fromLocal && childOffset + childNode.nodeSize == toLocal) {\n let mapped = children[i + 2].mapInner(mapping, childNode, from + 1, oldChildren[i] + oldOffset + 1, options);\n if (mapped != empty) {\n children[i] = fromLocal;\n children[i + 1] = toLocal;\n children[i + 2] = mapped;\n } else {\n children[i + 1] = -2;\n mustRebuild = true;\n }\n } else {\n mustRebuild = true;\n }\n }\n // Remaining children must be collected and rebuilt into the appropriate structure\n if (mustRebuild) {\n let decorations = mapAndGatherRemainingDecorations(children, oldChildren, newLocal, mapping, offset, oldOffset, options);\n let built = buildTree(decorations, node, 0, options);\n newLocal = built.local;\n for (let i = 0; i < children.length; i += 3) if (children[i + 1] < 0) {\n children.splice(i, 3);\n i -= 3;\n }\n for (let i = 0, j = 0; i < built.children.length; i += 3) {\n let from = built.children[i];\n while (j < children.length && children[j] < from) j += 3;\n children.splice(j, 0, built.children[i], built.children[i + 1], built.children[i + 2]);\n }\n }\n return new DecorationSet(newLocal.sort(byPos), children);\n}\nfunction moveSpans(spans, offset) {\n if (!offset || !spans.length) return spans;\n let result = [];\n for (let i = 0; i < spans.length; i++) {\n let span = spans[i];\n result.push(new Decoration(span.from + offset, span.to + offset, span.type));\n }\n return result;\n}\nfunction mapAndGatherRemainingDecorations(children, oldChildren, decorations, mapping, offset, oldOffset, options) {\n // Gather all decorations from the remaining marked children\n function gather(set, oldOffset) {\n for (let i = 0; i < set.local.length; i++) {\n let mapped = set.local[i].map(mapping, offset, oldOffset);\n if (mapped) decorations.push(mapped);else if (options.onRemove) options.onRemove(set.local[i].spec);\n }\n for (let i = 0; i < set.children.length; i += 3) gather(set.children[i + 2], set.children[i] + oldOffset + 1);\n }\n for (let i = 0; i < children.length; i += 3) if (children[i + 1] == -1) gather(children[i + 2], oldChildren[i] + oldOffset + 1);\n return decorations;\n}\nfunction takeSpansForNode(spans, node, offset) {\n if (node.isLeaf) return null;\n let end = offset + node.nodeSize,\n found = null;\n for (let i = 0, span; i < spans.length; i++) {\n if ((span = spans[i]) && span.from > offset && span.to < end) {\n (found || (found = [])).push(span);\n spans[i] = null;\n }\n }\n return found;\n}\nfunction withoutNulls(array) {\n let result = [];\n for (let i = 0; i < array.length; i++) if (array[i] != null) result.push(array[i]);\n return result;\n}\n// Build up a tree that corresponds to a set of decorations. `offset`\n// is a base offset that should be subtracted from the `from` and `to`\n// positions in the spans (so that we don't have to allocate new spans\n// for recursive calls).\nfunction buildTree(spans, node, offset, options) {\n let children = [],\n hasNulls = false;\n node.forEach((childNode, localStart) => {\n let found = takeSpansForNode(spans, childNode, localStart + offset);\n if (found) {\n hasNulls = true;\n let subtree = buildTree(found, childNode, offset + localStart + 1, options);\n if (subtree != empty) children.push(localStart, localStart + childNode.nodeSize, subtree);\n }\n });\n let locals = moveSpans(hasNulls ? withoutNulls(spans) : spans, -offset).sort(byPos);\n for (let i = 0; i < locals.length; i++) if (!locals[i].type.valid(node, locals[i])) {\n if (options.onRemove) options.onRemove(locals[i].spec);\n locals.splice(i--, 1);\n }\n return locals.length || children.length ? new DecorationSet(locals, children) : empty;\n}\n// Used to sort decorations so that ones with a low start position\n// come first, and within a set with the same start position, those\n// with an smaller end position come first.\nfunction byPos(a, b) {\n return a.from - b.from || a.to - b.to;\n}\n// Scan a sorted array of decorations for partially overlapping spans,\n// and split those so that only fully overlapping spans are left (to\n// make subsequent rendering easier). Will return the input array if\n// no partially overlapping spans are found (the common case).\nfunction removeOverlap(spans) {\n let working = spans;\n for (let i = 0; i < working.length - 1; i++) {\n let span = working[i];\n if (span.from != span.to) for (let j = i + 1; j < working.length; j++) {\n let next = working[j];\n if (next.from == span.from) {\n if (next.to != span.to) {\n if (working == spans) working = spans.slice();\n // Followed by a partially overlapping larger span. Split that\n // span.\n working[j] = next.copy(next.from, span.to);\n insertAhead(working, j + 1, next.copy(span.to, next.to));\n }\n continue;\n } else {\n if (next.from < span.to) {\n if (working == spans) working = spans.slice();\n // The end of this one overlaps with a subsequent span. Split\n // this one.\n working[i] = span.copy(span.from, next.from);\n insertAhead(working, j, span.copy(next.from, span.to));\n }\n break;\n }\n }\n }\n return working;\n}\nfunction insertAhead(array, i, deco) {\n while (i < array.length && byPos(deco, array[i]) > 0) i++;\n array.splice(i, 0, deco);\n}\n// Get the decorations associated with the current props of a view.\nfunction viewDecorations(view) {\n let found = [];\n view.someProp(\"decorations\", f => {\n let result = f(view.state);\n if (result && result != empty) found.push(result);\n });\n if (view.cursorWrapper) found.push(DecorationSet.create(view.state.doc, [view.cursorWrapper.deco]));\n return DecorationGroup.from(found);\n}\nconst observeOptions = {\n childList: true,\n characterData: true,\n characterDataOldValue: true,\n attributes: true,\n attributeOldValue: true,\n subtree: true\n};\n// IE11 has very broken mutation observers, so we also listen to DOMCharacterDataModified\nconst useCharData = ie && ie_version <= 11;\nclass SelectionState {\n constructor() {\n this.anchorNode = null;\n this.anchorOffset = 0;\n this.focusNode = null;\n this.focusOffset = 0;\n }\n set(sel) {\n this.anchorNode = sel.anchorNode;\n this.anchorOffset = sel.anchorOffset;\n this.focusNode = sel.focusNode;\n this.focusOffset = sel.focusOffset;\n }\n clear() {\n this.anchorNode = this.focusNode = null;\n }\n eq(sel) {\n return sel.anchorNode == this.anchorNode && sel.anchorOffset == this.anchorOffset && sel.focusNode == this.focusNode && sel.focusOffset == this.focusOffset;\n }\n}\nclass DOMObserver {\n constructor(view, handleDOMChange) {\n this.view = view;\n this.handleDOMChange = handleDOMChange;\n this.queue = [];\n this.flushingSoon = -1;\n this.observer = null;\n this.currentSelection = new SelectionState();\n this.onCharData = null;\n this.suppressingSelectionUpdates = false;\n this.lastChangedTextNode = null;\n this.observer = window.MutationObserver && new window.MutationObserver(mutations => {\n for (let i = 0; i < mutations.length; i++) this.queue.push(mutations[i]);\n // IE11 will sometimes (on backspacing out a single character\n // text node after a BR node) call the observer callback\n // before actually updating the DOM, which will cause\n // ProseMirror to miss the change (see #930)\n if (ie && ie_version <= 11 && mutations.some(m => m.type == \"childList\" && m.removedNodes.length || m.type == \"characterData\" && m.oldValue.length > m.target.nodeValue.length)) this.flushSoon();else this.flush();\n });\n if (useCharData) {\n this.onCharData = e => {\n this.queue.push({\n target: e.target,\n type: \"characterData\",\n oldValue: e.prevValue\n });\n this.flushSoon();\n };\n }\n this.onSelectionChange = this.onSelectionChange.bind(this);\n }\n flushSoon() {\n if (this.flushingSoon < 0) this.flushingSoon = window.setTimeout(() => {\n this.flushingSoon = -1;\n this.flush();\n }, 20);\n }\n forceFlush() {\n if (this.flushingSoon > -1) {\n window.clearTimeout(this.flushingSoon);\n this.flushingSoon = -1;\n this.flush();\n }\n }\n start() {\n if (this.observer) {\n this.observer.takeRecords();\n this.observer.observe(this.view.dom, observeOptions);\n }\n if (this.onCharData) this.view.dom.addEventListener(\"DOMCharacterDataModified\", this.onCharData);\n this.connectSelection();\n }\n stop() {\n if (this.observer) {\n let take = this.observer.takeRecords();\n if (take.length) {\n for (let i = 0; i < take.length; i++) this.queue.push(take[i]);\n window.setTimeout(() => this.flush(), 20);\n }\n this.observer.disconnect();\n }\n if (this.onCharData) this.view.dom.removeEventListener(\"DOMCharacterDataModified\", this.onCharData);\n this.disconnectSelection();\n }\n connectSelection() {\n this.view.dom.ownerDocument.addEventListener(\"selectionchange\", this.onSelectionChange);\n }\n disconnectSelection() {\n this.view.dom.ownerDocument.removeEventListener(\"selectionchange\", this.onSelectionChange);\n }\n suppressSelectionUpdates() {\n this.suppressingSelectionUpdates = true;\n setTimeout(() => this.suppressingSelectionUpdates = false, 50);\n }\n onSelectionChange() {\n if (!hasFocusAndSelection(this.view)) return;\n if (this.suppressingSelectionUpdates) return selectionToDOM(this.view);\n // Deletions on IE11 fire their events in the wrong order, giving\n // us a selection change event before the DOM changes are\n // reported.\n if (ie && ie_version <= 11 && !this.view.state.selection.empty) {\n let sel = this.view.domSelectionRange();\n // Selection.isCollapsed isn't reliable on IE\n if (sel.focusNode && isEquivalentPosition(sel.focusNode, sel.focusOffset, sel.anchorNode, sel.anchorOffset)) return this.flushSoon();\n }\n this.flush();\n }\n setCurSelection() {\n this.currentSelection.set(this.view.domSelectionRange());\n }\n ignoreSelectionChange(sel) {\n if (!sel.focusNode) return true;\n let ancestors = new Set(),\n container;\n for (let scan = sel.focusNode; scan; scan = parentNode(scan)) ancestors.add(scan);\n for (let scan = sel.anchorNode; scan; scan = parentNode(scan)) if (ancestors.has(scan)) {\n container = scan;\n break;\n }\n let desc = container && this.view.docView.nearestDesc(container);\n if (desc && desc.ignoreMutation({\n type: \"selection\",\n target: container.nodeType == 3 ? container.parentNode : container\n })) {\n this.setCurSelection();\n return true;\n }\n }\n pendingRecords() {\n if (this.observer) for (let mut of this.observer.takeRecords()) this.queue.push(mut);\n return this.queue;\n }\n flush() {\n let {\n view\n } = this;\n if (!view.docView || this.flushingSoon > -1) return;\n let mutations = this.pendingRecords();\n if (mutations.length) this.queue = [];\n let sel = view.domSelectionRange();\n let newSel = !this.suppressingSelectionUpdates && !this.currentSelection.eq(sel) && hasFocusAndSelection(view) && !this.ignoreSelectionChange(sel);\n let from = -1,\n to = -1,\n typeOver = false,\n added = [];\n if (view.editable) {\n for (let i = 0; i < mutations.length; i++) {\n let result = this.registerMutation(mutations[i], added);\n if (result) {\n from = from < 0 ? result.from : Math.min(result.from, from);\n to = to < 0 ? result.to : Math.max(result.to, to);\n if (result.typeOver) typeOver = true;\n }\n }\n }\n if (gecko && added.length) {\n let brs = added.filter(n => n.nodeName == \"BR\");\n if (brs.length == 2) {\n let [a, b] = brs;\n if (a.parentNode && a.parentNode.parentNode == b.parentNode) b.remove();else a.remove();\n } else {\n let {\n focusNode\n } = this.currentSelection;\n for (let br of brs) {\n let parent = br.parentNode;\n if (parent && parent.nodeName == \"LI\" && (!focusNode || blockParent(view, focusNode) != parent)) br.remove();\n }\n }\n }\n let readSel = null;\n // If it looks like the browser has reset the selection to the\n // start of the document after focus, restore the selection from\n // the state\n if (from < 0 && newSel && view.input.lastFocus > Date.now() - 200 && Math.max(view.input.lastTouch, view.input.lastClick.time) < Date.now() - 300 && selectionCollapsed(sel) && (readSel = selectionFromDOM(view)) && readSel.eq(Selection.near(view.state.doc.resolve(0), 1))) {\n view.input.lastFocus = 0;\n selectionToDOM(view);\n this.currentSelection.set(sel);\n view.scrollToSelection();\n } else if (from > -1 || newSel) {\n if (from > -1) {\n view.docView.markDirty(from, to);\n checkCSS(view);\n }\n this.handleDOMChange(from, to, typeOver, added);\n if (view.docView && view.docView.dirty) view.updateState(view.state);else if (!this.currentSelection.eq(sel)) selectionToDOM(view);\n this.currentSelection.set(sel);\n }\n }\n registerMutation(mut, added) {\n // Ignore mutations inside nodes that were already noted as inserted\n if (added.indexOf(mut.target) > -1) return null;\n let desc = this.view.docView.nearestDesc(mut.target);\n if (mut.type == \"attributes\" && (desc == this.view.docView || mut.attributeName == \"contenteditable\" ||\n // Firefox sometimes fires spurious events for null/empty styles\n mut.attributeName == \"style\" && !mut.oldValue && !mut.target.getAttribute(\"style\"))) return null;\n if (!desc || desc.ignoreMutation(mut)) return null;\n if (mut.type == \"childList\") {\n for (let i = 0; i < mut.addedNodes.length; i++) {\n let node = mut.addedNodes[i];\n added.push(node);\n if (node.nodeType == 3) this.lastChangedTextNode = node;\n }\n if (desc.contentDOM && desc.contentDOM != desc.dom && !desc.contentDOM.contains(mut.target)) return {\n from: desc.posBefore,\n to: desc.posAfter\n };\n let prev = mut.previousSibling,\n next = mut.nextSibling;\n if (ie && ie_version <= 11 && mut.addedNodes.length) {\n // IE11 gives us incorrect next/prev siblings for some\n // insertions, so if there are added nodes, recompute those\n for (let i = 0; i < mut.addedNodes.length; i++) {\n let {\n previousSibling,\n nextSibling\n } = mut.addedNodes[i];\n if (!previousSibling || Array.prototype.indexOf.call(mut.addedNodes, previousSibling) < 0) prev = previousSibling;\n if (!nextSibling || Array.prototype.indexOf.call(mut.addedNodes, nextSibling) < 0) next = nextSibling;\n }\n }\n let fromOffset = prev && prev.parentNode == mut.target ? domIndex(prev) + 1 : 0;\n let from = desc.localPosFromDOM(mut.target, fromOffset, -1);\n let toOffset = next && next.parentNode == mut.target ? domIndex(next) : mut.target.childNodes.length;\n let to = desc.localPosFromDOM(mut.target, toOffset, 1);\n return {\n from,\n to\n };\n } else if (mut.type == \"attributes\") {\n return {\n from: desc.posAtStart - desc.border,\n to: desc.posAtEnd + desc.border\n };\n } else {\n // \"characterData\"\n this.lastChangedTextNode = mut.target;\n return {\n from: desc.posAtStart,\n to: desc.posAtEnd,\n // An event was generated for a text change that didn't change\n // any text. Mark the dom change to fall back to assuming the\n // selection was typed over with an identical value if it can't\n // find another change.\n typeOver: mut.target.nodeValue == mut.oldValue\n };\n }\n }\n}\nlet cssChecked = new WeakMap();\nlet cssCheckWarned = false;\nfunction checkCSS(view) {\n if (cssChecked.has(view)) return;\n cssChecked.set(view, null);\n if (['normal', 'nowrap', 'pre-line'].indexOf(getComputedStyle(view.dom).whiteSpace) !== -1) {\n view.requiresGeckoHackNode = gecko;\n if (cssCheckWarned) return;\n console[\"warn\"](\"ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package.\");\n cssCheckWarned = true;\n }\n}\nfunction rangeToSelectionRange(view, range) {\n let anchorNode = range.startContainer,\n anchorOffset = range.startOffset;\n let focusNode = range.endContainer,\n focusOffset = range.endOffset;\n let currentAnchor = view.domAtPos(view.state.selection.anchor);\n // Since such a range doesn't distinguish between anchor and head,\n // use a heuristic that flips it around if its end matches the\n // current anchor.\n if (isEquivalentPosition(currentAnchor.node, currentAnchor.offset, focusNode, focusOffset)) [anchorNode, anchorOffset, focusNode, focusOffset] = [focusNode, focusOffset, anchorNode, anchorOffset];\n return {\n anchorNode,\n anchorOffset,\n focusNode,\n focusOffset\n };\n}\n// Used to work around a Safari Selection/shadow DOM bug\n// Based on https://github.com/codemirror/dev/issues/414 fix\nfunction safariShadowSelectionRange(view, selection) {\n if (selection.getComposedRanges) {\n let range = selection.getComposedRanges(view.root)[0];\n if (range) return rangeToSelectionRange(view, range);\n }\n let found;\n function read(event) {\n event.preventDefault();\n event.stopImmediatePropagation();\n found = event.getTargetRanges()[0];\n }\n // Because Safari (at least in 2018-2022) doesn't provide regular\n // access to the selection inside a shadowRoot, we have to perform a\n // ridiculous hack to get at it—using `execCommand` to trigger a\n // `beforeInput` event so that we can read the target range from the\n // event.\n view.dom.addEventListener(\"beforeinput\", read, true);\n document.execCommand(\"indent\");\n view.dom.removeEventListener(\"beforeinput\", read, true);\n return found ? rangeToSelectionRange(view, found) : null;\n}\nfunction blockParent(view, node) {\n for (let p = node.parentNode; p && p != view.dom; p = p.parentNode) {\n let desc = view.docView.nearestDesc(p, true);\n if (desc && desc.node.isBlock) return p;\n }\n return null;\n}\n\n// Note that all referencing and parsing is done with the\n// start-of-operation selection and document, since that's the one\n// that the DOM represents. If any changes came in in the meantime,\n// the modification is mapped over those before it is applied, in\n// readDOMChange.\nfunction parseBetween(view, from_, to_) {\n let {\n node: parent,\n fromOffset,\n toOffset,\n from,\n to\n } = view.docView.parseRange(from_, to_);\n let domSel = view.domSelectionRange();\n let find;\n let anchor = domSel.anchorNode;\n if (anchor && view.dom.contains(anchor.nodeType == 1 ? anchor : anchor.parentNode)) {\n find = [{\n node: anchor,\n offset: domSel.anchorOffset\n }];\n if (!selectionCollapsed(domSel)) find.push({\n node: domSel.focusNode,\n offset: domSel.focusOffset\n });\n }\n // Work around issue in Chrome where backspacing sometimes replaces\n // the deleted content with a random BR node (issues #799, #831)\n if (chrome && view.input.lastKeyCode === 8) {\n for (let off = toOffset; off > fromOffset; off--) {\n let node = parent.childNodes[off - 1],\n desc = node.pmViewDesc;\n if (node.nodeName == \"BR\" && !desc) {\n toOffset = off;\n break;\n }\n if (!desc || desc.size) break;\n }\n }\n let startDoc = view.state.doc;\n let parser = view.someProp(\"domParser\") || DOMParser.fromSchema(view.state.schema);\n let $from = startDoc.resolve(from);\n let sel = null,\n doc = parser.parse(parent, {\n topNode: $from.parent,\n topMatch: $from.parent.contentMatchAt($from.index()),\n topOpen: true,\n from: fromOffset,\n to: toOffset,\n preserveWhitespace: $from.parent.type.whitespace == \"pre\" ? \"full\" : true,\n findPositions: find,\n ruleFromNode,\n context: $from\n });\n if (find && find[0].pos != null) {\n let anchor = find[0].pos,\n head = find[1] && find[1].pos;\n if (head == null) head = anchor;\n sel = {\n anchor: anchor + from,\n head: head + from\n };\n }\n return {\n doc,\n sel,\n from,\n to\n };\n}\nfunction ruleFromNode(dom) {\n let desc = dom.pmViewDesc;\n if (desc) {\n return desc.parseRule();\n } else if (dom.nodeName == \"BR\" && dom.parentNode) {\n // Safari replaces the list item or table cell with a BR\n // directly in the list node (?!) if you delete the last\n // character in a list item or table cell (#708, #862)\n if (safari && /^(ul|ol)$/i.test(dom.parentNode.nodeName)) {\n let skip = document.createElement(\"div\");\n skip.appendChild(document.createElement(\"li\"));\n return {\n skip\n };\n } else if (dom.parentNode.lastChild == dom || safari && /^(tr|table)$/i.test(dom.parentNode.nodeName)) {\n return {\n ignore: true\n };\n }\n } else if (dom.nodeName == \"IMG\" && dom.getAttribute(\"mark-placeholder\")) {\n return {\n ignore: true\n };\n }\n return null;\n}\nconst isInline = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;\nfunction readDOMChange(view, from, to, typeOver, addedNodes) {\n let compositionID = view.input.compositionPendingChanges || (view.composing ? view.input.compositionID : 0);\n view.input.compositionPendingChanges = 0;\n if (from < 0) {\n let origin = view.input.lastSelectionTime > Date.now() - 50 ? view.input.lastSelectionOrigin : null;\n let newSel = selectionFromDOM(view, origin);\n if (newSel && !view.state.selection.eq(newSel)) {\n if (chrome && android && view.input.lastKeyCode === 13 && Date.now() - 100 < view.input.lastKeyCodeTime && view.someProp(\"handleKeyDown\", f => f(view, keyEvent(13, \"Enter\")))) return;\n let tr = view.state.tr.setSelection(newSel);\n if (origin == \"pointer\") tr.setMeta(\"pointer\", true);else if (origin == \"key\") tr.scrollIntoView();\n if (compositionID) tr.setMeta(\"composition\", compositionID);\n view.dispatch(tr);\n }\n return;\n }\n let $before = view.state.doc.resolve(from);\n let shared = $before.sharedDepth(to);\n from = $before.before(shared + 1);\n to = view.state.doc.resolve(to).after(shared + 1);\n let sel = view.state.selection;\n let parse = parseBetween(view, from, to);\n let doc = view.state.doc,\n compare = doc.slice(parse.from, parse.to);\n let preferredPos, preferredSide;\n // Prefer anchoring to end when Backspace is pressed\n if (view.input.lastKeyCode === 8 && Date.now() - 100 < view.input.lastKeyCodeTime) {\n preferredPos = view.state.selection.to;\n preferredSide = \"end\";\n } else {\n preferredPos = view.state.selection.from;\n preferredSide = \"start\";\n }\n view.input.lastKeyCode = null;\n let change = findDiff(compare.content, parse.doc.content, parse.from, preferredPos, preferredSide);\n if (change) view.input.domChangeCount++;\n if ((ios && view.input.lastIOSEnter > Date.now() - 225 || android) && addedNodes.some(n => n.nodeType == 1 && !isInline.test(n.nodeName)) && (!change || change.endA >= change.endB) && view.someProp(\"handleKeyDown\", f => f(view, keyEvent(13, \"Enter\")))) {\n view.input.lastIOSEnter = 0;\n return;\n }\n if (!change) {\n if (typeOver && sel instanceof TextSelection && !sel.empty && sel.$head.sameParent(sel.$anchor) && !view.composing && !(parse.sel && parse.sel.anchor != parse.sel.head)) {\n change = {\n start: sel.from,\n endA: sel.to,\n endB: sel.to\n };\n } else {\n if (parse.sel) {\n let sel = resolveSelection(view, view.state.doc, parse.sel);\n if (sel && !sel.eq(view.state.selection)) {\n let tr = view.state.tr.setSelection(sel);\n if (compositionID) tr.setMeta(\"composition\", compositionID);\n view.dispatch(tr);\n }\n }\n return;\n }\n }\n // Handle the case where overwriting a selection by typing matches\n // the start or end of the selected content, creating a change\n // that's smaller than what was actually overwritten.\n if (view.state.selection.from < view.state.selection.to && change.start == change.endB && view.state.selection instanceof TextSelection) {\n if (change.start > view.state.selection.from && change.start <= view.state.selection.from + 2 && view.state.selection.from >= parse.from) {\n change.start = view.state.selection.from;\n } else if (change.endA < view.state.selection.to && change.endA >= view.state.selection.to - 2 && view.state.selection.to <= parse.to) {\n change.endB += view.state.selection.to - change.endA;\n change.endA = view.state.selection.to;\n }\n }\n // IE11 will insert a non-breaking space _ahead_ of the space after\n // the cursor space when adding a space before another space. When\n // that happened, adjust the change to cover the space instead.\n if (ie && ie_version <= 11 && change.endB == change.start + 1 && change.endA == change.start && change.start > parse.from && parse.doc.textBetween(change.start - parse.from - 1, change.start - parse.from + 1) == \" \\u00a0\") {\n change.start--;\n change.endA--;\n change.endB--;\n }\n let $from = parse.doc.resolveNoCache(change.start - parse.from);\n let $to = parse.doc.resolveNoCache(change.endB - parse.from);\n let $fromA = doc.resolve(change.start);\n let inlineChange = $from.sameParent($to) && $from.parent.inlineContent && $fromA.end() >= change.endA;\n let nextSel;\n // If this looks like the effect of pressing Enter (or was recorded\n // as being an iOS enter press), just dispatch an Enter key instead.\n if ((ios && view.input.lastIOSEnter > Date.now() - 225 && (!inlineChange || addedNodes.some(n => n.nodeName == \"DIV\" || n.nodeName == \"P\")) || !inlineChange && $from.pos < parse.doc.content.size && !$from.sameParent($to) && (nextSel = Selection.findFrom(parse.doc.resolve($from.pos + 1), 1, true)) && nextSel.head == $to.pos) && view.someProp(\"handleKeyDown\", f => f(view, keyEvent(13, \"Enter\")))) {\n view.input.lastIOSEnter = 0;\n return;\n }\n // Same for backspace\n if (view.state.selection.anchor > change.start && looksLikeBackspace(doc, change.start, change.endA, $from, $to) && view.someProp(\"handleKeyDown\", f => f(view, keyEvent(8, \"Backspace\")))) {\n if (android && chrome) view.domObserver.suppressSelectionUpdates(); // #820\n return;\n }\n // Chrome will occasionally, during composition, delete the\n // entire composition and then immediately insert it again. This is\n // used to detect that situation.\n if (chrome && change.endB == change.start) view.input.lastChromeDelete = Date.now();\n // This tries to detect Android virtual keyboard\n // enter-and-pick-suggestion action. That sometimes (see issue\n // #1059) first fires a DOM mutation, before moving the selection to\n // the newly created block. And then, because ProseMirror cleans up\n // the DOM selection, it gives up moving the selection entirely,\n // leaving the cursor in the wrong place. When that happens, we drop\n // the new paragraph from the initial change, and fire a simulated\n // enter key afterwards.\n if (android && !inlineChange && $from.start() != $to.start() && $to.parentOffset == 0 && $from.depth == $to.depth && parse.sel && parse.sel.anchor == parse.sel.head && parse.sel.head == change.endA) {\n change.endB -= 2;\n $to = parse.doc.resolveNoCache(change.endB - parse.from);\n setTimeout(() => {\n view.someProp(\"handleKeyDown\", function (f) {\n return f(view, keyEvent(13, \"Enter\"));\n });\n }, 20);\n }\n let chFrom = change.start,\n chTo = change.endA;\n let tr, storedMarks, markChange;\n if (inlineChange) {\n if ($from.pos == $to.pos) {\n // Deletion\n // IE11 sometimes weirdly moves the DOM selection around after\n // backspacing out the first element in a textblock\n if (ie && ie_version <= 11 && $from.parentOffset == 0) {\n view.domObserver.suppressSelectionUpdates();\n setTimeout(() => selectionToDOM(view), 20);\n }\n tr = view.state.tr.delete(chFrom, chTo);\n storedMarks = doc.resolve(change.start).marksAcross(doc.resolve(change.endA));\n } else if (\n // Adding or removing a mark\n change.endA == change.endB && (markChange = isMarkChange($from.parent.content.cut($from.parentOffset, $to.parentOffset), $fromA.parent.content.cut($fromA.parentOffset, change.endA - $fromA.start())))) {\n tr = view.state.tr;\n if (markChange.type == \"add\") tr.addMark(chFrom, chTo, markChange.mark);else tr.removeMark(chFrom, chTo, markChange.mark);\n } else if ($from.parent.child($from.index()).isText && $from.index() == $to.index() - ($to.textOffset ? 0 : 1)) {\n // Both positions in the same text node -- simply insert text\n let text = $from.parent.textBetween($from.parentOffset, $to.parentOffset);\n if (view.someProp(\"handleTextInput\", f => f(view, chFrom, chTo, text))) return;\n tr = view.state.tr.insertText(text, chFrom, chTo);\n }\n }\n if (!tr) tr = view.state.tr.replace(chFrom, chTo, parse.doc.slice(change.start - parse.from, change.endB - parse.from));\n if (parse.sel) {\n let sel = resolveSelection(view, tr.doc, parse.sel);\n // Chrome will sometimes, during composition, report the\n // selection in the wrong place. If it looks like that is\n // happening, don't update the selection.\n // Edge just doesn't move the cursor forward when you start typing\n // in an empty block or between br nodes.\n if (sel && !(chrome && view.composing && sel.empty && (change.start != change.endB || view.input.lastChromeDelete < Date.now() - 100) && (sel.head == chFrom || sel.head == tr.mapping.map(chTo) - 1) || ie && sel.empty && sel.head == chFrom)) tr.setSelection(sel);\n }\n if (storedMarks) tr.ensureMarks(storedMarks);\n if (compositionID) tr.setMeta(\"composition\", compositionID);\n view.dispatch(tr.scrollIntoView());\n}\nfunction resolveSelection(view, doc, parsedSel) {\n if (Math.max(parsedSel.anchor, parsedSel.head) > doc.content.size) return null;\n return selectionBetween(view, doc.resolve(parsedSel.anchor), doc.resolve(parsedSel.head));\n}\n// Given two same-length, non-empty fragments of inline content,\n// determine whether the first could be created from the second by\n// removing or adding a single mark type.\nfunction isMarkChange(cur, prev) {\n let curMarks = cur.firstChild.marks,\n prevMarks = prev.firstChild.marks;\n let added = curMarks,\n removed = prevMarks,\n type,\n mark,\n update;\n for (let i = 0; i < prevMarks.length; i++) added = prevMarks[i].removeFromSet(added);\n for (let i = 0; i < curMarks.length; i++) removed = curMarks[i].removeFromSet(removed);\n if (added.length == 1 && removed.length == 0) {\n mark = added[0];\n type = \"add\";\n update = node => node.mark(mark.addToSet(node.marks));\n } else if (added.length == 0 && removed.length == 1) {\n mark = removed[0];\n type = \"remove\";\n update = node => node.mark(mark.removeFromSet(node.marks));\n } else {\n return null;\n }\n let updated = [];\n for (let i = 0; i < prev.childCount; i++) updated.push(update(prev.child(i)));\n if (Fragment.from(updated).eq(cur)) return {\n mark,\n type\n };\n}\nfunction looksLikeBackspace(old, start, end, $newStart, $newEnd) {\n if (\n // The content must have shrunk\n end - start <= $newEnd.pos - $newStart.pos ||\n // newEnd must point directly at or after the end of the block that newStart points into\n skipClosingAndOpening($newStart, true, false) < $newEnd.pos) return false;\n let $start = old.resolve(start);\n // Handle the case where, rather than joining blocks, the change just removed an entire block\n if (!$newStart.parent.isTextblock) {\n let after = $start.nodeAfter;\n return after != null && end == start + after.nodeSize;\n }\n // Start must be at the end of a block\n if ($start.parentOffset < $start.parent.content.size || !$start.parent.isTextblock) return false;\n let $next = old.resolve(skipClosingAndOpening($start, true, true));\n // The next textblock must start before end and end near it\n if (!$next.parent.isTextblock || $next.pos > end || skipClosingAndOpening($next, true, false) < end) return false;\n // The fragments after the join point must match\n return $newStart.parent.content.cut($newStart.parentOffset).eq($next.parent.content);\n}\nfunction skipClosingAndOpening($pos, fromEnd, mayOpen) {\n let depth = $pos.depth,\n end = fromEnd ? $pos.end() : $pos.pos;\n while (depth > 0 && (fromEnd || $pos.indexAfter(depth) == $pos.node(depth).childCount)) {\n depth--;\n end++;\n fromEnd = false;\n }\n if (mayOpen) {\n let next = $pos.node(depth).maybeChild($pos.indexAfter(depth));\n while (next && !next.isLeaf) {\n next = next.firstChild;\n end++;\n }\n }\n return end;\n}\nfunction findDiff(a, b, pos, preferredPos, preferredSide) {\n let start = a.findDiffStart(b, pos);\n if (start == null) return null;\n let {\n a: endA,\n b: endB\n } = a.findDiffEnd(b, pos + a.size, pos + b.size);\n if (preferredSide == \"end\") {\n let adjust = Math.max(0, start - Math.min(endA, endB));\n preferredPos -= endA + adjust - start;\n }\n if (endA < start && a.size < b.size) {\n let move = preferredPos <= start && preferredPos >= endA ? start - preferredPos : 0;\n start -= move;\n if (start && start < b.size && isSurrogatePair(b.textBetween(start - 1, start + 1))) start += move ? 1 : -1;\n endB = start + (endB - endA);\n endA = start;\n } else if (endB < start) {\n let move = preferredPos <= start && preferredPos >= endB ? start - preferredPos : 0;\n start -= move;\n if (start && start < a.size && isSurrogatePair(a.textBetween(start - 1, start + 1))) start += move ? 1 : -1;\n endA = start + (endA - endB);\n endB = start;\n }\n return {\n start,\n endA,\n endB\n };\n}\nfunction isSurrogatePair(str) {\n if (str.length != 2) return false;\n let a = str.charCodeAt(0),\n b = str.charCodeAt(1);\n return a >= 0xDC00 && a <= 0xDFFF && b >= 0xD800 && b <= 0xDBFF;\n}\n\n/**\n@internal\n*/\nconst __serializeForClipboard = serializeForClipboard;\n/**\n@internal\n*/\nconst __parseFromClipboard = parseFromClipboard;\n/**\n@internal\n*/\nconst __endComposition = endComposition;\n/**\nAn editor view manages the DOM structure that represents an\neditable document. Its state and behavior are determined by its\n[props](https://prosemirror.net/docs/ref/#view.DirectEditorProps).\n*/\nclass EditorView {\n /**\n Create a view. `place` may be a DOM node that the editor should\n be appended to, a function that will place it into the document,\n or an object whose `mount` property holds the node to use as the\n document container. If it is `null`, the editor will not be\n added to the document.\n */\n constructor(place, props) {\n this._root = null;\n /**\n @internal\n */\n this.focused = false;\n /**\n Kludge used to work around a Chrome bug @internal\n */\n this.trackWrites = null;\n this.mounted = false;\n /**\n @internal\n */\n this.markCursor = null;\n /**\n @internal\n */\n this.cursorWrapper = null;\n /**\n @internal\n */\n this.lastSelectedViewDesc = undefined;\n /**\n @internal\n */\n this.input = new InputState();\n this.prevDirectPlugins = [];\n this.pluginViews = [];\n /**\n Holds `true` when a hack node is needed in Firefox to prevent the\n [space is eaten issue](https://github.com/ProseMirror/prosemirror/issues/651)\n @internal\n */\n this.requiresGeckoHackNode = false;\n /**\n When editor content is being dragged, this object contains\n information about the dragged slice and whether it is being\n copied or moved. At any other time, it is null.\n */\n this.dragging = null;\n this._props = props;\n this.state = props.state;\n this.directPlugins = props.plugins || [];\n this.directPlugins.forEach(checkStateComponent);\n this.dispatch = this.dispatch.bind(this);\n this.dom = place && place.mount || document.createElement(\"div\");\n if (place) {\n if (place.appendChild) place.appendChild(this.dom);else if (typeof place == \"function\") place(this.dom);else if (place.mount) this.mounted = true;\n }\n this.editable = getEditable(this);\n updateCursorWrapper(this);\n this.nodeViews = buildNodeViews(this);\n this.docView = docViewDesc(this.state.doc, computeDocDeco(this), viewDecorations(this), this.dom, this);\n this.domObserver = new DOMObserver(this, (from, to, typeOver, added) => readDOMChange(this, from, to, typeOver, added));\n this.domObserver.start();\n initInput(this);\n this.updatePluginViews();\n }\n /**\n Holds `true` when a\n [composition](https://w3c.github.io/uievents/#events-compositionevents)\n is active.\n */\n get composing() {\n return this.input.composing;\n }\n /**\n The view's current [props](https://prosemirror.net/docs/ref/#view.EditorProps).\n */\n get props() {\n if (this._props.state != this.state) {\n let prev = this._props;\n this._props = {};\n for (let name in prev) this._props[name] = prev[name];\n this._props.state = this.state;\n }\n return this._props;\n }\n /**\n Update the view's props. Will immediately cause an update to\n the DOM.\n */\n update(props) {\n if (props.handleDOMEvents != this._props.handleDOMEvents) ensureListeners(this);\n let prevProps = this._props;\n this._props = props;\n if (props.plugins) {\n props.plugins.forEach(checkStateComponent);\n this.directPlugins = props.plugins;\n }\n this.updateStateInner(props.state, prevProps);\n }\n /**\n Update the view by updating existing props object with the object\n given as argument. Equivalent to `view.update(Object.assign({},\n view.props, props))`.\n */\n setProps(props) {\n let updated = {};\n for (let name in this._props) updated[name] = this._props[name];\n updated.state = this.state;\n for (let name in props) updated[name] = props[name];\n this.update(updated);\n }\n /**\n Update the editor's `state` prop, without touching any of the\n other props.\n */\n updateState(state) {\n this.updateStateInner(state, this._props);\n }\n updateStateInner(state, prevProps) {\n var _a;\n let prev = this.state,\n redraw = false,\n updateSel = false;\n // When stored marks are added, stop composition, so that they can\n // be displayed.\n if (state.storedMarks && this.composing) {\n clearComposition(this);\n updateSel = true;\n }\n this.state = state;\n let pluginsChanged = prev.plugins != state.plugins || this._props.plugins != prevProps.plugins;\n if (pluginsChanged || this._props.plugins != prevProps.plugins || this._props.nodeViews != prevProps.nodeViews) {\n let nodeViews = buildNodeViews(this);\n if (changedNodeViews(nodeViews, this.nodeViews)) {\n this.nodeViews = nodeViews;\n redraw = true;\n }\n }\n if (pluginsChanged || prevProps.handleDOMEvents != this._props.handleDOMEvents) {\n ensureListeners(this);\n }\n this.editable = getEditable(this);\n updateCursorWrapper(this);\n let innerDeco = viewDecorations(this),\n outerDeco = computeDocDeco(this);\n let scroll = prev.plugins != state.plugins && !prev.doc.eq(state.doc) ? \"reset\" : state.scrollToSelection > prev.scrollToSelection ? \"to selection\" : \"preserve\";\n let updateDoc = redraw || !this.docView.matchesNode(state.doc, outerDeco, innerDeco);\n if (updateDoc || !state.selection.eq(prev.selection)) updateSel = true;\n let oldScrollPos = scroll == \"preserve\" && updateSel && this.dom.style.overflowAnchor == null && storeScrollPos(this);\n if (updateSel) {\n this.domObserver.stop();\n // Work around an issue in Chrome, IE, and Edge where changing\n // the DOM around an active selection puts it into a broken\n // state where the thing the user sees differs from the\n // selection reported by the Selection object (#710, #973,\n // #1011, #1013, #1035).\n let forceSelUpdate = updateDoc && (ie || chrome) && !this.composing && !prev.selection.empty && !state.selection.empty && selectionContextChanged(prev.selection, state.selection);\n if (updateDoc) {\n // If the node that the selection points into is written to,\n // Chrome sometimes starts misreporting the selection, so this\n // tracks that and forces a selection reset when our update\n // did write to the node.\n let chromeKludge = chrome ? this.trackWrites = this.domSelectionRange().focusNode : null;\n if (this.composing) this.input.compositionNode = findCompositionNode(this);\n if (redraw || !this.docView.update(state.doc, outerDeco, innerDeco, this)) {\n this.docView.updateOuterDeco(outerDeco);\n this.docView.destroy();\n this.docView = docViewDesc(state.doc, outerDeco, innerDeco, this.dom, this);\n }\n if (chromeKludge && !this.trackWrites) forceSelUpdate = true;\n }\n // Work around for an issue where an update arriving right between\n // a DOM selection change and the \"selectionchange\" event for it\n // can cause a spurious DOM selection update, disrupting mouse\n // drag selection.\n if (forceSelUpdate || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && anchorInRightPlace(this))) {\n selectionToDOM(this, forceSelUpdate);\n } else {\n syncNodeSelection(this, state.selection);\n this.domObserver.setCurSelection();\n }\n this.domObserver.start();\n }\n this.updatePluginViews(prev);\n if (((_a = this.dragging) === null || _a === void 0 ? void 0 : _a.node) && !prev.doc.eq(state.doc)) this.updateDraggedNode(this.dragging, prev);\n if (scroll == \"reset\") {\n this.dom.scrollTop = 0;\n } else if (scroll == \"to selection\") {\n this.scrollToSelection();\n } else if (oldScrollPos) {\n resetScrollPos(oldScrollPos);\n }\n }\n /**\n @internal\n */\n scrollToSelection() {\n let startDOM = this.domSelectionRange().focusNode;\n if (!startDOM || !this.dom.contains(startDOM.nodeType == 1 ? startDOM : startDOM.parentNode)) ;else if (this.someProp(\"handleScrollToSelection\", f => f(this))) ;else if (this.state.selection instanceof NodeSelection) {\n let target = this.docView.domAfterPos(this.state.selection.from);\n if (target.nodeType == 1) scrollRectIntoView(this, target.getBoundingClientRect(), startDOM);\n } else {\n scrollRectIntoView(this, this.coordsAtPos(this.state.selection.head, 1), startDOM);\n }\n }\n destroyPluginViews() {\n let view;\n while (view = this.pluginViews.pop()) if (view.destroy) view.destroy();\n }\n updatePluginViews(prevState) {\n if (!prevState || prevState.plugins != this.state.plugins || this.directPlugins != this.prevDirectPlugins) {\n this.prevDirectPlugins = this.directPlugins;\n this.destroyPluginViews();\n for (let i = 0; i < this.directPlugins.length; i++) {\n let plugin = this.directPlugins[i];\n if (plugin.spec.view) this.pluginViews.push(plugin.spec.view(this));\n }\n for (let i = 0; i < this.state.plugins.length; i++) {\n let plugin = this.state.plugins[i];\n if (plugin.spec.view) this.pluginViews.push(plugin.spec.view(this));\n }\n } else {\n for (let i = 0; i < this.pluginViews.length; i++) {\n let pluginView = this.pluginViews[i];\n if (pluginView.update) pluginView.update(this, prevState);\n }\n }\n }\n updateDraggedNode(dragging, prev) {\n let sel = dragging.node,\n found = -1;\n if (this.state.doc.nodeAt(sel.from) == sel.node) {\n found = sel.from;\n } else {\n let movedPos = sel.from + (this.state.doc.content.size - prev.doc.content.size);\n let moved = movedPos > 0 && this.state.doc.nodeAt(movedPos);\n if (moved == sel.node) found = movedPos;\n }\n this.dragging = new Dragging(dragging.slice, dragging.move, found < 0 ? undefined : NodeSelection.create(this.state.doc, found));\n }\n someProp(propName, f) {\n let prop = this._props && this._props[propName],\n value;\n if (prop != null && (value = f ? f(prop) : prop)) return value;\n for (let i = 0; i < this.directPlugins.length; i++) {\n let prop = this.directPlugins[i].props[propName];\n if (prop != null && (value = f ? f(prop) : prop)) return value;\n }\n let plugins = this.state.plugins;\n if (plugins) for (let i = 0; i < plugins.length; i++) {\n let prop = plugins[i].props[propName];\n if (prop != null && (value = f ? f(prop) : prop)) return value;\n }\n }\n /**\n Query whether the view has focus.\n */\n hasFocus() {\n // Work around IE not handling focus correctly if resize handles are shown.\n // If the cursor is inside an element with resize handles, activeElement\n // will be that element instead of this.dom.\n if (ie) {\n // If activeElement is within this.dom, and there are no other elements\n // setting `contenteditable` to false in between, treat it as focused.\n let node = this.root.activeElement;\n if (node == this.dom) return true;\n if (!node || !this.dom.contains(node)) return false;\n while (node && this.dom != node && this.dom.contains(node)) {\n if (node.contentEditable == 'false') return false;\n node = node.parentElement;\n }\n return true;\n }\n return this.root.activeElement == this.dom;\n }\n /**\n Focus the editor.\n */\n focus() {\n this.domObserver.stop();\n if (this.editable) focusPreventScroll(this.dom);\n selectionToDOM(this);\n this.domObserver.start();\n }\n /**\n Get the document root in which the editor exists. This will\n usually be the top-level `document`, but might be a [shadow\n DOM](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Shadow_DOM)\n root if the editor is inside one.\n */\n get root() {\n let cached = this._root;\n if (cached == null) for (let search = this.dom.parentNode; search; search = search.parentNode) {\n if (search.nodeType == 9 || search.nodeType == 11 && search.host) {\n if (!search.getSelection) Object.getPrototypeOf(search).getSelection = () => search.ownerDocument.getSelection();\n return this._root = search;\n }\n }\n return cached || document;\n }\n /**\n When an existing editor view is moved to a new document or\n shadow tree, call this to make it recompute its root.\n */\n updateRoot() {\n this._root = null;\n }\n /**\n Given a pair of viewport coordinates, return the document\n position that corresponds to them. May return null if the given\n coordinates aren't inside of the editor. When an object is\n returned, its `pos` property is the position nearest to the\n coordinates, and its `inside` property holds the position of the\n inner node that the position falls inside of, or -1 if it is at\n the top level, not in any node.\n */\n posAtCoords(coords) {\n return posAtCoords(this, coords);\n }\n /**\n Returns the viewport rectangle at a given document position.\n `left` and `right` will be the same number, as this returns a\n flat cursor-ish rectangle. If the position is between two things\n that aren't directly adjacent, `side` determines which element\n is used. When < 0, the element before the position is used,\n otherwise the element after.\n */\n coordsAtPos(pos) {\n let side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n return coordsAtPos(this, pos, side);\n }\n /**\n Find the DOM position that corresponds to the given document\n position. When `side` is negative, find the position as close as\n possible to the content before the position. When positive,\n prefer positions close to the content after the position. When\n zero, prefer as shallow a position as possible.\n \n Note that you should **not** mutate the editor's internal DOM,\n only inspect it (and even that is usually not necessary).\n */\n domAtPos(pos) {\n let side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return this.docView.domFromPos(pos, side);\n }\n /**\n Find the DOM node that represents the document node after the\n given position. May return `null` when the position doesn't point\n in front of a node or if the node is inside an opaque node view.\n \n This is intended to be able to call things like\n `getBoundingClientRect` on that DOM node. Do **not** mutate the\n editor DOM directly, or add styling this way, since that will be\n immediately overriden by the editor as it redraws the node.\n */\n nodeDOM(pos) {\n let desc = this.docView.descAt(pos);\n return desc ? desc.nodeDOM : null;\n }\n /**\n Find the document position that corresponds to a given DOM\n position. (Whenever possible, it is preferable to inspect the\n document structure directly, rather than poking around in the\n DOM, but sometimes—for example when interpreting an event\n target—you don't have a choice.)\n \n The `bias` parameter can be used to influence which side of a DOM\n node to use when the position is inside a leaf node.\n */\n posAtDOM(node, offset) {\n let bias = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1;\n let pos = this.docView.posFromDOM(node, offset, bias);\n if (pos == null) throw new RangeError(\"DOM position not inside the editor\");\n return pos;\n }\n /**\n Find out whether the selection is at the end of a textblock when\n moving in a given direction. When, for example, given `\"left\"`,\n it will return true if moving left from the current cursor\n position would leave that position's parent textblock. Will apply\n to the view's current state by default, but it is possible to\n pass a different state.\n */\n endOfTextblock(dir, state) {\n return endOfTextblock(this, state || this.state, dir);\n }\n /**\n Run the editor's paste logic with the given HTML string. The\n `event`, if given, will be passed to the\n [`handlePaste`](https://prosemirror.net/docs/ref/#view.EditorProps.handlePaste) hook.\n */\n pasteHTML(html, event) {\n return doPaste(this, \"\", html, false, event || new ClipboardEvent(\"paste\"));\n }\n /**\n Run the editor's paste logic with the given plain-text input.\n */\n pasteText(text, event) {\n return doPaste(this, text, null, true, event || new ClipboardEvent(\"paste\"));\n }\n /**\n Removes the editor from the DOM and destroys all [node\n views](https://prosemirror.net/docs/ref/#view.NodeView).\n */\n destroy() {\n if (!this.docView) return;\n destroyInput(this);\n this.destroyPluginViews();\n if (this.mounted) {\n this.docView.update(this.state.doc, [], viewDecorations(this), this);\n this.dom.textContent = \"\";\n } else if (this.dom.parentNode) {\n this.dom.parentNode.removeChild(this.dom);\n }\n this.docView.destroy();\n this.docView = null;\n clearReusedRange();\n }\n /**\n This is true when the view has been\n [destroyed](https://prosemirror.net/docs/ref/#view.EditorView.destroy) (and thus should not be\n used anymore).\n */\n get isDestroyed() {\n return this.docView == null;\n }\n /**\n Used for testing.\n */\n dispatchEvent(event) {\n return dispatchEvent(this, event);\n }\n /**\n Dispatch a transaction. Will call\n [`dispatchTransaction`](https://prosemirror.net/docs/ref/#view.DirectEditorProps.dispatchTransaction)\n when given, and otherwise defaults to applying the transaction to\n the current state and calling\n [`updateState`](https://prosemirror.net/docs/ref/#view.EditorView.updateState) with the result.\n This method is bound to the view instance, so that it can be\n easily passed around.\n */\n dispatch(tr) {\n let dispatchTransaction = this._props.dispatchTransaction;\n if (dispatchTransaction) dispatchTransaction.call(this, tr);else this.updateState(this.state.apply(tr));\n }\n /**\n @internal\n */\n domSelectionRange() {\n let sel = this.domSelection();\n if (!sel) return {\n focusNode: null,\n focusOffset: 0,\n anchorNode: null,\n anchorOffset: 0\n };\n return safari && this.root.nodeType === 11 && deepActiveElement(this.dom.ownerDocument) == this.dom && safariShadowSelectionRange(this, sel) || sel;\n }\n /**\n @internal\n */\n domSelection() {\n return this.root.getSelection();\n }\n}\nfunction computeDocDeco(view) {\n let attrs = Object.create(null);\n attrs.class = \"ProseMirror\";\n attrs.contenteditable = String(view.editable);\n view.someProp(\"attributes\", value => {\n if (typeof value == \"function\") value = value(view.state);\n if (value) for (let attr in value) {\n if (attr == \"class\") attrs.class += \" \" + value[attr];else if (attr == \"style\") attrs.style = (attrs.style ? attrs.style + \";\" : \"\") + value[attr];else if (!attrs[attr] && attr != \"contenteditable\" && attr != \"nodeName\") attrs[attr] = String(value[attr]);\n }\n });\n if (!attrs.translate) attrs.translate = \"no\";\n return [Decoration.node(0, view.state.doc.content.size, attrs)];\n}\nfunction updateCursorWrapper(view) {\n if (view.markCursor) {\n let dom = document.createElement(\"img\");\n dom.className = \"ProseMirror-separator\";\n dom.setAttribute(\"mark-placeholder\", \"true\");\n dom.setAttribute(\"alt\", \"\");\n view.cursorWrapper = {\n dom,\n deco: Decoration.widget(view.state.selection.from, dom, {\n raw: true,\n marks: view.markCursor\n })\n };\n } else {\n view.cursorWrapper = null;\n }\n}\nfunction getEditable(view) {\n return !view.someProp(\"editable\", value => value(view.state) === false);\n}\nfunction selectionContextChanged(sel1, sel2) {\n let depth = Math.min(sel1.$anchor.sharedDepth(sel1.head), sel2.$anchor.sharedDepth(sel2.head));\n return sel1.$anchor.start(depth) != sel2.$anchor.start(depth);\n}\nfunction buildNodeViews(view) {\n let result = Object.create(null);\n function add(obj) {\n for (let prop in obj) if (!Object.prototype.hasOwnProperty.call(result, prop)) result[prop] = obj[prop];\n }\n view.someProp(\"nodeViews\", add);\n view.someProp(\"markViews\", add);\n return result;\n}\nfunction changedNodeViews(a, b) {\n let nA = 0,\n nB = 0;\n for (let prop in a) {\n if (a[prop] != b[prop]) return true;\n nA++;\n }\n for (let _ in b) nB++;\n return nA != nB;\n}\nfunction checkStateComponent(plugin) {\n if (plugin.spec.state || plugin.spec.filterTransaction || plugin.spec.appendTransaction) throw new RangeError(\"Plugins passed directly to the view must not have a state component\");\n}\nexport { Decoration, DecorationSet, EditorView, __endComposition, __parseFromClipboard, __serializeForClipboard };","import { isRegExp, isString } from './is';\n/**\n * Truncates given string to the maximum characters count\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string (0 = unlimited)\n * @returns string Encoded\n */\nexport function truncate(str, max) {\n if (max === void 0) {\n max = 0;\n }\n if (typeof str !== 'string' || max === 0) {\n return str;\n }\n return str.length <= max ? str : str.substr(0, max) + \"...\";\n}\n/**\n * This is basically just `trim_line` from\n * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string\n * @returns string Encoded\n */\nexport function snipLine(line, colno) {\n var newLine = line;\n var lineLength = newLine.length;\n if (lineLength <= 150) {\n return newLine;\n }\n if (colno > lineLength) {\n // eslint-disable-next-line no-param-reassign\n colno = lineLength;\n }\n var start = Math.max(colno - 60, 0);\n if (start < 5) {\n start = 0;\n }\n var end = Math.min(start + 140, lineLength);\n if (end > lineLength - 5) {\n end = lineLength;\n }\n if (end === lineLength) {\n start = Math.max(end - 140, 0);\n }\n newLine = newLine.slice(start, end);\n if (start > 0) {\n newLine = \"'{snip} \" + newLine;\n }\n if (end < lineLength) {\n newLine += ' {snip}';\n }\n return newLine;\n}\n/**\n * Join values in array\n * @param input array of values to be joined together\n * @param delimiter string to be placed in-between values\n * @returns Joined values\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function safeJoin(input, delimiter) {\n if (!Array.isArray(input)) {\n return '';\n }\n var output = [];\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (var i = 0; i < input.length; i++) {\n var value = input[i];\n try {\n output.push(String(value));\n } catch (e) {\n output.push('[value cannot be serialized]');\n }\n }\n return output.join(delimiter);\n}\n/**\n * Checks if the value matches a regex or includes the string\n * @param value The string value to be checked against\n * @param pattern Either a regex or a string that must be contained in value\n */\nexport function isMatchingPattern(value, pattern) {\n if (!isString(value)) {\n return false;\n }\n if (isRegExp(pattern)) {\n return pattern.test(value);\n }\n if (typeof pattern === 'string') {\n return value.indexOf(pattern) !== -1;\n }\n return false;\n}\n/**\n * Given a string, escape characters which have meaning in the regex grammar, such that the result is safe to feed to\n * `new RegExp()`.\n *\n * Based on https://github.com/sindresorhus/escape-string-regexp. Vendored to a) reduce the size by skipping the runtime\n * type-checking, and b) ensure it gets down-compiled for old versions of Node (the published package only supports Node\n * 12+).\n *\n * @param regexString The string to escape\n * @returns An version of the string with all special regex characters escaped\n */\nexport function escapeStringForRegex(regexString) {\n // escape the hyphen separately so we can also replace it with a unicode literal hyphen, to avoid the problems\n // discussed in https://github.com/sindresorhus/escape-string-regexp/issues/20.\n return regexString.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&').replace(/-/g, '\\\\x2d');\n}","import { isBrowser } from '../environment';\nexport function isOnline() {\n if (isBrowser()) {\n return window.navigator.onLine;\n }\n return true;\n}\nexport function isOffline() {\n return !isOnline();\n}","export const isPhoneE164 = value => !!value.match(/^\\+[1-9]\\d{1,14}$/);\n\nexport const isPhoneNumberValid = (value, dialCode) => {\n const number = value.replace(dialCode, '');\n return !!number.match(/^[0-9]{1,14}$/);\n};\n\nexport const isPhoneE164OrEmpty = value => isPhoneE164(value) || value === '';\n\nexport const isPhoneNumberValidWithDialCode = value => {\n const number = value.replace(/^\\+/, ''); // Remove the '+' sign\n return !!number.match(/^[1-9]\\d{4,}$/); // Validate the phone number with minimum 5 digits\n};\n\nexport const startsWithPlus = value => value.startsWith('+');\n\nexport const shouldBeUrl = (value = '') =>\n value ? value.startsWith('http') : true;\n\nexport const isValidPassword = value => {\n const containsUppercase = /[A-Z]/.test(value);\n const containsLowercase = /[a-z]/.test(value);\n const containsNumber = /[0-9]/.test(value);\n const containsSpecialCharacter = /[!@#$%^&*()_+\\-=[\\]{}|'\"/\\\\.,`<>:;?~]/.test(\n value\n );\n return (\n containsUppercase &&\n containsLowercase &&\n containsNumber &&\n containsSpecialCharacter\n );\n};\n\nexport const isNumber = value => /^\\d+$/.test(value);\n\nexport const isDomain = value => {\n if (value !== '') {\n const domainRegex = /^([\\p{L}0-9]+(-[\\p{L}0-9]+)*\\.)+[a-z]{2,}$/gmu;\n return domainRegex.test(value);\n }\n return true;\n};\n","export const initOnEvents = ['click', 'touchstart', 'keypress', 'keydown'];\n\nexport const getAudioContext = () => {\n let audioCtx;\n try {\n audioCtx = new (window.AudioContext || window.webkitAudioContext)();\n } catch {\n // AudioContext is not available.\n }\n return audioCtx;\n};\n\n// eslint-disable-next-line default-param-last\nexport const getAlertAudio = async (baseUrl = '', requestContext) => {\n const audioCtx = getAudioContext();\n const playSound = audioBuffer => {\n window.playAudioAlert = () => {\n if (audioCtx) {\n const source = audioCtx.createBufferSource();\n source.buffer = audioBuffer;\n source.connect(audioCtx.destination);\n source.loop = false;\n source.start();\n }\n };\n };\n\n if (audioCtx) {\n const { type = 'dashboard', alertTone = 'ding' } = requestContext || {};\n const resourceUrl = `${baseUrl}/audio/${type}/${alertTone}.mp3`;\n const audioRequest = new Request(resourceUrl);\n\n fetch(audioRequest)\n .then(response => response.arrayBuffer())\n .then(buffer => {\n audioCtx.decodeAudioData(buffer).then(playSound);\n // eslint-disable-next-line no-promise-executor-return\n return new Promise(res => res());\n })\n .catch(() => {\n // error\n });\n }\n};\n","import {\n messageSchema,\n MessageMarkdownTransformer,\n MessageMarkdownSerializer,\n} from '@chatwoot/prosemirror-schema';\nimport * as Sentry from '@sentry/browser';\n\n/**\n * The delimiter used to separate the signature from the rest of the body.\n * @type {string}\n */\nexport const SIGNATURE_DELIMITER = '--';\n\n/**\n * Parse and Serialize the markdown text to remove any extra spaces or new lines\n */\nexport function cleanSignature(signature) {\n try {\n // remove any horizontal rule tokens\n signature = signature\n .replace(/^( *\\* *){3,} *$/gm, '')\n .replace(/^( *- *){3,} *$/gm, '')\n .replace(/^( *_ *){3,} *$/gm, '');\n\n const nodes = new MessageMarkdownTransformer(messageSchema).parse(\n signature\n );\n return MessageMarkdownSerializer.serialize(nodes);\n } catch (e) {\n // eslint-disable-next-line no-console\n console.warn(e);\n Sentry.captureException(e);\n // The parser can break on some cases\n // for example, Token type `hr` not supported by Markdown parser\n return signature;\n }\n}\n\n/**\n * Adds the signature delimiter to the beginning of the signature.\n *\n * @param {string} signature - The signature to add the delimiter to.\n * @returns {string} - The signature with the delimiter added.\n */\nfunction appendDelimiter(signature) {\n return `${SIGNATURE_DELIMITER}\\n\\n${cleanSignature(signature)}`;\n}\n\n/**\n * Check if there's an unedited signature at the end of the body\n * If there is, return the index of the signature, If there isn't, return -1\n *\n * @param {string} body - The body to search for the signature.\n * @param {string} signature - The signature to search for.\n * @returns {number} - The index of the last occurrence of the signature in the body, or -1 if not found.\n */\nexport function findSignatureInBody(body, signature) {\n const trimmedBody = body.trimEnd();\n const cleanedSignature = cleanSignature(signature);\n\n // check if body ends with signature\n if (trimmedBody.endsWith(cleanedSignature)) {\n return body.lastIndexOf(cleanedSignature);\n }\n\n return -1;\n}\n\n/**\n * Appends the signature to the body, separated by the signature delimiter.\n *\n * @param {string} body - The body to append the signature to.\n * @param {string} signature - The signature to append.\n * @returns {string} - The body with the signature appended.\n */\nexport function appendSignature(body, signature) {\n const cleanedSignature = cleanSignature(signature);\n // if signature is already present, return body\n if (findSignatureInBody(body, cleanedSignature) > -1) {\n return body;\n }\n\n return `${body.trimEnd()}\\n\\n${appendDelimiter(cleanedSignature)}`;\n}\n\n/**\n * Removes the signature from the body, along with the signature delimiter.\n *\n * @param {string} body - The body to remove the signature from.\n * @param {string} signature - The signature to remove.\n * @returns {string} - The body with the signature removed.\n */\nexport function removeSignature(body, signature) {\n // this will find the index of the signature if it exists\n // Regardless of extra spaces or new lines after the signature, the index will be the same if present\n const cleanedSignature = cleanSignature(signature);\n const signatureIndex = findSignatureInBody(body, cleanedSignature);\n\n // no need to trim the ends here, because it will simply be removed in the next method\n let newBody = body;\n\n // if signature is present, remove it and trim it\n // trimming will ensure any spaces or new lines before the signature are removed\n // This means we will have the delimiter at the end\n if (signatureIndex > -1) {\n newBody = newBody.substring(0, signatureIndex).trimEnd();\n }\n\n // let's find the delimiter and remove it\n const delimiterIndex = newBody.lastIndexOf(SIGNATURE_DELIMITER);\n if (\n delimiterIndex !== -1 &&\n delimiterIndex === newBody.length - SIGNATURE_DELIMITER.length // this will ensure the delimiter is at the end\n ) {\n // if the delimiter is at the end, remove it\n newBody = newBody.substring(0, delimiterIndex);\n }\n\n // return the value\n return newBody;\n}\n\n/**\n * Replaces the old signature with the new signature.\n * If the old signature is not present, it will append the new signature.\n *\n * @param {string} body - The body to replace the signature in.\n * @param {string} oldSignature - The signature to replace.\n * @param {string} newSignature - The signature to replace the old signature with.\n * @returns {string} - The body with the old signature replaced with the new signature.\n *\n */\nexport function replaceSignature(body, oldSignature, newSignature) {\n const withoutSignature = removeSignature(body, oldSignature);\n return appendSignature(withoutSignature, newSignature);\n}\n\n/**\n * Extract text from markdown, and remove all images, code blocks, links, headers, bold, italic, lists etc.\n * Links will be converted to text, and not removed.\n *\n * @param {string} markdown - markdown text to be extracted\n * @returns\n */\nexport function extractTextFromMarkdown(markdown) {\n return markdown\n .replace(/```[\\s\\S]*?```/g, '') // Remove code blocks\n .replace(/`.*?`/g, '') // Remove inline code\n .replace(/!\\[.*?\\]\\(.*?\\)/g, '') // Remove images before removing links\n .replace(/\\[([^\\]]+)\\]\\([^)]+\\)/g, '$1') // Remove links but keep the text\n .replace(/#+\\s*|[*_-]{1,3}/g, '') // Remove headers, bold, italic, lists etc.\n .split('\\n')\n .map(line => line.trim())\n .filter(Boolean)\n .join('\\n') // Trim each line & remove any lines only having spaces\n .replace(/\\n{2,}/g, '\\n') // Remove multiple consecutive newlines (blank lines)\n .trim(); // Trim any extra space\n}\n\n/**\n * Scrolls the editor view into current cursor position\n *\n * @param {EditorView} view - The Prosemirror EditorView\n *\n */\nexport const scrollCursorIntoView = view => {\n // Get the current selection's head position (where the cursor is).\n const pos = view.state.selection.head;\n\n // Get the corresponding DOM node for that position.\n const domAtPos = view.domAtPos(pos);\n const node = domAtPos.node;\n\n // Scroll the node into view.\n if (node && node.scrollIntoView) {\n node.scrollIntoView({ behavior: 'smooth', block: 'center' });\n }\n};\n\n/**\n * Returns a transaction that inserts a node into editor at the given position\n * Has an optional param 'content' to check if the\n *\n * @param {Node} node - The prosemirror node that needs to be inserted into the editor\n * @param {number} from - Position in the editor where the node needs to be inserted\n * @param {number} to - Position in the editor where the node needs to be replaced\n *\n */\nexport function insertAtCursor(editorView, node, from, to) {\n if (!editorView) {\n return undefined;\n }\n\n // This is a workaround to prevent inserting content into new line rather than on the exiting line\n // If the node is of type 'doc' and has only one child which is a paragraph,\n // then extract its inline content to be inserted as inline.\n const isWrappedInParagraph =\n node.type.name === 'doc' &&\n node.childCount === 1 &&\n node.firstChild.type.name === 'paragraph';\n\n if (isWrappedInParagraph) {\n node = node.firstChild.content;\n }\n\n let tr;\n if (to) {\n tr = editorView.state.tr.replaceWith(from, to, node).insertText(` `);\n } else {\n tr = editorView.state.tr.insert(from, node);\n }\n const state = editorView.state.apply(tr);\n editorView.updateState(state);\n editorView.focus();\n\n return state;\n}\n\n/**\n * Determines the appropriate node and position to insert an image in the editor.\n *\n * Based on the current editor state and the provided image URL, this function finds out the correct node (either\n * a standalone image node or an image wrapped in a paragraph) and its respective position in the editor.\n *\n * 1. If the current node is a paragraph and doesn't contain an image or text, the image is inserted directly into it.\n * 2. If the current node isn't a paragraph or it's a paragraph containing text, the image will be wrapped\n * in a new paragraph and then inserted.\n * 3. If the current node is a paragraph containing an image, the new image will be inserted directly into it.\n *\n * @param {Object} editorState - The current state of the editor. It provides necessary details like selection, schema, etc.\n * @param {string} fileUrl - The URL of the image to be inserted into the editor.\n * @returns {Object|null} An object containing details about the node to be inserted and its position. It returns null if no image node can be created.\n * @property {Node} node - The ProseMirror node to be inserted (either an image node or a paragraph containing the image).\n * @property {number} pos - The position where the new node should be inserted in the editor.\n */\n\nexport const findNodeToInsertImage = (editorState, fileUrl) => {\n const { selection, schema } = editorState;\n const { nodes } = schema;\n const currentNode = selection.$from.node();\n const {\n type: { name: typeName },\n content: { size, content },\n } = currentNode;\n\n const imageNode = nodes.image.create({ src: fileUrl });\n\n if (!imageNode) return null;\n\n const isInParagraph = typeName === 'paragraph';\n const needsNewLine =\n !content.some(n => n.type.name === 'image') && size !== 0 ? 1 : 0;\n\n return {\n node: isInParagraph ? imageNode : nodes.paragraph.create({}, imageNode),\n pos: selection.from + needsNewLine,\n };\n};\n\n/**\n * Set URL with query and size.\n *\n * @param {Object} selectedImageNode - The current selected node.\n * @param {Object} size - The size to set.\n * @param {Object} editorView - The editor view.\n */\nexport function setURLWithQueryAndSize(selectedImageNode, size, editorView) {\n if (selectedImageNode) {\n // Create and apply the transaction\n const tr = editorView.state.tr.setNodeMarkup(\n editorView.state.selection.from,\n null,\n {\n src: selectedImageNode.src,\n height: size.height,\n }\n );\n\n if (tr.docChanged) {\n editorView.dispatch(tr);\n }\n }\n}\n","import { __extends, __values } from \"tslib\";\nimport { logger, timestampWithMs } from '@sentry/utils';\nimport { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from './constants';\nimport { IS_DEBUG_BUILD } from './flags';\nimport { SpanRecorder } from './span';\nimport { Transaction } from './transaction';\nexport var DEFAULT_IDLE_TIMEOUT = 1000;\nexport var HEARTBEAT_INTERVAL = 5000;\n/**\n * @inheritDoc\n */\nvar IdleTransactionSpanRecorder = /** @class */function (_super) {\n __extends(IdleTransactionSpanRecorder, _super);\n function IdleTransactionSpanRecorder(_pushActivity, _popActivity, transactionSpanId, maxlen) {\n if (transactionSpanId === void 0) {\n transactionSpanId = '';\n }\n var _this = _super.call(this, maxlen) || this;\n _this._pushActivity = _pushActivity;\n _this._popActivity = _popActivity;\n _this.transactionSpanId = transactionSpanId;\n return _this;\n }\n /**\n * @inheritDoc\n */\n IdleTransactionSpanRecorder.prototype.add = function (span) {\n var _this = this;\n // We should make sure we do not push and pop activities for\n // the transaction that this span recorder belongs to.\n if (span.spanId !== this.transactionSpanId) {\n // We patch span.finish() to pop an activity after setting an endTimestamp.\n span.finish = function (endTimestamp) {\n span.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs();\n _this._popActivity(span.spanId);\n };\n // We should only push new activities if the span does not have an end timestamp.\n if (span.endTimestamp === undefined) {\n this._pushActivity(span.spanId);\n }\n }\n _super.prototype.add.call(this, span);\n };\n return IdleTransactionSpanRecorder;\n}(SpanRecorder);\nexport { IdleTransactionSpanRecorder };\n/**\n * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities.\n * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will\n * put itself on the scope on creation.\n */\nvar IdleTransaction = /** @class */function (_super) {\n __extends(IdleTransaction, _super);\n function IdleTransaction(transactionContext, _idleHub,\n /**\n * The time to wait in ms until the idle transaction will be finished.\n * @default 1000\n */\n _idleTimeout,\n // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends\n _onScope) {\n if (_idleTimeout === void 0) {\n _idleTimeout = DEFAULT_IDLE_TIMEOUT;\n }\n if (_onScope === void 0) {\n _onScope = false;\n }\n var _this = _super.call(this, transactionContext, _idleHub) || this;\n _this._idleHub = _idleHub;\n _this._idleTimeout = _idleTimeout;\n _this._onScope = _onScope;\n // Activities store a list of active spans\n _this.activities = {};\n // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats.\n _this._heartbeatCounter = 0;\n // We should not use heartbeat if we finished a transaction\n _this._finished = false;\n _this._beforeFinishCallbacks = [];\n if (_idleHub && _onScope) {\n // There should only be one active transaction on the scope\n clearActiveTransaction(_idleHub);\n // We set the transaction here on the scope so error events pick up the trace\n // context and attach it to the error.\n IS_DEBUG_BUILD && logger.log(\"Setting idle transaction on scope. Span ID: \" + _this.spanId);\n _idleHub.configureScope(function (scope) {\n return scope.setSpan(_this);\n });\n }\n _this._initTimeout = setTimeout(function () {\n if (!_this._finished) {\n _this.finish();\n }\n }, _this._idleTimeout);\n return _this;\n }\n /** {@inheritDoc} */\n IdleTransaction.prototype.finish = function (endTimestamp) {\n var e_1, _a;\n var _this = this;\n if (endTimestamp === void 0) {\n endTimestamp = timestampWithMs();\n }\n this._finished = true;\n this.activities = {};\n if (this.spanRecorder) {\n IS_DEBUG_BUILD && logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestamp * 1000).toISOString(), this.op);\n try {\n for (var _b = __values(this._beforeFinishCallbacks), _c = _b.next(); !_c.done; _c = _b.next()) {\n var callback = _c.value;\n callback(this, endTimestamp);\n }\n } catch (e_1_1) {\n e_1 = {\n error: e_1_1\n };\n } finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n } finally {\n if (e_1) throw e_1.error;\n }\n }\n this.spanRecorder.spans = this.spanRecorder.spans.filter(function (span) {\n // If we are dealing with the transaction itself, we just return it\n if (span.spanId === _this.spanId) {\n return true;\n }\n // We cancel all pending spans with status \"cancelled\" to indicate the idle transaction was finished early\n if (!span.endTimestamp) {\n span.endTimestamp = endTimestamp;\n span.setStatus('cancelled');\n IS_DEBUG_BUILD && logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2));\n }\n var keepSpan = span.startTimestamp < endTimestamp;\n if (!keepSpan) {\n IS_DEBUG_BUILD && logger.log('[Tracing] discarding Span since it happened after Transaction was finished', JSON.stringify(span, undefined, 2));\n }\n return keepSpan;\n });\n IS_DEBUG_BUILD && logger.log('[Tracing] flushing IdleTransaction');\n } else {\n IS_DEBUG_BUILD && logger.log('[Tracing] No active IdleTransaction');\n }\n // if `this._onScope` is `true`, the transaction put itself on the scope when it started\n if (this._onScope) {\n clearActiveTransaction(this._idleHub);\n }\n return _super.prototype.finish.call(this, endTimestamp);\n };\n /**\n * Register a callback function that gets excecuted before the transaction finishes.\n * Useful for cleanup or if you want to add any additional spans based on current context.\n *\n * This is exposed because users have no other way of running something before an idle transaction\n * finishes.\n */\n IdleTransaction.prototype.registerBeforeFinishCallback = function (callback) {\n this._beforeFinishCallbacks.push(callback);\n };\n /**\n * @inheritDoc\n */\n IdleTransaction.prototype.initSpanRecorder = function (maxlen) {\n var _this = this;\n if (!this.spanRecorder) {\n var pushActivity = function (id) {\n if (_this._finished) {\n return;\n }\n _this._pushActivity(id);\n };\n var popActivity = function (id) {\n if (_this._finished) {\n return;\n }\n _this._popActivity(id);\n };\n this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanId, maxlen);\n // Start heartbeat so that transactions do not run forever.\n IS_DEBUG_BUILD && logger.log('Starting heartbeat');\n this._pingHeartbeat();\n }\n this.spanRecorder.add(this);\n };\n /**\n * Start tracking a specific activity.\n * @param spanId The span id that represents the activity\n */\n IdleTransaction.prototype._pushActivity = function (spanId) {\n if (this._initTimeout) {\n clearTimeout(this._initTimeout);\n this._initTimeout = undefined;\n }\n IS_DEBUG_BUILD && logger.log(\"[Tracing] pushActivity: \" + spanId);\n this.activities[spanId] = true;\n IS_DEBUG_BUILD && logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n };\n /**\n * Remove an activity from usage\n * @param spanId The span id that represents the activity\n */\n IdleTransaction.prototype._popActivity = function (spanId) {\n var _this = this;\n if (this.activities[spanId]) {\n IS_DEBUG_BUILD && logger.log(\"[Tracing] popActivity \" + spanId);\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this.activities[spanId];\n IS_DEBUG_BUILD && logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n if (Object.keys(this.activities).length === 0) {\n var timeout = this._idleTimeout;\n // We need to add the timeout here to have the real endtimestamp of the transaction\n // Remember timestampWithMs is in seconds, timeout is in ms\n var end_1 = timestampWithMs() + timeout / 1000;\n setTimeout(function () {\n if (!_this._finished) {\n _this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[1]);\n _this.finish(end_1);\n }\n }, timeout);\n }\n };\n /**\n * Checks when entries of this.activities are not changing for 3 beats.\n * If this occurs we finish the transaction.\n */\n IdleTransaction.prototype._beat = function () {\n // We should not be running heartbeat if the idle transaction is finished.\n if (this._finished) {\n return;\n }\n var heartbeatString = Object.keys(this.activities).join('');\n if (heartbeatString === this._prevHeartbeatString) {\n this._heartbeatCounter += 1;\n } else {\n this._heartbeatCounter = 1;\n }\n this._prevHeartbeatString = heartbeatString;\n if (this._heartbeatCounter >= 3) {\n IS_DEBUG_BUILD && logger.log('[Tracing] Transaction finished because of no change for 3 heart beats');\n this.setStatus('deadline_exceeded');\n this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[0]);\n this.finish();\n } else {\n this._pingHeartbeat();\n }\n };\n /**\n * Pings the heartbeat\n */\n IdleTransaction.prototype._pingHeartbeat = function () {\n var _this = this;\n IS_DEBUG_BUILD && logger.log(\"pinging Heartbeat -> current counter: \" + this._heartbeatCounter);\n setTimeout(function () {\n _this._beat();\n }, HEARTBEAT_INTERVAL);\n };\n return IdleTransaction;\n}(Transaction);\nexport { IdleTransaction };\n/**\n * Reset transaction on scope to `undefined`\n */\nfunction clearActiveTransaction(hub) {\n if (hub) {\n var scope = hub.getScope();\n if (scope) {\n var transaction = scope.getTransaction();\n if (transaction) {\n scope.setSpan(undefined);\n }\n }\n }\n}","import { __assign, __extends } from \"tslib\";\nimport { getCurrentHub, Hub } from '@sentry/hub';\nimport { dropUndefinedKeys, isInstanceOf, logger } from '@sentry/utils';\nimport { IS_DEBUG_BUILD } from './flags';\nimport { Span as SpanClass, SpanRecorder } from './span';\n/** JSDoc */\nvar Transaction = /** @class */function (_super) {\n __extends(Transaction, _super);\n /**\n * This constructor should never be called manually. Those instrumenting tracing should use\n * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`.\n * @internal\n * @hideconstructor\n * @hidden\n */\n function Transaction(transactionContext, hub) {\n var _this = _super.call(this, transactionContext) || this;\n _this._measurements = {};\n /**\n * The reference to the current hub.\n */\n _this._hub = getCurrentHub();\n if (isInstanceOf(hub, Hub)) {\n _this._hub = hub;\n }\n _this.name = transactionContext.name || '';\n _this.metadata = transactionContext.metadata || {};\n _this._trimEnd = transactionContext.trimEnd;\n // this is because transactions are also spans, and spans have a transaction pointer\n _this.transaction = _this;\n return _this;\n }\n /**\n * JSDoc\n */\n Transaction.prototype.setName = function (name) {\n this.name = name;\n };\n /**\n * Attaches SpanRecorder to the span itself\n * @param maxlen maximum number of spans that can be recorded\n */\n Transaction.prototype.initSpanRecorder = function (maxlen) {\n if (maxlen === void 0) {\n maxlen = 1000;\n }\n if (!this.spanRecorder) {\n this.spanRecorder = new SpanRecorder(maxlen);\n }\n this.spanRecorder.add(this);\n };\n /**\n * Set observed measurements for this transaction.\n * @hidden\n */\n Transaction.prototype.setMeasurements = function (measurements) {\n this._measurements = __assign({}, measurements);\n };\n /**\n * Set metadata for this transaction.\n * @hidden\n */\n Transaction.prototype.setMetadata = function (newMetadata) {\n this.metadata = __assign(__assign({}, this.metadata), newMetadata);\n };\n /**\n * @inheritDoc\n */\n Transaction.prototype.finish = function (endTimestamp) {\n var _this = this;\n // This transaction is already finished, so we should not flush it again.\n if (this.endTimestamp !== undefined) {\n return undefined;\n }\n if (!this.name) {\n IS_DEBUG_BUILD && logger.warn('Transaction has no name, falling back to ``.');\n this.name = '';\n }\n // just sets the end timestamp\n _super.prototype.finish.call(this, endTimestamp);\n if (this.sampled !== true) {\n // At this point if `sampled !== true` we want to discard the transaction.\n IS_DEBUG_BUILD && logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.');\n var client = this._hub.getClient();\n var transport = client && client.getTransport && client.getTransport();\n if (transport && transport.recordLostEvent) {\n transport.recordLostEvent('sample_rate', 'transaction');\n }\n return undefined;\n }\n var finishedSpans = this.spanRecorder ? this.spanRecorder.spans.filter(function (s) {\n return s !== _this && s.endTimestamp;\n }) : [];\n if (this._trimEnd && finishedSpans.length > 0) {\n this.endTimestamp = finishedSpans.reduce(function (prev, current) {\n if (prev.endTimestamp && current.endTimestamp) {\n return prev.endTimestamp > current.endTimestamp ? prev : current;\n }\n return prev;\n }).endTimestamp;\n }\n var transaction = {\n contexts: {\n trace: this.getTraceContext()\n },\n spans: finishedSpans,\n start_timestamp: this.startTimestamp,\n tags: this.tags,\n timestamp: this.endTimestamp,\n transaction: this.name,\n type: 'transaction',\n sdkProcessingMetadata: this.metadata\n };\n var hasMeasurements = Object.keys(this._measurements).length > 0;\n if (hasMeasurements) {\n IS_DEBUG_BUILD && logger.log('[Measurements] Adding measurements to transaction', JSON.stringify(this._measurements, undefined, 2));\n transaction.measurements = this._measurements;\n }\n IS_DEBUG_BUILD && logger.log(\"[Tracing] Finishing \" + this.op + \" transaction: \" + this.name + \".\");\n return this._hub.captureEvent(transaction);\n };\n /**\n * @inheritDoc\n */\n Transaction.prototype.toContext = function () {\n var spanContext = _super.prototype.toContext.call(this);\n return dropUndefinedKeys(__assign(__assign({}, spanContext), {\n name: this.name,\n trimEnd: this._trimEnd\n }));\n };\n /**\n * @inheritDoc\n */\n Transaction.prototype.updateWithContext = function (transactionContext) {\n var _a;\n _super.prototype.updateWithContext.call(this, transactionContext);\n this.name = (_a = transactionContext.name, _a !== null && _a !== void 0 ? _a : '');\n this._trimEnd = transactionContext.trimEnd;\n return this;\n };\n return Transaction;\n}(SpanClass);\nexport { Transaction };","import { __assign, __extends, __spreadArray } from \"tslib\";\nimport { PriorityQueue } from '.';\nimport { Context } from '../../core/context';\nimport { isBrowser } from '../../core/environment';\nvar loc = {\n getItem: function () {},\n setItem: function () {},\n removeItem: function () {}\n};\ntry {\n loc = isBrowser() && window.localStorage ? window.localStorage : loc;\n} catch (err) {\n console.warn('Unable to access localStorage', err);\n}\nfunction persisted(key) {\n var items = loc.getItem(key);\n return (items ? JSON.parse(items) : []).map(function (p) {\n return new Context(p.event, p.id);\n });\n}\nfunction persistItems(key, items) {\n var existing = persisted(key);\n var all = __spreadArray(__spreadArray([], items, true), existing, true);\n var merged = all.reduce(function (acc, item) {\n var _a;\n return __assign(__assign({}, acc), (_a = {}, _a[item.id] = item, _a));\n }, {});\n loc.setItem(key, JSON.stringify(Object.values(merged)));\n}\nfunction seen(key) {\n var stored = loc.getItem(key);\n return stored ? JSON.parse(stored) : {};\n}\nfunction persistSeen(key, memory) {\n var stored = seen(key);\n loc.setItem(key, JSON.stringify(__assign(__assign({}, stored), memory)));\n}\nfunction remove(key) {\n loc.removeItem(key);\n}\nvar now = function () {\n return new Date().getTime();\n};\nfunction mutex(key, onUnlock, attempt) {\n if (attempt === void 0) {\n attempt = 0;\n }\n var lockTimeout = 50;\n var lockKey = \"persisted-queue:v1:\".concat(key, \":lock\");\n var expired = function (lock) {\n return new Date().getTime() > lock;\n };\n var rawLock = loc.getItem(lockKey);\n var lock = rawLock ? JSON.parse(rawLock) : null;\n var allowed = lock === null || expired(lock);\n if (allowed) {\n loc.setItem(lockKey, JSON.stringify(now() + lockTimeout));\n onUnlock();\n loc.removeItem(lockKey);\n return;\n }\n if (!allowed && attempt < 3) {\n setTimeout(function () {\n mutex(key, onUnlock, attempt + 1);\n }, lockTimeout);\n } else {\n console.error('Unable to retrieve lock');\n }\n}\nvar PersistedPriorityQueue = /** @class */function (_super) {\n __extends(PersistedPriorityQueue, _super);\n function PersistedPriorityQueue(maxAttempts, key) {\n var _this = _super.call(this, maxAttempts, []) || this;\n var itemsKey = \"persisted-queue:v1:\".concat(key, \":items\");\n var seenKey = \"persisted-queue:v1:\".concat(key, \":seen\");\n var saved = [];\n var lastSeen = {};\n mutex(key, function () {\n try {\n saved = persisted(itemsKey);\n lastSeen = seen(seenKey);\n remove(itemsKey);\n remove(seenKey);\n _this.queue = __spreadArray(__spreadArray([], saved, true), _this.queue, true);\n _this.seen = __assign(__assign({}, lastSeen), _this.seen);\n } catch (err) {\n console.error(err);\n }\n });\n window.addEventListener('pagehide', function () {\n // we deliberately want to use the less powerful 'pagehide' API to only persist on events where the analytics instance gets destroyed, and not on tab away.\n if (_this.todo > 0) {\n var items_1 = __spreadArray(__spreadArray([], _this.queue, true), _this.future, true);\n try {\n mutex(key, function () {\n persistItems(itemsKey, items_1);\n persistSeen(seenKey, _this.seen);\n });\n } catch (err) {\n console.error(err);\n }\n }\n });\n return _this;\n }\n return PersistedPriorityQueue;\n}(PriorityQueue);\nexport { PersistedPriorityQueue };","'use strict';\n\nvar Vue = require('vue');\nVue = 'default' in Vue ? Vue['default'] : Vue;\nvar version = '2.1.0';\nvar compatible = /^2\\./.test(Vue.version);\nif (!compatible) {\n Vue.util.warn('VueClickaway ' + version + ' only supports Vue 2.x, and does not support Vue ' + Vue.version);\n}\n\n// @SECTION: implementation\n\nvar HANDLER = '_vue_clickaway_handler';\nfunction bind(el, binding) {\n unbind(el);\n var callback = binding.value;\n if (typeof callback !== 'function') {\n if (process.env.NODE_ENV !== 'production') {\n Vue.util.warn('v-' + binding.name + '=\"' + binding.expression + '\" expects a function value, ' + 'got ' + callback);\n }\n return;\n }\n\n // @NOTE: Vue binds directives in microtasks, while UI events are dispatched\n // in macrotasks. This causes the listener to be set up before\n // the \"origin\" click event (the event that lead to the binding of\n // the directive) arrives at the document root. To work around that,\n // we ignore events until the end of the \"initial\" macrotask.\n // @REFERENCE: https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/\n // @REFERENCE: https://github.com/simplesmiler/vue-clickaway/issues/8\n var initialMacrotaskEnded = false;\n setTimeout(function () {\n initialMacrotaskEnded = true;\n }, 0);\n el[HANDLER] = function (ev) {\n // @NOTE: IE 5.0+\n // @REFERENCE: https://developer.mozilla.org/en/docs/Web/API/Node/contains\n if (initialMacrotaskEnded && !el.contains(ev.target)) {\n return callback(ev);\n }\n };\n document.documentElement.addEventListener('click', el[HANDLER], false);\n}\nfunction unbind(el) {\n document.documentElement.removeEventListener('click', el[HANDLER], false);\n delete el[HANDLER];\n}\nvar directive = {\n bind: bind,\n update: function (el, binding) {\n if (binding.value === binding.oldValue) return;\n bind(el, binding);\n },\n unbind: unbind\n};\nvar mixin = {\n directives: {\n onClickaway: directive\n }\n};\nexports.version = version;\nexports.directive = directive;\nexports.mixin = mixin;","import toInteger from \"../toInteger/index.js\";\nimport toDate from \"../../toDate/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCWeekYear(dirtyDate, dirtyOptions) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate, dirtyOptions);\n var year = date.getUTCFullYear();\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeFirstWeekContainsDate = locale && locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n var firstWeekOfNextYear = new Date(0);\n firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, dirtyOptions);\n var firstWeekOfThisYear = new Date(0);\n firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, dirtyOptions);\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","var IDX = 256,\n HEX = [],\n BUFFER;\nwhile (IDX--) HEX[IDX] = (IDX + 256).toString(16).substring(1);\nexport function v4() {\n var i = 0,\n num,\n out = '';\n if (!BUFFER || IDX + 16 > 256) {\n BUFFER = Array(i = 256);\n while (i--) BUFFER[i] = 256 * Math.random() | 0;\n i = IDX = 0;\n }\n for (; i < 16; i++) {\n num = BUFFER[IDX + i];\n if (i == 6) out += HEX[num & 15 | 64];else if (i == 8) out += HEX[num & 63 | 128];else out += HEX[num];\n if (i & 1 && i > 1 && i < 11) out += '-';\n }\n IDX++;\n return out;\n}","// This an imperfect polyfill for globalThis\nexport var getGlobal = function () {\n if (typeof globalThis !== 'undefined') {\n return globalThis;\n }\n if (typeof self !== 'undefined') {\n return self;\n }\n if (typeof window !== 'undefined') {\n return window;\n }\n if (typeof global !== 'undefined') {\n return global;\n }\n return null;\n};","/*!\n * vue-router v3.5.4\n * (c) 2022 Evan You\n * @license MIT\n */\n/* */\n\nfunction assert(condition, message) {\n if (!condition) {\n throw new Error(\"[vue-router] \" + message);\n }\n}\nfunction warn(condition, message) {\n if (!condition) {\n typeof console !== 'undefined' && console.warn(\"[vue-router] \" + message);\n }\n}\nfunction extend(a, b) {\n for (var key in b) {\n a[key] = b[key];\n }\n return a;\n}\n\n/* */\n\nvar encodeReserveRE = /[!'()*]/g;\nvar encodeReserveReplacer = function (c) {\n return '%' + c.charCodeAt(0).toString(16);\n};\nvar commaRE = /%2C/g;\n\n// fixed encodeURIComponent which is more conformant to RFC3986:\n// - escapes [!'()*]\n// - preserve commas\nvar encode = function (str) {\n return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');\n};\nfunction decode(str) {\n try {\n return decodeURIComponent(str);\n } catch (err) {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"Error decoding \\\"\" + str + \"\\\". Leaving it intact.\");\n }\n }\n return str;\n}\nfunction resolveQuery(query, extraQuery, _parseQuery) {\n if (extraQuery === void 0) extraQuery = {};\n var parse = _parseQuery || parseQuery;\n var parsedQuery;\n try {\n parsedQuery = parse(query || '');\n } catch (e) {\n process.env.NODE_ENV !== 'production' && warn(false, e.message);\n parsedQuery = {};\n }\n for (var key in extraQuery) {\n var value = extraQuery[key];\n parsedQuery[key] = Array.isArray(value) ? value.map(castQueryParamValue) : castQueryParamValue(value);\n }\n return parsedQuery;\n}\nvar castQueryParamValue = function (value) {\n return value == null || typeof value === 'object' ? value : String(value);\n};\nfunction parseQuery(query) {\n var res = {};\n query = query.trim().replace(/^(\\?|#|&)/, '');\n if (!query) {\n return res;\n }\n query.split('&').forEach(function (param) {\n var parts = param.replace(/\\+/g, ' ').split('=');\n var key = decode(parts.shift());\n var val = parts.length > 0 ? decode(parts.join('=')) : null;\n if (res[key] === undefined) {\n res[key] = val;\n } else if (Array.isArray(res[key])) {\n res[key].push(val);\n } else {\n res[key] = [res[key], val];\n }\n });\n return res;\n}\nfunction stringifyQuery(obj) {\n var res = obj ? Object.keys(obj).map(function (key) {\n var val = obj[key];\n if (val === undefined) {\n return '';\n }\n if (val === null) {\n return encode(key);\n }\n if (Array.isArray(val)) {\n var result = [];\n val.forEach(function (val2) {\n if (val2 === undefined) {\n return;\n }\n if (val2 === null) {\n result.push(encode(key));\n } else {\n result.push(encode(key) + '=' + encode(val2));\n }\n });\n return result.join('&');\n }\n return encode(key) + '=' + encode(val);\n }).filter(function (x) {\n return x.length > 0;\n }).join('&') : null;\n return res ? \"?\" + res : '';\n}\n\n/* */\n\nvar trailingSlashRE = /\\/?$/;\nfunction createRoute(record, location, redirectedFrom, router) {\n var stringifyQuery = router && router.options.stringifyQuery;\n var query = location.query || {};\n try {\n query = clone(query);\n } catch (e) {}\n var route = {\n name: location.name || record && record.name,\n meta: record && record.meta || {},\n path: location.path || '/',\n hash: location.hash || '',\n query: query,\n params: location.params || {},\n fullPath: getFullPath(location, stringifyQuery),\n matched: record ? formatMatch(record) : []\n };\n if (redirectedFrom) {\n route.redirectedFrom = getFullPath(redirectedFrom, stringifyQuery);\n }\n return Object.freeze(route);\n}\nfunction clone(value) {\n if (Array.isArray(value)) {\n return value.map(clone);\n } else if (value && typeof value === 'object') {\n var res = {};\n for (var key in value) {\n res[key] = clone(value[key]);\n }\n return res;\n } else {\n return value;\n }\n}\n\n// the starting route that represents the initial state\nvar START = createRoute(null, {\n path: '/'\n});\nfunction formatMatch(record) {\n var res = [];\n while (record) {\n res.unshift(record);\n record = record.parent;\n }\n return res;\n}\nfunction getFullPath(ref, _stringifyQuery) {\n var path = ref.path;\n var query = ref.query;\n if (query === void 0) query = {};\n var hash = ref.hash;\n if (hash === void 0) hash = '';\n var stringify = _stringifyQuery || stringifyQuery;\n return (path || '/') + stringify(query) + hash;\n}\nfunction isSameRoute(a, b, onlyPath) {\n if (b === START) {\n return a === b;\n } else if (!b) {\n return false;\n } else if (a.path && b.path) {\n return a.path.replace(trailingSlashRE, '') === b.path.replace(trailingSlashRE, '') && (onlyPath || a.hash === b.hash && isObjectEqual(a.query, b.query));\n } else if (a.name && b.name) {\n return a.name === b.name && (onlyPath || a.hash === b.hash && isObjectEqual(a.query, b.query) && isObjectEqual(a.params, b.params));\n } else {\n return false;\n }\n}\nfunction isObjectEqual(a, b) {\n if (a === void 0) a = {};\n if (b === void 0) b = {};\n\n // handle null value #1566\n if (!a || !b) {\n return a === b;\n }\n var aKeys = Object.keys(a).sort();\n var bKeys = Object.keys(b).sort();\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n return aKeys.every(function (key, i) {\n var aVal = a[key];\n var bKey = bKeys[i];\n if (bKey !== key) {\n return false;\n }\n var bVal = b[key];\n // query values can be null and undefined\n if (aVal == null || bVal == null) {\n return aVal === bVal;\n }\n // check nested equality\n if (typeof aVal === 'object' && typeof bVal === 'object') {\n return isObjectEqual(aVal, bVal);\n }\n return String(aVal) === String(bVal);\n });\n}\nfunction isIncludedRoute(current, target) {\n return current.path.replace(trailingSlashRE, '/').indexOf(target.path.replace(trailingSlashRE, '/')) === 0 && (!target.hash || current.hash === target.hash) && queryIncludes(current.query, target.query);\n}\nfunction queryIncludes(current, target) {\n for (var key in target) {\n if (!(key in current)) {\n return false;\n }\n }\n return true;\n}\nfunction handleRouteEntered(route) {\n for (var i = 0; i < route.matched.length; i++) {\n var record = route.matched[i];\n for (var name in record.instances) {\n var instance = record.instances[name];\n var cbs = record.enteredCbs[name];\n if (!instance || !cbs) {\n continue;\n }\n delete record.enteredCbs[name];\n for (var i$1 = 0; i$1 < cbs.length; i$1++) {\n if (!instance._isBeingDestroyed) {\n cbs[i$1](instance);\n }\n }\n }\n }\n}\nvar View = {\n name: 'RouterView',\n functional: true,\n props: {\n name: {\n type: String,\n default: 'default'\n }\n },\n render: function render(_, ref) {\n var props = ref.props;\n var children = ref.children;\n var parent = ref.parent;\n var data = ref.data;\n\n // used by devtools to display a router-view badge\n data.routerView = true;\n\n // directly use parent context's createElement() function\n // so that components rendered by router-view can resolve named slots\n var h = parent.$createElement;\n var name = props.name;\n var route = parent.$route;\n var cache = parent._routerViewCache || (parent._routerViewCache = {});\n\n // determine current view depth, also check to see if the tree\n // has been toggled inactive but kept-alive.\n var depth = 0;\n var inactive = false;\n while (parent && parent._routerRoot !== parent) {\n var vnodeData = parent.$vnode ? parent.$vnode.data : {};\n if (vnodeData.routerView) {\n depth++;\n }\n if (vnodeData.keepAlive && parent._directInactive && parent._inactive) {\n inactive = true;\n }\n parent = parent.$parent;\n }\n data.routerViewDepth = depth;\n\n // render previous view if the tree is inactive and kept-alive\n if (inactive) {\n var cachedData = cache[name];\n var cachedComponent = cachedData && cachedData.component;\n if (cachedComponent) {\n // #2301\n // pass props\n if (cachedData.configProps) {\n fillPropsinData(cachedComponent, data, cachedData.route, cachedData.configProps);\n }\n return h(cachedComponent, data, children);\n } else {\n // render previous empty view\n return h();\n }\n }\n var matched = route.matched[depth];\n var component = matched && matched.components[name];\n\n // render empty node if no matched route or no config component\n if (!matched || !component) {\n cache[name] = null;\n return h();\n }\n\n // cache component\n cache[name] = {\n component: component\n };\n\n // attach instance registration hook\n // this will be called in the instance's injected lifecycle hooks\n data.registerRouteInstance = function (vm, val) {\n // val could be undefined for unregistration\n var current = matched.instances[name];\n if (val && current !== vm || !val && current === vm) {\n matched.instances[name] = val;\n }\n }\n\n // also register instance in prepatch hook\n // in case the same component instance is reused across different routes\n ;\n (data.hook || (data.hook = {})).prepatch = function (_, vnode) {\n matched.instances[name] = vnode.componentInstance;\n };\n\n // register instance in init hook\n // in case kept-alive component be actived when routes changed\n data.hook.init = function (vnode) {\n if (vnode.data.keepAlive && vnode.componentInstance && vnode.componentInstance !== matched.instances[name]) {\n matched.instances[name] = vnode.componentInstance;\n }\n\n // if the route transition has already been confirmed then we weren't\n // able to call the cbs during confirmation as the component was not\n // registered yet, so we call it here.\n handleRouteEntered(route);\n };\n var configProps = matched.props && matched.props[name];\n // save route and configProps in cache\n if (configProps) {\n extend(cache[name], {\n route: route,\n configProps: configProps\n });\n fillPropsinData(component, data, route, configProps);\n }\n return h(component, data, children);\n }\n};\nfunction fillPropsinData(component, data, route, configProps) {\n // resolve props\n var propsToPass = data.props = resolveProps(route, configProps);\n if (propsToPass) {\n // clone to prevent mutation\n propsToPass = data.props = extend({}, propsToPass);\n // pass non-declared props as attrs\n var attrs = data.attrs = data.attrs || {};\n for (var key in propsToPass) {\n if (!component.props || !(key in component.props)) {\n attrs[key] = propsToPass[key];\n delete propsToPass[key];\n }\n }\n }\n}\nfunction resolveProps(route, config) {\n switch (typeof config) {\n case 'undefined':\n return;\n case 'object':\n return config;\n case 'function':\n return config(route);\n case 'boolean':\n return config ? route.params : undefined;\n default:\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"props in \\\"\" + route.path + \"\\\" is a \" + typeof config + \", \" + \"expecting an object, function or boolean.\");\n }\n }\n}\n\n/* */\n\nfunction resolvePath(relative, base, append) {\n var firstChar = relative.charAt(0);\n if (firstChar === '/') {\n return relative;\n }\n if (firstChar === '?' || firstChar === '#') {\n return base + relative;\n }\n var stack = base.split('/');\n\n // remove trailing segment if:\n // - not appending\n // - appending to trailing slash (last segment is empty)\n if (!append || !stack[stack.length - 1]) {\n stack.pop();\n }\n\n // resolve relative path\n var segments = relative.replace(/^\\//, '').split('/');\n for (var i = 0; i < segments.length; i++) {\n var segment = segments[i];\n if (segment === '..') {\n stack.pop();\n } else if (segment !== '.') {\n stack.push(segment);\n }\n }\n\n // ensure leading slash\n if (stack[0] !== '') {\n stack.unshift('');\n }\n return stack.join('/');\n}\nfunction parsePath(path) {\n var hash = '';\n var query = '';\n var hashIndex = path.indexOf('#');\n if (hashIndex >= 0) {\n hash = path.slice(hashIndex);\n path = path.slice(0, hashIndex);\n }\n var queryIndex = path.indexOf('?');\n if (queryIndex >= 0) {\n query = path.slice(queryIndex + 1);\n path = path.slice(0, queryIndex);\n }\n return {\n path: path,\n query: query,\n hash: hash\n };\n}\nfunction cleanPath(path) {\n return path.replace(/\\/(?:\\s*\\/)+/g, '/');\n}\nvar isarray = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n\n/**\n * Expose `pathToRegexp`.\n */\nvar pathToRegexp_1 = pathToRegexp;\nvar parse_1 = parse;\nvar compile_1 = compile;\nvar tokensToFunction_1 = tokensToFunction;\nvar tokensToRegExp_1 = tokensToRegExp;\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n// Match escaped characters that would otherwise appear in future matches.\n// This allows the user to escape special characters that won't transform.\n'(\\\\\\\\.)',\n// Match Express-style parameters and un-named parameters with a prefix\n// and optional suffixes. Matches appear as:\n//\n// \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n// \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n// \"/*\" => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n'([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'].join('|'), 'g');\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\nfunction parse(str, options) {\n var tokens = [];\n var key = 0;\n var index = 0;\n var path = '';\n var defaultDelimiter = options && options.delimiter || '/';\n var res;\n while ((res = PATH_REGEXP.exec(str)) != null) {\n var m = res[0];\n var escaped = res[1];\n var offset = res.index;\n path += str.slice(index, offset);\n index = offset + m.length;\n\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1];\n continue;\n }\n var next = str[index];\n var prefix = res[2];\n var name = res[3];\n var capture = res[4];\n var group = res[5];\n var modifier = res[6];\n var asterisk = res[7];\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path);\n path = '';\n }\n var partial = prefix != null && next != null && next !== prefix;\n var repeat = modifier === '+' || modifier === '*';\n var optional = modifier === '?' || modifier === '*';\n var delimiter = res[2] || defaultDelimiter;\n var pattern = capture || group;\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n asterisk: !!asterisk,\n pattern: pattern ? escapeGroup(pattern) : asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?'\n });\n }\n\n // Match any characters still remaining.\n if (index < str.length) {\n path += str.substr(index);\n }\n\n // If the path exists, push it onto the end.\n if (path) {\n tokens.push(path);\n }\n return tokens;\n}\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\nfunction compile(str, options) {\n return tokensToFunction(parse(str, options), options);\n}\n\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeURIComponentPretty(str) {\n return encodeURI(str).replace(/[\\/?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeAsterisk(str) {\n return encodeURI(str).replace(/[?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction(tokens, options) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length);\n\n // Compile all the patterns before compilation.\n for (var i = 0; i < tokens.length; i++) {\n if (typeof tokens[i] === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options));\n }\n }\n return function (obj, opts) {\n var path = '';\n var data = obj || {};\n var options = opts || {};\n var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent;\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n if (typeof token === 'string') {\n path += token;\n continue;\n }\n var value = data[token.name];\n var segment;\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix;\n }\n continue;\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined');\n }\n }\n if (isarray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`');\n }\n if (value.length === 0) {\n if (token.optional) {\n continue;\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to not be empty');\n }\n }\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j]);\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`');\n }\n path += (j === 0 ? token.prefix : token.delimiter) + segment;\n }\n continue;\n }\n segment = token.asterisk ? encodeAsterisk(value) : encode(value);\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"');\n }\n path += token.prefix + segment;\n }\n return path;\n };\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\nfunction escapeString(str) {\n return str.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g, '\\\\$1');\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\nfunction escapeGroup(group) {\n return group.replace(/([=!:$\\/()])/g, '\\\\$1');\n}\n\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param {!RegExp} re\n * @param {Array} keys\n * @return {!RegExp}\n */\nfunction attachKeys(re, keys) {\n re.keys = keys;\n return re;\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\nfunction flags(options) {\n return options && options.sensitive ? '' : 'i';\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {!Array} keys\n * @return {!RegExp}\n */\nfunction regexpToRegexp(path, keys) {\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g);\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n asterisk: false,\n pattern: null\n });\n }\n }\n return attachKeys(path, keys);\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction arrayToRegexp(path, keys, options) {\n var parts = [];\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp(path[i], keys, options).source);\n }\n var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options));\n return attachKeys(regexp, keys);\n}\n\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {!Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction stringToRegexp(path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options);\n}\n\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction tokensToRegExp(tokens, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */keys || options;\n keys = [];\n }\n options = options || {};\n var strict = options.strict;\n var end = options.end !== false;\n var route = '';\n\n // Iterate over the tokens and create our regexp string.\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n if (typeof token === 'string') {\n route += escapeString(token);\n } else {\n var prefix = escapeString(token.prefix);\n var capture = '(?:' + token.pattern + ')';\n keys.push(token);\n if (token.repeat) {\n capture += '(?:' + prefix + capture + ')*';\n }\n if (token.optional) {\n if (!token.partial) {\n capture = '(?:' + prefix + '(' + capture + '))?';\n } else {\n capture = prefix + '(' + capture + ')?';\n }\n } else {\n capture = prefix + '(' + capture + ')';\n }\n route += capture;\n }\n }\n var delimiter = escapeString(options.delimiter || '/');\n var endsWithDelimiter = route.slice(-delimiter.length) === delimiter;\n\n // In non-strict mode we allow a slash at the end of match. If the path to\n // match already ends with a slash, we remove it for consistency. The slash\n // is valid at the end of a path match, not in the middle. This is important\n // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n if (!strict) {\n route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?';\n }\n if (end) {\n route += '$';\n } else {\n // In non-ending mode, we need the capturing groups to match as much as\n // possible by using a positive lookahead to the end or next path segment.\n route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)';\n }\n return attachKeys(new RegExp('^' + route, flags(options)), keys);\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction pathToRegexp(path, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */keys || options;\n keys = [];\n }\n options = options || {};\n if (path instanceof RegExp) {\n return regexpToRegexp(path, /** @type {!Array} */keys);\n }\n if (isarray(path)) {\n return arrayToRegexp(/** @type {!Array} */path, /** @type {!Array} */keys, options);\n }\n return stringToRegexp(/** @type {string} */path, /** @type {!Array} */keys, options);\n}\npathToRegexp_1.parse = parse_1;\npathToRegexp_1.compile = compile_1;\npathToRegexp_1.tokensToFunction = tokensToFunction_1;\npathToRegexp_1.tokensToRegExp = tokensToRegExp_1;\n\n/* */\n\n// $flow-disable-line\nvar regexpCompileCache = Object.create(null);\nfunction fillParams(path, params, routeMsg) {\n params = params || {};\n try {\n var filler = regexpCompileCache[path] || (regexpCompileCache[path] = pathToRegexp_1.compile(path));\n\n // Fix #2505 resolving asterisk routes { name: 'not-found', params: { pathMatch: '/not-found' }}\n // and fix #3106 so that you can work with location descriptor object having params.pathMatch equal to empty string\n if (typeof params.pathMatch === 'string') {\n params[0] = params.pathMatch;\n }\n return filler(params, {\n pretty: true\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n // Fix #3072 no warn if `pathMatch` is string\n warn(typeof params.pathMatch === 'string', \"missing param for \" + routeMsg + \": \" + e.message);\n }\n return '';\n } finally {\n // delete the 0 if it was added\n delete params[0];\n }\n}\n\n/* */\n\nfunction normalizeLocation(raw, current, append, router) {\n var next = typeof raw === 'string' ? {\n path: raw\n } : raw;\n // named target\n if (next._normalized) {\n return next;\n } else if (next.name) {\n next = extend({}, raw);\n var params = next.params;\n if (params && typeof params === 'object') {\n next.params = extend({}, params);\n }\n return next;\n }\n\n // relative params\n if (!next.path && next.params && current) {\n next = extend({}, next);\n next._normalized = true;\n var params$1 = extend(extend({}, current.params), next.params);\n if (current.name) {\n next.name = current.name;\n next.params = params$1;\n } else if (current.matched.length) {\n var rawPath = current.matched[current.matched.length - 1].path;\n next.path = fillParams(rawPath, params$1, \"path \" + current.path);\n } else if (process.env.NODE_ENV !== 'production') {\n warn(false, \"relative params navigation requires a current route.\");\n }\n return next;\n }\n var parsedPath = parsePath(next.path || '');\n var basePath = current && current.path || '/';\n var path = parsedPath.path ? resolvePath(parsedPath.path, basePath, append || next.append) : basePath;\n var query = resolveQuery(parsedPath.query, next.query, router && router.options.parseQuery);\n var hash = next.hash || parsedPath.hash;\n if (hash && hash.charAt(0) !== '#') {\n hash = \"#\" + hash;\n }\n return {\n _normalized: true,\n path: path,\n query: query,\n hash: hash\n };\n}\n\n/* */\n\n// work around weird flow bug\nvar toTypes = [String, Object];\nvar eventTypes = [String, Array];\nvar noop = function () {};\nvar warnedCustomSlot;\nvar warnedTagProp;\nvar warnedEventProp;\nvar Link = {\n name: 'RouterLink',\n props: {\n to: {\n type: toTypes,\n required: true\n },\n tag: {\n type: String,\n default: 'a'\n },\n custom: Boolean,\n exact: Boolean,\n exactPath: Boolean,\n append: Boolean,\n replace: Boolean,\n activeClass: String,\n exactActiveClass: String,\n ariaCurrentValue: {\n type: String,\n default: 'page'\n },\n event: {\n type: eventTypes,\n default: 'click'\n }\n },\n render: function render(h) {\n var this$1 = this;\n var router = this.$router;\n var current = this.$route;\n var ref = router.resolve(this.to, current, this.append);\n var location = ref.location;\n var route = ref.route;\n var href = ref.href;\n var classes = {};\n var globalActiveClass = router.options.linkActiveClass;\n var globalExactActiveClass = router.options.linkExactActiveClass;\n // Support global empty active class\n var activeClassFallback = globalActiveClass == null ? 'router-link-active' : globalActiveClass;\n var exactActiveClassFallback = globalExactActiveClass == null ? 'router-link-exact-active' : globalExactActiveClass;\n var activeClass = this.activeClass == null ? activeClassFallback : this.activeClass;\n var exactActiveClass = this.exactActiveClass == null ? exactActiveClassFallback : this.exactActiveClass;\n var compareTarget = route.redirectedFrom ? createRoute(null, normalizeLocation(route.redirectedFrom), null, router) : route;\n classes[exactActiveClass] = isSameRoute(current, compareTarget, this.exactPath);\n classes[activeClass] = this.exact || this.exactPath ? classes[exactActiveClass] : isIncludedRoute(current, compareTarget);\n var ariaCurrentValue = classes[exactActiveClass] ? this.ariaCurrentValue : null;\n var handler = function (e) {\n if (guardEvent(e)) {\n if (this$1.replace) {\n router.replace(location, noop);\n } else {\n router.push(location, noop);\n }\n }\n };\n var on = {\n click: guardEvent\n };\n if (Array.isArray(this.event)) {\n this.event.forEach(function (e) {\n on[e] = handler;\n });\n } else {\n on[this.event] = handler;\n }\n var data = {\n class: classes\n };\n var scopedSlot = !this.$scopedSlots.$hasNormal && this.$scopedSlots.default && this.$scopedSlots.default({\n href: href,\n route: route,\n navigate: handler,\n isActive: classes[activeClass],\n isExactActive: classes[exactActiveClass]\n });\n if (scopedSlot) {\n if (process.env.NODE_ENV !== 'production' && !this.custom) {\n !warnedCustomSlot && warn(false, 'In Vue Router 4, the v-slot API will by default wrap its content with an element. Use the custom prop to remove this warning:\\n\\n');\n warnedCustomSlot = true;\n }\n if (scopedSlot.length === 1) {\n return scopedSlot[0];\n } else if (scopedSlot.length > 1 || !scopedSlot.length) {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \" with to=\\\"\" + this.to + \"\\\" is trying to use a scoped slot but it didn't provide exactly one child. Wrapping the content with a span element.\");\n }\n return scopedSlot.length === 0 ? h() : h('span', {}, scopedSlot);\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n if ('tag' in this.$options.propsData && !warnedTagProp) {\n warn(false, \"'s tag prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.\");\n warnedTagProp = true;\n }\n if ('event' in this.$options.propsData && !warnedEventProp) {\n warn(false, \"'s event prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.\");\n warnedEventProp = true;\n }\n }\n if (this.tag === 'a') {\n data.on = on;\n data.attrs = {\n href: href,\n 'aria-current': ariaCurrentValue\n };\n } else {\n // find the first child and apply listener and href\n var a = findAnchor(this.$slots.default);\n if (a) {\n // in case the is a static node\n a.isStatic = false;\n var aData = a.data = extend({}, a.data);\n aData.on = aData.on || {};\n // transform existing events in both objects into arrays so we can push later\n for (var event in aData.on) {\n var handler$1 = aData.on[event];\n if (event in on) {\n aData.on[event] = Array.isArray(handler$1) ? handler$1 : [handler$1];\n }\n }\n // append new listeners for router-link\n for (var event$1 in on) {\n if (event$1 in aData.on) {\n // on[event] is always a function\n aData.on[event$1].push(on[event$1]);\n } else {\n aData.on[event$1] = handler;\n }\n }\n var aAttrs = a.data.attrs = extend({}, a.data.attrs);\n aAttrs.href = href;\n aAttrs['aria-current'] = ariaCurrentValue;\n } else {\n // doesn't have child, apply listener to self\n data.on = on;\n }\n }\n return h(this.tag, data, this.$slots.default);\n }\n};\nfunction guardEvent(e) {\n // don't redirect with control keys\n if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) {\n return;\n }\n // don't redirect when preventDefault called\n if (e.defaultPrevented) {\n return;\n }\n // don't redirect on right click\n if (e.button !== undefined && e.button !== 0) {\n return;\n }\n // don't redirect if `target=\"_blank\"`\n if (e.currentTarget && e.currentTarget.getAttribute) {\n var target = e.currentTarget.getAttribute('target');\n if (/\\b_blank\\b/i.test(target)) {\n return;\n }\n }\n // this may be a Weex event which doesn't have this method\n if (e.preventDefault) {\n e.preventDefault();\n }\n return true;\n}\nfunction findAnchor(children) {\n if (children) {\n var child;\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n if (child.tag === 'a') {\n return child;\n }\n if (child.children && (child = findAnchor(child.children))) {\n return child;\n }\n }\n }\n}\nvar _Vue;\nfunction install(Vue) {\n if (install.installed && _Vue === Vue) {\n return;\n }\n install.installed = true;\n _Vue = Vue;\n var isDef = function (v) {\n return v !== undefined;\n };\n var registerInstance = function (vm, callVal) {\n var i = vm.$options._parentVnode;\n if (isDef(i) && isDef(i = i.data) && isDef(i = i.registerRouteInstance)) {\n i(vm, callVal);\n }\n };\n Vue.mixin({\n beforeCreate: function beforeCreate() {\n if (isDef(this.$options.router)) {\n this._routerRoot = this;\n this._router = this.$options.router;\n this._router.init(this);\n Vue.util.defineReactive(this, '_route', this._router.history.current);\n } else {\n this._routerRoot = this.$parent && this.$parent._routerRoot || this;\n }\n registerInstance(this, this);\n },\n destroyed: function destroyed() {\n registerInstance(this);\n }\n });\n Object.defineProperty(Vue.prototype, '$router', {\n get: function get() {\n return this._routerRoot._router;\n }\n });\n Object.defineProperty(Vue.prototype, '$route', {\n get: function get() {\n return this._routerRoot._route;\n }\n });\n Vue.component('RouterView', View);\n Vue.component('RouterLink', Link);\n var strats = Vue.config.optionMergeStrategies;\n // use the same hook merging strategy for route hooks\n strats.beforeRouteEnter = strats.beforeRouteLeave = strats.beforeRouteUpdate = strats.created;\n}\n\n/* */\n\nvar inBrowser = typeof window !== 'undefined';\n\n/* */\n\nfunction createRouteMap(routes, oldPathList, oldPathMap, oldNameMap, parentRoute) {\n // the path list is used to control path matching priority\n var pathList = oldPathList || [];\n // $flow-disable-line\n var pathMap = oldPathMap || Object.create(null);\n // $flow-disable-line\n var nameMap = oldNameMap || Object.create(null);\n routes.forEach(function (route) {\n addRouteRecord(pathList, pathMap, nameMap, route, parentRoute);\n });\n\n // ensure wildcard routes are always at the end\n for (var i = 0, l = pathList.length; i < l; i++) {\n if (pathList[i] === '*') {\n pathList.push(pathList.splice(i, 1)[0]);\n l--;\n i--;\n }\n }\n if (process.env.NODE_ENV === 'development') {\n // warn if routes do not include leading slashes\n var found = pathList\n // check for missing leading slash\n .filter(function (path) {\n return path && path.charAt(0) !== '*' && path.charAt(0) !== '/';\n });\n if (found.length > 0) {\n var pathNames = found.map(function (path) {\n return \"- \" + path;\n }).join('\\n');\n warn(false, \"Non-nested routes must include a leading slash character. Fix the following routes: \\n\" + pathNames);\n }\n }\n return {\n pathList: pathList,\n pathMap: pathMap,\n nameMap: nameMap\n };\n}\nfunction addRouteRecord(pathList, pathMap, nameMap, route, parent, matchAs) {\n var path = route.path;\n var name = route.name;\n if (process.env.NODE_ENV !== 'production') {\n assert(path != null, \"\\\"path\\\" is required in a route configuration.\");\n assert(typeof route.component !== 'string', \"route config \\\"component\\\" for path: \" + String(path || name) + \" cannot be a \" + \"string id. Use an actual component instead.\");\n warn(\n // eslint-disable-next-line no-control-regex\n !/[^\\u0000-\\u007F]+/.test(path), \"Route with path \\\"\" + path + \"\\\" contains unencoded characters, make sure \" + \"your path is correctly encoded before passing it to the router. Use \" + \"encodeURI to encode static segments of your path.\");\n }\n var pathToRegexpOptions = route.pathToRegexpOptions || {};\n var normalizedPath = normalizePath(path, parent, pathToRegexpOptions.strict);\n if (typeof route.caseSensitive === 'boolean') {\n pathToRegexpOptions.sensitive = route.caseSensitive;\n }\n var record = {\n path: normalizedPath,\n regex: compileRouteRegex(normalizedPath, pathToRegexpOptions),\n components: route.components || {\n default: route.component\n },\n alias: route.alias ? typeof route.alias === 'string' ? [route.alias] : route.alias : [],\n instances: {},\n enteredCbs: {},\n name: name,\n parent: parent,\n matchAs: matchAs,\n redirect: route.redirect,\n beforeEnter: route.beforeEnter,\n meta: route.meta || {},\n props: route.props == null ? {} : route.components ? route.props : {\n default: route.props\n }\n };\n if (route.children) {\n // Warn if route is named, does not redirect and has a default child route.\n // If users navigate to this route by name, the default child will\n // not be rendered (GH Issue #629)\n if (process.env.NODE_ENV !== 'production') {\n if (route.name && !route.redirect && route.children.some(function (child) {\n return /^\\/?$/.test(child.path);\n })) {\n warn(false, \"Named Route '\" + route.name + \"' has a default child route. \" + \"When navigating to this named route (:to=\\\"{name: '\" + route.name + \"'}\\\"), \" + \"the default child route will not be rendered. Remove the name from \" + \"this route and use the name of the default child route for named \" + \"links instead.\");\n }\n }\n route.children.forEach(function (child) {\n var childMatchAs = matchAs ? cleanPath(matchAs + \"/\" + child.path) : undefined;\n addRouteRecord(pathList, pathMap, nameMap, child, record, childMatchAs);\n });\n }\n if (!pathMap[record.path]) {\n pathList.push(record.path);\n pathMap[record.path] = record;\n }\n if (route.alias !== undefined) {\n var aliases = Array.isArray(route.alias) ? route.alias : [route.alias];\n for (var i = 0; i < aliases.length; ++i) {\n var alias = aliases[i];\n if (process.env.NODE_ENV !== 'production' && alias === path) {\n warn(false, \"Found an alias with the same value as the path: \\\"\" + path + \"\\\". You have to remove that alias. It will be ignored in development.\");\n // skip in dev to make it work\n continue;\n }\n var aliasRoute = {\n path: alias,\n children: route.children\n };\n addRouteRecord(pathList, pathMap, nameMap, aliasRoute, parent, record.path || '/' // matchAs\n );\n }\n }\n if (name) {\n if (!nameMap[name]) {\n nameMap[name] = record;\n } else if (process.env.NODE_ENV !== 'production' && !matchAs) {\n warn(false, \"Duplicate named routes definition: \" + \"{ name: \\\"\" + name + \"\\\", path: \\\"\" + record.path + \"\\\" }\");\n }\n }\n}\nfunction compileRouteRegex(path, pathToRegexpOptions) {\n var regex = pathToRegexp_1(path, [], pathToRegexpOptions);\n if (process.env.NODE_ENV !== 'production') {\n var keys = Object.create(null);\n regex.keys.forEach(function (key) {\n warn(!keys[key.name], \"Duplicate param keys in route with path: \\\"\" + path + \"\\\"\");\n keys[key.name] = true;\n });\n }\n return regex;\n}\nfunction normalizePath(path, parent, strict) {\n if (!strict) {\n path = path.replace(/\\/$/, '');\n }\n if (path[0] === '/') {\n return path;\n }\n if (parent == null) {\n return path;\n }\n return cleanPath(parent.path + \"/\" + path);\n}\n\n/* */\n\nfunction createMatcher(routes, router) {\n var ref = createRouteMap(routes);\n var pathList = ref.pathList;\n var pathMap = ref.pathMap;\n var nameMap = ref.nameMap;\n function addRoutes(routes) {\n createRouteMap(routes, pathList, pathMap, nameMap);\n }\n function addRoute(parentOrRoute, route) {\n var parent = typeof parentOrRoute !== 'object' ? nameMap[parentOrRoute] : undefined;\n // $flow-disable-line\n createRouteMap([route || parentOrRoute], pathList, pathMap, nameMap, parent);\n\n // add aliases of parent\n if (parent && parent.alias.length) {\n createRouteMap(\n // $flow-disable-line route is defined if parent is\n parent.alias.map(function (alias) {\n return {\n path: alias,\n children: [route]\n };\n }), pathList, pathMap, nameMap, parent);\n }\n }\n function getRoutes() {\n return pathList.map(function (path) {\n return pathMap[path];\n });\n }\n function match(raw, currentRoute, redirectedFrom) {\n var location = normalizeLocation(raw, currentRoute, false, router);\n var name = location.name;\n if (name) {\n var record = nameMap[name];\n if (process.env.NODE_ENV !== 'production') {\n warn(record, \"Route with name '\" + name + \"' does not exist\");\n }\n if (!record) {\n return _createRoute(null, location);\n }\n var paramNames = record.regex.keys.filter(function (key) {\n return !key.optional;\n }).map(function (key) {\n return key.name;\n });\n if (typeof location.params !== 'object') {\n location.params = {};\n }\n if (currentRoute && typeof currentRoute.params === 'object') {\n for (var key in currentRoute.params) {\n if (!(key in location.params) && paramNames.indexOf(key) > -1) {\n location.params[key] = currentRoute.params[key];\n }\n }\n }\n location.path = fillParams(record.path, location.params, \"named route \\\"\" + name + \"\\\"\");\n return _createRoute(record, location, redirectedFrom);\n } else if (location.path) {\n location.params = {};\n for (var i = 0; i < pathList.length; i++) {\n var path = pathList[i];\n var record$1 = pathMap[path];\n if (matchRoute(record$1.regex, location.path, location.params)) {\n return _createRoute(record$1, location, redirectedFrom);\n }\n }\n }\n // no match\n return _createRoute(null, location);\n }\n function redirect(record, location) {\n var originalRedirect = record.redirect;\n var redirect = typeof originalRedirect === 'function' ? originalRedirect(createRoute(record, location, null, router)) : originalRedirect;\n if (typeof redirect === 'string') {\n redirect = {\n path: redirect\n };\n }\n if (!redirect || typeof redirect !== 'object') {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"invalid redirect option: \" + JSON.stringify(redirect));\n }\n return _createRoute(null, location);\n }\n var re = redirect;\n var name = re.name;\n var path = re.path;\n var query = location.query;\n var hash = location.hash;\n var params = location.params;\n query = re.hasOwnProperty('query') ? re.query : query;\n hash = re.hasOwnProperty('hash') ? re.hash : hash;\n params = re.hasOwnProperty('params') ? re.params : params;\n if (name) {\n // resolved named direct\n var targetRecord = nameMap[name];\n if (process.env.NODE_ENV !== 'production') {\n assert(targetRecord, \"redirect failed: named route \\\"\" + name + \"\\\" not found.\");\n }\n return match({\n _normalized: true,\n name: name,\n query: query,\n hash: hash,\n params: params\n }, undefined, location);\n } else if (path) {\n // 1. resolve relative redirect\n var rawPath = resolveRecordPath(path, record);\n // 2. resolve params\n var resolvedPath = fillParams(rawPath, params, \"redirect route with path \\\"\" + rawPath + \"\\\"\");\n // 3. rematch with existing query and hash\n return match({\n _normalized: true,\n path: resolvedPath,\n query: query,\n hash: hash\n }, undefined, location);\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"invalid redirect option: \" + JSON.stringify(redirect));\n }\n return _createRoute(null, location);\n }\n }\n function alias(record, location, matchAs) {\n var aliasedPath = fillParams(matchAs, location.params, \"aliased route with path \\\"\" + matchAs + \"\\\"\");\n var aliasedMatch = match({\n _normalized: true,\n path: aliasedPath\n });\n if (aliasedMatch) {\n var matched = aliasedMatch.matched;\n var aliasedRecord = matched[matched.length - 1];\n location.params = aliasedMatch.params;\n return _createRoute(aliasedRecord, location);\n }\n return _createRoute(null, location);\n }\n function _createRoute(record, location, redirectedFrom) {\n if (record && record.redirect) {\n return redirect(record, redirectedFrom || location);\n }\n if (record && record.matchAs) {\n return alias(record, location, record.matchAs);\n }\n return createRoute(record, location, redirectedFrom, router);\n }\n return {\n match: match,\n addRoute: addRoute,\n getRoutes: getRoutes,\n addRoutes: addRoutes\n };\n}\nfunction matchRoute(regex, path, params) {\n var m = path.match(regex);\n if (!m) {\n return false;\n } else if (!params) {\n return true;\n }\n for (var i = 1, len = m.length; i < len; ++i) {\n var key = regex.keys[i - 1];\n if (key) {\n // Fix #1994: using * with props: true generates a param named 0\n params[key.name || 'pathMatch'] = typeof m[i] === 'string' ? decode(m[i]) : m[i];\n }\n }\n return true;\n}\nfunction resolveRecordPath(path, record) {\n return resolvePath(path, record.parent ? record.parent.path : '/', true);\n}\n\n/* */\n\n// use User Timing api (if present) for more accurate key precision\nvar Time = inBrowser && window.performance && window.performance.now ? window.performance : Date;\nfunction genStateKey() {\n return Time.now().toFixed(3);\n}\nvar _key = genStateKey();\nfunction getStateKey() {\n return _key;\n}\nfunction setStateKey(key) {\n return _key = key;\n}\n\n/* */\n\nvar positionStore = Object.create(null);\nfunction setupScroll() {\n // Prevent browser scroll behavior on History popstate\n if ('scrollRestoration' in window.history) {\n window.history.scrollRestoration = 'manual';\n }\n // Fix for #1585 for Firefox\n // Fix for #2195 Add optional third attribute to workaround a bug in safari https://bugs.webkit.org/show_bug.cgi?id=182678\n // Fix for #2774 Support for apps loaded from Windows file shares not mapped to network drives: replaced location.origin with\n // window.location.protocol + '//' + window.location.host\n // location.host contains the port and location.hostname doesn't\n var protocolAndPath = window.location.protocol + '//' + window.location.host;\n var absolutePath = window.location.href.replace(protocolAndPath, '');\n // preserve existing history state as it could be overriden by the user\n var stateCopy = extend({}, window.history.state);\n stateCopy.key = getStateKey();\n window.history.replaceState(stateCopy, '', absolutePath);\n window.addEventListener('popstate', handlePopState);\n return function () {\n window.removeEventListener('popstate', handlePopState);\n };\n}\nfunction handleScroll(router, to, from, isPop) {\n if (!router.app) {\n return;\n }\n var behavior = router.options.scrollBehavior;\n if (!behavior) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n assert(typeof behavior === 'function', \"scrollBehavior must be a function\");\n }\n\n // wait until re-render finishes before scrolling\n router.app.$nextTick(function () {\n var position = getScrollPosition();\n var shouldScroll = behavior.call(router, to, from, isPop ? position : null);\n if (!shouldScroll) {\n return;\n }\n if (typeof shouldScroll.then === 'function') {\n shouldScroll.then(function (shouldScroll) {\n scrollToPosition(shouldScroll, position);\n }).catch(function (err) {\n if (process.env.NODE_ENV !== 'production') {\n assert(false, err.toString());\n }\n });\n } else {\n scrollToPosition(shouldScroll, position);\n }\n });\n}\nfunction saveScrollPosition() {\n var key = getStateKey();\n if (key) {\n positionStore[key] = {\n x: window.pageXOffset,\n y: window.pageYOffset\n };\n }\n}\nfunction handlePopState(e) {\n saveScrollPosition();\n if (e.state && e.state.key) {\n setStateKey(e.state.key);\n }\n}\nfunction getScrollPosition() {\n var key = getStateKey();\n if (key) {\n return positionStore[key];\n }\n}\nfunction getElementPosition(el, offset) {\n var docEl = document.documentElement;\n var docRect = docEl.getBoundingClientRect();\n var elRect = el.getBoundingClientRect();\n return {\n x: elRect.left - docRect.left - offset.x,\n y: elRect.top - docRect.top - offset.y\n };\n}\nfunction isValidPosition(obj) {\n return isNumber(obj.x) || isNumber(obj.y);\n}\nfunction normalizePosition(obj) {\n return {\n x: isNumber(obj.x) ? obj.x : window.pageXOffset,\n y: isNumber(obj.y) ? obj.y : window.pageYOffset\n };\n}\nfunction normalizeOffset(obj) {\n return {\n x: isNumber(obj.x) ? obj.x : 0,\n y: isNumber(obj.y) ? obj.y : 0\n };\n}\nfunction isNumber(v) {\n return typeof v === 'number';\n}\nvar hashStartsWithNumberRE = /^#\\d/;\nfunction scrollToPosition(shouldScroll, position) {\n var isObject = typeof shouldScroll === 'object';\n if (isObject && typeof shouldScroll.selector === 'string') {\n // getElementById would still fail if the selector contains a more complicated query like #main[data-attr]\n // but at the same time, it doesn't make much sense to select an element with an id and an extra selector\n var el = hashStartsWithNumberRE.test(shouldScroll.selector) // $flow-disable-line\n ? document.getElementById(shouldScroll.selector.slice(1)) // $flow-disable-line\n : document.querySelector(shouldScroll.selector);\n if (el) {\n var offset = shouldScroll.offset && typeof shouldScroll.offset === 'object' ? shouldScroll.offset : {};\n offset = normalizeOffset(offset);\n position = getElementPosition(el, offset);\n } else if (isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n } else if (isObject && isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n if (position) {\n // $flow-disable-line\n if ('scrollBehavior' in document.documentElement.style) {\n window.scrollTo({\n left: position.x,\n top: position.y,\n // $flow-disable-line\n behavior: shouldScroll.behavior\n });\n } else {\n window.scrollTo(position.x, position.y);\n }\n }\n}\n\n/* */\n\nvar supportsPushState = inBrowser && function () {\n var ua = window.navigator.userAgent;\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) {\n return false;\n }\n return window.history && typeof window.history.pushState === 'function';\n}();\nfunction pushState(url, replace) {\n saveScrollPosition();\n // try...catch the pushState call to get around Safari\n // DOM Exception 18 where it limits to 100 pushState calls\n var history = window.history;\n try {\n if (replace) {\n // preserve existing history state as it could be overriden by the user\n var stateCopy = extend({}, history.state);\n stateCopy.key = getStateKey();\n history.replaceState(stateCopy, '', url);\n } else {\n history.pushState({\n key: setStateKey(genStateKey())\n }, '', url);\n }\n } catch (e) {\n window.location[replace ? 'replace' : 'assign'](url);\n }\n}\nfunction replaceState(url) {\n pushState(url, true);\n}\n\n/* */\n\nfunction runQueue(queue, fn, cb) {\n var step = function (index) {\n if (index >= queue.length) {\n cb();\n } else {\n if (queue[index]) {\n fn(queue[index], function () {\n step(index + 1);\n });\n } else {\n step(index + 1);\n }\n }\n };\n step(0);\n}\n\n// When changing thing, also edit router.d.ts\nvar NavigationFailureType = {\n redirected: 2,\n aborted: 4,\n cancelled: 8,\n duplicated: 16\n};\nfunction createNavigationRedirectedError(from, to) {\n return createRouterError(from, to, NavigationFailureType.redirected, \"Redirected when going from \\\"\" + from.fullPath + \"\\\" to \\\"\" + stringifyRoute(to) + \"\\\" via a navigation guard.\");\n}\nfunction createNavigationDuplicatedError(from, to) {\n var error = createRouterError(from, to, NavigationFailureType.duplicated, \"Avoided redundant navigation to current location: \\\"\" + from.fullPath + \"\\\".\");\n // backwards compatible with the first introduction of Errors\n error.name = 'NavigationDuplicated';\n return error;\n}\nfunction createNavigationCancelledError(from, to) {\n return createRouterError(from, to, NavigationFailureType.cancelled, \"Navigation cancelled from \\\"\" + from.fullPath + \"\\\" to \\\"\" + to.fullPath + \"\\\" with a new navigation.\");\n}\nfunction createNavigationAbortedError(from, to) {\n return createRouterError(from, to, NavigationFailureType.aborted, \"Navigation aborted from \\\"\" + from.fullPath + \"\\\" to \\\"\" + to.fullPath + \"\\\" via a navigation guard.\");\n}\nfunction createRouterError(from, to, type, message) {\n var error = new Error(message);\n error._isRouter = true;\n error.from = from;\n error.to = to;\n error.type = type;\n return error;\n}\nvar propertiesToLog = ['params', 'query', 'hash'];\nfunction stringifyRoute(to) {\n if (typeof to === 'string') {\n return to;\n }\n if ('path' in to) {\n return to.path;\n }\n var location = {};\n propertiesToLog.forEach(function (key) {\n if (key in to) {\n location[key] = to[key];\n }\n });\n return JSON.stringify(location, null, 2);\n}\nfunction isError(err) {\n return Object.prototype.toString.call(err).indexOf('Error') > -1;\n}\nfunction isNavigationFailure(err, errorType) {\n return isError(err) && err._isRouter && (errorType == null || err.type === errorType);\n}\n\n/* */\n\nfunction resolveAsyncComponents(matched) {\n return function (to, from, next) {\n var hasAsync = false;\n var pending = 0;\n var error = null;\n flatMapComponents(matched, function (def, _, match, key) {\n // if it's a function and doesn't have cid attached,\n // assume it's an async component resolve function.\n // we are not using Vue's default async resolving mechanism because\n // we want to halt the navigation until the incoming component has been\n // resolved.\n if (typeof def === 'function' && def.cid === undefined) {\n hasAsync = true;\n pending++;\n var resolve = once(function (resolvedDef) {\n if (isESModule(resolvedDef)) {\n resolvedDef = resolvedDef.default;\n }\n // save resolved on async factory in case it's used elsewhere\n def.resolved = typeof resolvedDef === 'function' ? resolvedDef : _Vue.extend(resolvedDef);\n match.components[key] = resolvedDef;\n pending--;\n if (pending <= 0) {\n next();\n }\n });\n var reject = once(function (reason) {\n var msg = \"Failed to resolve async component \" + key + \": \" + reason;\n process.env.NODE_ENV !== 'production' && warn(false, msg);\n if (!error) {\n error = isError(reason) ? reason : new Error(msg);\n next(error);\n }\n });\n var res;\n try {\n res = def(resolve, reject);\n } catch (e) {\n reject(e);\n }\n if (res) {\n if (typeof res.then === 'function') {\n res.then(resolve, reject);\n } else {\n // new syntax in Vue 2.3\n var comp = res.component;\n if (comp && typeof comp.then === 'function') {\n comp.then(resolve, reject);\n }\n }\n }\n }\n });\n if (!hasAsync) {\n next();\n }\n };\n}\nfunction flatMapComponents(matched, fn) {\n return flatten(matched.map(function (m) {\n return Object.keys(m.components).map(function (key) {\n return fn(m.components[key], m.instances[key], m, key);\n });\n }));\n}\nfunction flatten(arr) {\n return Array.prototype.concat.apply([], arr);\n}\nvar hasSymbol = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\nfunction isESModule(obj) {\n return obj.__esModule || hasSymbol && obj[Symbol.toStringTag] === 'Module';\n}\n\n// in Webpack 2, require.ensure now also returns a Promise\n// so the resolve/reject functions may get called an extra time\n// if the user uses an arrow function shorthand that happens to\n// return that Promise.\nfunction once(fn) {\n var called = false;\n return function () {\n var args = [],\n len = arguments.length;\n while (len--) args[len] = arguments[len];\n if (called) {\n return;\n }\n called = true;\n return fn.apply(this, args);\n };\n}\n\n/* */\n\nvar History = function History(router, base) {\n this.router = router;\n this.base = normalizeBase(base);\n // start with a route object that stands for \"nowhere\"\n this.current = START;\n this.pending = null;\n this.ready = false;\n this.readyCbs = [];\n this.readyErrorCbs = [];\n this.errorCbs = [];\n this.listeners = [];\n};\nHistory.prototype.listen = function listen(cb) {\n this.cb = cb;\n};\nHistory.prototype.onReady = function onReady(cb, errorCb) {\n if (this.ready) {\n cb();\n } else {\n this.readyCbs.push(cb);\n if (errorCb) {\n this.readyErrorCbs.push(errorCb);\n }\n }\n};\nHistory.prototype.onError = function onError(errorCb) {\n this.errorCbs.push(errorCb);\n};\nHistory.prototype.transitionTo = function transitionTo(location, onComplete, onAbort) {\n var this$1 = this;\n var route;\n // catch redirect option https://github.com/vuejs/vue-router/issues/3201\n try {\n route = this.router.match(location, this.current);\n } catch (e) {\n this.errorCbs.forEach(function (cb) {\n cb(e);\n });\n // Exception should still be thrown\n throw e;\n }\n var prev = this.current;\n this.confirmTransition(route, function () {\n this$1.updateRoute(route);\n onComplete && onComplete(route);\n this$1.ensureURL();\n this$1.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n });\n\n // fire ready cbs once\n if (!this$1.ready) {\n this$1.ready = true;\n this$1.readyCbs.forEach(function (cb) {\n cb(route);\n });\n }\n }, function (err) {\n if (onAbort) {\n onAbort(err);\n }\n if (err && !this$1.ready) {\n // Initial redirection should not mark the history as ready yet\n // because it's triggered by the redirection instead\n // https://github.com/vuejs/vue-router/issues/3225\n // https://github.com/vuejs/vue-router/issues/3331\n if (!isNavigationFailure(err, NavigationFailureType.redirected) || prev !== START) {\n this$1.ready = true;\n this$1.readyErrorCbs.forEach(function (cb) {\n cb(err);\n });\n }\n }\n });\n};\nHistory.prototype.confirmTransition = function confirmTransition(route, onComplete, onAbort) {\n var this$1 = this;\n var current = this.current;\n this.pending = route;\n var abort = function (err) {\n // changed after adding errors with\n // https://github.com/vuejs/vue-router/pull/3047 before that change,\n // redirect and aborted navigation would produce an err == null\n if (!isNavigationFailure(err) && isError(err)) {\n if (this$1.errorCbs.length) {\n this$1.errorCbs.forEach(function (cb) {\n cb(err);\n });\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, 'uncaught error during route navigation:');\n }\n console.error(err);\n }\n }\n onAbort && onAbort(err);\n };\n var lastRouteIndex = route.matched.length - 1;\n var lastCurrentIndex = current.matched.length - 1;\n if (isSameRoute(route, current) &&\n // in the case the route map has been dynamically appended to\n lastRouteIndex === lastCurrentIndex && route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]) {\n this.ensureURL();\n if (route.hash) {\n handleScroll(this.router, current, route, false);\n }\n return abort(createNavigationDuplicatedError(current, route));\n }\n var ref = resolveQueue(this.current.matched, route.matched);\n var updated = ref.updated;\n var deactivated = ref.deactivated;\n var activated = ref.activated;\n var queue = [].concat(\n // in-component leave guards\n extractLeaveGuards(deactivated),\n // global before hooks\n this.router.beforeHooks,\n // in-component update hooks\n extractUpdateHooks(updated),\n // in-config enter guards\n activated.map(function (m) {\n return m.beforeEnter;\n }),\n // async components\n resolveAsyncComponents(activated));\n var iterator = function (hook, next) {\n if (this$1.pending !== route) {\n return abort(createNavigationCancelledError(current, route));\n }\n try {\n hook(route, current, function (to) {\n if (to === false) {\n // next(false) -> abort navigation, ensure current URL\n this$1.ensureURL(true);\n abort(createNavigationAbortedError(current, route));\n } else if (isError(to)) {\n this$1.ensureURL(true);\n abort(to);\n } else if (typeof to === 'string' || typeof to === 'object' && (typeof to.path === 'string' || typeof to.name === 'string')) {\n // next('/') or next({ path: '/' }) -> redirect\n abort(createNavigationRedirectedError(current, route));\n if (typeof to === 'object' && to.replace) {\n this$1.replace(to);\n } else {\n this$1.push(to);\n }\n } else {\n // confirm transition and pass on the value\n next(to);\n }\n });\n } catch (e) {\n abort(e);\n }\n };\n runQueue(queue, iterator, function () {\n // wait until async components are resolved before\n // extracting in-component enter guards\n var enterGuards = extractEnterGuards(activated);\n var queue = enterGuards.concat(this$1.router.resolveHooks);\n runQueue(queue, iterator, function () {\n if (this$1.pending !== route) {\n return abort(createNavigationCancelledError(current, route));\n }\n this$1.pending = null;\n onComplete(route);\n if (this$1.router.app) {\n this$1.router.app.$nextTick(function () {\n handleRouteEntered(route);\n });\n }\n });\n });\n};\nHistory.prototype.updateRoute = function updateRoute(route) {\n this.current = route;\n this.cb && this.cb(route);\n};\nHistory.prototype.setupListeners = function setupListeners() {\n // Default implementation is empty\n};\nHistory.prototype.teardown = function teardown() {\n // clean up event listeners\n // https://github.com/vuejs/vue-router/issues/2341\n this.listeners.forEach(function (cleanupListener) {\n cleanupListener();\n });\n this.listeners = [];\n\n // reset current history route\n // https://github.com/vuejs/vue-router/issues/3294\n this.current = START;\n this.pending = null;\n};\nfunction normalizeBase(base) {\n if (!base) {\n if (inBrowser) {\n // respect tag\n var baseEl = document.querySelector('base');\n base = baseEl && baseEl.getAttribute('href') || '/';\n // strip full URL origin\n base = base.replace(/^https?:\\/\\/[^\\/]+/, '');\n } else {\n base = '/';\n }\n }\n // make sure there's the starting slash\n if (base.charAt(0) !== '/') {\n base = '/' + base;\n }\n // remove trailing slash\n return base.replace(/\\/$/, '');\n}\nfunction resolveQueue(current, next) {\n var i;\n var max = Math.max(current.length, next.length);\n for (i = 0; i < max; i++) {\n if (current[i] !== next[i]) {\n break;\n }\n }\n return {\n updated: next.slice(0, i),\n activated: next.slice(i),\n deactivated: current.slice(i)\n };\n}\nfunction extractGuards(records, name, bind, reverse) {\n var guards = flatMapComponents(records, function (def, instance, match, key) {\n var guard = extractGuard(def, name);\n if (guard) {\n return Array.isArray(guard) ? guard.map(function (guard) {\n return bind(guard, instance, match, key);\n }) : bind(guard, instance, match, key);\n }\n });\n return flatten(reverse ? guards.reverse() : guards);\n}\nfunction extractGuard(def, key) {\n if (typeof def !== 'function') {\n // extend now so that global mixins are applied.\n def = _Vue.extend(def);\n }\n return def.options[key];\n}\nfunction extractLeaveGuards(deactivated) {\n return extractGuards(deactivated, 'beforeRouteLeave', bindGuard, true);\n}\nfunction extractUpdateHooks(updated) {\n return extractGuards(updated, 'beforeRouteUpdate', bindGuard);\n}\nfunction bindGuard(guard, instance) {\n if (instance) {\n return function boundRouteGuard() {\n return guard.apply(instance, arguments);\n };\n }\n}\nfunction extractEnterGuards(activated) {\n return extractGuards(activated, 'beforeRouteEnter', function (guard, _, match, key) {\n return bindEnterGuard(guard, match, key);\n });\n}\nfunction bindEnterGuard(guard, match, key) {\n return function routeEnterGuard(to, from, next) {\n return guard(to, from, function (cb) {\n if (typeof cb === 'function') {\n if (!match.enteredCbs[key]) {\n match.enteredCbs[key] = [];\n }\n match.enteredCbs[key].push(cb);\n }\n next(cb);\n });\n };\n}\n\n/* */\n\nvar HTML5History = /*@__PURE__*/function (History) {\n function HTML5History(router, base) {\n History.call(this, router, base);\n this._startLocation = getLocation(this.base);\n }\n if (History) HTML5History.__proto__ = History;\n HTML5History.prototype = Object.create(History && History.prototype);\n HTML5History.prototype.constructor = HTML5History;\n HTML5History.prototype.setupListeners = function setupListeners() {\n var this$1 = this;\n if (this.listeners.length > 0) {\n return;\n }\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n if (supportsScroll) {\n this.listeners.push(setupScroll());\n }\n var handleRoutingEvent = function () {\n var current = this$1.current;\n\n // Avoiding first `popstate` event dispatched in some browsers but first\n // history route not updated since async guard at the same time.\n var location = getLocation(this$1.base);\n if (this$1.current === START && location === this$1._startLocation) {\n return;\n }\n this$1.transitionTo(location, function (route) {\n if (supportsScroll) {\n handleScroll(router, route, current, true);\n }\n });\n };\n window.addEventListener('popstate', handleRoutingEvent);\n this.listeners.push(function () {\n window.removeEventListener('popstate', handleRoutingEvent);\n });\n };\n HTML5History.prototype.go = function go(n) {\n window.history.go(n);\n };\n HTML5History.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n pushState(cleanPath(this$1.base + route.fullPath));\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n HTML5History.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n replaceState(cleanPath(this$1.base + route.fullPath));\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n HTML5History.prototype.ensureURL = function ensureURL(push) {\n if (getLocation(this.base) !== this.current.fullPath) {\n var current = cleanPath(this.base + this.current.fullPath);\n push ? pushState(current) : replaceState(current);\n }\n };\n HTML5History.prototype.getCurrentLocation = function getCurrentLocation() {\n return getLocation(this.base);\n };\n return HTML5History;\n}(History);\nfunction getLocation(base) {\n var path = window.location.pathname;\n var pathLowerCase = path.toLowerCase();\n var baseLowerCase = base.toLowerCase();\n // base=\"/a\" shouldn't turn path=\"/app\" into \"/a/pp\"\n // https://github.com/vuejs/vue-router/issues/3555\n // so we ensure the trailing slash in the base\n if (base && (pathLowerCase === baseLowerCase || pathLowerCase.indexOf(cleanPath(baseLowerCase + '/')) === 0)) {\n path = path.slice(base.length);\n }\n return (path || '/') + window.location.search + window.location.hash;\n}\n\n/* */\n\nvar HashHistory = /*@__PURE__*/function (History) {\n function HashHistory(router, base, fallback) {\n History.call(this, router, base);\n // check history fallback deeplinking\n if (fallback && checkFallback(this.base)) {\n return;\n }\n ensureSlash();\n }\n if (History) HashHistory.__proto__ = History;\n HashHistory.prototype = Object.create(History && History.prototype);\n HashHistory.prototype.constructor = HashHistory;\n\n // this is delayed until the app mounts\n // to avoid the hashchange listener being fired too early\n HashHistory.prototype.setupListeners = function setupListeners() {\n var this$1 = this;\n if (this.listeners.length > 0) {\n return;\n }\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n if (supportsScroll) {\n this.listeners.push(setupScroll());\n }\n var handleRoutingEvent = function () {\n var current = this$1.current;\n if (!ensureSlash()) {\n return;\n }\n this$1.transitionTo(getHash(), function (route) {\n if (supportsScroll) {\n handleScroll(this$1.router, route, current, true);\n }\n if (!supportsPushState) {\n replaceHash(route.fullPath);\n }\n });\n };\n var eventType = supportsPushState ? 'popstate' : 'hashchange';\n window.addEventListener(eventType, handleRoutingEvent);\n this.listeners.push(function () {\n window.removeEventListener(eventType, handleRoutingEvent);\n });\n };\n HashHistory.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n pushHash(route.fullPath);\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n HashHistory.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n replaceHash(route.fullPath);\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n HashHistory.prototype.go = function go(n) {\n window.history.go(n);\n };\n HashHistory.prototype.ensureURL = function ensureURL(push) {\n var current = this.current.fullPath;\n if (getHash() !== current) {\n push ? pushHash(current) : replaceHash(current);\n }\n };\n HashHistory.prototype.getCurrentLocation = function getCurrentLocation() {\n return getHash();\n };\n return HashHistory;\n}(History);\nfunction checkFallback(base) {\n var location = getLocation(base);\n if (!/^\\/#/.test(location)) {\n window.location.replace(cleanPath(base + '/#' + location));\n return true;\n }\n}\nfunction ensureSlash() {\n var path = getHash();\n if (path.charAt(0) === '/') {\n return true;\n }\n replaceHash('/' + path);\n return false;\n}\nfunction getHash() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var index = href.indexOf('#');\n // empty path\n if (index < 0) {\n return '';\n }\n href = href.slice(index + 1);\n return href;\n}\nfunction getUrl(path) {\n var href = window.location.href;\n var i = href.indexOf('#');\n var base = i >= 0 ? href.slice(0, i) : href;\n return base + \"#\" + path;\n}\nfunction pushHash(path) {\n if (supportsPushState) {\n pushState(getUrl(path));\n } else {\n window.location.hash = path;\n }\n}\nfunction replaceHash(path) {\n if (supportsPushState) {\n replaceState(getUrl(path));\n } else {\n window.location.replace(getUrl(path));\n }\n}\n\n/* */\n\nvar AbstractHistory = /*@__PURE__*/function (History) {\n function AbstractHistory(router, base) {\n History.call(this, router, base);\n this.stack = [];\n this.index = -1;\n }\n if (History) AbstractHistory.__proto__ = History;\n AbstractHistory.prototype = Object.create(History && History.prototype);\n AbstractHistory.prototype.constructor = AbstractHistory;\n AbstractHistory.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this;\n this.transitionTo(location, function (route) {\n this$1.stack = this$1.stack.slice(0, this$1.index + 1).concat(route);\n this$1.index++;\n onComplete && onComplete(route);\n }, onAbort);\n };\n AbstractHistory.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this;\n this.transitionTo(location, function (route) {\n this$1.stack = this$1.stack.slice(0, this$1.index).concat(route);\n onComplete && onComplete(route);\n }, onAbort);\n };\n AbstractHistory.prototype.go = function go(n) {\n var this$1 = this;\n var targetIndex = this.index + n;\n if (targetIndex < 0 || targetIndex >= this.stack.length) {\n return;\n }\n var route = this.stack[targetIndex];\n this.confirmTransition(route, function () {\n var prev = this$1.current;\n this$1.index = targetIndex;\n this$1.updateRoute(route);\n this$1.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n });\n }, function (err) {\n if (isNavigationFailure(err, NavigationFailureType.duplicated)) {\n this$1.index = targetIndex;\n }\n });\n };\n AbstractHistory.prototype.getCurrentLocation = function getCurrentLocation() {\n var current = this.stack[this.stack.length - 1];\n return current ? current.fullPath : '/';\n };\n AbstractHistory.prototype.ensureURL = function ensureURL() {\n // noop\n };\n return AbstractHistory;\n}(History);\n\n/* */\n\nvar VueRouter = function VueRouter(options) {\n if (options === void 0) options = {};\n if (process.env.NODE_ENV !== 'production') {\n warn(this instanceof VueRouter, \"Router must be called with the new operator.\");\n }\n this.app = null;\n this.apps = [];\n this.options = options;\n this.beforeHooks = [];\n this.resolveHooks = [];\n this.afterHooks = [];\n this.matcher = createMatcher(options.routes || [], this);\n var mode = options.mode || 'hash';\n this.fallback = mode === 'history' && !supportsPushState && options.fallback !== false;\n if (this.fallback) {\n mode = 'hash';\n }\n if (!inBrowser) {\n mode = 'abstract';\n }\n this.mode = mode;\n switch (mode) {\n case 'history':\n this.history = new HTML5History(this, options.base);\n break;\n case 'hash':\n this.history = new HashHistory(this, options.base, this.fallback);\n break;\n case 'abstract':\n this.history = new AbstractHistory(this, options.base);\n break;\n default:\n if (process.env.NODE_ENV !== 'production') {\n assert(false, \"invalid mode: \" + mode);\n }\n }\n};\nvar prototypeAccessors = {\n currentRoute: {\n configurable: true\n }\n};\nVueRouter.prototype.match = function match(raw, current, redirectedFrom) {\n return this.matcher.match(raw, current, redirectedFrom);\n};\nprototypeAccessors.currentRoute.get = function () {\n return this.history && this.history.current;\n};\nVueRouter.prototype.init = function init(app /* Vue component instance */) {\n var this$1 = this;\n process.env.NODE_ENV !== 'production' && assert(install.installed, \"not installed. Make sure to call `Vue.use(VueRouter)` \" + \"before creating root instance.\");\n this.apps.push(app);\n\n // set up app destroyed handler\n // https://github.com/vuejs/vue-router/issues/2639\n app.$once('hook:destroyed', function () {\n // clean out app from this.apps array once destroyed\n var index = this$1.apps.indexOf(app);\n if (index > -1) {\n this$1.apps.splice(index, 1);\n }\n // ensure we still have a main app or null if no apps\n // we do not release the router so it can be reused\n if (this$1.app === app) {\n this$1.app = this$1.apps[0] || null;\n }\n if (!this$1.app) {\n this$1.history.teardown();\n }\n });\n\n // main app previously initialized\n // return as we don't need to set up new history listener\n if (this.app) {\n return;\n }\n this.app = app;\n var history = this.history;\n if (history instanceof HTML5History || history instanceof HashHistory) {\n var handleInitialScroll = function (routeOrError) {\n var from = history.current;\n var expectScroll = this$1.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n if (supportsScroll && 'fullPath' in routeOrError) {\n handleScroll(this$1, routeOrError, from, false);\n }\n };\n var setupListeners = function (routeOrError) {\n history.setupListeners();\n handleInitialScroll(routeOrError);\n };\n history.transitionTo(history.getCurrentLocation(), setupListeners, setupListeners);\n }\n history.listen(function (route) {\n this$1.apps.forEach(function (app) {\n app._route = route;\n });\n });\n};\nVueRouter.prototype.beforeEach = function beforeEach(fn) {\n return registerHook(this.beforeHooks, fn);\n};\nVueRouter.prototype.beforeResolve = function beforeResolve(fn) {\n return registerHook(this.resolveHooks, fn);\n};\nVueRouter.prototype.afterEach = function afterEach(fn) {\n return registerHook(this.afterHooks, fn);\n};\nVueRouter.prototype.onReady = function onReady(cb, errorCb) {\n this.history.onReady(cb, errorCb);\n};\nVueRouter.prototype.onError = function onError(errorCb) {\n this.history.onError(errorCb);\n};\nVueRouter.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this;\n\n // $flow-disable-line\n if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n this$1.history.push(location, resolve, reject);\n });\n } else {\n this.history.push(location, onComplete, onAbort);\n }\n};\nVueRouter.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this;\n\n // $flow-disable-line\n if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n this$1.history.replace(location, resolve, reject);\n });\n } else {\n this.history.replace(location, onComplete, onAbort);\n }\n};\nVueRouter.prototype.go = function go(n) {\n this.history.go(n);\n};\nVueRouter.prototype.back = function back() {\n this.go(-1);\n};\nVueRouter.prototype.forward = function forward() {\n this.go(1);\n};\nVueRouter.prototype.getMatchedComponents = function getMatchedComponents(to) {\n var route = to ? to.matched ? to : this.resolve(to).route : this.currentRoute;\n if (!route) {\n return [];\n }\n return [].concat.apply([], route.matched.map(function (m) {\n return Object.keys(m.components).map(function (key) {\n return m.components[key];\n });\n }));\n};\nVueRouter.prototype.resolve = function resolve(to, current, append) {\n current = current || this.history.current;\n var location = normalizeLocation(to, current, append, this);\n var route = this.match(location, current);\n var fullPath = route.redirectedFrom || route.fullPath;\n var base = this.history.base;\n var href = createHref(base, fullPath, this.mode);\n return {\n location: location,\n route: route,\n href: href,\n // for backwards compat\n normalizedTo: location,\n resolved: route\n };\n};\nVueRouter.prototype.getRoutes = function getRoutes() {\n return this.matcher.getRoutes();\n};\nVueRouter.prototype.addRoute = function addRoute(parentOrRoute, route) {\n this.matcher.addRoute(parentOrRoute, route);\n if (this.history.current !== START) {\n this.history.transitionTo(this.history.getCurrentLocation());\n }\n};\nVueRouter.prototype.addRoutes = function addRoutes(routes) {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, 'router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead.');\n }\n this.matcher.addRoutes(routes);\n if (this.history.current !== START) {\n this.history.transitionTo(this.history.getCurrentLocation());\n }\n};\nObject.defineProperties(VueRouter.prototype, prototypeAccessors);\nfunction registerHook(list, fn) {\n list.push(fn);\n return function () {\n var i = list.indexOf(fn);\n if (i > -1) {\n list.splice(i, 1);\n }\n };\n}\nfunction createHref(base, fullPath, mode) {\n var path = mode === 'hash' ? '#' + fullPath : fullPath;\n return base ? cleanPath(base + '/' + path) : path;\n}\nVueRouter.install = install;\nVueRouter.version = '3.5.4';\nVueRouter.isNavigationFailure = isNavigationFailure;\nVueRouter.NavigationFailureType = NavigationFailureType;\nVueRouter.START_LOCATION = START;\nif (inBrowser && window.Vue) {\n window.Vue.use(VueRouter);\n}\nexport default VueRouter;","export default function (e, n) {\n return n = n || {}, new Promise(function (t, r) {\n var s = new XMLHttpRequest(),\n o = [],\n u = [],\n i = {},\n a = function () {\n return {\n ok: 2 == (s.status / 100 | 0),\n statusText: s.statusText,\n status: s.status,\n url: s.responseURL,\n text: function () {\n return Promise.resolve(s.responseText);\n },\n json: function () {\n return Promise.resolve(s.responseText).then(JSON.parse);\n },\n blob: function () {\n return Promise.resolve(new Blob([s.response]));\n },\n clone: a,\n headers: {\n keys: function () {\n return o;\n },\n entries: function () {\n return u;\n },\n get: function (e) {\n return i[e.toLowerCase()];\n },\n has: function (e) {\n return e.toLowerCase() in i;\n }\n }\n };\n };\n for (var l in s.open(n.method || \"get\", e, !0), s.onload = function () {\n s.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm, function (e, n, t) {\n o.push(n = n.toLowerCase()), u.push([n, t]), i[n] = i[n] ? i[n] + \",\" + t : t;\n }), t(a());\n }, s.onerror = r, s.withCredentials = \"include\" == n.credentials, n.headers) s.setRequestHeader(l, n.headers[l]);\n s.send(n.body || null);\n });\n}","// @ts-nocheck\nimport unfetch from 'unfetch';\nimport { getGlobal } from './get-global';\n/**\n * Wrapper around native `fetch` containing `unfetch` fallback.\n */\nexport var fetch = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var global = getGlobal();\n return (global && global.fetch || unfetch).apply(void 0, args);\n};","import { Alias, Facade, Group, Identify, Page, Screen, Track } from '@segment/facade';\nexport function toFacade(evt, options) {\n var fcd = new Facade(evt, options);\n if (evt.type === 'track') {\n fcd = new Track(evt, options);\n }\n if (evt.type === 'identify') {\n fcd = new Identify(evt, options);\n }\n if (evt.type === 'page') {\n fcd = new Page(evt, options);\n }\n if (evt.type === 'alias') {\n fcd = new Alias(evt, options);\n }\n if (evt.type === 'group') {\n fcd = new Group(evt, options);\n }\n if (evt.type === 'screen') {\n fcd = new Screen(evt, options);\n }\n Object.defineProperty(fcd, 'obj', {\n value: evt,\n writable: true\n });\n return fcd;\n}","/* eslint arrow-body-style: [\"error\", \"always\"] */\n\nconst endPoints = {\n resetPassword: {\n url: 'auth/password',\n },\n register: {\n url: 'api/v1/accounts.json',\n },\n validityCheck: {\n url: '/auth/validate_token',\n },\n profileUpdate: {\n url: '/api/v1/profile',\n },\n availabilityUpdate: {\n url: '/api/v1/profile/availability',\n },\n autoOffline: {\n url: '/api/v1/profile/auto_offline',\n },\n logout: {\n url: 'auth/sign_out',\n },\n\n me: {\n url: 'api/v1/conversations.json',\n params: { type: 0, page: 1 },\n },\n\n getInbox: {\n url: 'api/v1/conversations.json',\n params: { inbox_id: null },\n },\n\n fetchFacebookPages: {\n url(accountId) {\n return `api/v1/accounts/${accountId}/callbacks/facebook_pages.json`;\n },\n params: { omniauth_token: '' },\n },\n\n deleteAvatar: {\n url: '/api/v1/profile/avatar',\n },\n\n setActiveAccount: {\n url: '/api/v1/profile/set_active_account',\n },\n\n resendConfirmation: {\n url: '/api/v1/profile/resend_confirmation',\n },\n};\n\nexport default page => {\n return endPoints[page];\n};\n","/*\n * This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking\n * for users.\n *\n * Debug flags need to be declared in each package individually and must not be imported across package boundaries,\n * because some build tools have trouble tree-shaking imported guards.\n *\n * As a convention, we define debug flags in a `flags.ts` file in the root of a package's `src` folder.\n *\n * Debug flag files will contain \"magic strings\" like `__SENTRY_DEBUG__` that may get replaced with actual values during\n * our, or the user's build process. Take care when introducing new flags - they must not throw if they are not\n * replaced.\n */\n/** Flag that is true for debug builds, false otherwise. */\nexport var IS_DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' ? true : __SENTRY_DEBUG__;","import { __assign, __read, __spread } from \"tslib\";\nimport { consoleSandbox, dateTimestampInSeconds, getGlobalObject, getGlobalSingleton, isNodeEnv, logger, uuid4 } from '@sentry/utils';\nimport { IS_DEBUG_BUILD } from './flags';\nimport { Scope } from './scope';\nimport { Session } from './session';\n/**\n * API compatibility version of this hub.\n *\n * WARNING: This number should only be increased when the global interface\n * changes and new methods are introduced.\n *\n * @hidden\n */\nexport var API_VERSION = 4;\n/**\n * Default maximum number of breadcrumbs added to an event. Can be overwritten\n * with {@link Options.maxBreadcrumbs}.\n */\nvar DEFAULT_BREADCRUMBS = 100;\n/**\n * @inheritDoc\n */\nvar Hub = /** @class */function () {\n /**\n * Creates a new instance of the hub, will push one {@link Layer} into the\n * internal stack on creation.\n *\n * @param client bound to the hub.\n * @param scope bound to the hub.\n * @param version number, higher number means higher priority.\n */\n function Hub(client, scope, _version) {\n if (scope === void 0) {\n scope = new Scope();\n }\n if (_version === void 0) {\n _version = API_VERSION;\n }\n this._version = _version;\n /** Is a {@link Layer}[] containing the client and scope */\n this._stack = [{}];\n this.getStackTop().scope = scope;\n if (client) {\n this.bindClient(client);\n }\n }\n /**\n * @inheritDoc\n */\n Hub.prototype.isOlderThan = function (version) {\n return this._version < version;\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.bindClient = function (client) {\n var top = this.getStackTop();\n top.client = client;\n if (client && client.setupIntegrations) {\n client.setupIntegrations();\n }\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.pushScope = function () {\n // We want to clone the content of prev scope\n var scope = Scope.clone(this.getScope());\n this.getStack().push({\n client: this.getClient(),\n scope: scope\n });\n return scope;\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.popScope = function () {\n if (this.getStack().length <= 1) return false;\n return !!this.getStack().pop();\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.withScope = function (callback) {\n var scope = this.pushScope();\n try {\n callback(scope);\n } finally {\n this.popScope();\n }\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.getClient = function () {\n return this.getStackTop().client;\n };\n /** Returns the scope of the top stack. */\n Hub.prototype.getScope = function () {\n return this.getStackTop().scope;\n };\n /** Returns the scope stack for domains or the process. */\n Hub.prototype.getStack = function () {\n return this._stack;\n };\n /** Returns the topmost scope layer in the order domain > local > process. */\n Hub.prototype.getStackTop = function () {\n return this._stack[this._stack.length - 1];\n };\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n Hub.prototype.captureException = function (exception, hint) {\n var eventId = this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4();\n var finalHint = hint;\n // If there's no explicit hint provided, mimic the same thing that would happen\n // in the minimal itself to create a consistent behavior.\n // We don't do this in the client, as it's the lowest level API, and doing this,\n // would prevent user from having full control over direct calls.\n if (!hint) {\n var syntheticException = void 0;\n try {\n throw new Error('Sentry syntheticException');\n } catch (exception) {\n syntheticException = exception;\n }\n finalHint = {\n originalException: exception,\n syntheticException: syntheticException\n };\n }\n this._invokeClient('captureException', exception, __assign(__assign({}, finalHint), {\n event_id: eventId\n }));\n return eventId;\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.captureMessage = function (message, level, hint) {\n var eventId = this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4();\n var finalHint = hint;\n // If there's no explicit hint provided, mimic the same thing that would happen\n // in the minimal itself to create a consistent behavior.\n // We don't do this in the client, as it's the lowest level API, and doing this,\n // would prevent user from having full control over direct calls.\n if (!hint) {\n var syntheticException = void 0;\n try {\n throw new Error(message);\n } catch (exception) {\n syntheticException = exception;\n }\n finalHint = {\n originalException: message,\n syntheticException: syntheticException\n };\n }\n this._invokeClient('captureMessage', message, level, __assign(__assign({}, finalHint), {\n event_id: eventId\n }));\n return eventId;\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.captureEvent = function (event, hint) {\n var eventId = hint && hint.event_id ? hint.event_id : uuid4();\n if (event.type !== 'transaction') {\n this._lastEventId = eventId;\n }\n this._invokeClient('captureEvent', event, __assign(__assign({}, hint), {\n event_id: eventId\n }));\n return eventId;\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.lastEventId = function () {\n return this._lastEventId;\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.addBreadcrumb = function (breadcrumb, hint) {\n var _a = this.getStackTop(),\n scope = _a.scope,\n client = _a.client;\n if (!scope || !client) return;\n // eslint-disable-next-line @typescript-eslint/unbound-method\n var _b = client.getOptions && client.getOptions() || {},\n _c = _b.beforeBreadcrumb,\n beforeBreadcrumb = _c === void 0 ? null : _c,\n _d = _b.maxBreadcrumbs,\n maxBreadcrumbs = _d === void 0 ? DEFAULT_BREADCRUMBS : _d;\n if (maxBreadcrumbs <= 0) return;\n var timestamp = dateTimestampInSeconds();\n var mergedBreadcrumb = __assign({\n timestamp: timestamp\n }, breadcrumb);\n var finalBreadcrumb = beforeBreadcrumb ? consoleSandbox(function () {\n return beforeBreadcrumb(mergedBreadcrumb, hint);\n }) : mergedBreadcrumb;\n if (finalBreadcrumb === null) return;\n scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.setUser = function (user) {\n var scope = this.getScope();\n if (scope) scope.setUser(user);\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.setTags = function (tags) {\n var scope = this.getScope();\n if (scope) scope.setTags(tags);\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.setExtras = function (extras) {\n var scope = this.getScope();\n if (scope) scope.setExtras(extras);\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.setTag = function (key, value) {\n var scope = this.getScope();\n if (scope) scope.setTag(key, value);\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.setExtra = function (key, extra) {\n var scope = this.getScope();\n if (scope) scope.setExtra(key, extra);\n };\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Hub.prototype.setContext = function (name, context) {\n var scope = this.getScope();\n if (scope) scope.setContext(name, context);\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.configureScope = function (callback) {\n var _a = this.getStackTop(),\n scope = _a.scope,\n client = _a.client;\n if (scope && client) {\n callback(scope);\n }\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.run = function (callback) {\n var oldHub = makeMain(this);\n try {\n callback(this);\n } finally {\n makeMain(oldHub);\n }\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.getIntegration = function (integration) {\n var client = this.getClient();\n if (!client) return null;\n try {\n return client.getIntegration(integration);\n } catch (_oO) {\n IS_DEBUG_BUILD && logger.warn(\"Cannot retrieve integration \" + integration.id + \" from the current Hub\");\n return null;\n }\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.startSpan = function (context) {\n return this._callExtensionMethod('startSpan', context);\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.startTransaction = function (context, customSamplingContext) {\n return this._callExtensionMethod('startTransaction', context, customSamplingContext);\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.traceHeaders = function () {\n return this._callExtensionMethod('traceHeaders');\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.captureSession = function (endSession) {\n if (endSession === void 0) {\n endSession = false;\n }\n // both send the update and pull the session from the scope\n if (endSession) {\n return this.endSession();\n }\n // only send the update\n this._sendSessionUpdate();\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.endSession = function () {\n var layer = this.getStackTop();\n var scope = layer && layer.scope;\n var session = scope && scope.getSession();\n if (session) {\n session.close();\n }\n this._sendSessionUpdate();\n // the session is over; take it off of the scope\n if (scope) {\n scope.setSession();\n }\n };\n /**\n * @inheritDoc\n */\n Hub.prototype.startSession = function (context) {\n var _a = this.getStackTop(),\n scope = _a.scope,\n client = _a.client;\n var _b = client && client.getOptions() || {},\n release = _b.release,\n environment = _b.environment;\n // Will fetch userAgent if called from browser sdk\n var global = getGlobalObject();\n var userAgent = (global.navigator || {}).userAgent;\n var session = new Session(__assign(__assign(__assign({\n release: release,\n environment: environment\n }, scope && {\n user: scope.getUser()\n }), userAgent && {\n userAgent: userAgent\n }), context));\n if (scope) {\n // End existing session if there's one\n var currentSession = scope.getSession && scope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n currentSession.update({\n status: 'exited'\n });\n }\n this.endSession();\n // Afterwards we set the new session on the scope\n scope.setSession(session);\n }\n return session;\n };\n /**\n * Sends the current Session on the scope\n */\n Hub.prototype._sendSessionUpdate = function () {\n var _a = this.getStackTop(),\n scope = _a.scope,\n client = _a.client;\n if (!scope) return;\n var session = scope.getSession && scope.getSession();\n if (session) {\n if (client && client.captureSession) {\n client.captureSession(session);\n }\n }\n };\n /**\n * Internal helper function to call a method on the top client if it exists.\n *\n * @param method The method to call on the client.\n * @param args Arguments to pass to the client function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Hub.prototype._invokeClient = function (method) {\n var _a;\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n var _b = this.getStackTop(),\n scope = _b.scope,\n client = _b.client;\n if (client && client[method]) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n (_a = client)[method].apply(_a, __spread(args, [scope]));\n }\n };\n /**\n * Calls global extension method and binding current instance to the function call\n */\n // @ts-ignore Function lacks ending return statement and return type does not include 'undefined'. ts(2366)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Hub.prototype._callExtensionMethod = function (method) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n var carrier = getMainCarrier();\n var sentry = carrier.__SENTRY__;\n if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') {\n return sentry.extensions[method].apply(this, args);\n }\n IS_DEBUG_BUILD && logger.warn(\"Extension method \" + method + \" couldn't be found, doing nothing.\");\n };\n return Hub;\n}();\nexport { Hub };\n/**\n * Returns the global shim registry.\n *\n * FIXME: This function is problematic, because despite always returning a valid Carrier,\n * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check\n * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there.\n **/\nexport function getMainCarrier() {\n var carrier = getGlobalObject();\n carrier.__SENTRY__ = carrier.__SENTRY__ || {\n extensions: {},\n hub: undefined\n };\n return carrier;\n}\n/**\n * Replaces the current main hub with the passed one on the global object\n *\n * @returns The old replaced hub\n */\nexport function makeMain(hub) {\n var registry = getMainCarrier();\n var oldHub = getHubFromCarrier(registry);\n setHubOnCarrier(registry, hub);\n return oldHub;\n}\n/**\n * Returns the default hub instance.\n *\n * If a hub is already registered in the global carrier but this module\n * contains a more recent version, it replaces the registered version.\n * Otherwise, the currently registered hub will be returned.\n */\nexport function getCurrentHub() {\n // Get main carrier (global for every environment)\n var registry = getMainCarrier();\n // If there's no hub, or its an old API, assign a new one\n if (!hasHubOnCarrier(registry) || getHubFromCarrier(registry).isOlderThan(API_VERSION)) {\n setHubOnCarrier(registry, new Hub());\n }\n // Prefer domains over global if they are there (applicable only to Node environment)\n if (isNodeEnv()) {\n return getHubFromActiveDomain(registry);\n }\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n}\n/**\n * Returns the active domain, if one exists\n * @deprecated No longer used; remove in v7\n * @returns The domain, or undefined if there is no active domain\n */\n// eslint-disable-next-line deprecation/deprecation\nexport function getActiveDomain() {\n IS_DEBUG_BUILD && logger.warn('Function `getActiveDomain` is deprecated and will be removed in a future version.');\n var sentry = getMainCarrier().__SENTRY__;\n return sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n}\n/**\n * Try to read the hub from an active domain, and fallback to the registry if one doesn't exist\n * @returns discovered hub\n */\nfunction getHubFromActiveDomain(registry) {\n try {\n var sentry = getMainCarrier().__SENTRY__;\n var activeDomain = sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n // If there's no active domain, just return global hub\n if (!activeDomain) {\n return getHubFromCarrier(registry);\n }\n // If there's no hub on current domain, or it's an old API, assign a new one\n if (!hasHubOnCarrier(activeDomain) || getHubFromCarrier(activeDomain).isOlderThan(API_VERSION)) {\n var registryHubTopStack = getHubFromCarrier(registry).getStackTop();\n setHubOnCarrier(activeDomain, new Hub(registryHubTopStack.client, Scope.clone(registryHubTopStack.scope)));\n }\n // Return hub that lives on a domain\n return getHubFromCarrier(activeDomain);\n } catch (_Oo) {\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n }\n}\n/**\n * This will tell whether a carrier has a hub on it or not\n * @param carrier object\n */\nfunction hasHubOnCarrier(carrier) {\n return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);\n}\n/**\n * This will create a new {@link Hub} and add to the passed object on\n * __SENTRY__.hub.\n * @param carrier object\n * @hidden\n */\nexport function getHubFromCarrier(carrier) {\n return getGlobalSingleton('hub', function () {\n return new Hub();\n }, carrier);\n}\n/**\n * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute\n * @param carrier object\n * @param hub Hub\n * @returns A boolean indicating success or failure\n */\nexport function setHubOnCarrier(carrier, hub) {\n if (!carrier) return false;\n var __SENTRY__ = carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n __SENTRY__.hub = hub;\n return true;\n}","/* global axios */\nimport ApiClient from './ApiClient';\n\nconst getTimeOffset = () => -new Date().getTimezoneOffset() / 60;\n\nclass ReportsAPI extends ApiClient {\n constructor() {\n super('reports', { accountScoped: true, apiVersion: 'v2' });\n }\n\n getReports({\n metric,\n from,\n to,\n type = 'account',\n id,\n groupBy,\n businessHours,\n }) {\n return axios.get(`${this.url}`, {\n params: {\n metric,\n since: from,\n until: to,\n type,\n id,\n group_by: groupBy,\n business_hours: businessHours,\n timezone_offset: getTimeOffset(),\n },\n });\n }\n\n // eslint-disable-next-line default-param-last\n getSummary(since, until, type = 'account', id, groupBy, businessHours) {\n return axios.get(`${this.url}/summary`, {\n params: {\n since,\n until,\n type,\n id,\n group_by: groupBy,\n business_hours: businessHours,\n timezone_offset: getTimeOffset(),\n },\n });\n }\n\n getConversationMetric(type = 'account', page = 1) {\n return axios.get(`${this.url}/conversations`, {\n params: {\n type,\n page,\n },\n });\n }\n\n getAgentReports({ from: since, to: until, businessHours }) {\n return axios.get(`${this.url}/agents`, {\n params: { since, until, business_hours: businessHours },\n });\n }\n\n getConversationTrafficCSV() {\n return axios.get(`${this.url}/conversation_traffic`, {\n params: { timezone_offset: getTimeOffset() },\n });\n }\n\n getLabelReports({ from: since, to: until, businessHours }) {\n return axios.get(`${this.url}/labels`, {\n params: { since, until, business_hours: businessHours },\n });\n }\n\n getInboxReports({ from: since, to: until, businessHours }) {\n return axios.get(`${this.url}/inboxes`, {\n params: { since, until, business_hours: businessHours },\n });\n }\n\n getTeamReports({ from: since, to: until, businessHours }) {\n return axios.get(`${this.url}/teams`, {\n params: { since, until, business_hours: businessHours },\n });\n }\n\n getBotMetrics({ from, to } = {}) {\n return axios.get(`${this.url}/bot_metrics`, {\n params: { since: from, until: to },\n });\n }\n\n getBotSummary({ from, to, groupBy, businessHours } = {}) {\n return axios.get(`${this.url}/bot_summary`, {\n params: {\n since: from,\n until: to,\n type: 'account',\n group_by: groupBy,\n business_hours: businessHours,\n },\n });\n }\n}\n\nexport default new ReportsAPI();\n","var t = [\"Shift\", \"Meta\", \"Alt\", \"Control\"],\n e = \"object\" == typeof navigator ? navigator.platform : \"\",\n n = /Mac|iPod|iPhone|iPad/.test(e),\n r = n ? \"Meta\" : \"Control\",\n o = \"Win32\" === e ? [\"Control\", \"Alt\"] : n ? [\"Alt\"] : [];\nfunction i(t, e) {\n return \"function\" == typeof t.getModifierState && (t.getModifierState(e) || o.includes(e) && t.getModifierState(\"AltGraph\"));\n}\nfunction a(t) {\n return t.trim().split(\" \").map(function (t) {\n var e = t.split(/\\b\\+/),\n n = e.pop();\n return [e = e.map(function (t) {\n return \"$mod\" === t ? r : t;\n }), n];\n });\n}\nfunction u(e, n) {\n var r;\n void 0 === n && (n = {});\n var o = null != (r = n.timeout) ? r : 1e3,\n u = Object.keys(e).map(function (t) {\n return [a(t), e[t]];\n }),\n c = new Map(),\n f = null;\n return function (e) {\n e instanceof KeyboardEvent && (u.forEach(function (n) {\n var r = n[0],\n o = n[1],\n a = c.get(r) || r;\n !function (e, n) {\n return !(n[1].toUpperCase() !== e.key.toUpperCase() && n[1] !== e.code || n[0].find(function (t) {\n return !i(e, t);\n }) || t.find(function (t) {\n return !n[0].includes(t) && n[1] !== t && i(e, t);\n }));\n }(e, a[0]) ? i(e, e.key) || c.delete(r) : a.length > 1 ? c.set(r, a.slice(1)) : (c.delete(r), o(e));\n }), f && clearTimeout(f), f = setTimeout(c.clear.bind(c), o));\n };\n}\nfunction c(t, e, n) {\n var r;\n void 0 === n && (n = {});\n var o = null != (r = n.event) ? r : \"keydown\",\n i = u(e, n);\n return t.addEventListener(o, i), function () {\n t.removeEventListener(o, i);\n };\n}\nexport { u as createKeybindingsHandler, a as parseKeybinding, c as tinykeys };","import { isActiveElementTypeable, isEscape } from '../helpers/KeyboardHelpers';\n\nimport { createKeybindingsHandler } from 'tinykeys';\n\n// this is a store that stores the handler globally, and only gets reset on reload\nconst taggedHandlers = [];\n\nexport default {\n mounted() {\n const events = this.getKeyboardEvents();\n if (events) {\n const wrappedEvents = this.wrapEventsInKeybindingsHandler(events);\n const keydownHandler = createKeybindingsHandler(wrappedEvents);\n this.addEventHandler(keydownHandler);\n }\n },\n beforeDestroy() {\n if (this.$el && this.$el.dataset?.keydownHandlerIndex) {\n const handlerToRemove =\n taggedHandlers[this.$el.dataset.keydownHandlerIndex];\n document.removeEventListener('keydown', handlerToRemove);\n }\n },\n methods: {\n addEventHandler(keydownHandler) {\n const indexToAppend = taggedHandlers.push(keydownHandler) - 1;\n const root = this.$el;\n if (root && root.dataset) {\n // For the components with a top level v-if Vue renders it as an empty comment in the DOM\n // so we need to check if the root element has a dataset property to ensure it is a valid element\n document.addEventListener('keydown', keydownHandler);\n root.dataset.keydownHandlerIndex = indexToAppend;\n }\n },\n getKeyboardEvents() {\n return null;\n },\n wrapEventsInKeybindingsHandler(events) {\n const wrappedEvents = {};\n Object.keys(events).forEach(eventName => {\n wrappedEvents[eventName] = this.keydownWrapper(events[eventName]);\n });\n\n return wrappedEvents;\n },\n keydownWrapper(handler) {\n return e => {\n const actionToPerform =\n typeof handler === 'function' ? handler : handler.action;\n const allowOnFocusedInput =\n typeof handler === 'function' ? false : handler.allowOnFocusedInput;\n\n const isTypeable = isActiveElementTypeable(e);\n\n if (isTypeable) {\n if (isEscape(e)) {\n e.target.blur();\n }\n\n if (!allowOnFocusedInput) return;\n }\n\n actionToPerform(e);\n };\n },\n },\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\nconst SettingsContent = () => import('../Wrapper.vue');\nconst Index = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/general'),\n meta: {\n permissions: ['administrator'],\n },\n component: SettingsContent,\n props: {\n headerTitle: 'GENERAL_SETTINGS.TITLE',\n icon: 'briefcase',\n showNewButton: false,\n },\n children: [\n {\n path: '',\n name: 'general_settings_index',\n component: Index,\n meta: {\n permissions: ['administrator'],\n },\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\nconst SettingsContent = () => import('../Wrapper.vue');\nconst AgentHome = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/agents'),\n component: SettingsContent,\n props: {\n headerTitle: 'AGENT_MGMT.HEADER',\n icon: 'people',\n showNewButton: false,\n },\n children: [\n {\n path: '',\n redirect: 'list',\n },\n {\n path: 'list',\n name: 'agent_list',\n component: AgentHome,\n meta: {\n permissions: ['administrator'],\n },\n },\n ],\n },\n ],\n};\n","const Bot = () => import('./Index.vue');\nconst CsmlEditBot = () => import('./csml/Edit.vue');\nconst CsmlNewBot = () => import('./csml/New.vue');\nimport { frontendURL } from '../../../../helper/URLHelper';\nconst SettingsContent = () => import('../Wrapper.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/agent-bots'),\n meta: {\n permissions: ['administrator'],\n },\n component: SettingsContent,\n props: {\n headerTitle: 'AGENT_BOTS.HEADER',\n icon: 'bot',\n showNewButton: false,\n },\n children: [\n {\n path: '',\n name: 'agent_bots',\n component: Bot,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'csml/new',\n name: 'agent_bots_csml_new',\n component: CsmlNewBot,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'csml/:botId',\n name: 'agent_bots_csml_edit',\n component: CsmlEditBot,\n meta: {\n permissions: ['administrator'],\n },\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\nconst SettingsContent = () => import('../Wrapper.vue');\nconst AttributesHome = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/custom-attributes'),\n component: SettingsContent,\n props: {\n headerTitle: 'ATTRIBUTES_MGMT.HEADER',\n icon: 'code',\n showNewButton: false,\n },\n children: [\n {\n path: '',\n redirect: 'list',\n },\n {\n path: 'list',\n name: 'attributes_list',\n component: AttributesHome,\n meta: {\n permissions: ['administrator'],\n },\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\nconst SettingsContent = () => import('../Wrapper.vue');\nconst Automation = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/automation'),\n component: SettingsContent,\n props: {\n headerTitle: 'AUTOMATION.HEADER',\n icon: 'automation',\n showNewButton: false,\n },\n children: [\n {\n path: '',\n redirect: 'list',\n },\n {\n path: 'list',\n name: 'automation_list',\n component: Automation,\n meta: {\n permissions: ['administrator'],\n },\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\n\nconst SettingsContent = () => import('../Wrapper.vue');\nconst AuditLogsHome = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/audit-log'),\n component: SettingsContent,\n props: {\n headerTitle: 'AUDIT_LOGS.HEADER',\n icon: 'key',\n showNewButton: false,\n },\n children: [\n {\n path: '',\n redirect: 'list',\n },\n {\n path: 'list',\n name: 'auditlogs_list',\n meta: {\n permissions: ['administrator'],\n },\n component: AuditLogsHome,\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\nconst SettingsContent = () => import('../Wrapper.vue');\nconst Index = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/billing'),\n meta: {\n permissions: ['administrator'],\n },\n component: SettingsContent,\n props: {\n headerTitle: 'BILLING_SETTINGS.TITLE',\n icon: 'credit-card-person',\n showNewButton: false,\n },\n children: [\n {\n path: '',\n name: 'billing_settings_index',\n component: Index,\n meta: {\n permissions: ['administrator'],\n },\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\nconst SettingsContent = () => import('../Wrapper.vue');\nconst Index = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/campaigns'),\n component: SettingsContent,\n props: {\n headerTitle: 'CAMPAIGN.ONGOING.HEADER',\n icon: 'arrow-swap',\n },\n children: [\n {\n path: '',\n redirect: 'ongoing',\n },\n {\n path: 'ongoing',\n name: 'ongoing_campaigns',\n meta: {\n permissions: ['administrator'],\n },\n component: Index,\n },\n ],\n },\n {\n path: frontendURL('accounts/:accountId/campaigns'),\n component: SettingsContent,\n props: {\n headerTitle: 'CAMPAIGN.ONE_OFF.HEADER',\n icon: 'sound-source',\n },\n children: [\n {\n path: 'one_off',\n name: 'one_off',\n meta: {\n permissions: ['administrator'],\n },\n component: Index,\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\n\nconst SettingsContent = () => import('../Wrapper.vue');\nconst CannedHome = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/canned-response'),\n component: SettingsContent,\n props: {\n headerTitle: 'CANNED_MGMT.HEADER',\n icon: 'chat-multiple',\n showNewButton: false,\n },\n children: [\n {\n path: '',\n redirect: 'list',\n },\n {\n path: 'list',\n name: 'canned_list',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: CannedHome,\n },\n ],\n },\n ],\n};\n","/* eslint no-console: 0 */\n/* global axios */\n/* eslint no-undef: \"error\" */\n/* eslint no-unused-expressions: [\"error\", { \"allowShortCircuit\": true }] */\nimport endPoints from './endPoints';\n\nexport default {\n fetchFacebookPages(token, accountId) {\n const urlData = endPoints('fetchFacebookPages');\n urlData.params.omniauth_token = token;\n return axios.post(urlData.url(accountId), urlData.params);\n },\n};\n","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Facebook.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Facebook.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./Facebook.vue?vue&type=template&id=0c4bdeb1&scoped=true\"\nimport script from \"./Facebook.vue?vue&type=script&lang=js\"\nexport * from \"./Facebook.vue?vue&type=script&lang=js\"\nimport style0 from \"./Facebook.vue?vue&type=style&index=0&id=0c4bdeb1&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0c4bdeb1\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full max-w-full md:w-3/4 md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[(!_vm.hasLoginStarted)?_c('div',{staticClass:\"login-init h-full\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){return _vm.startLogin()}}},[_c('img',{attrs:{\"src\":require(\"dashboard/assets/images/channels/facebook_login.png\"),\"alt\":\"Facebook-logo\"}})]),_vm._v(\" \"),_c('p',[_vm._v(\"\\n \"+_vm._s(_vm.useInstallationName(\n _vm.$t('INBOX_MGMT.ADD.FB.HELP'),\n _vm.globalConfig.installationName\n ))+\"\\n \")])]):_c('div',[(_vm.hasError)?_c('div',{staticClass:\"max-w-lg mx-auto text-center\"},[_c('h5',[_vm._v(_vm._s(_vm.errorStateMessage))]),_vm._v(\" \"),(_vm.errorStateDescription)?_c('p',{directives:[{name:\"dompurify-html\",rawName:\"v-dompurify-html\",value:(_vm.errorStateDescription),expression:\"errorStateDescription\"}]}):_vm._e()]):(_vm.showLoader)?_c('loading-state',{attrs:{\"message\":_vm.emptyStateMessage}}):_c('form',{staticClass:\"mx-0 flex flex-wrap\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel()}}},[_c('div',{staticClass:\"w-full\"},[_c('page-header',{attrs:{\"header-title\":_vm.$t('INBOX_MGMT.ADD.DETAILS.TITLE'),\"header-content\":_vm.useInstallationName(\n _vm.$t('INBOX_MGMT.ADD.DETAILS.DESC'),\n _vm.globalConfig.installationName\n )}})],1),_vm._v(\" \"),_c('div',{staticClass:\"w-3/5\"},[_c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"input-wrap\",class:{ error: _vm.$v.selectedPage.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.FB.CHOOSE_PAGE'))+\"\\n \"),_c('multiselect',{attrs:{\"close-on-select\":true,\"allow-empty\":true,\"options\":_vm.getSelectablePages,\"track-by\":\"id\",\"label\":\"name\",\"select-label\":_vm.$t('FORMS.MULTISELECT.ENTER_TO_SELECT'),\"deselect-label\":_vm.$t('FORMS.MULTISELECT.ENTER_TO_REMOVE'),\"placeholder\":_vm.$t('INBOX_MGMT.ADD.FB.PICK_A_VALUE'),\"selected-label\":\"\"},on:{\"select\":_vm.setPageName},model:{value:(_vm.selectedPage),callback:function ($$v) {_vm.selectedPage=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"selectedPage\"}}),_vm._v(\" \"),(_vm.$v.selectedPage.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.FB.CHOOSE_PLACEHOLDER'))+\"\\n \")]):_vm._e()],1)]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('label',{class:{ error: _vm.$v.pageName.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.FB.INBOX_NAME'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.pageName),expression:\"pageName\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.FB.PICK_NAME')},domProps:{\"value\":(_vm.pageName)},on:{\"input\":[function($event){if($event.target.composing)return;_vm.pageName=$event.target.value.trim()},_vm.$v.pageName.$touch],\"blur\":function($event){return _vm.$forceUpdate()}}}),_vm._v(\" \"),(_vm.$v.pageName.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.FB.ADD_NAME'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_vm._m(0)])])],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"w-full text-right\"},[_c('input',{staticClass:\"button\",attrs:{\"type\":\"submit\",\"value\":\"Create Inbox\"}})])\n}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Website.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Website.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./Website.vue?vue&type=template&id=71ad6f4e\"\nimport script from \"./Website.vue?vue&type=script&lang=js\"\nexport * from \"./Website.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full max-w-full md:w-3/4 md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[_c('page-header',{attrs:{\"header-title\":_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.TITLE'),\"header-content\":_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.DESC')}}),_vm._v(\" \"),(_vm.uiFlags.isCreating)?_c('woot-loading-state',{attrs:{\"message\":_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.LOADING_MESSAGE')}}):_vm._e(),_vm._v(\" \"),(!_vm.uiFlags.isCreating)?_c('form',{staticClass:\"mx-0 flex flex-wrap\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel.apply(null, arguments)}}},[_c('div',{staticClass:\"w-full\"},[_c('label',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WEBSITE_NAME.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.inboxName),expression:\"inboxName\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WEBSITE_NAME.PLACEHOLDER')},domProps:{\"value\":(_vm.inboxName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.inboxName=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('label',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_DOMAIN.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.channelWebsiteUrl),expression:\"channelWebsiteUrl\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_DOMAIN.PLACEHOLDER')},domProps:{\"value\":(_vm.channelWebsiteUrl)},on:{\"input\":function($event){if($event.target.composing)return;_vm.channelWebsiteUrl=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('label',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_BLOG.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.channelBlogUrl),expression:\"channelBlogUrl\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_BLOG.PLACEHOLDER')},domProps:{\"value\":(_vm.channelBlogUrl)},on:{\"input\":function($event){if($event.target.composing)return;_vm.channelBlogUrl=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('label',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.WIDGET_COLOR.LABEL'))+\"\\n \"),_c('woot-color-picker',{model:{value:(_vm.channelWidgetColor),callback:function ($$v) {_vm.channelWidgetColor=$$v},expression:\"channelWidgetColor\"}})],1)]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('label',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_WELCOME_TITLE.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.channelWelcomeTitle),expression:\"channelWelcomeTitle\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t(\n 'INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_WELCOME_TITLE.PLACEHOLDER'\n )},domProps:{\"value\":(_vm.channelWelcomeTitle)},on:{\"input\":function($event){if($event.target.composing)return;_vm.channelWelcomeTitle=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('label',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_WELCOME_TAGLINE.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.channelWelcomeTagline),expression:\"channelWelcomeTagline\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t(\n 'INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_WELCOME_TAGLINE.PLACEHOLDER'\n )},domProps:{\"value\":(_vm.channelWelcomeTagline)},on:{\"input\":function($event){if($event.target.composing)return;_vm.channelWelcomeTagline=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})])]),_vm._v(\" \"),_c('label',{staticClass:\"w-full\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_GREETING_TOGGLE.LABEL'))+\"\\n \"),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.greetingEnabled),expression:\"greetingEnabled\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.greetingEnabled=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{domProps:{\"value\":true}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\n 'INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_GREETING_TOGGLE.ENABLED'\n ))+\"\\n \")]),_vm._v(\" \"),_c('option',{domProps:{\"value\":false}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\n 'INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_GREETING_TOGGLE.DISABLED'\n ))+\"\\n \")])]),_vm._v(\" \"),_c('p',{staticClass:\"help-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\n 'INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_GREETING_TOGGLE.HELP_TEXT'\n ))+\"\\n \")])]),_vm._v(\" \"),(_vm.greetingEnabled)?_c('greetings-editor',{staticClass:\"w-full\",attrs:{\"label\":_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_GREETING_MESSAGE.LABEL'),\"placeholder\":_vm.$t(\n 'INBOX_MGMT.ADD.WEBSITE_CHANNEL.CHANNEL_GREETING_MESSAGE.PLACEHOLDER'\n ),\"richtext\":!_vm.textAreaChannels},model:{value:(_vm.greetingMessage),callback:function ($$v) {_vm.greetingMessage=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"greetingMessage\"}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-row justify-end gap-2 py-2 px-0 w-full\"},[_c('div',{staticClass:\"w-full\"},[_c('woot-submit-button',{attrs:{\"loading\":_vm.uiFlags.isCreating,\"disabled\":!_vm.channelWebsiteUrl || !_vm.inboxName,\"button-text\":_vm.$t('INBOX_MGMT.ADD.WEBSITE_CHANNEL.SUBMIT_BUTTON')}})],1)])],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/* global axios */\nimport ApiClient from '../ApiClient';\n\nclass TwitterClient extends ApiClient {\n constructor() {\n super('twitter', { accountScoped: true });\n }\n\n generateAuthorization() {\n return axios.post(`${this.url}/authorization`);\n }\n}\n\nexport default new TwitterClient();\n","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Twitter.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Twitter.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./Twitter.vue?vue&type=template&id=b9cbdf26&scoped=true\"\nimport script from \"./Twitter.vue?vue&type=script&lang=js\"\nexport * from \"./Twitter.vue?vue&type=script&lang=js\"\nimport style0 from \"./Twitter.vue?vue&type=style&index=0&id=b9cbdf26&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b9cbdf26\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full max-w-full md:w-3/4 md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[_c('div',{staticClass:\"login-init h-full text-center\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.requestAuthorization.apply(null, arguments)}}},[_c('woot-submit-button',{attrs:{\"icon\":\"brand-twitter\",\"button-text\":\"Sign in with Twitter\",\"type\":\"submit\",\"loading\":_vm.isRequestingAuthorization}})],1),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.TWITTER.HELP')))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Api.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Api.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Api.vue?vue&type=template&id=0dcd177c\"\nimport script from \"./Api.vue?vue&type=script&lang=js\"\nexport * from \"./Api.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full max-w-full md:w-3/4 md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[_c('page-header',{attrs:{\"header-title\":_vm.$t('INBOX_MGMT.ADD.API_CHANNEL.TITLE'),\"header-content\":_vm.$t('INBOX_MGMT.ADD.API_CHANNEL.DESC')}}),_vm._v(\" \"),_c('form',{staticClass:\"mx-0 flex flex-wrap\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel()}}},[_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.channelName.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.API_CHANNEL.CHANNEL_NAME.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.channelName),expression:\"channelName\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.API_CHANNEL.CHANNEL_NAME.PLACEHOLDER')},domProps:{\"value\":(_vm.channelName)},on:{\"blur\":[_vm.$v.channelName.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.channelName=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.channelName.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.API_CHANNEL.CHANNEL_NAME.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.webhookUrl.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.API_CHANNEL.WEBHOOK_URL.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.webhookUrl),expression:\"webhookUrl\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.API_CHANNEL.WEBHOOK_URL.PLACEHOLDER')},domProps:{\"value\":(_vm.webhookUrl)},on:{\"blur\":[_vm.$v.webhookUrl.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.webhookUrl=$event.target.value.trim()}}})]),_vm._v(\" \"),_c('p',{staticClass:\"help-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.API_CHANNEL.WEBHOOK_URL.SUBTITLE'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('woot-submit-button',{attrs:{\"loading\":_vm.uiFlags.isCreating,\"button-text\":_vm.$t('INBOX_MGMT.ADD.API_CHANNEL.SUBMIT_BUTTON')}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForwardToOption.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForwardToOption.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./ForwardToOption.vue?vue&type=template&id=5deef669\"\nimport script from \"./ForwardToOption.vue?vue&type=script&lang=js\"\nexport * from \"./ForwardToOption.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full max-w-full md:w-3/4 md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[_c('page-header',{attrs:{\"header-title\":_vm.$t('INBOX_MGMT.ADD.EMAIL_CHANNEL.TITLE'),\"header-content\":_vm.$t('INBOX_MGMT.ADD.EMAIL_CHANNEL.DESC')}}),_vm._v(\" \"),_c('form',{staticClass:\"mx-0 flex flex-wrap\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel()}}},[_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.channelName.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.EMAIL_CHANNEL.CHANNEL_NAME.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.channelName),expression:\"channelName\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.EMAIL_CHANNEL.CHANNEL_NAME.PLACEHOLDER')},domProps:{\"value\":(_vm.channelName)},on:{\"blur\":[_vm.$v.channelName.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.channelName=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.channelName.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.EMAIL_CHANNEL.CHANNEL_NAME.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.email.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.EMAIL_CHANNEL.EMAIL.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.email),expression:\"email\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.EMAIL_CHANNEL.EMAIL.PLACEHOLDER')},domProps:{\"value\":(_vm.email)},on:{\"blur\":[_vm.$v.email.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value.trim()}}})]),_vm._v(\" \"),_c('p',{staticClass:\"help-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.EMAIL_CHANNEL.EMAIL.SUBTITLE'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('woot-submit-button',{attrs:{\"loading\":_vm.uiFlags.isCreating,\"button-text\":_vm.$t('INBOX_MGMT.ADD.EMAIL_CHANNEL.SUBMIT_BUTTON')}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/* global axios */\nimport ApiClient from '../ApiClient';\n\nclass MicrosoftClient extends ApiClient {\n constructor() {\n super('google', { accountScoped: true });\n }\n\n generateAuthorization(payload) {\n return axios.post(`${this.url}/authorization`, payload);\n }\n}\n\nexport default new MicrosoftClient();\n","import mod from \"-!../../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OAuthChannel.vue?vue&type=script&setup=true&lang=js\"; export default mod; export * from \"-!../../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OAuthChannel.vue?vue&type=script&setup=true&lang=js\"","\n\n","import { render, staticRenderFns } from \"./OAuthChannel.vue?vue&type=template&id=e291fe4a\"\nimport script from \"./OAuthChannel.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./OAuthChannel.vue?vue&type=script&setup=true&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full max-w-full md:w-3/4 md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[_c(_setup.SettingsSubPageHeader,{attrs:{\"header-title\":_vm.title,\"header-content\":_vm.description}}),_vm._v(\" \"),_c('form',{staticClass:\"mt-6\",on:{\"submit\":function($event){$event.preventDefault();return _setup.requestAuthorization.apply(null, arguments)}}},[_c('woot-input',{attrs:{\"type\":\"email\",\"placeholder\":_vm.inputPlaceholder},model:{value:(_setup.email),callback:function ($$v) {_setup.email=$$v},expression:\"email\"}}),_vm._v(\" \"),_c('woot-submit-button',{attrs:{\"icon\":\"brand-twitter\",\"type\":\"submit\",\"button-text\":_vm.submitButtonText,\"loading\":_setup.isRequestingAuthorization}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Microsoft.vue?vue&type=script&setup=true&lang=js\"; export default mod; export * from \"-!../../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Microsoft.vue?vue&type=script&setup=true&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./Microsoft.vue?vue&type=template&id=37dad22b\"\nimport script from \"./Microsoft.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Microsoft.vue?vue&type=script&setup=true&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(_setup.OAuthChannel,{attrs:{\"provider\":\"microsoft\",\"title\":_vm.$t('INBOX_MGMT.ADD.MICROSOFT.TITLE'),\"description\":_vm.$t('INBOX_MGMT.ADD.MICROSOFT.DESCRIPTION'),\"input-placeholder\":_vm.$t('INBOX_MGMT.ADD.MICROSOFT.EMAIL_PLACEHOLDER'),\"submit-button-text\":_vm.$t('INBOX_MGMT.ADD.MICROSOFT.SIGN_IN'),\"error-message\":_vm.$t('INBOX_MGMT.ADD.MICROSOFT.ERROR_MESSAGE')}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Google.vue?vue&type=script&setup=true&lang=js\"; export default mod; export * from \"-!../../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Google.vue?vue&type=script&setup=true&lang=js\"","\n\n","import { render, staticRenderFns } from \"./Google.vue?vue&type=template&id=767901ef\"\nimport script from \"./Google.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Google.vue?vue&type=script&setup=true&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(_setup.OAuthChannel,{attrs:{\"provider\":\"google\",\"title\":_vm.$t('INBOX_MGMT.ADD.GOOGLE.TITLE'),\"description\":_vm.$t('INBOX_MGMT.ADD.GOOGLE.DESCRIPTION'),\"input-placeholder\":_vm.$t('INBOX_MGMT.ADD.GOOGLE.EMAIL_PLACEHOLDER'),\"submit-button-text\":_vm.$t('INBOX_MGMT.ADD.GOOGLE.SIGN_IN'),\"error-message\":_vm.$t('INBOX_MGMT.ADD.GOOGLE.ERROR_MESSAGE')}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Email.vue?vue&type=script&setup=true&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Email.vue?vue&type=script&setup=true&lang=js\"","\n\n","import { render, staticRenderFns } from \"./Email.vue?vue&type=template&id=02bc0ad0\"\nimport script from \"./Email.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Email.vue?vue&type=script&setup=true&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (!_setup.provider)?_c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full md:w-full max-w-full md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[_c(_setup.PageHeader,{staticClass:\"max-w-4xl\",attrs:{\"header-title\":_vm.$t('INBOX_MGMT.ADD.EMAIL_PROVIDER.TITLE'),\"header-content\":_vm.$t('INBOX_MGMT.ADD.EMAIL_PROVIDER.DESCRIPTION')}}),_vm._v(\" \"),_c('div',{staticClass:\"grid max-w-3xl grid-cols-4 mx-0 mt-6\"},_vm._l((_setup.emailProviderList),function(emailProvider){return _c(_setup.ChannelSelector,{key:emailProvider.key,class:{ inactive: !emailProvider.isEnabled },attrs:{\"title\":emailProvider.title,\"src\":emailProvider.src},on:{\"click\":() => _setup.onClick(emailProvider)}})}),1)],1):(_setup.provider === 'microsoft')?_c(_setup.Microsoft):(_setup.provider === 'google')?_c(_setup.Google):(_setup.provider === 'other_provider')?_c(_setup.ForwardToOption):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BandwidthSms.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BandwidthSms.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BandwidthSms.vue?vue&type=template&id=7b1afe66\"\nimport script from \"./BandwidthSms.vue?vue&type=script&lang=js\"\nexport * from \"./BandwidthSms.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('form',{staticClass:\"mx-0 flex flex-wrap\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel()}}},[_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.inboxName.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.INBOX_NAME.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.inboxName),expression:\"inboxName\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.INBOX_NAME.PLACEHOLDER')},domProps:{\"value\":(_vm.inboxName)},on:{\"blur\":[_vm.$v.inboxName.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.inboxName=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.inboxName.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.INBOX_NAME.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.phoneNumber.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.PHONE_NUMBER.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.phoneNumber),expression:\"phoneNumber\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.PHONE_NUMBER.PLACEHOLDER')},domProps:{\"value\":(_vm.phoneNumber)},on:{\"blur\":[_vm.$v.phoneNumber.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.phoneNumber=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.phoneNumber.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.PHONE_NUMBER.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.accountId.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.ACCOUNT_ID.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.accountId),expression:\"accountId\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.ACCOUNT_ID.PLACEHOLDER')},domProps:{\"value\":(_vm.accountId)},on:{\"blur\":[_vm.$v.accountId.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.accountId=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.accountId.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.ACCOUNT_ID.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.applicationId.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.APPLICATION_ID.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.applicationId),expression:\"applicationId\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.APPLICATION_ID.PLACEHOLDER')},domProps:{\"value\":(_vm.applicationId)},on:{\"blur\":[_vm.$v.applicationId.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.applicationId=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.applicationId.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.APPLICATION_ID.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.apiKey.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.API_KEY.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.apiKey),expression:\"apiKey\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.API_KEY.PLACEHOLDER')},domProps:{\"value\":(_vm.apiKey)},on:{\"blur\":[_vm.$v.apiKey.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.apiKey=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.apiKey.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.API_KEY.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.apiSecret.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.API_SECRET.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.apiSecret),expression:\"apiSecret\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.API_SECRET.PLACEHOLDER')},domProps:{\"value\":(_vm.apiSecret)},on:{\"blur\":[_vm.$v.apiSecret.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.apiSecret=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.apiSecret.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.API_SECRET.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('woot-submit-button',{attrs:{\"loading\":_vm.uiFlags.isCreating,\"button-text\":_vm.$t('INBOX_MGMT.ADD.SMS.BANDWIDTH.SUBMIT_BUTTON')}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Twilio.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Twilio.vue?vue&type=script&lang=js\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./Twilio.vue?vue&type=template&id=1c36169d&scoped=true\"\nimport script from \"./Twilio.vue?vue&type=script&lang=js\"\nexport * from \"./Twilio.vue?vue&type=script&lang=js\"\nimport style0 from \"./Twilio.vue?vue&type=style&index=0&id=1c36169d&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1c36169d\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('form',{staticClass:\"mx-0 flex flex-wrap\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel()}}},[_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.channelName.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.CHANNEL_NAME.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.channelName),expression:\"channelName\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.TWILIO.CHANNEL_NAME.PLACEHOLDER')},domProps:{\"value\":(_vm.channelName)},on:{\"blur\":[_vm.$v.channelName.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.channelName=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.channelName.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.CHANNEL_NAME.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[(_vm.useMessagingService)?_c('label',{class:{ error: _vm.$v.messagingServiceSID.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.MESSAGING_SERVICE_SID.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.messagingServiceSID),expression:\"messagingServiceSID\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.TWILIO.MESSAGING_SERVICE_SID.PLACEHOLDER')},domProps:{\"value\":(_vm.messagingServiceSID)},on:{\"blur\":[_vm.$v.messagingServiceSID.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.messagingServiceSID=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.messagingServiceSID.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.MESSAGING_SERVICE_SID.ERROR')))]):_vm._e()]):_vm._e()]),_vm._v(\" \"),(!_vm.useMessagingService)?_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.phoneNumber.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.PHONE_NUMBER.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.phoneNumber),expression:\"phoneNumber\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.TWILIO.PHONE_NUMBER.PLACEHOLDER')},domProps:{\"value\":(_vm.phoneNumber)},on:{\"blur\":[_vm.$v.phoneNumber.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.phoneNumber=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.phoneNumber.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.PHONE_NUMBER.ERROR')))]):_vm._e()])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"max-w-[65%] w-full messagingServiceHelptext\"},[_c('label',{attrs:{\"for\":\"useMessagingService\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.useMessagingService),expression:\"useMessagingService\"}],staticClass:\"checkbox\",attrs:{\"id\":\"useMessagingService\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.useMessagingService)?_vm._i(_vm.useMessagingService,null)>-1:(_vm.useMessagingService)},on:{\"change\":function($event){var $$a=_vm.useMessagingService,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.useMessagingService=$$a.concat([$$v]))}else{$$i>-1&&(_vm.useMessagingService=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.useMessagingService=$$c}}}}),_vm._v(\"\\n \"+_vm._s(_vm.$t(\n 'INBOX_MGMT.ADD.TWILIO.MESSAGING_SERVICE_SID.USE_MESSAGING_SERVICE'\n ))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.accountSID.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.ACCOUNT_SID.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.accountSID),expression:\"accountSID\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.TWILIO.ACCOUNT_SID.PLACEHOLDER')},domProps:{\"value\":(_vm.accountSID)},on:{\"blur\":[_vm.$v.accountSID.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.accountSID=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.accountSID.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.ACCOUNT_SID.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"max-w-[65%] w-full messagingServiceHelptext\"},[_c('label',{attrs:{\"for\":\"useAPIKey\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.useAPIKey),expression:\"useAPIKey\"}],staticClass:\"checkbox\",attrs:{\"id\":\"useAPIKey\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.useAPIKey)?_vm._i(_vm.useAPIKey,null)>-1:(_vm.useAPIKey)},on:{\"change\":function($event){var $$a=_vm.useAPIKey,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.useAPIKey=$$a.concat([$$v]))}else{$$i>-1&&(_vm.useAPIKey=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.useAPIKey=$$c}}}}),_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.API_KEY.USE_API_KEY'))+\"\\n \")])]),_vm._v(\" \"),(_vm.useAPIKey)?_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.apiKeySID.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.API_KEY.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.apiKeySID),expression:\"apiKeySID\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.TWILIO.API_KEY.PLACEHOLDER')},domProps:{\"value\":(_vm.apiKeySID)},on:{\"blur\":[_vm.$v.apiKeySID.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.apiKeySID=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.apiKeySID.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.TWILIO.API_KEY.ERROR')))]):_vm._e()])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.authToken.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t(`INBOX_MGMT.ADD.TWILIO.${_vm.authTokeni18nKey}.LABEL`))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.authToken),expression:\"authToken\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t(`INBOX_MGMT.ADD.TWILIO.${_vm.authTokeni18nKey}.PLACEHOLDER`)},domProps:{\"value\":(_vm.authToken)},on:{\"blur\":[_vm.$v.authToken.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.authToken=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.authToken.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t(`INBOX_MGMT.ADD.TWILIO.${_vm.authTokeni18nKey}.ERROR`))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('woot-submit-button',{attrs:{\"loading\":_vm.uiFlags.isCreating,\"button-text\":_vm.$t('INBOX_MGMT.ADD.TWILIO.SUBMIT_BUTTON')}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sms.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sms.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./Sms.vue?vue&type=template&id=4bed097e\"\nimport script from \"./Sms.vue?vue&type=script&lang=js\"\nexport * from \"./Sms.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full max-w-full md:w-3/4 md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[_c('page-header',{attrs:{\"header-title\":_vm.$t('INBOX_MGMT.ADD.SMS.TITLE'),\"header-content\":_vm.$t('INBOX_MGMT.ADD.SMS.DESC')}}),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.PROVIDERS.LABEL'))+\"\\n \"),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.provider),expression:\"provider\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.provider=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"twilio\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.PROVIDERS.TWILIO'))+\"\\n \")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"360dialog\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.SMS.PROVIDERS.BANDWIDTH'))+\"\\n \")])])])]),_vm._v(\" \"),(_vm.provider === 'twilio')?_c('twilio',{attrs:{\"type\":\"sms\"}}):_c('bandwidth-sms')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./360DialogWhatsapp.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./360DialogWhatsapp.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./360DialogWhatsapp.vue?vue&type=template&id=29320112\"\nimport script from \"./360DialogWhatsapp.vue?vue&type=script&lang=js\"\nexport * from \"./360DialogWhatsapp.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('form',{staticClass:\"mx-0 flex flex-wrap\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel()}}},[_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.inboxName.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.INBOX_NAME.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.inboxName),expression:\"inboxName\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.INBOX_NAME.PLACEHOLDER')},domProps:{\"value\":(_vm.inboxName)},on:{\"blur\":[_vm.$v.inboxName.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.inboxName=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.inboxName.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.INBOX_NAME.ERROR'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.phoneNumber.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.phoneNumber),expression:\"phoneNumber\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER.PLACEHOLDER')},domProps:{\"value\":(_vm.phoneNumber)},on:{\"blur\":[_vm.$v.phoneNumber.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.phoneNumber=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.phoneNumber.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER.ERROR'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.apiKey.$error }},[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.API_KEY.LABEL'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.apiKey),expression:\"apiKey\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.API_KEY.PLACEHOLDER')},domProps:{\"value\":(_vm.apiKey)},on:{\"blur\":[_vm.$v.apiKey.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.apiKey=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.apiKey.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.API_KEY.ERROR'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('woot-submit-button',{attrs:{\"loading\":_vm.uiFlags.isCreating,\"button-text\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.SUBMIT_BUTTON')}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CloudWhatsapp.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CloudWhatsapp.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./CloudWhatsapp.vue?vue&type=template&id=d3affb9a\"\nimport script from \"./CloudWhatsapp.vue?vue&type=script&lang=js\"\nexport * from \"./CloudWhatsapp.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('form',{staticClass:\"mx-0 flex flex-wrap\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel()}}},[_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.inboxName.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.INBOX_NAME.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.inboxName),expression:\"inboxName\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.INBOX_NAME.PLACEHOLDER')},domProps:{\"value\":(_vm.inboxName)},on:{\"blur\":[_vm.$v.inboxName.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.inboxName=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.inboxName.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.INBOX_NAME.ERROR'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.phoneNumber.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.phoneNumber),expression:\"phoneNumber\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER.PLACEHOLDER')},domProps:{\"value\":(_vm.phoneNumber)},on:{\"blur\":[_vm.$v.phoneNumber.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.phoneNumber=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.phoneNumber.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER.ERROR'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.phoneNumberId.$error }},[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER_ID.LABEL'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.phoneNumberId),expression:\"phoneNumberId\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER_ID.PLACEHOLDER')},domProps:{\"value\":(_vm.phoneNumberId)},on:{\"blur\":[_vm.$v.phoneNumberId.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.phoneNumberId=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.phoneNumberId.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER_ID.ERROR'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.businessAccountId.$error }},[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.BUSINESS_ACCOUNT_ID.LABEL'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.businessAccountId),expression:\"businessAccountId\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.BUSINESS_ACCOUNT_ID.PLACEHOLDER')},domProps:{\"value\":(_vm.businessAccountId)},on:{\"blur\":[_vm.$v.businessAccountId.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.businessAccountId=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.businessAccountId.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.BUSINESS_ACCOUNT_ID.ERROR'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.apiKey.$error }},[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.API_KEY.LABEL'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.apiKey),expression:\"apiKey\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.API_KEY.PLACEHOLDER')},domProps:{\"value\":(_vm.apiKey)},on:{\"blur\":[_vm.$v.apiKey.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.apiKey=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.apiKey.$error)?_c('span',{staticClass:\"message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.API_KEY.ERROR'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('woot-submit-button',{attrs:{\"loading\":_vm.uiFlags.isCreating,\"button-text\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.SUBMIT_BUTTON')}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToggleSwitch.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToggleSwitch.vue?vue&type=script&lang=js\"","\n\n\n\n\n","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RuutNativeWhatsapp.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RuutNativeWhatsapp.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./ToggleSwitch.vue?vue&type=template&id=7ad34dc8&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nimport style0 from \"./ToggleSwitch.vue?vue&type=style&index=0&id=7ad34dc8&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ad34dc8\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"flex flex-row gap-2 items-center cursor-pointer\",on:{\"click\":_vm.toggle}},[_c('label',{class:['radio-group-item-label', _vm.value ? 'on' : 'off']},[_vm._v(\"\\n \"+_vm._s(_vm.value ? 'On' : 'Off')+\"\\n \")]),_vm._v(\" \"),_c('input',{staticClass:\"radio-input\",attrs:{\"type\":\"checkbox\",\"name\":`${_vm.label} -radio-input`,\"disabled\":\"\"},domProps:{\"checked\":_vm.value}}),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-col gap-1\"},[_c('h6',{staticClass:\"text-sm font-medium\"},[_vm._v(_vm._s(_vm.label))]),_vm._v(\" \"),_c('p',{staticClass:\"text-sm text-gray-500\"},[_vm._v(_vm._s(_vm.subtitle))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Whatsapp.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Whatsapp.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./RuutNativeWhatsapp.vue?vue&type=template&id=6f81cf52\"\nimport script from \"./RuutNativeWhatsapp.vue?vue&type=script&lang=js\"\nexport * from \"./RuutNativeWhatsapp.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('form',{staticClass:\"space-y-6 w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%] overflow-y-auto h-[75%]\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel()}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{class:{ 'text-red-500': _vm.$v.inboxName.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.INBOX_NAME.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.inboxName),expression:\"inboxName\",modifiers:{\"trim\":true}}],staticClass:\"form-input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.INBOX_NAME.PLACEHOLDER')},domProps:{\"value\":(_vm.inboxName)},on:{\"blur\":[_vm.$v.inboxName.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.inboxName=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.inboxName.$error)?_c('span',{staticClass:\"text-sm text-red-500\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.INBOX_NAME.ERROR'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('label',{class:{ 'text-red-500': _vm.$v.phoneNumber.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.phoneNumber),expression:\"phoneNumber\",modifiers:{\"trim\":true}}],staticClass:\"form-input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER.PLACEHOLDER')},domProps:{\"value\":(_vm.phoneNumber)},on:{\"blur\":[_vm.$v.phoneNumber.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.phoneNumber=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.phoneNumber.$error)?_c('span',{staticClass:\"text-sm text-red-500\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PHONE_NUMBER.ERROR'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"space-y-4\"},[_c('ToggleSwitch',{attrs:{\"value\":_vm.reopenConversations,\"label\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.REOPEN_CONVERSATIONS.LABEL'),\"subtitle\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.REOPEN_CONVERSATIONS.SUBTITLE')},on:{\"change\":function($event){_vm.reopenConversations = $event}}}),_vm._v(\" \"),_c('ToggleSwitch',{attrs:{\"value\":_vm.importContacts,\"label\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.IMPORT_CONTACTS.LABEL'),\"subtitle\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.IMPORT_CONTACTS.SUBTITLE')},on:{\"change\":function($event){_vm.importContacts = $event}}}),_vm._v(\" \"),_c('ToggleSwitch',{attrs:{\"value\":_vm.importMessages,\"label\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.IMPORT_MESSAGES.LABEL'),\"subtitle\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.IMPORT_MESSAGES.SUBTITLE')},on:{\"change\":function($event){_vm.importMessages = $event}}}),_vm._v(\" \"),(_vm.importMessages)?_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.IMPORT_MESSAGES_AGE.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.importMessagesAge),expression:\"importMessagesAge\",modifiers:{\"trim\":true}}],staticClass:\"form-input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('IMPORT_MESSAGES_AGE.PLACEHOLDER')},domProps:{\"value\":(_vm.importMessagesAge)},on:{\"input\":function($event){if($event.target.composing)return;_vm.importMessagesAge=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}}),_vm._v(\" \"),_c('span',{staticClass:\"text-sm text-gray-500\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.IMPORT_MESSAGES_AGE.SUBTITLE'))+\"\\n \")])])]):_vm._e(),_vm._v(\" \"),_c('ToggleSwitch',{attrs:{\"value\":_vm.signMessages,\"label\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.SIGN_MESSAGES.LABEL'),\"subtitle\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.SIGN_MESSAGES.SUBTITLE')},on:{\"change\":_vm.toggleSignMessages}})],1),_vm._v(\" \"),_c('div',[_c('woot-submit-button',{attrs:{\"loading\":_vm.uiFlags.isCreating,\"button-text\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.SUBMIT_BUTTON')}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Whatsapp.vue?vue&type=template&id=f30e8ee8\"\nimport script from \"./Whatsapp.vue?vue&type=script&lang=js\"\nexport * from \"./Whatsapp.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full max-w-full md:w-3/4 md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[_c('page-header',{attrs:{\"header-title\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.TITLE'),\"header-content\":_vm.$t('INBOX_MGMT.ADD.WHATSAPP.DESC')}}),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PROVIDERS.LABEL'))+\"\\n \"),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.provider),expression:\"provider\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.provider=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"whatsapp_cloud\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PROVIDERS.WHATSAPP_CLOUD'))+\"\\n \")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"twilio\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PROVIDERS.TWILIO'))+\"\\n \")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"ruut_native_whatsapp\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.WHATSAPP.PROVIDERS.RUUT'))+\"\\n \")])])])]),_vm._v(\" \"),(_vm.provider === 'twilio')?_c('twilio',{attrs:{\"type\":\"whatsapp\"}}):(_vm.provider === '360dialog')?_c('three-sixty-dialog-whatsapp'):(_vm.provider === 'ruut_native_whatsapp')?_c('ruut-native-whatsapp'):_c('cloud-whatsapp')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Line.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Line.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./Line.vue?vue&type=template&id=28151cdb\"\nimport script from \"./Line.vue?vue&type=script&lang=js\"\nexport * from \"./Line.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full max-w-full md:w-3/4 md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[_c('page-header',{attrs:{\"header-title\":_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.TITLE'),\"header-content\":_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.DESC')}}),_vm._v(\" \"),_c('form',{staticClass:\"mx-0 flex flex-wrap\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel()}}},[_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.channelName.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.CHANNEL_NAME.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.channelName),expression:\"channelName\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.CHANNEL_NAME.PLACEHOLDER')},domProps:{\"value\":(_vm.channelName)},on:{\"blur\":[_vm.$v.channelName.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.channelName=$event.target.value.trim()}}}),_vm._v(\" \"),(_vm.$v.channelName.$error)?_c('span',{staticClass:\"message\"},[_vm._v(_vm._s(_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.CHANNEL_NAME.ERROR')))]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.lineChannelId.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.LINE_CHANNEL_ID.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.lineChannelId),expression:\"lineChannelId\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.LINE_CHANNEL_ID.PLACEHOLDER')},domProps:{\"value\":(_vm.lineChannelId)},on:{\"blur\":[_vm.$v.lineChannelId.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.lineChannelId=$event.target.value.trim()}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.lineChannelSecret.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.LINE_CHANNEL_SECRET.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.lineChannelSecret),expression:\"lineChannelSecret\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.LINE_CHANNEL_SECRET.PLACEHOLDER')},domProps:{\"value\":(_vm.lineChannelSecret)},on:{\"blur\":[_vm.$v.lineChannelSecret.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.lineChannelSecret=$event.target.value.trim()}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.lineChannelToken.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.LINE_CHANNEL_TOKEN.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.lineChannelToken),expression:\"lineChannelToken\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.LINE_CHANNEL_TOKEN.PLACEHOLDER')},domProps:{\"value\":(_vm.lineChannelToken)},on:{\"blur\":[_vm.$v.lineChannelToken.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.lineChannelToken=$event.target.value.trim()}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('woot-submit-button',{attrs:{\"loading\":_vm.uiFlags.isCreating,\"button-text\":_vm.$t('INBOX_MGMT.ADD.LINE_CHANNEL.SUBMIT_BUTTON')}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Telegram.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Telegram.vue?vue&type=script&lang=js\"","\n\n\n","import Facebook from './channels/Facebook.vue';\nimport Website from './channels/Website.vue';\nimport Twitter from './channels/Twitter.vue';\nimport Api from './channels/Api.vue';\nimport Email from './channels/Email.vue';\nimport Sms from './channels/Sms.vue';\nimport Whatsapp from './channels/Whatsapp.vue';\nimport Line from './channels/Line.vue';\nimport Telegram from './channels/Telegram.vue';\n\nconst channelViewList = {\n facebook: Facebook,\n website: Website,\n twitter: Twitter,\n api: Api,\n email: Email,\n sms: Sms,\n whatsapp: Whatsapp,\n line: Line,\n telegram: Telegram,\n};\n\nexport default {\n create() {\n return {\n props: {\n channel_name: {\n type: String,\n required: true,\n },\n },\n name: 'new-channel-view',\n render(h) {\n return h(channelViewList[this.channel_name] || null);\n },\n };\n },\n};\n","import { render, staticRenderFns } from \"./Telegram.vue?vue&type=template&id=6c467663\"\nimport script from \"./Telegram.vue?vue&type=script&lang=js\"\nexport * from \"./Telegram.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"border border-slate-25 dark:border-slate-800/60 bg-white dark:bg-slate-900 h-full p-6 w-full max-w-full md:w-3/4 md:max-w-[75%] flex-shrink-0 flex-grow-0\"},[_c('page-header',{attrs:{\"header-title\":_vm.$t('INBOX_MGMT.ADD.TELEGRAM_CHANNEL.TITLE'),\"header-content\":_vm.$t('INBOX_MGMT.ADD.TELEGRAM_CHANNEL.DESC')}}),_vm._v(\" \"),_c('form',{staticClass:\"mx-0 flex flex-wrap\",on:{\"submit\":function($event){$event.preventDefault();return _vm.createChannel()}}},[_c('div',{staticClass:\"w-[65%] flex-shrink-0 flex-grow-0 max-w-[65%]\"},[_c('label',{class:{ error: _vm.$v.botToken.$error }},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.TELEGRAM_CHANNEL.BOT_TOKEN.LABEL'))+\"\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.botToken),expression:\"botToken\",modifiers:{\"trim\":true}}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('INBOX_MGMT.ADD.TELEGRAM_CHANNEL.BOT_TOKEN.PLACEHOLDER')},domProps:{\"value\":(_vm.botToken)},on:{\"blur\":[_vm.$v.botToken.$touch,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing)return;_vm.botToken=$event.target.value.trim()}}})]),_vm._v(\" \"),_c('p',{staticClass:\"help-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('INBOX_MGMT.ADD.TELEGRAM_CHANNEL.BOT_TOKEN.SUBTITLE'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"w-full\"},[_c('woot-submit-button',{attrs:{\"loading\":_vm.uiFlags.isCreating,\"button-text\":_vm.$t('INBOX_MGMT.ADD.TELEGRAM_CHANNEL.SUBMIT_BUTTON')}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/* eslint arrow-body-style: 0 */\nimport { frontendURL } from '../../../../helper/URLHelper';\nimport channelFactory from './channel-factory';\n\nconst SettingsContent = () => import('../Wrapper.vue');\nconst InboxHome = () => import('./Index.vue');\nconst Settings = () => import('./Settings.vue');\nconst InboxChannel = () => import('./InboxChannels.vue');\nconst ChannelList = () => import('./ChannelList.vue');\nconst AddAgents = () => import('./AddAgents.vue');\nconst FinishSetup = () => import('./FinishSetup.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/inboxes'),\n component: SettingsContent,\n props: params => {\n const showBackButton = params.name !== 'settings_inbox_list';\n return {\n headerTitle: 'INBOX_MGMT.HEADER',\n headerButtonText: 'SETTINGS.INBOXES.NEW_INBOX',\n icon: 'mail-inbox-all',\n newButtonRoutes: ['settings_inbox_list'],\n showBackButton,\n };\n },\n children: [\n {\n path: '',\n redirect: 'list',\n },\n {\n path: 'list',\n name: 'settings_inbox_list',\n component: InboxHome,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'new',\n component: InboxChannel,\n children: [\n {\n path: '',\n name: 'settings_inbox_new',\n component: ChannelList,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: ':inbox_id/finish',\n name: 'settings_inbox_finish',\n component: FinishSetup,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: ':sub_page',\n name: 'settings_inboxes_page_channel',\n component: channelFactory.create(),\n meta: {\n permissions: ['administrator'],\n },\n props: route => {\n return { channel_name: route.params.sub_page };\n },\n },\n {\n path: ':inbox_id/agents',\n name: 'settings_inboxes_add_agents',\n meta: {\n permissions: ['administrator'],\n },\n component: AddAgents,\n },\n ],\n },\n {\n path: ':inboxId',\n name: 'settings_inbox_show',\n component: Settings,\n meta: {\n permissions: ['administrator'],\n },\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\nconst SettingsContent = () => import('../Wrapper.vue');\nconst IntegrationHooks = () => import('./IntegrationHooks.vue');\nconst Index = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/applications'),\n component: SettingsContent,\n props: params => {\n const showBackButton = params.name !== 'settings_applications';\n const backUrl =\n params.name === 'settings_applications_integration'\n ? { name: 'settings_applications' }\n : '';\n return {\n headerTitle: 'INTEGRATION_APPS.HEADER',\n icon: 'star-emphasis',\n showBackButton,\n backUrl,\n };\n },\n children: [\n {\n path: '',\n name: 'settings_applications',\n component: Index,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: ':integration_id',\n name: 'settings_applications_integration',\n component: IntegrationHooks,\n meta: {\n permissions: ['administrator'],\n },\n props: route => ({\n integrationId: route.params.integration_id,\n }),\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\n\nconst SettingsContent = () => import('../Wrapper.vue');\nconst Webhook = () => import('./Webhooks/Index.vue');\nconst DashboardApps = () => import('./DashboardApps/Index.vue');\nconst ShowIntegration = () => import('./ShowIntegration.vue');\nconst Slack = () => import('./Slack.vue');\nconst Index = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/integrations'),\n component: SettingsContent,\n props: params => {\n const showBackButton = params.name !== 'settings_integrations';\n const backUrl =\n params.name === 'settings_integrations_integration'\n ? { name: 'settings_integrations' }\n : '';\n return {\n headerTitle: 'INTEGRATION_SETTINGS.HEADER',\n icon: 'flash-on',\n showBackButton,\n backUrl,\n };\n },\n children: [\n {\n path: '',\n name: 'settings_integrations',\n component: Index,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'webhook',\n component: Webhook,\n name: 'settings_integrations_webhook',\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'dashboard-apps',\n component: DashboardApps,\n name: 'settings_integrations_dashboard_apps',\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'slack',\n name: 'settings_integrations_slack',\n component: Slack,\n meta: {\n permissions: ['administrator'],\n },\n props: route => ({ code: route.query.code }),\n },\n {\n path: ':integration_id',\n name: 'settings_integrations_integration',\n component: ShowIntegration,\n meta: {\n permissions: ['administrator'],\n },\n props: route => {\n return {\n integrationId: route.params.integration_id,\n code: route.query.code,\n };\n },\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\n\nconst SettingsContent = () => import('../Wrapper.vue');\nconst Index = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/labels'),\n component: SettingsContent,\n props: {\n headerTitle: 'LABEL_MGMT.HEADER',\n icon: 'tag',\n showNewButton: false,\n },\n children: [\n {\n path: '',\n name: 'labels_wrapper',\n meta: {\n permissions: ['administrator'],\n },\n redirect: 'list',\n },\n {\n path: 'list',\n name: 'labels_list',\n meta: {\n permissions: ['administrator'],\n },\n component: Index,\n },\n ],\n },\n ],\n};\n","import { frontendURL } from 'dashboard/helper/URLHelper';\n\nconst SettingsContent = () => import('../Wrapper.vue');\nconst Macros = () => import('./Index.vue');\nconst MacroEditor = () => import('./MacroEditor.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/macros'),\n component: SettingsContent,\n props: params => {\n const showBackButton = params.name !== 'macros_wrapper';\n return {\n headerTitle: 'MACROS.HEADER',\n headerButtonText: 'MACROS.HEADER_BTN_TXT',\n icon: 'flash-settings',\n showBackButton,\n };\n },\n children: [\n {\n path: '',\n name: 'macros_wrapper',\n component: Macros,\n meta: {\n permissions: ['administrator', 'agent'],\n },\n },\n {\n path: 'new',\n name: 'macros_new',\n component: MacroEditor,\n meta: {\n permissions: ['administrator', 'agent'],\n },\n },\n {\n path: ':macroId/edit',\n name: 'macros_edit',\n component: MacroEditor,\n meta: {\n permissions: ['administrator', 'agent'],\n },\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\n\nconst SettingsContent = () => import('../Wrapper.vue');\nconst Index = () => import('./Index.vue');\nconst AgentReports = () => import('./AgentReports.vue');\nconst LabelReports = () => import('./LabelReports.vue');\nconst InboxReports = () => import('./InboxReports.vue');\nconst TeamReports = () => import('./TeamReports.vue');\nconst CsatResponses = () => import('./CsatResponses.vue');\nconst BotReports = () => import('./BotReports.vue');\nconst LiveReports = () => import('./LiveReports.vue');\nconst SLAReports = () => import('./SLAReports.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/reports'),\n component: SettingsContent,\n props: {\n headerTitle: 'OVERVIEW_REPORTS.HEADER',\n icon: 'arrow-trending-lines',\n keepAlive: false,\n },\n children: [\n {\n path: '',\n redirect: 'overview',\n },\n {\n path: 'overview',\n name: 'account_overview_reports',\n meta: {\n permissions: ['administrator'],\n },\n component: LiveReports,\n },\n ],\n },\n {\n path: frontendURL('accounts/:accountId/reports'),\n component: SettingsContent,\n props: {\n headerTitle: 'REPORT.HEADER',\n icon: 'chat',\n keepAlive: false,\n },\n children: [\n {\n path: 'conversation',\n name: 'conversation_reports',\n meta: {\n permissions: ['administrator'],\n },\n component: Index,\n },\n ],\n },\n {\n path: frontendURL('accounts/:accountId/reports'),\n component: SettingsContent,\n props: {\n headerTitle: 'CSAT_REPORTS.HEADER',\n icon: 'emoji',\n keepAlive: false,\n },\n children: [\n {\n path: 'csat',\n name: 'csat_reports',\n meta: {\n permissions: ['administrator'],\n },\n component: CsatResponses,\n },\n ],\n },\n {\n path: frontendURL('accounts/:accountId/reports'),\n component: SettingsContent,\n props: {\n headerTitle: 'BOT_REPORTS.HEADER',\n icon: 'bot',\n keepAlive: false,\n },\n children: [\n {\n path: 'bot',\n name: 'bot_reports',\n meta: {\n permissions: ['administrator'],\n },\n component: BotReports,\n },\n ],\n },\n {\n path: frontendURL('accounts/:accountId/reports'),\n component: SettingsContent,\n props: {\n headerTitle: 'AGENT_REPORTS.HEADER',\n icon: 'people',\n keepAlive: false,\n },\n children: [\n {\n path: 'agent',\n name: 'agent_reports',\n meta: {\n permissions: ['administrator'],\n },\n component: AgentReports,\n },\n ],\n },\n {\n path: frontendURL('accounts/:accountId/reports'),\n component: SettingsContent,\n props: {\n headerTitle: 'LABEL_REPORTS.HEADER',\n icon: 'tag',\n keepAlive: false,\n },\n children: [\n {\n path: 'label',\n name: 'label_reports',\n meta: {\n permissions: ['administrator'],\n },\n component: LabelReports,\n },\n ],\n },\n {\n path: frontendURL('accounts/:accountId/reports'),\n component: SettingsContent,\n props: {\n headerTitle: 'INBOX_REPORTS.HEADER',\n icon: 'mail-inbox-all',\n keepAlive: false,\n },\n children: [\n {\n path: 'inboxes',\n name: 'inbox_reports',\n meta: {\n permissions: ['administrator'],\n },\n component: InboxReports,\n },\n ],\n },\n {\n path: frontendURL('accounts/:accountId/reports'),\n component: SettingsContent,\n props: {\n headerTitle: 'TEAM_REPORTS.HEADER',\n icon: 'people-team',\n },\n children: [\n {\n path: 'teams',\n name: 'team_reports',\n meta: {\n permissions: ['administrator'],\n },\n component: TeamReports,\n },\n ],\n },\n {\n path: frontendURL('accounts/:accountId/reports'),\n component: SettingsContent,\n props: {\n headerTitle: 'SLA_REPORTS.HEADER',\n icon: 'document-list-clock',\n keepAlive: false,\n },\n children: [\n {\n path: 'sla',\n name: 'sla_reports',\n meta: {\n permissions: ['administrator'],\n },\n component: SLAReports,\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\n\nconst SettingsWrapper = () => import('../SettingsWrapper.vue');\nconst Index = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/sla'),\n component: SettingsWrapper,\n props: {},\n children: [\n {\n path: '',\n name: 'sla_wrapper',\n meta: {\n permissions: ['administrator'],\n },\n redirect: 'list',\n },\n {\n path: 'list',\n name: 'sla_list',\n meta: {\n permissions: ['administrator'],\n },\n component: Index,\n },\n ],\n },\n ],\n};\n","/* eslint arrow-body-style: 0 */\nimport { frontendURL } from '../../../../helper/URLHelper';\n\nconst CreateStepWrap = () => import('./Create/Index.vue');\nconst EditStepWrap = () => import('./Edit/Index.vue');\nconst CreateTeam = () => import('./Create/CreateTeam.vue');\nconst EditTeam = () => import('./Edit/EditTeam.vue');\nconst AddAgents = () => import('./Create/AddAgents.vue');\nconst EditAgents = () => import('./Edit/EditAgents.vue');\nconst FinishSetup = () => import('./FinishSetup.vue');\nconst SettingsContent = () => import('../Wrapper.vue');\nconst TeamsHome = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings/teams'),\n component: SettingsContent,\n props: params => {\n const showBackButton = params.name !== 'settings_teams_list';\n return {\n headerTitle: 'TEAMS_SETTINGS.HEADER',\n headerButtonText: 'TEAMS_SETTINGS.NEW_TEAM',\n icon: 'people-team',\n newButtonRoutes: ['settings_teams_new'],\n showBackButton,\n };\n },\n children: [\n {\n path: '',\n redirect: 'list',\n },\n {\n path: 'list',\n name: 'settings_teams_list',\n component: TeamsHome,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'new',\n component: CreateStepWrap,\n children: [\n {\n path: '',\n name: 'settings_teams_new',\n component: CreateTeam,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: ':teamId/finish',\n name: 'settings_teams_finish',\n component: FinishSetup,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: ':teamId/agents',\n name: 'settings_teams_add_agents',\n meta: {\n permissions: ['administrator'],\n },\n component: AddAgents,\n },\n ],\n },\n {\n path: ':teamId/edit',\n component: EditStepWrap,\n children: [\n {\n path: '',\n name: 'settings_teams_edit',\n component: EditTeam,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'agents',\n name: 'settings_teams_edit_members',\n component: EditAgents,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'finish',\n name: 'settings_teams_edit_finish',\n meta: {\n permissions: ['administrator'],\n },\n component: FinishSetup,\n },\n ],\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../../helper/URLHelper';\n\nconst SettingsContent = () => import('./Wrapper.vue');\nconst Index = () => import('./Index.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/profile'),\n name: 'profile_settings',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: SettingsContent,\n children: [\n {\n path: 'settings',\n name: 'profile_settings_index',\n component: Index,\n meta: {\n permissions: ['administrator', 'agent'],\n },\n },\n ],\n },\n ],\n};\n","import { frontendURL } from '../../../helper/URLHelper';\nimport account from './account/account.routes';\nimport agent from './agents/agent.routes';\nimport agentBot from './agentBots/agentBot.routes';\nimport attributes from './attributes/attributes.routes';\nimport automation from './automation/automation.routes';\nimport auditlogs from './auditlogs/audit.routes';\nimport billing from './billing/billing.routes';\nimport campaigns from './campaigns/campaigns.routes';\nimport canned from './canned/canned.routes';\nimport inbox from './inbox/inbox.routes';\nimport integrationapps from './integrationapps/integrations.routes';\nimport integrations from './integrations/integrations.routes';\nimport labels from './labels/labels.routes';\nimport macros from './macros/macros.routes';\nimport reports from './reports/reports.routes';\nimport store from '../../../store';\nimport sla from './sla/sla.routes';\nimport teams from './teams/teams.routes';\nimport profile from './profile/profile.routes';\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/settings'),\n name: 'settings_home',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n redirect: () => {\n if (store.getters.getCurrentRole === 'administrator') {\n return frontendURL('accounts/:accountId/settings/general');\n }\n return frontendURL('accounts/:accountId/settings/canned-response');\n },\n },\n ...account.routes,\n ...agent.routes,\n ...agentBot.routes,\n ...attributes.routes,\n ...automation.routes,\n ...auditlogs.routes,\n ...billing.routes,\n ...campaigns.routes,\n ...canned.routes,\n ...inbox.routes,\n ...integrationapps.routes,\n ...integrations.routes,\n ...labels.routes,\n ...macros.routes,\n ...reports.routes,\n ...sla.routes,\n ...teams.routes,\n ...profile.routes,\n ],\n};\n","/* eslint arrow-body-style: 0 */\nimport { frontendURL } from '../../../helper/URLHelper';\nconst ConversationView = () => import('./ConversationView.vue');\n\nexport default {\n routes: [\n {\n path: frontendURL('accounts/:accountId/dashboard'),\n name: 'home',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: () => {\n return { inboxId: 0 };\n },\n },\n {\n path: frontendURL('accounts/:accountId/conversations/:conversation_id'),\n name: 'inbox_conversation',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => {\n return { inboxId: 0, conversationId: route.params.conversation_id };\n },\n },\n {\n path: frontendURL('accounts/:accountId/inbox/:inbox_id'),\n name: 'inbox_dashboard',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => {\n return { inboxId: route.params.inbox_id };\n },\n },\n {\n path: frontendURL(\n 'accounts/:accountId/inbox/:inbox_id/conversations/:conversation_id'\n ),\n name: 'conversation_through_inbox',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => {\n return {\n conversationId: route.params.conversation_id,\n inboxId: route.params.inbox_id,\n };\n },\n },\n {\n path: frontendURL('accounts/:accountId/label/:label'),\n name: 'label_conversations',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => ({ label: route.params.label }),\n },\n {\n path: frontendURL(\n 'accounts/:accountId/label/:label/conversations/:conversation_id'\n ),\n name: 'conversations_through_label',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => ({\n conversationId: route.params.conversation_id,\n label: route.params.label,\n }),\n },\n {\n path: frontendURL('accounts/:accountId/team/:teamId'),\n name: 'team_conversations',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => ({ teamId: route.params.teamId }),\n },\n {\n path: frontendURL(\n 'accounts/:accountId/team/:teamId/conversations/:conversationId'\n ),\n name: 'conversations_through_team',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => ({\n conversationId: route.params.conversationId,\n teamId: route.params.teamId,\n }),\n },\n {\n path: frontendURL('accounts/:accountId/custom_view/:id'),\n name: 'folder_conversations',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => ({ foldersId: route.params.id }),\n },\n {\n path: frontendURL(\n 'accounts/:accountId/custom_view/:id/conversations/:conversation_id'\n ),\n name: 'conversations_through_folders',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => ({\n conversationId: route.params.conversation_id,\n foldersId: route.params.id,\n }),\n },\n {\n path: frontendURL('accounts/:accountId/mentions/conversations'),\n name: 'conversation_mentions',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: () => ({ conversationType: 'mention' }),\n },\n {\n path: frontendURL(\n 'accounts/:accountId/mentions/conversations/:conversationId'\n ),\n name: 'conversation_through_mentions',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => ({\n conversationId: route.params.conversationId,\n conversationType: 'mention',\n }),\n },\n {\n path: frontendURL('accounts/:accountId/unattended/conversations'),\n name: 'conversation_unattended',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: () => ({ conversationType: 'unattended' }),\n },\n {\n path: frontendURL(\n 'accounts/:accountId/unattended/conversations/:conversationId'\n ),\n name: 'conversation_through_unattended',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => ({\n conversationId: route.params.conversationId,\n conversationType: 'unattended',\n }),\n },\n {\n path: frontendURL('accounts/:accountId/participating/conversations'),\n name: 'conversation_participating',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: () => ({ conversationType: 'participating' }),\n },\n {\n path: frontendURL(\n 'accounts/:accountId/participating/conversations/:conversationId'\n ),\n name: 'conversation_through_participating',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ConversationView,\n props: route => ({\n conversationId: route.params.conversationId,\n conversationType: 'participating',\n }),\n },\n ],\n};\n","/* eslint-disable storybook/default-exports */\nimport { frontendURL } from '../../helper/URLHelper';\n\nconst SearchView = () => import('./components/SearchView.vue');\n\nexport const routes = [\n {\n path: frontendURL('accounts/:accountId/search'),\n name: 'search',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: SearchView,\n },\n];\n","/* eslint arrow-body-style: 0 */\nimport { frontendURL } from '../../../helper/URLHelper';\nconst ContactsView = () => import('./components/ContactsView.vue');\nconst ContactManageView = () => import('./pages/ContactManageView.vue');\n\nexport const routes = [\n {\n path: frontendURL('accounts/:accountId/contacts'),\n name: 'contacts_dashboard',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ContactsView,\n },\n {\n path: frontendURL('accounts/:accountId/contacts/custom_view/:id'),\n name: 'contacts_segments_dashboard',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ContactsView,\n props: route => {\n return { segmentsId: route.params.id };\n },\n },\n {\n path: frontendURL('accounts/:accountId/labels/:label/contacts'),\n name: 'contacts_labels_dashboard',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ContactsView,\n props: route => {\n return { label: route.params.label };\n },\n },\n {\n path: frontendURL('accounts/:accountId/contacts/:contactId'),\n name: 'contact_profile_dashboard',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ContactManageView,\n props: route => {\n return { contactId: route.params.contactId };\n },\n },\n];\n","/* eslint arrow-body-style: 0 */\nimport { frontendURL } from '../../../helper/URLHelper';\nconst SettingsWrapper = () => import('../settings/Wrapper.vue');\nconst NotificationsView = () => import('./components/NotificationsView.vue');\n\nexport const routes = [\n {\n path: frontendURL('accounts/:accountId/notifications'),\n component: SettingsWrapper,\n props: {\n headerTitle: 'NOTIFICATIONS_PAGE.HEADER',\n icon: 'alert',\n showNewButton: false,\n showSidemenuIcon: false,\n },\n children: [\n {\n path: '',\n name: 'notifications_index',\n component: NotificationsView,\n meta: {\n permissions: ['administrator', 'agent'],\n },\n },\n ],\n },\n];\n","import { frontendURL } from 'dashboard/helper/URLHelper';\nconst InboxListView = () => import('./InboxList.vue');\nconst InboxDetailView = () => import('./InboxView.vue');\nconst InboxEmptyStateView = () => import('./InboxEmptyState.vue');\n\nexport const routes = [\n {\n path: frontendURL('accounts/:accountId/inbox-view'),\n component: InboxListView,\n children: [\n {\n path: '',\n name: 'inbox_view',\n component: InboxEmptyStateView,\n meta: {\n permissions: ['administrator', 'agent'],\n },\n },\n {\n path: ':notification_id',\n name: 'inbox_view_conversation',\n component: InboxDetailView,\n meta: {\n permissions: ['administrator', 'agent'],\n },\n },\n ],\n },\n];\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"app-wrapper flex h-full flex-grow-0 min-h-0 w-full\"},[_c('sidebar',{attrs:{\"route\":_vm.currentRoute},on:{\"toggle-account-modal\":_vm.toggleAccountModal,\"open-notification-panel\":_vm.openNotificationPanel,\"open-key-shortcut-modal\":_vm.toggleKeyShortcutModal,\"close-key-shortcut-modal\":_vm.closeKeyShortcutModal}}),_vm._v(\" \"),(_vm.showHelpCenterSidebar)?_c('help-center-sidebar',{attrs:{\"header-title\":_vm.headerTitle,\"portal-slug\":_vm.selectedPortalSlug,\"locale-slug\":_vm.selectedLocaleInPortal,\"sub-title\":_vm.localeName(_vm.selectedLocaleInPortal),\"accessible-menu-items\":_vm.accessibleMenuItems,\"additional-secondary-menu-items\":_vm.additionalSecondaryMenuItems},on:{\"open-popover\":_vm.openPortalPopover,\"open-modal\":_vm.onClickOpenAddCategoryModal}}):_vm._e(),_vm._v(\" \"),(_vm.isHelpCenterEnabled)?_c('section',{staticClass:\"flex h-full min-h-0 overflow-hidden flex-1 px-0 bg-white dark:bg-slate-900\"},[_c('router-view',{on:{\"reload-locale\":_vm.fetchPortalAndItsCategories}}),_vm._v(\" \"),_c('command-bar'),_vm._v(\" \"),_c('account-selector',{attrs:{\"show-account-modal\":_vm.showAccountModal},on:{\"close-account-modal\":_vm.toggleAccountModal}}),_vm._v(\" \"),(_vm.showShortcutModal)?_c('woot-key-shortcut-modal',{on:{\"close\":_vm.closeKeyShortcutModal,\"clickaway\":_vm.closeKeyShortcutModal}}):_vm._e(),_vm._v(\" \"),(_vm.showNotificationPanel)?_c('notification-panel',{on:{\"close\":_vm.closeNotificationPanel}}):_vm._e(),_vm._v(\" \"),(_vm.showPortalPopover)?_c('portal-popover',{attrs:{\"portals\":_vm.portals,\"active-portal-slug\":_vm.selectedPortalSlug,\"active-locale\":_vm.selectedLocaleInPortal},on:{\"fetch-portal\":_vm.fetchPortalAndItsCategories,\"close-popover\":_vm.closePortalPopover}}):_vm._e(),_vm._v(\" \"),(_vm.showAddCategoryModal)?_c('add-category',{attrs:{\"show\":_vm.showAddCategoryModal,\"portal-name\":_vm.selectedPortalName,\"locale\":_vm.selectedLocaleInPortal,\"portal-slug\":_vm.selectedPortalSlug},on:{\"update:show\":function($event){_vm.showAddCategoryModal=$event},\"cancel\":_vm.onClickCloseAddCategoryModal}}):_vm._e()],1):_c('upgrade-page')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpgradePage.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpgradePage.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./UpgradePage.vue?vue&type=template&id=51378d22\"\nimport script from \"./UpgradePage.vue?vue&type=script&lang=js\"\nexport * from \"./UpgradePage.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"flex flex-col gap-12 sm:gap-16 items-center justify-center py-0 px-4 md:px-0 w-full h-full max-w-full overflow-auto bg-white dark:bg-slate-900\"},[_c('div',{staticClass:\"flex flex-col justify-start sm:justify-center gap-6\"},[_c('div',{staticClass:\"flex flex-col gap-1.5 items-start sm:items-center\"},[_c('h1',{staticClass:\"text-slate-900 dark:text-white text-left sm:text-center text-4xl sm:text-5xl mb-6 font-semibold\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('HELP_CENTER.UPGRADE_PAGE.TITLE'))+\"\\n \")]),_vm._v(\" \"),_c('p',{staticClass:\"max-w-2xl text-base font-normal leading-6 text-left sm:text-center text-slate-700 dark:text-slate-200\"},[_vm._v(\"\\n \"+_vm._s(_vm.isOnChatwootCloud\n ? _vm.$t('HELP_CENTER.UPGRADE_PAGE.DESCRIPTION')\n : _vm.$t('HELP_CENTER.UPGRADE_PAGE.SELF_HOSTED_DESCRIPTION'))+\"\\n \")])]),_vm._v(\" \"),(_vm.isOnChatwootCloud)?_c('div',{staticClass:\"flex flex-row gap-3 justify-start items-center sm:justify-center\"},[_c('woot-button',{attrs:{\"size\":\"medium\",\"variant\":\"hollow\",\"color-scheme\":\"primary\"},on:{\"click\":_vm.openHelpCenterDocs}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('HELP_CENTER.UPGRADE_PAGE.BUTTON.LEARN_MORE'))+\"\\n \")]),_vm._v(\" \"),_c('woot-button',{attrs:{\"size\":\"medium\",\"color-scheme\":\"primary\"},on:{\"click\":_vm.openBillingPage}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('HELP_CENTER.UPGRADE_PAGE.BUTTON.UPGRADE'))+\"\\n \")])],1):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"grid grid-cols-1 sm:grid-cols-2 gap-6 sm:gap-16 w-full max-w-2xl overflow-auto\"},_vm._l((_vm.upgradeFeature),function(feature){return _c('div',{key:feature.key,staticClass:\"w-64 min-w-full\"},[_c('div',{staticClass:\"flex gap-2 flex-row\"},[_c('div',[_c('fluent-icon',{staticClass:\"mt-px text-slate-800 dark:text-slate-25\",attrs:{\"icon\":feature.icon,\"icon-lib\":\"lucide\",\"size\":26}})],1),_vm._v(\" \"),_c('div',[_c('h5',{staticClass:\"font-semibold text-lg text-slate-800 dark:text-slate-25\"},[_vm._v(\"\\n \"+_vm._s(feature.title)+\"\\n \")]),_vm._v(\" \"),_c('p',{staticClass:\"text-sm leading-6 text-slate-700 dark:text-slate-100\"},[_vm._v(\"\\n \"+_vm._s(feature.description)+\"\\n \")])])])])}),0)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortalSwitch.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortalSwitch.vue?vue&type=script&lang=js\"","\n\n\n\n\n","import mod from \"-!../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortalPopover.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortalPopover.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./PortalSwitch.vue?vue&type=template&id=939190be&scoped=true\"\nimport script from \"./PortalSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./PortalSwitch.vue?vue&type=script&lang=js\"\nimport style0 from \"./PortalSwitch.vue?vue&type=style&index=0&id=939190be&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"939190be\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"portal\",class:{ active: _vm.active }},[_c('thumbnail',{attrs:{\"username\":_vm.portal.name,\"variant\":\"square\"}}),_vm._v(\" \"),_c('div',{staticClass:\"actions-container\"},[_c('header',{staticClass:\"flex items-center justify-between mb-2.5\"},[_c('div',[_c('h3',{staticClass:\"text-sm mb-0.5 text-slate-700 dark:text-slate-100\"},[_vm._v(\"\\n \"+_vm._s(_vm.portal.name)+\"\\n \")]),_vm._v(\" \"),_c('p',{staticClass:\"text-slate-600 dark:text-slate-200 mb-0 text-xs\"},[_vm._v(\"\\n \"+_vm._s(_vm.articlesCount)+\"\\n \"+_vm._s(_vm.$t('HELP_CENTER.PORTAL.ARTICLES_LABEL'))+\"\\n \")])]),_vm._v(\" \"),(_vm.active)?_c('woot-label',{attrs:{\"variant\":\"smooth\",\"size\":\"small\",\"color-scheme\":\"success\",\"title\":_vm.$t('HELP_CENTER.PORTAL.ACTIVE_BADGE')}}):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"portal-locales\"},[_c('h5',{staticClass:\"text-base text-slate-700 dark:text-slate-100\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('HELP_CENTER.PORTAL.CHOOSE_LOCALE_LABEL'))+\"\\n \")]),_vm._v(\" \"),_c('ul',_vm._l((_vm.locales),function(locale){return _c('li',{key:locale.code},[_c('woot-button',{attrs:{\"variant\":`locale-item ${\n _vm.isLocaleActive(locale.code, _vm.activePortalSlug)\n ? 'smooth'\n : 'clear'\n }`,\"size\":\"large\",\"color-scheme\":\"secondary\"},on:{\"click\":event => _vm.onClick(event, locale.code, _vm.portal)}},[_c('div',{staticClass:\"flex items-center justify-between w-full\"},[_c('div',{staticClass:\"meta\"},[_c('h6',{staticClass:\"text-sm text-left mb-0.5\"},[_c('span',{staticClass:\"text-slate-700 dark:text-slate-100\"},[_vm._v(\"\\n \"+_vm._s(_vm.localeName(locale.code))+\"\\n \")]),_vm._v(\" \"),(_vm.isLocaleDefault(locale.code))?_c('span',{staticClass:\"text-sm text-slate-300 dark:text-slate-200\"},[_vm._v(\"\\n \"+_vm._s(`(${_vm.$t('HELP_CENTER.PORTAL.DEFAULT')})`)+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('span',{staticClass:\"flex text-slate-600 dark:text-slate-200 text-sm text-left leading-4 w-full\"},[_vm._v(\"\\n \"+_vm._s(locale.articles_count)+\"\\n \"+_vm._s(_vm.$t('HELP_CENTER.PORTAL.ARTICLES_LABEL'))+\" -\\n \"+_vm._s(locale.code)+\"\\n \")])]),_vm._v(\" \"),(_vm.isLocaleActive(locale.code, _vm.activePortalSlug))?_c('div',[_c('fluent-icon',{staticClass:\"locale__radio\",attrs:{\"icon\":\"checkmark\"}})],1):_vm._e()])])],1)}),0)])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./PortalPopover.vue?vue&type=template&id=3c2f6239\"\nimport script from \"./PortalPopover.vue?vue&type=script&lang=js\"\nexport * from \"./PortalPopover.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.closePortalPopover),expression:\"closePortalPopover\"}],staticClass:\"absolute overflow-y-scroll max-h-[96vh] p-4 bg-white dark:bg-slate-800 rounded-md shadow-lg max-w-[30rem] z-[1000]\"},[_c('header',[_c('div',{staticClass:\"flex items-center justify-between mb-4\"},[_c('h2',{staticClass:\"text-lg text-slate-800 dark:text-slate-100\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('HELP_CENTER.PORTAL.POPOVER.TITLE'))+\"\\n \")]),_vm._v(\" \"),_c('div',[_c('woot-button',{attrs:{\"variant\":\"smooth\",\"color-scheme\":\"secondary\",\"icon\":\"settings\",\"size\":\"small\"},on:{\"click\":_vm.openPortalPage}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('HELP_CENTER.PORTAL.POPOVER.PORTAL_SETTINGS'))+\"\\n \")]),_vm._v(\" \"),_c('woot-button',{attrs:{\"variant\":\"clear\",\"color-scheme\":\"secondary\",\"icon\":\"dismiss\",\"size\":\"small\"},on:{\"click\":_vm.closePortalPopover}})],1)]),_vm._v(\" \"),_c('p',{staticClass:\"text-xs text-slate-600 dark:text-slate-300 mt-2\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('HELP_CENTER.PORTAL.POPOVER.SUBTITLE'))+\"\\n \")])]),_vm._v(\" \"),_c('div',_vm._l((_vm.portals),function(portal){return _c('portal-switch',{key:portal.id,attrs:{\"portal\":portal,\"active-portal-slug\":_vm.activePortalSlug,\"active-locale\":_vm.activeLocale,\"active\":portal.slug === _vm.activePortalSlug},on:{\"open-portal-page\":_vm.closePortalPopover,\"fetch-portal\":_vm.fetchPortalAndItsCategories}})}),1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SidebarHeader.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SidebarHeader.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./SidebarHeader.vue?vue&type=template&id=4b9caa55\"\nimport script from \"./SidebarHeader.vue?vue&type=script&lang=js\"\nexport * from \"./SidebarHeader.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"flex h-16 items-center justify-between py-4 px-0 mb-1/4 border-b border-slate-50 dark:border-slate-700\"},[_c('div',{staticClass:\"flex items-center\"},[_c('thumbnail',{attrs:{\"size\":\"32px\",\"src\":_vm.thumbnailSrc,\"username\":_vm.headerTitle,\"variant\":\"square\"}}),_vm._v(\" \"),_c('div',{staticClass:\"flex items-start flex-col ml-2 rtl:ml-0 rtl:mr-2\"},[_c('h4',{staticClass:\"text-sm w-28 h-4 mb-0 leading-4 overflow-hidden whitespace-nowrap text-ellipsis text-slate-800 dark:text-slate-100\"},[_vm._v(\"\\n \"+_vm._s(_vm.headerTitle)+\"\\n \")]),_vm._v(\" \"),_c('span',{staticClass:\"h-4 leading-4 text-slate-600 dark:text-slate-200 text-xs\"},[_vm._v(\"\\n \"+_vm._s(_vm.subTitle)+\"\\n \")])])],1),_vm._v(\" \"),_c('div',{staticClass:\"flex items-end\"},[_c('woot-button',{attrs:{\"variant\":\"clear\",\"color-scheme\":\"secondary\",\"size\":\"small\",\"icon\":\"arrow-up-right\"},on:{\"click\":_vm.popoutHelpCenter}}),_vm._v(\" \"),_c('woot-button',{attrs:{\"variant\":\"clear\",\"size\":\"small\",\"color-scheme\":\"secondary\",\"icon\":\"arrow-swap\"},on:{\"click\":_vm.openPortalPopover}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js\"","\n\n\n","import { render, staticRenderFns } from \"./Sidebar.vue?vue&type=template&id=d5b00b14\"\nimport script from \"./Sidebar.vue?vue&type=script&lang=js\"\nexport * from \"./Sidebar.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"h-full overflow-auto w-60 flex flex-col bg-white dark:bg-slate-900 border-r dark:border-slate-700 rtl:border-r-0 rtl:border-l border-slate-50 text-sm\"},[_c('sidebar-header',{staticClass:\"px-4\",attrs:{\"thumbnail-src\":_vm.thumbnailSrc,\"header-title\":_vm.headerTitle,\"sub-title\":_vm.subTitle,\"portal-link\":_vm.portalLink},on:{\"open-popover\":_vm.openPortalPopover}}),_vm._v(\" \"),_c('transition-group',{staticClass:\"py-2 px-4 list-none ml-0 mb-0\",attrs:{\"name\":\"menu-list\",\"tag\":\"ul\"}},[_vm._l((_vm.accessibleMenuItems),function(menuItem){return _c('secondary-nav-item',{key:menuItem.toState,attrs:{\"menu-item\":menuItem}})}),_vm._v(\" \"),_vm._l((_vm.additionalSecondaryMenuItems),function(menuItem){return _c('secondary-nav-item',{key:menuItem.key,attrs:{\"menu-item\":menuItem},on:{\"open\":_vm.onClickOpenAddCatogoryModal}})}),_vm._v(\" \"),(!_vm.hasCategory)?_c('p',{key:\"empty-category-nessage\",staticClass:\"p-1.5 px-4 text-slate-300\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('SIDEBAR.HELP_CENTER.CATEGORY_EMPTY_MESSAGE'))+\"\\n \")]):_vm._e()],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HelpCenterLayout.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HelpCenterLayout.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./HelpCenterLayout.vue?vue&type=template&id=33864d5a\"\nimport script from \"./HelpCenterLayout.vue?vue&type=script&lang=js\"\nexport * from \"./HelpCenterLayout.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { frontendURL } from '../../../../helper/URLHelper';\n\nexport const getPortalRoute = (path = '') => {\n const slugToBeAdded = path ? `/${path}` : '';\n return frontendURL(`accounts/:accountId/portals${slugToBeAdded}`);\n};\n","import HelpCenterLayout from './components/HelpCenterLayout.vue';\nimport { getPortalRoute } from './helpers/routeHelper';\n\nconst ListAllPortals = () => import('./pages/portals/ListAllPortals.vue');\nconst NewPortal = () => import('./pages/portals/NewPortal.vue');\n\nconst EditPortal = () => import('./pages/portals/EditPortal.vue');\nconst EditPortalBasic = () => import('./pages/portals/EditPortalBasic.vue');\nconst EditPortalCustomization = () =>\n import('./pages/portals/EditPortalCustomization.vue');\nconst EditPortalLocales = () => import('./pages/portals/EditPortalLocales.vue');\nconst ShowPortal = () => import('./pages/portals/ShowPortal.vue');\nconst PortalDetails = () => import('./pages/portals/PortalDetails.vue');\nconst PortalCustomization = () =>\n import('./pages/portals/PortalCustomization.vue');\nconst PortalSettingsFinish = () =>\n import('./pages/portals/PortalSettingsFinish.vue');\n\nconst ListAllCategories = () =>\n import('./pages/categories/ListAllCategories.vue');\nconst NewCategory = () => import('./pages/categories/NewCategory.vue');\nconst EditCategory = () => import('./pages/categories/EditCategory.vue');\nconst ListCategoryArticles = () =>\n import('./pages/articles/ListCategoryArticles.vue');\nconst ListAllArticles = () => import('./pages/articles/ListAllArticles.vue');\nconst DefaultPortalArticles = () =>\n import('./pages/articles/DefaultPortalArticles.vue');\nconst NewArticle = () => import('./pages/articles/NewArticle.vue');\nconst EditArticle = () => import('./pages/articles/EditArticle.vue');\n\nconst portalRoutes = [\n {\n path: getPortalRoute(''),\n name: 'default_portal_articles',\n meta: {\n permissions: ['administrator'],\n },\n component: DefaultPortalArticles,\n },\n {\n path: getPortalRoute('all'),\n name: 'list_all_portals',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ListAllPortals,\n },\n {\n path: getPortalRoute('new'),\n component: NewPortal,\n children: [\n {\n path: '',\n name: 'new_portal_information',\n component: PortalDetails,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: ':portalSlug/customization',\n name: 'portal_customization',\n component: PortalCustomization,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: ':portalSlug/finish',\n name: 'portal_finish',\n component: PortalSettingsFinish,\n meta: {\n permissions: ['administrator'],\n },\n },\n ],\n },\n {\n path: getPortalRoute(':portalSlug'),\n name: 'portalSlug',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ShowPortal,\n },\n {\n path: getPortalRoute(':portalSlug/edit'),\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: EditPortal,\n children: [\n {\n path: '',\n name: 'edit_portal_information',\n component: EditPortalBasic,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'customizations',\n name: 'edit_portal_customization',\n component: EditPortalCustomization,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'locales',\n name: 'edit_portal_locales',\n component: EditPortalLocales,\n meta: {\n permissions: ['administrator'],\n },\n },\n {\n path: 'categories',\n name: 'list_all_locale_categories',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ListAllCategories,\n },\n ],\n },\n];\n\nconst articleRoutes = [\n {\n path: getPortalRoute(':portalSlug/:locale/articles'),\n name: 'list_all_locale_articles',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ListAllArticles,\n },\n {\n path: getPortalRoute(':portalSlug/:locale/articles/new'),\n name: 'new_article',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: NewArticle,\n },\n {\n path: getPortalRoute(':portalSlug/:locale/articles/mine'),\n name: 'list_mine_articles',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ListAllArticles,\n },\n {\n path: getPortalRoute(':portalSlug/:locale/articles/archived'),\n name: 'list_archived_articles',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ListAllArticles,\n },\n\n {\n path: getPortalRoute(':portalSlug/:locale/articles/draft'),\n name: 'list_draft_articles',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ListAllArticles,\n },\n\n {\n path: getPortalRoute(':portalSlug/:locale/articles/:articleSlug'),\n name: 'edit_article',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: EditArticle,\n },\n];\n\nconst categoryRoutes = [\n {\n path: getPortalRoute(':portalSlug/:locale/categories'),\n name: 'all_locale_categories',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ListAllCategories,\n },\n {\n path: getPortalRoute(':portalSlug/:locale/categories/new'),\n name: 'new_category_in_locale',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: NewCategory,\n },\n {\n path: getPortalRoute(':portalSlug/:locale/categories/:categorySlug'),\n name: 'show_category',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ListAllArticles,\n },\n {\n path: getPortalRoute(\n ':portalSlug/:locale/categories/:categorySlug/articles'\n ),\n name: 'show_category_articles',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: ListCategoryArticles,\n },\n {\n path: getPortalRoute(':portalSlug/:locale/categories/:categorySlug'),\n name: 'edit_category',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: EditCategory,\n },\n];\n\nexport default {\n routes: [\n {\n path: getPortalRoute(),\n component: HelpCenterLayout,\n children: [...portalRoutes, ...articleRoutes, ...categoryRoutes],\n },\n ],\n};\n","import settings from './settings/settings.routes';\nimport conversation from './conversation/conversation.routes';\nimport { routes as searchRoutes } from '../../modules/search/search.routes';\nimport { routes as contactRoutes } from './contacts/routes';\nimport { routes as notificationRoutes } from './notifications/routes';\nimport { routes as inboxRoutes } from './inbox/routes';\nimport { frontendURL } from '../../helper/URLHelper';\nimport helpcenterRoutes from './helpcenter/helpcenter.routes';\n\nconst AppContainer = () => import('./Dashboard.vue');\nconst Suspended = () => import('./suspended/Index.vue');\n\nexport default {\n routes: [\n ...helpcenterRoutes.routes,\n {\n path: frontendURL('accounts/:account_id'),\n component: AppContainer,\n children: [\n ...inboxRoutes,\n ...conversation.routes,\n ...settings.routes,\n ...contactRoutes,\n ...searchRoutes,\n ...notificationRoutes,\n ],\n },\n {\n path: frontendURL('accounts/:accountId/suspended'),\n name: 'account_suspended',\n meta: {\n permissions: ['administrator', 'agent'],\n },\n component: Suspended,\n },\n ],\n};\n","import VueRouter from 'vue-router';\n\nimport { frontendURL } from '../helper/URLHelper';\nimport dashboard from './dashboard/dashboard.routes';\nimport store from '../store';\nimport { validateLoggedInRoutes } from '../helper/routeHelpers';\nimport AnalyticsHelper from '../helper/AnalyticsHelper';\nimport { buildPermissionsFromRouter } from '../helper/permissionsHelper';\n\nconst routes = [...dashboard.routes];\n\nexport const router = new VueRouter({ mode: 'history', routes });\nexport const routesWithPermissions = buildPermissionsFromRouter(routes);\n\nexport const validateAuthenticateRoutePermission = (to, next, { getters }) => {\n const { isLoggedIn, getCurrentUser: user } = getters;\n\n if (!isLoggedIn) {\n window.location = '/app/login';\n return '/app/login';\n }\n\n if (!to.name) {\n return next(frontendURL(`accounts/${user.account_id}/dashboard`));\n }\n\n const nextRoute = validateLoggedInRoutes(to, getters.getCurrentUser);\n return nextRoute ? next(frontendURL(nextRoute)) : next();\n};\n\nexport const initalizeRouter = () => {\n const userAuthentication = store.dispatch('setUser');\n\n router.beforeEach((to, from, next) => {\n AnalyticsHelper.page(to.name || '', {\n path: to.path,\n name: to.name,\n });\n\n userAuthentication.then(() => {\n return validateAuthenticateRoutePermission(to, next, store);\n });\n });\n};\n\nexport default router;\n","export const LOCAL_STORAGE_KEYS = {\n DISMISSED_UPDATES: 'dismissedUpdates',\n WIDGET_BUILDER: 'widgetBubble_',\n DRAFT_MESSAGES: 'draftMessages',\n COLOR_SCHEME: 'color_scheme',\n DISMISSED_LABEL_SUGGESTIONS: 'labelSuggestionsDismissed',\n MESSAGE_REPLY_TO: 'messageReplyTo',\n};\n","export const LocalStorage = {\n clearAll() {\n window.localStorage.clear();\n },\n\n get(key) {\n let value = null;\n try {\n value = window.localStorage.getItem(key);\n return typeof value === 'string' ? JSON.parse(value) : value;\n } catch (error) {\n return value;\n }\n },\n\n set(key, value) {\n if (typeof value === 'object') {\n window.localStorage.setItem(key, JSON.stringify(value));\n } else {\n window.localStorage.setItem(key, value);\n }\n window.localStorage.setItem(key + ':ts', Date.now().toString());\n },\n\n setFlag(store, accountId, key, expiry = 24 * 60 * 60 * 1000) {\n const storeName = accountId ? `${store}::${accountId}` : store;\n\n const rawValue = window.localStorage.getItem(storeName);\n const parsedValue = rawValue ? JSON.parse(rawValue) : {};\n\n parsedValue[key] = Date.now() + expiry;\n\n window.localStorage.setItem(storeName, JSON.stringify(parsedValue));\n },\n\n getFlag(store, accountId, key) {\n const storeName = store ? `${store}::${accountId}` : store;\n\n const rawValue = window.localStorage.getItem(storeName);\n const parsedValue = rawValue ? JSON.parse(rawValue) : {};\n\n return parsedValue[key] && parsedValue[key] > Date.now();\n },\n\n remove(key) {\n window.localStorage.removeItem(key);\n window.localStorage.removeItem(key + ':ts');\n },\n\n updateJsonStore(storeName, key, value) {\n try {\n const storedValue = this.get(storeName) || {};\n storedValue[key] = value;\n this.set(storeName, storedValue);\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error('Error updating JSON store in localStorage', e);\n }\n },\n\n getFromJsonStore(storeName, key) {\n try {\n const storedValue = this.get(storeName) || {};\n return storedValue[key] || null;\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error('Error getting value from JSON store in localStorage', e);\n return null;\n }\n },\n\n deleteFromJsonStore(storeName, key) {\n try {\n const storedValue = this.get(storeName);\n if (storedValue && key in storedValue) {\n delete storedValue[key];\n this.set(storeName, storedValue);\n }\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error('Error deleting entry from JSON store in localStorage', e);\n }\n },\n};\n","/*!\n * Vue.js v2.7.16\n * (c) 2014-2023 Evan You\n * Released under the MIT License.\n */\n/*!\n * Vue.js v2.7.16\n * (c) 2014-2023 Evan You\n * Released under the MIT License.\n */\n\"use strict\";\n\nconst t = Object.freeze({}),\n e = Array.isArray;\nfunction n(t) {\n return null == t;\n}\nfunction o(t) {\n return null != t;\n}\nfunction r(t) {\n return !0 === t;\n}\nfunction s(t) {\n return \"string\" == typeof t || \"number\" == typeof t || \"symbol\" == typeof t || \"boolean\" == typeof t;\n}\nfunction i(t) {\n return \"function\" == typeof t;\n}\nfunction c(t) {\n return null !== t && \"object\" == typeof t;\n}\nconst a = Object.prototype.toString;\nfunction l(t) {\n return \"[object Object]\" === a.call(t);\n}\nfunction u(t) {\n const e = parseFloat(String(t));\n return e >= 0 && Math.floor(e) === e && isFinite(t);\n}\nfunction f(t) {\n return o(t) && \"function\" == typeof t.then && \"function\" == typeof t.catch;\n}\nfunction d(t) {\n return null == t ? \"\" : Array.isArray(t) || l(t) && t.toString === a ? JSON.stringify(t, p, 2) : String(t);\n}\nfunction p(t, e) {\n return e && e.__v_isRef ? e.value : e;\n}\nfunction h(t) {\n const e = parseFloat(t);\n return isNaN(e) ? t : e;\n}\nfunction m(t, e) {\n const n = Object.create(null),\n o = t.split(\",\");\n for (let t = 0; t < o.length; t++) n[o[t]] = !0;\n return e ? t => n[t.toLowerCase()] : t => n[t];\n}\nconst g = m(\"slot,component\", !0),\n v = m(\"key,ref,slot,slot-scope,is\");\nfunction y(t, e) {\n const n = t.length;\n if (n) {\n if (e === t[n - 1]) return void (t.length = n - 1);\n const o = t.indexOf(e);\n if (o > -1) return t.splice(o, 1);\n }\n}\nconst _ = Object.prototype.hasOwnProperty;\nfunction $(t, e) {\n return _.call(t, e);\n}\nfunction b(t) {\n const e = Object.create(null);\n return function (n) {\n return e[n] || (e[n] = t(n));\n };\n}\nconst w = /-(\\w)/g,\n x = b(t => t.replace(w, (t, e) => e ? e.toUpperCase() : \"\")),\n C = b(t => t.charAt(0).toUpperCase() + t.slice(1)),\n k = /\\B([A-Z])/g,\n S = b(t => t.replace(k, \"-$1\").toLowerCase());\nconst O = Function.prototype.bind ? function (t, e) {\n return t.bind(e);\n} : function (t, e) {\n function n(n) {\n const o = arguments.length;\n return o ? o > 1 ? t.apply(e, arguments) : t.call(e, n) : t.call(e);\n }\n return n._length = t.length, n;\n};\nfunction T(t, e) {\n e = e || 0;\n let n = t.length - e;\n const o = new Array(n);\n for (; n--;) o[n] = t[n + e];\n return o;\n}\nfunction A(t, e) {\n for (const n in e) t[n] = e[n];\n return t;\n}\nfunction j(t) {\n const e = {};\n for (let n = 0; n < t.length; n++) t[n] && A(e, t[n]);\n return e;\n}\nfunction E(t, e, n) {}\nconst N = (t, e, n) => !1,\n P = t => t;\nfunction D(t, e) {\n if (t === e) return !0;\n const n = c(t),\n o = c(e);\n if (!n || !o) return !n && !o && String(t) === String(e);\n try {\n const n = Array.isArray(t),\n o = Array.isArray(e);\n if (n && o) return t.length === e.length && t.every((t, n) => D(t, e[n]));\n if (t instanceof Date && e instanceof Date) return t.getTime() === e.getTime();\n if (n || o) return !1;\n {\n const n = Object.keys(t),\n o = Object.keys(e);\n return n.length === o.length && n.every(n => D(t[n], e[n]));\n }\n } catch (t) {\n return !1;\n }\n}\nfunction M(t, e) {\n for (let n = 0; n < t.length; n++) if (D(t[n], e)) return n;\n return -1;\n}\nfunction I(t) {\n let e = !1;\n return function () {\n e || (e = !0, t.apply(this, arguments));\n };\n}\nfunction L(t, e) {\n return t === e ? 0 === t && 1 / t != 1 / e : t == t || e == e;\n}\nconst R = \"data-server-rendered\",\n F = [\"component\", \"directive\", \"filter\"],\n H = [\"beforeCreate\", \"created\", \"beforeMount\", \"mounted\", \"beforeUpdate\", \"updated\", \"beforeDestroy\", \"destroyed\", \"activated\", \"deactivated\", \"errorCaptured\", \"serverPrefetch\", \"renderTracked\", \"renderTriggered\"];\nvar B = {\n optionMergeStrategies: Object.create(null),\n silent: !1,\n productionTip: !1,\n devtools: !1,\n performance: !1,\n errorHandler: null,\n warnHandler: null,\n ignoredElements: [],\n keyCodes: Object.create(null),\n isReservedTag: N,\n isReservedAttr: N,\n isUnknownElement: N,\n getTagNamespace: E,\n parsePlatformTagName: P,\n mustUseProp: N,\n async: !0,\n _lifecycleHooks: H\n};\nconst U = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\nfunction z(t) {\n const e = (t + \"\").charCodeAt(0);\n return 36 === e || 95 === e;\n}\nfunction V(t, e, n, o) {\n Object.defineProperty(t, e, {\n value: n,\n enumerable: !!o,\n writable: !0,\n configurable: !0\n });\n}\nconst K = new RegExp(`[^${U.source}.$_\\\\d]`);\nconst J = \"__proto__\" in {},\n q = \"undefined\" != typeof window,\n W = q && window.navigator.userAgent.toLowerCase(),\n Z = W && /msie|trident/.test(W),\n G = W && W.indexOf(\"msie 9.0\") > 0,\n X = W && W.indexOf(\"edge/\") > 0;\nW && W.indexOf(\"android\");\nconst Y = W && /iphone|ipad|ipod|ios/.test(W);\nW && /chrome\\/\\d+/.test(W), W && /phantomjs/.test(W);\nconst Q = W && W.match(/firefox\\/(\\d+)/),\n tt = {}.watch;\nlet et,\n nt = !1;\nif (q) try {\n const t = {};\n Object.defineProperty(t, \"passive\", {\n get() {\n nt = !0;\n }\n }), window.addEventListener(\"test-passive\", null, t);\n} catch (t) {}\nconst ot = () => (void 0 === et && (et = !q && \"undefined\" != typeof global && global.process && \"server\" === global.process.env.VUE_ENV), et),\n rt = q && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\nfunction st(t) {\n return \"function\" == typeof t && /native code/.test(t.toString());\n}\nconst it = \"undefined\" != typeof Symbol && st(Symbol) && \"undefined\" != typeof Reflect && st(Reflect.ownKeys);\nlet ct;\nct = \"undefined\" != typeof Set && st(Set) ? Set : class {\n constructor() {\n this.set = Object.create(null);\n }\n has(t) {\n return !0 === this.set[t];\n }\n add(t) {\n this.set[t] = !0;\n }\n clear() {\n this.set = Object.create(null);\n }\n};\nlet at = null;\nfunction lt() {\n let t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n t || at && at._scope.off(), at = t, t && t._scope.on();\n}\nclass ut {\n constructor(t, e, n, o, r, s, i, c) {\n this.tag = t, this.data = e, this.children = n, this.text = o, this.elm = r, this.ns = void 0, this.context = s, this.fnContext = void 0, this.fnOptions = void 0, this.fnScopeId = void 0, this.key = e && e.key, this.componentOptions = i, this.componentInstance = void 0, this.parent = void 0, this.raw = !1, this.isStatic = !1, this.isRootInsert = !0, this.isComment = !1, this.isCloned = !1, this.isOnce = !1, this.asyncFactory = c, this.asyncMeta = void 0, this.isAsyncPlaceholder = !1;\n }\n get child() {\n return this.componentInstance;\n }\n}\nconst ft = function () {\n let t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n const e = new ut();\n return e.text = t, e.isComment = !0, e;\n};\nfunction dt(t) {\n return new ut(void 0, void 0, void 0, String(t));\n}\nfunction pt(t) {\n const e = new ut(t.tag, t.data, t.children && t.children.slice(), t.text, t.elm, t.context, t.componentOptions, t.asyncFactory);\n return e.ns = t.ns, e.isStatic = t.isStatic, e.key = t.key, e.isComment = t.isComment, e.fnContext = t.fnContext, e.fnOptions = t.fnOptions, e.fnScopeId = t.fnScopeId, e.asyncMeta = t.asyncMeta, e.isCloned = !0, e;\n}\nlet ht = 0;\nconst mt = [],\n gt = () => {\n for (let t = 0; t < mt.length; t++) {\n const e = mt[t];\n e.subs = e.subs.filter(t => t), e._pending = !1;\n }\n mt.length = 0;\n };\nclass vt {\n constructor() {\n this._pending = !1, this.id = ht++, this.subs = [];\n }\n addSub(t) {\n this.subs.push(t);\n }\n removeSub(t) {\n this.subs[this.subs.indexOf(t)] = null, this._pending || (this._pending = !0, mt.push(this));\n }\n depend(t) {\n vt.target && vt.target.addDep(this);\n }\n notify(t) {\n const e = this.subs.filter(t => t);\n for (let t = 0, n = e.length; t < n; t++) {\n e[t].update();\n }\n }\n}\nvt.target = null;\nconst yt = [];\nfunction _t(t) {\n yt.push(t), vt.target = t;\n}\nfunction $t() {\n yt.pop(), vt.target = yt[yt.length - 1];\n}\nconst bt = Array.prototype,\n wt = Object.create(bt);\n[\"push\", \"pop\", \"shift\", \"unshift\", \"splice\", \"sort\", \"reverse\"].forEach(function (t) {\n const e = bt[t];\n V(wt, t, function () {\n for (var _len = arguments.length, n = new Array(_len), _key = 0; _key < _len; _key++) {\n n[_key] = arguments[_key];\n }\n const o = e.apply(this, n),\n r = this.__ob__;\n let s;\n switch (t) {\n case \"push\":\n case \"unshift\":\n s = n;\n break;\n case \"splice\":\n s = n.slice(2);\n }\n return s && r.observeArray(s), r.dep.notify(), o;\n });\n});\nconst xt = Object.getOwnPropertyNames(wt),\n Ct = {};\nlet kt = !0;\nfunction St(t) {\n kt = t;\n}\nconst Ot = {\n notify: E,\n depend: E,\n addSub: E,\n removeSub: E\n};\nclass Tt {\n constructor(t) {\n let n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;\n let o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !1;\n if (this.value = t, this.shallow = n, this.mock = o, this.dep = o ? Ot : new vt(), this.vmCount = 0, V(t, \"__ob__\", this), e(t)) {\n if (!o) if (J) t.__proto__ = wt;else for (let e = 0, n = xt.length; e < n; e++) {\n const n = xt[e];\n V(t, n, wt[n]);\n }\n n || this.observeArray(t);\n } else {\n const e = Object.keys(t);\n for (let r = 0; r < e.length; r++) {\n jt(t, e[r], Ct, void 0, n, o);\n }\n }\n }\n observeArray(t) {\n for (let e = 0, n = t.length; e < n; e++) At(t[e], !1, this.mock);\n }\n}\nfunction At(t, n, o) {\n return t && $(t, \"__ob__\") && t.__ob__ instanceof Tt ? t.__ob__ : !kt || !o && ot() || !e(t) && !l(t) || !Object.isExtensible(t) || t.__v_skip || Ht(t) || t instanceof ut ? void 0 : new Tt(t, n, o);\n}\nfunction jt(t, n, o, r, s, i) {\n let c = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : !1;\n const a = new vt(),\n l = Object.getOwnPropertyDescriptor(t, n);\n if (l && !1 === l.configurable) return;\n const u = l && l.get,\n f = l && l.set;\n u && !f || o !== Ct && 2 !== arguments.length || (o = t[n]);\n let d = s ? o && o.__ob__ : At(o, !1, i);\n return Object.defineProperty(t, n, {\n enumerable: !0,\n configurable: !0,\n get: function () {\n const n = u ? u.call(t) : o;\n return vt.target && (a.depend(), d && (d.dep.depend(), e(n) && Pt(n))), Ht(n) && !s ? n.value : n;\n },\n set: function (e) {\n const n = u ? u.call(t) : o;\n if (L(n, e)) {\n if (f) f.call(t, e);else {\n if (u) return;\n if (!s && Ht(n) && !Ht(e)) return void (n.value = e);\n o = e;\n }\n d = s ? e && e.__ob__ : At(e, !1, i), a.notify();\n }\n }\n }), a;\n}\nfunction Et(t, n, o) {\n if (Rt(t)) return;\n const r = t.__ob__;\n return e(t) && u(n) ? (t.length = Math.max(t.length, n), t.splice(n, 1, o), r && !r.shallow && r.mock && At(o, !1, !0), o) : n in t && !(n in Object.prototype) ? (t[n] = o, o) : t._isVue || r && r.vmCount ? o : r ? (jt(r.value, n, o, void 0, r.shallow, r.mock), r.dep.notify(), o) : (t[n] = o, o);\n}\nfunction Nt(t, n) {\n if (e(t) && u(n)) return void t.splice(n, 1);\n const o = t.__ob__;\n t._isVue || o && o.vmCount || Rt(t) || $(t, n) && (delete t[n], o && o.dep.notify());\n}\nfunction Pt(t) {\n for (let n, o = 0, r = t.length; o < r; o++) n = t[o], n && n.__ob__ && n.__ob__.dep.depend(), e(n) && Pt(n);\n}\nfunction Dt(t) {\n return Mt(t, !0), V(t, \"__v_isShallow\", !0), t;\n}\nfunction Mt(t, e) {\n Rt(t) || At(t, e, ot());\n}\nfunction It(t) {\n return Rt(t) ? It(t.__v_raw) : !(!t || !t.__ob__);\n}\nfunction Lt(t) {\n return !(!t || !t.__v_isShallow);\n}\nfunction Rt(t) {\n return !(!t || !t.__v_isReadonly);\n}\nconst Ft = \"__v_isRef\";\nfunction Ht(t) {\n return !(!t || !0 !== t.__v_isRef);\n}\nfunction Bt(t, e) {\n if (Ht(t)) return t;\n const n = {};\n return V(n, Ft, !0), V(n, \"__v_isShallow\", e), V(n, \"dep\", jt(n, \"value\", t, null, e, ot())), n;\n}\nfunction Ut(t, e, n) {\n Object.defineProperty(t, n, {\n enumerable: !0,\n configurable: !0,\n get: () => {\n const t = e[n];\n if (Ht(t)) return t.value;\n {\n const e = t && t.__ob__;\n return e && e.dep.depend(), t;\n }\n },\n set: t => {\n const o = e[n];\n Ht(o) && !Ht(t) ? o.value = t : e[n] = t;\n }\n });\n}\nfunction zt(t, e, n) {\n const o = t[e];\n if (Ht(o)) return o;\n const r = {\n get value() {\n const o = t[e];\n return void 0 === o ? n : o;\n },\n set value(n) {\n t[e] = n;\n }\n };\n return V(r, Ft, !0), r;\n}\nconst Vt = \"__v_rawToReadonly\",\n Kt = \"__v_rawToShallowReadonly\";\nfunction Jt(t) {\n return qt(t, !1);\n}\nfunction qt(t, e) {\n if (!l(t)) return t;\n if (Rt(t)) return t;\n const n = e ? Kt : Vt,\n o = t[n];\n if (o) return o;\n const r = Object.create(Object.getPrototypeOf(t));\n V(t, n, r), V(r, \"__v_isReadonly\", !0), V(r, \"__v_raw\", t), Ht(t) && V(r, Ft, !0), (e || Lt(t)) && V(r, \"__v_isShallow\", !0);\n const s = Object.keys(t);\n for (let n = 0; n < s.length; n++) Wt(r, t, s[n], e);\n return r;\n}\nfunction Wt(t, e, n, o) {\n Object.defineProperty(t, n, {\n enumerable: !0,\n configurable: !0,\n get() {\n const t = e[n];\n return o || !l(t) ? t : Jt(t);\n },\n set() {}\n });\n}\nconst Zt = b(t => {\n const e = \"&\" === t.charAt(0),\n n = \"~\" === (t = e ? t.slice(1) : t).charAt(0),\n o = \"!\" === (t = n ? t.slice(1) : t).charAt(0);\n return {\n name: t = o ? t.slice(1) : t,\n once: n,\n capture: o,\n passive: e\n };\n});\nfunction Gt(t, n) {\n function o() {\n const t = o.fns;\n if (!e(t)) return vn(t, null, arguments, n, \"v-on handler\");\n {\n const e = t.slice();\n for (let t = 0; t < e.length; t++) vn(e[t], null, arguments, n, \"v-on handler\");\n }\n }\n return o.fns = t, o;\n}\nfunction Xt(t, e, o, s, i, c) {\n let a, l, u, f;\n for (a in t) l = t[a], u = e[a], f = Zt(a), n(l) || (n(u) ? (n(l.fns) && (l = t[a] = Gt(l, c)), r(f.once) && (l = t[a] = i(f.name, l, f.capture)), o(f.name, l, f.capture, f.passive, f.params)) : l !== u && (u.fns = l, t[a] = u));\n for (a in e) n(t[a]) && (f = Zt(a), s(f.name, e[a], f.capture));\n}\nfunction Yt(t, e, s) {\n let i;\n t instanceof ut && (t = t.data.hook || (t.data.hook = {}));\n const c = t[e];\n function a() {\n s.apply(this, arguments), y(i.fns, a);\n }\n n(c) ? i = Gt([a]) : o(c.fns) && r(c.merged) ? (i = c, i.fns.push(a)) : i = Gt([c, a]), i.merged = !0, t[e] = i;\n}\nfunction Qt(t, e, n, r, s) {\n if (o(e)) {\n if ($(e, n)) return t[n] = e[n], s || delete e[n], !0;\n if ($(e, r)) return t[n] = e[r], s || delete e[r], !0;\n }\n return !1;\n}\nfunction te(t) {\n return s(t) ? [dt(t)] : e(t) ? ne(t) : void 0;\n}\nfunction ee(t) {\n return o(t) && o(t.text) && !1 === t.isComment;\n}\nfunction ne(t, i) {\n const c = [];\n let a, l, u, f;\n for (a = 0; a < t.length; a++) l = t[a], n(l) || \"boolean\" == typeof l || (u = c.length - 1, f = c[u], e(l) ? l.length > 0 && (l = ne(l, `${i || \"\"}_${a}`), ee(l[0]) && ee(f) && (c[u] = dt(f.text + l[0].text), l.shift()), c.push.apply(c, l)) : s(l) ? ee(f) ? c[u] = dt(f.text + l) : \"\" !== l && c.push(dt(l)) : ee(l) && ee(f) ? c[u] = dt(f.text + l.text) : (r(t._isVList) && o(l.tag) && n(l.key) && o(i) && (l.key = `__vlist${i}_${a}__`), c.push(l)));\n return c;\n}\nconst oe = 1,\n re = 2;\nfunction se(t, n, a, l, u, f) {\n return (e(a) || s(a)) && (u = l, l = a, a = void 0), r(f) && (u = re), function (t, n, r, s, a) {\n if (o(r) && o(r.__ob__)) return ft();\n o(r) && o(r.is) && (n = r.is);\n if (!n) return ft();\n e(s) && i(s[0]) && ((r = r || {}).scopedSlots = {\n default: s[0]\n }, s.length = 0);\n a === re ? s = te(s) : a === oe && (s = function (t) {\n for (let n = 0; n < t.length; n++) if (e(t[n])) return Array.prototype.concat.apply([], t);\n return t;\n }(s));\n let l, u;\n if (\"string\" == typeof n) {\n let e;\n u = t.$vnode && t.$vnode.ns || B.getTagNamespace(n), l = B.isReservedTag(n) ? new ut(B.parsePlatformTagName(n), r, s, void 0, void 0, t) : r && r.pre || !o(e = $o(t.$options, \"components\", n)) ? new ut(n, r, s, void 0, void 0, t) : lo(e, r, t, s, n);\n } else l = lo(n, r, t, s);\n return e(l) ? l : o(l) ? (o(u) && ie(l, u), o(r) && function (t) {\n c(t.style) && Un(t.style);\n c(t.class) && Un(t.class);\n }(r), l) : ft();\n }(t, n, a, l, u);\n}\nfunction ie(t, e, s) {\n if (t.ns = e, \"foreignObject\" === t.tag && (e = void 0, s = !0), o(t.children)) for (let i = 0, c = t.children.length; i < c; i++) {\n const c = t.children[i];\n o(c.tag) && (n(c.ns) || r(s) && \"svg\" !== c.tag) && ie(c, e, s);\n }\n}\nfunction ce(t, n) {\n let r,\n s,\n i,\n a,\n l = null;\n if (e(t) || \"string\" == typeof t) for (l = new Array(t.length), r = 0, s = t.length; r < s; r++) l[r] = n(t[r], r);else if (\"number\" == typeof t) for (l = new Array(t), r = 0; r < t; r++) l[r] = n(r + 1, r);else if (c(t)) if (it && t[Symbol.iterator]) {\n l = [];\n const e = t[Symbol.iterator]();\n let o = e.next();\n for (; !o.done;) l.push(n(o.value, l.length)), o = e.next();\n } else for (i = Object.keys(t), l = new Array(i.length), r = 0, s = i.length; r < s; r++) a = i[r], l[r] = n(t[a], a, r);\n return o(l) || (l = []), l._isVList = !0, l;\n}\nfunction ae(t, e, n, o) {\n const r = this.$scopedSlots[t];\n let s;\n r ? (n = n || {}, o && (n = A(A({}, o), n)), s = r(n) || (i(e) ? e() : e)) : s = this.$slots[t] || (i(e) ? e() : e);\n const c = n && n.slot;\n return c ? this.$createElement(\"template\", {\n slot: c\n }, s) : s;\n}\nfunction le(t) {\n return $o(this.$options, \"filters\", t) || P;\n}\nfunction ue(t, n) {\n return e(t) ? -1 === t.indexOf(n) : t !== n;\n}\nfunction fe(t, e, n, o, r) {\n const s = B.keyCodes[e] || n;\n return r && o && !B.keyCodes[e] ? ue(r, o) : s ? ue(s, t) : o ? S(o) !== e : void 0 === t;\n}\nfunction de(t, n, o, r, s) {\n if (o) if (c(o)) {\n let i;\n e(o) && (o = j(o));\n for (const e in o) {\n if (\"class\" === e || \"style\" === e || v(e)) i = t;else {\n const o = t.attrs && t.attrs.type;\n i = r || B.mustUseProp(n, o, e) ? t.domProps || (t.domProps = {}) : t.attrs || (t.attrs = {});\n }\n const c = x(e),\n a = S(e);\n if (!(c in i) && !(a in i) && (i[e] = o[e], s)) {\n (t.on || (t.on = {}))[`update:${e}`] = function (t) {\n o[e] = t;\n };\n }\n }\n } else ;\n return t;\n}\nfunction pe(t, e) {\n const n = this._staticTrees || (this._staticTrees = []);\n let o = n[t];\n return o && !e || (o = n[t] = this.$options.staticRenderFns[t].call(this._renderProxy, this._c, this), me(o, `__static__${t}`, !1)), o;\n}\nfunction he(t, e, n) {\n return me(t, `__once__${e}${n ? `_${n}` : \"\"}`, !0), t;\n}\nfunction me(t, n, o) {\n if (e(t)) for (let e = 0; e < t.length; e++) t[e] && \"string\" != typeof t[e] && ge(t[e], `${n}_${e}`, o);else ge(t, n, o);\n}\nfunction ge(t, e, n) {\n t.isStatic = !0, t.key = e, t.isOnce = n;\n}\nfunction ve(t, e) {\n if (e) if (l(e)) {\n const n = t.on = t.on ? A({}, t.on) : {};\n for (const t in e) {\n const o = n[t],\n r = e[t];\n n[t] = o ? [].concat(o, r) : r;\n }\n } else ;\n return t;\n}\nfunction ye(t, n, o, r) {\n n = n || {\n $stable: !o\n };\n for (let r = 0; r < t.length; r++) {\n const s = t[r];\n e(s) ? ye(s, n, o) : s && (s.proxy && (s.fn.proxy = !0), n[s.key] = s.fn);\n }\n return r && (n.$key = r), n;\n}\nfunction _e(t, e) {\n for (let n = 0; n < e.length; n += 2) {\n const o = e[n];\n \"string\" == typeof o && o && (t[e[n]] = e[n + 1]);\n }\n return t;\n}\nfunction $e(t, e) {\n return \"string\" == typeof t ? e + t : t;\n}\nfunction be(t) {\n t._o = he, t._n = h, t._s = d, t._l = ce, t._t = ae, t._q = D, t._i = M, t._m = pe, t._f = le, t._k = fe, t._b = de, t._v = dt, t._e = ft, t._u = ye, t._g = ve, t._d = _e, t._p = $e;\n}\nfunction we(t, e) {\n if (!t || !t.length) return {};\n const n = {};\n for (let o = 0, r = t.length; o < r; o++) {\n const r = t[o],\n s = r.data;\n if (s && s.attrs && s.attrs.slot && delete s.attrs.slot, r.context !== e && r.fnContext !== e || !s || null == s.slot) (n.default || (n.default = [])).push(r);else {\n const t = s.slot,\n e = n[t] || (n[t] = []);\n \"template\" === r.tag ? e.push.apply(e, r.children || []) : e.push(r);\n }\n }\n for (const t in n) n[t].every(xe) && delete n[t];\n return n;\n}\nfunction xe(t) {\n return t.isComment && !t.asyncFactory || \" \" === t.text;\n}\nfunction Ce(t) {\n return t.isComment && t.asyncFactory;\n}\nfunction ke(e, n, o, r) {\n let s;\n const i = Object.keys(o).length > 0,\n c = n ? !!n.$stable : !i,\n a = n && n.$key;\n if (n) {\n if (n._normalized) return n._normalized;\n if (c && r && r !== t && a === r.$key && !i && !r.$hasNormal) return r;\n s = {};\n for (const t in n) n[t] && \"$\" !== t[0] && (s[t] = Se(e, o, t, n[t]));\n } else s = {};\n for (const t in o) t in s || (s[t] = Oe(o, t));\n return n && Object.isExtensible(n) && (n._normalized = s), V(s, \"$stable\", c), V(s, \"$key\", a), V(s, \"$hasNormal\", i), s;\n}\nfunction Se(t, n, o, r) {\n const s = function () {\n const n = at;\n lt(t);\n let o = arguments.length ? r.apply(null, arguments) : r({});\n o = o && \"object\" == typeof o && !e(o) ? [o] : te(o);\n const s = o && o[0];\n return lt(n), o && (!s || 1 === o.length && s.isComment && !Ce(s)) ? void 0 : o;\n };\n return r.proxy && Object.defineProperty(n, o, {\n get: s,\n enumerable: !0,\n configurable: !0\n }), s;\n}\nfunction Oe(t, e) {\n return () => t[e];\n}\nfunction Te(e) {\n return {\n get attrs() {\n if (!e._attrsProxy) {\n const n = e._attrsProxy = {};\n V(n, \"_v_attr_proxy\", !0), Ae(n, e.$attrs, t, e, \"$attrs\");\n }\n return e._attrsProxy;\n },\n get listeners() {\n if (!e._listenersProxy) {\n Ae(e._listenersProxy = {}, e.$listeners, t, e, \"$listeners\");\n }\n return e._listenersProxy;\n },\n get slots() {\n return function (t) {\n t._slotsProxy || Ee(t._slotsProxy = {}, t.$scopedSlots);\n return t._slotsProxy;\n }(e);\n },\n emit: O(e.$emit, e),\n expose(t) {\n t && Object.keys(t).forEach(n => Ut(e, t, n));\n }\n };\n}\nfunction Ae(t, e, n, o, r) {\n let s = !1;\n for (const i in e) i in t ? e[i] !== n[i] && (s = !0) : (s = !0, je(t, i, o, r));\n for (const n in t) n in e || (s = !0, delete t[n]);\n return s;\n}\nfunction je(t, e, n, o) {\n Object.defineProperty(t, e, {\n enumerable: !0,\n configurable: !0,\n get: () => n[o][e]\n });\n}\nfunction Ee(t, e) {\n for (const n in e) t[n] = e[n];\n for (const n in t) n in e || delete t[n];\n}\nfunction Ne() {\n const t = at;\n return t._setupContext || (t._setupContext = Te(t));\n}\nlet Pe,\n De,\n Me = null;\nfunction Ie(t, e) {\n return (t.__esModule || it && \"Module\" === t[Symbol.toStringTag]) && (t = t.default), c(t) ? e.extend(t) : t;\n}\nfunction Le(t) {\n if (e(t)) for (let e = 0; e < t.length; e++) {\n const n = t[e];\n if (o(n) && (o(n.componentOptions) || Ce(n))) return n;\n }\n}\nfunction Re(t, e) {\n Pe.$on(t, e);\n}\nfunction Fe(t, e) {\n Pe.$off(t, e);\n}\nfunction He(t, e) {\n const n = Pe;\n return function o() {\n null !== e.apply(null, arguments) && n.$off(t, o);\n };\n}\nfunction Be(t, e, n) {\n Pe = t, Xt(e, n || {}, Re, Fe, He, t), Pe = void 0;\n}\nclass Ue {\n constructor() {\n let t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !1;\n this.detached = t, this.active = !0, this.effects = [], this.cleanups = [], this.parent = De, !t && De && (this.index = (De.scopes || (De.scopes = [])).push(this) - 1);\n }\n run(t) {\n if (this.active) {\n const e = De;\n try {\n return De = this, t();\n } finally {\n De = e;\n }\n }\n }\n on() {\n De = this;\n }\n off() {\n De = this.parent;\n }\n stop(t) {\n if (this.active) {\n let e, n;\n for (e = 0, n = this.effects.length; e < n; e++) this.effects[e].teardown();\n for (e = 0, n = this.cleanups.length; e < n; e++) this.cleanups[e]();\n if (this.scopes) for (e = 0, n = this.scopes.length; e < n; e++) this.scopes[e].stop(!0);\n if (!this.detached && this.parent && !t) {\n const t = this.parent.scopes.pop();\n t && t !== this && (this.parent.scopes[this.index] = t, t.index = this.index);\n }\n this.parent = void 0, this.active = !1;\n }\n }\n}\nfunction ze() {\n return De;\n}\nlet Ve = null;\nfunction Ke(t) {\n const e = Ve;\n return Ve = t, () => {\n Ve = e;\n };\n}\nfunction Je(t) {\n for (; t && (t = t.$parent);) if (t._inactive) return !0;\n return !1;\n}\nfunction qe(t, e) {\n if (e) {\n if (t._directInactive = !1, Je(t)) return;\n } else if (t._directInactive) return;\n if (t._inactive || null === t._inactive) {\n t._inactive = !1;\n for (let e = 0; e < t.$children.length; e++) qe(t.$children[e]);\n Ze(t, \"activated\");\n }\n}\nfunction We(t, e) {\n if (!(e && (t._directInactive = !0, Je(t)) || t._inactive)) {\n t._inactive = !0;\n for (let e = 0; e < t.$children.length; e++) We(t.$children[e]);\n Ze(t, \"deactivated\");\n }\n}\nfunction Ze(t, e, n) {\n let o = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : !0;\n _t();\n const r = at,\n s = ze();\n o && lt(t);\n const i = t.$options[e],\n c = `${e} hook`;\n if (i) for (let e = 0, o = i.length; e < o; e++) vn(i[e], t, n || null, t, c);\n t._hasHookEvent && t.$emit(\"hook:\" + e), o && (lt(r), s && s.on()), $t();\n}\nconst Ge = [],\n Xe = [];\nlet Ye = {},\n Qe = !1,\n tn = !1,\n en = 0;\nlet nn = 0,\n on = Date.now;\nif (q && !Z) {\n const t = window.performance;\n t && \"function\" == typeof t.now && on() > document.createEvent(\"Event\").timeStamp && (on = () => t.now());\n}\nconst rn = (t, e) => {\n if (t.post) {\n if (!e.post) return 1;\n } else if (e.post) return -1;\n return t.id - e.id;\n};\nfunction sn() {\n let t, e;\n for (nn = on(), tn = !0, Ge.sort(rn), en = 0; en < Ge.length; en++) t = Ge[en], t.before && t.before(), e = t.id, Ye[e] = null, t.run();\n const n = Xe.slice(),\n o = Ge.slice();\n en = Ge.length = Xe.length = 0, Ye = {}, Qe = tn = !1, function (t) {\n for (let e = 0; e < t.length; e++) t[e]._inactive = !0, qe(t[e], !0);\n }(n), function (t) {\n let e = t.length;\n for (; e--;) {\n const n = t[e],\n o = n.vm;\n o && o._watcher === n && o._isMounted && !o._isDestroyed && Ze(o, \"updated\");\n }\n }(o), gt(), rt && B.devtools && rt.emit(\"flush\");\n}\nfunction cn(t) {\n const e = t.id;\n if (null == Ye[e] && (t !== vt.target || !t.noRecurse)) {\n if (Ye[e] = !0, tn) {\n let e = Ge.length - 1;\n for (; e > en && Ge[e].id > t.id;) e--;\n Ge.splice(e + 1, 0, t);\n } else Ge.push(t);\n Qe || (Qe = !0, kn(sn));\n }\n}\nconst an = \"watcher\",\n ln = `${an} callback`,\n un = `${an} getter`,\n fn = `${an} cleanup`;\nfunction dn(t, e) {\n return hn(t, null, {\n flush: \"post\"\n });\n}\nconst pn = {};\nfunction hn(n, o) {\n let {\n immediate: r,\n deep: s,\n flush: c = \"pre\",\n onTrack: a,\n onTrigger: l\n } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : t;\n const u = at,\n f = function (t, e) {\n let n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n const o = vn(t, null, n, u, e);\n return s && o && o.__ob__ && o.__ob__.dep.depend(), o;\n };\n let d,\n p,\n h = !1,\n m = !1;\n if (Ht(n) ? (d = () => n.value, h = Lt(n)) : It(n) ? (d = () => (n.__ob__.dep.depend(), n), s = !0) : e(n) ? (m = !0, h = n.some(t => It(t) || Lt(t)), d = () => n.map(t => Ht(t) ? t.value : It(t) ? (t.__ob__.dep.depend(), Un(t)) : i(t) ? f(t, un) : void 0)) : d = i(n) ? o ? () => f(n, un) : () => {\n if (!u || !u._isDestroyed) return p && p(), f(n, an, [g]);\n } : E, o && s) {\n const t = d;\n d = () => Un(t());\n }\n let g = t => {\n p = v.onStop = () => {\n f(t, fn);\n };\n };\n if (ot()) return g = E, o ? r && f(o, ln, [d(), m ? [] : void 0, g]) : d(), E;\n const v = new Kn(at, d, E, {\n lazy: !0\n });\n v.noRecurse = !o;\n let y = m ? [] : pn;\n return v.run = () => {\n if (v.active) if (o) {\n const t = v.get();\n (s || h || (m ? t.some((t, e) => L(t, y[e])) : L(t, y))) && (p && p(), f(o, ln, [t, y === pn ? void 0 : y, g]), y = t);\n } else v.get();\n }, \"sync\" === c ? v.update = v.run : \"post\" === c ? (v.post = !0, v.update = () => cn(v)) : v.update = () => {\n if (u && u === at && !u._isMounted) {\n const t = u._preWatchers || (u._preWatchers = []);\n t.indexOf(v) < 0 && t.push(v);\n } else cn(v);\n }, o ? r ? v.run() : y = v.get() : \"post\" === c && u ? u.$once(\"hook:mounted\", () => v.get()) : v.get(), () => {\n v.teardown();\n };\n}\nfunction mn(t) {\n const e = t._provided,\n n = t.$parent && t.$parent._provided;\n return n === e ? t._provided = Object.create(n) : e;\n}\nfunction gn(t, e, n) {\n _t();\n try {\n if (e) {\n let o = e;\n for (; o = o.$parent;) {\n const r = o.$options.errorCaptured;\n if (r) for (let s = 0; s < r.length; s++) try {\n if (!1 === r[s].call(o, t, e, n)) return;\n } catch (t) {\n yn(t, o, \"errorCaptured hook\");\n }\n }\n }\n yn(t, e, n);\n } finally {\n $t();\n }\n}\nfunction vn(t, e, n, o, r) {\n let s;\n try {\n s = n ? t.apply(e, n) : t.call(e), s && !s._isVue && f(s) && !s._handled && (s.catch(t => gn(t, o, r + \" (Promise/async)\")), s._handled = !0);\n } catch (t) {\n gn(t, o, r);\n }\n return s;\n}\nfunction yn(t, e, n) {\n if (B.errorHandler) try {\n return B.errorHandler.call(null, t, e, n);\n } catch (e) {\n e !== t && _n(e);\n }\n _n(t);\n}\nfunction _n(t, e, n) {\n if (!q || \"undefined\" == typeof console) throw t;\n console.error(t);\n}\nlet $n = !1;\nconst bn = [];\nlet wn,\n xn = !1;\nfunction Cn() {\n xn = !1;\n const t = bn.slice(0);\n bn.length = 0;\n for (let e = 0; e < t.length; e++) t[e]();\n}\nif (\"undefined\" != typeof Promise && st(Promise)) {\n const t = Promise.resolve();\n wn = () => {\n t.then(Cn), Y && setTimeout(E);\n }, $n = !0;\n} else if (Z || \"undefined\" == typeof MutationObserver || !st(MutationObserver) && \"[object MutationObserverConstructor]\" !== MutationObserver.toString()) wn = \"undefined\" != typeof setImmediate && st(setImmediate) ? () => {\n setImmediate(Cn);\n} : () => {\n setTimeout(Cn, 0);\n};else {\n let t = 1;\n const e = new MutationObserver(Cn),\n n = document.createTextNode(String(t));\n e.observe(n, {\n characterData: !0\n }), wn = () => {\n t = (t + 1) % 2, n.data = String(t);\n }, $n = !0;\n}\nfunction kn(t, e) {\n let n;\n if (bn.push(() => {\n if (t) try {\n t.call(e);\n } catch (t) {\n gn(t, e, \"nextTick\");\n } else n && n(e);\n }), xn || (xn = !0, wn()), !t && \"undefined\" != typeof Promise) return new Promise(t => {\n n = t;\n });\n}\nfunction Sn(t) {\n return function (e) {\n let n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : at;\n if (n) return function (t, e, n) {\n const o = t.$options;\n o[e] = go(o[e], n);\n }(n, t, e);\n };\n}\nconst On = Sn(\"beforeMount\"),\n Tn = Sn(\"mounted\"),\n An = Sn(\"beforeUpdate\"),\n jn = Sn(\"updated\"),\n En = Sn(\"beforeDestroy\"),\n Nn = Sn(\"destroyed\"),\n Pn = Sn(\"activated\"),\n Dn = Sn(\"deactivated\"),\n Mn = Sn(\"serverPrefetch\"),\n In = Sn(\"renderTracked\"),\n Ln = Sn(\"renderTriggered\"),\n Rn = Sn(\"errorCaptured\");\nconst Fn = \"2.7.16\";\nvar Hn = Object.freeze({\n __proto__: null,\n version: Fn,\n defineComponent: function (t) {\n return t;\n },\n ref: function (t) {\n return Bt(t, !1);\n },\n shallowRef: function (t) {\n return Bt(t, !0);\n },\n isRef: Ht,\n toRef: zt,\n toRefs: function (t) {\n const n = e(t) ? new Array(t.length) : {};\n for (const e in t) n[e] = zt(t, e);\n return n;\n },\n unref: function (t) {\n return Ht(t) ? t.value : t;\n },\n proxyRefs: function (t) {\n if (It(t)) return t;\n const e = {},\n n = Object.keys(t);\n for (let o = 0; o < n.length; o++) Ut(e, t, n[o]);\n return e;\n },\n customRef: function (t) {\n const e = new vt(),\n {\n get: n,\n set: o\n } = t(() => {\n e.depend();\n }, () => {\n e.notify();\n }),\n r = {\n get value() {\n return n();\n },\n set value(t) {\n o(t);\n }\n };\n return V(r, Ft, !0), r;\n },\n triggerRef: function (t) {\n t.dep && t.dep.notify();\n },\n reactive: function (t) {\n return Mt(t, !1), t;\n },\n isReactive: It,\n isReadonly: Rt,\n isShallow: Lt,\n isProxy: function (t) {\n return It(t) || Rt(t);\n },\n shallowReactive: Dt,\n markRaw: function (t) {\n return Object.isExtensible(t) && V(t, \"__v_skip\", !0), t;\n },\n toRaw: function t(e) {\n const n = e && e.__v_raw;\n return n ? t(n) : e;\n },\n readonly: Jt,\n shallowReadonly: function (t) {\n return qt(t, !0);\n },\n computed: function (t, e) {\n let n, o;\n const r = i(t);\n r ? (n = t, o = E) : (n = t.get, o = t.set);\n const s = ot() ? null : new Kn(at, n, E, {\n lazy: !0\n }),\n c = {\n effect: s,\n get value() {\n return s ? (s.dirty && s.evaluate(), vt.target && s.depend(), s.value) : n();\n },\n set value(t) {\n o(t);\n }\n };\n return V(c, Ft, !0), V(c, \"__v_isReadonly\", r), c;\n },\n watch: function (t, e, n) {\n return hn(t, e, n);\n },\n watchEffect: function (t, e) {\n return hn(t, null, e);\n },\n watchPostEffect: dn,\n watchSyncEffect: function (t, e) {\n return hn(t, null, {\n flush: \"sync\"\n });\n },\n EffectScope: Ue,\n effectScope: function (t) {\n return new Ue(t);\n },\n onScopeDispose: function (t) {\n De && De.cleanups.push(t);\n },\n getCurrentScope: ze,\n provide: function (t, e) {\n at && (mn(at)[t] = e);\n },\n inject: function (t, e) {\n let n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !1;\n const o = at;\n if (o) {\n const r = o.$parent && o.$parent._provided;\n if (r && t in r) return r[t];\n if (arguments.length > 1) return n && i(e) ? e.call(o) : e;\n }\n },\n h: function (t, e, n) {\n return se(at, t, e, n, 2, !0);\n },\n getCurrentInstance: function () {\n return at && {\n proxy: at\n };\n },\n useSlots: function () {\n return Ne().slots;\n },\n useAttrs: function () {\n return Ne().attrs;\n },\n useListeners: function () {\n return Ne().listeners;\n },\n mergeDefaults: function (t, n) {\n const o = e(t) ? t.reduce((t, e) => (t[e] = {}, t), {}) : t;\n for (const t in n) {\n const r = o[t];\n r ? e(r) || i(r) ? o[t] = {\n type: r,\n default: n[t]\n } : r.default = n[t] : null === r && (o[t] = {\n default: n[t]\n });\n }\n return o;\n },\n nextTick: kn,\n set: Et,\n del: Nt,\n useCssModule: function () {\n let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"$style\";\n {\n if (!at) return t;\n const n = at[e];\n return n || t;\n }\n },\n useCssVars: function (t) {\n if (!q) return;\n const e = at;\n e && dn(() => {\n const n = e.$el,\n o = t(e, e._setupProxy);\n if (n && 1 === n.nodeType) {\n const t = n.style;\n for (const e in o) t.setProperty(`--${e}`, o[e]);\n }\n });\n },\n defineAsyncComponent: function (t) {\n i(t) && (t = {\n loader: t\n });\n const {\n loader: e,\n loadingComponent: n,\n errorComponent: o,\n delay: r = 200,\n timeout: s,\n suspensible: c = !1,\n onError: a\n } = t;\n let l = null,\n u = 0;\n const f = () => {\n let t;\n return l || (t = l = e().catch(t => {\n if (t = t instanceof Error ? t : new Error(String(t)), a) return new Promise((e, n) => {\n a(t, () => e((u++, l = null, f())), () => n(t), u + 1);\n });\n throw t;\n }).then(e => t !== l && l ? l : (e && (e.__esModule || \"Module\" === e[Symbol.toStringTag]) && (e = e.default), e)));\n };\n return () => ({\n component: f(),\n delay: r,\n timeout: s,\n error: o,\n loading: n\n });\n },\n onBeforeMount: On,\n onMounted: Tn,\n onBeforeUpdate: An,\n onUpdated: jn,\n onBeforeUnmount: En,\n onUnmounted: Nn,\n onActivated: Pn,\n onDeactivated: Dn,\n onServerPrefetch: Mn,\n onRenderTracked: In,\n onRenderTriggered: Ln,\n onErrorCaptured: function (t) {\n let e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : at;\n Rn(t, e);\n }\n});\nconst Bn = new ct();\nfunction Un(t) {\n return zn(t, Bn), Bn.clear(), t;\n}\nfunction zn(t, n) {\n let o, r;\n const s = e(t);\n if (!(!s && !c(t) || t.__v_skip || Object.isFrozen(t) || t instanceof ut)) {\n if (t.__ob__) {\n const e = t.__ob__.dep.id;\n if (n.has(e)) return;\n n.add(e);\n }\n if (s) for (o = t.length; o--;) zn(t[o], n);else if (Ht(t)) zn(t.value, n);else for (r = Object.keys(t), o = r.length; o--;) zn(t[r[o]], n);\n }\n}\nlet Vn = 0;\nclass Kn {\n constructor(t, e, n, o, r) {\n !function (t) {\n let e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : De;\n e && e.active && e.effects.push(t);\n }(this, De && !De._vm ? De : t ? t._scope : void 0), (this.vm = t) && r && (t._watcher = this), o ? (this.deep = !!o.deep, this.user = !!o.user, this.lazy = !!o.lazy, this.sync = !!o.sync, this.before = o.before) : this.deep = this.user = this.lazy = this.sync = !1, this.cb = n, this.id = ++Vn, this.active = !0, this.post = !1, this.dirty = this.lazy, this.deps = [], this.newDeps = [], this.depIds = new ct(), this.newDepIds = new ct(), this.expression = \"\", i(e) ? this.getter = e : (this.getter = function (t) {\n if (K.test(t)) return;\n const e = t.split(\".\");\n return function (t) {\n for (let n = 0; n < e.length; n++) {\n if (!t) return;\n t = t[e[n]];\n }\n return t;\n };\n }(e), this.getter || (this.getter = E)), this.value = this.lazy ? void 0 : this.get();\n }\n get() {\n let t;\n _t(this);\n const e = this.vm;\n try {\n t = this.getter.call(e, e);\n } catch (t) {\n if (!this.user) throw t;\n gn(t, e, `getter for watcher \"${this.expression}\"`);\n } finally {\n this.deep && Un(t), $t(), this.cleanupDeps();\n }\n return t;\n }\n addDep(t) {\n const e = t.id;\n this.newDepIds.has(e) || (this.newDepIds.add(e), this.newDeps.push(t), this.depIds.has(e) || t.addSub(this));\n }\n cleanupDeps() {\n let t = this.deps.length;\n for (; t--;) {\n const e = this.deps[t];\n this.newDepIds.has(e.id) || e.removeSub(this);\n }\n let e = this.depIds;\n this.depIds = this.newDepIds, this.newDepIds = e, this.newDepIds.clear(), e = this.deps, this.deps = this.newDeps, this.newDeps = e, this.newDeps.length = 0;\n }\n update() {\n this.lazy ? this.dirty = !0 : this.sync ? this.run() : cn(this);\n }\n run() {\n if (this.active) {\n const t = this.get();\n if (t !== this.value || c(t) || this.deep) {\n const e = this.value;\n if (this.value = t, this.user) {\n const n = `callback for watcher \"${this.expression}\"`;\n vn(this.cb, this.vm, [t, e], this.vm, n);\n } else this.cb.call(this.vm, t, e);\n }\n }\n }\n evaluate() {\n this.value = this.get(), this.dirty = !1;\n }\n depend() {\n let t = this.deps.length;\n for (; t--;) this.deps[t].depend();\n }\n teardown() {\n if (this.vm && !this.vm._isBeingDestroyed && y(this.vm._scope.effects, this), this.active) {\n let t = this.deps.length;\n for (; t--;) this.deps[t].removeSub(this);\n this.active = !1, this.onStop && this.onStop();\n }\n }\n}\nconst Jn = {\n enumerable: !0,\n configurable: !0,\n get: E,\n set: E\n};\nfunction qn(t, e, n) {\n Jn.get = function () {\n return this[e][n];\n }, Jn.set = function (t) {\n this[e][n] = t;\n }, Object.defineProperty(t, n, Jn);\n}\nfunction Wn(t) {\n const n = t.$options;\n if (n.props && function (t, e) {\n const n = t.$options.propsData || {},\n o = t._props = Dt({}),\n r = t.$options._propKeys = [],\n s = !t.$parent;\n s || St(!1);\n for (const s in e) {\n r.push(s);\n jt(o, s, bo(s, e, n, t), void 0, !0), s in t || qn(t, \"_props\", s);\n }\n St(!0);\n }(t, n.props), function (t) {\n const e = t.$options,\n n = e.setup;\n if (n) {\n const o = t._setupContext = Te(t);\n lt(t), _t();\n const r = vn(n, null, [t._props || Dt({}), o], t, \"setup\");\n if ($t(), lt(), i(r)) e.render = r;else if (c(r)) if (t._setupState = r, r.__sfc) {\n const e = t._setupProxy = {};\n for (const t in r) \"__sfc\" !== t && Ut(e, r, t);\n } else for (const e in r) z(e) || Ut(t, r, e);\n }\n }(t), n.methods && function (t, e) {\n t.$options.props;\n for (const n in e) t[n] = \"function\" != typeof e[n] ? E : O(e[n], t);\n }(t, n.methods), n.data) !function (t) {\n let e = t.$options.data;\n e = t._data = i(e) ? function (t, e) {\n _t();\n try {\n return t.call(e, e);\n } catch (t) {\n return gn(t, e, \"data()\"), {};\n } finally {\n $t();\n }\n }(e, t) : e || {}, l(e) || (e = {});\n const n = Object.keys(e),\n o = t.$options.props;\n t.$options.methods;\n let r = n.length;\n for (; r--;) {\n const e = n[r];\n o && $(o, e) || z(e) || qn(t, \"_data\", e);\n }\n const s = At(e);\n s && s.vmCount++;\n }(t);else {\n const e = At(t._data = {});\n e && e.vmCount++;\n }\n n.computed && function (t, e) {\n const n = t._computedWatchers = Object.create(null),\n o = ot();\n for (const r in e) {\n const s = e[r],\n c = i(s) ? s : s.get;\n o || (n[r] = new Kn(t, c || E, E, Zn)), r in t || Gn(t, r, s);\n }\n }(t, n.computed), n.watch && n.watch !== tt && function (t, n) {\n for (const o in n) {\n const r = n[o];\n if (e(r)) for (let e = 0; e < r.length; e++) Qn(t, o, r[e]);else Qn(t, o, r);\n }\n }(t, n.watch);\n}\nconst Zn = {\n lazy: !0\n};\nfunction Gn(t, e, n) {\n const o = !ot();\n i(n) ? (Jn.get = o ? Xn(e) : Yn(n), Jn.set = E) : (Jn.get = n.get ? o && !1 !== n.cache ? Xn(e) : Yn(n.get) : E, Jn.set = n.set || E), Object.defineProperty(t, e, Jn);\n}\nfunction Xn(t) {\n return function () {\n const e = this._computedWatchers && this._computedWatchers[t];\n if (e) return e.dirty && e.evaluate(), vt.target && e.depend(), e.value;\n };\n}\nfunction Yn(t) {\n return function () {\n return t.call(this, this);\n };\n}\nfunction Qn(t, e, n, o) {\n return l(n) && (o = n, n = n.handler), \"string\" == typeof n && (n = t[n]), t.$watch(e, n, o);\n}\nfunction to(t, e) {\n if (t) {\n const n = Object.create(null),\n o = it ? Reflect.ownKeys(t) : Object.keys(t);\n for (let r = 0; r < o.length; r++) {\n const s = o[r];\n if (\"__ob__\" === s) continue;\n const c = t[s].from;\n if (c in e._provided) n[s] = e._provided[c];else if (\"default\" in t[s]) {\n const o = t[s].default;\n n[s] = i(o) ? o.call(e) : o;\n }\n }\n return n;\n }\n}\nlet eo = 0;\nfunction no(t) {\n let e = t.options;\n if (t.super) {\n const n = no(t.super);\n if (n !== t.superOptions) {\n t.superOptions = n;\n const o = function (t) {\n let e;\n const n = t.options,\n o = t.sealedOptions;\n for (const t in n) n[t] !== o[t] && (e || (e = {}), e[t] = n[t]);\n return e;\n }(t);\n o && A(t.extendOptions, o), e = t.options = _o(n, t.extendOptions), e.name && (e.components[e.name] = t);\n }\n }\n return e;\n}\nfunction oo(n, o, s, i, c) {\n const a = c.options;\n let l;\n $(i, \"_uid\") ? (l = Object.create(i), l._original = i) : (l = i, i = i._original);\n const u = r(a._compiled),\n f = !u;\n this.data = n, this.props = o, this.children = s, this.parent = i, this.listeners = n.on || t, this.injections = to(a.inject, i), this.slots = () => (this.$slots || ke(i, n.scopedSlots, this.$slots = we(s, i)), this.$slots), Object.defineProperty(this, \"scopedSlots\", {\n enumerable: !0,\n get() {\n return ke(i, n.scopedSlots, this.slots());\n }\n }), u && (this.$options = a, this.$slots = this.slots(), this.$scopedSlots = ke(i, n.scopedSlots, this.$slots)), a._scopeId ? this._c = (t, n, o, r) => {\n const s = se(l, t, n, o, r, f);\n return s && !e(s) && (s.fnScopeId = a._scopeId, s.fnContext = i), s;\n } : this._c = (t, e, n, o) => se(l, t, e, n, o, f);\n}\nfunction ro(t, e, n, o, r) {\n const s = pt(t);\n return s.fnContext = n, s.fnOptions = o, e.slot && ((s.data || (s.data = {})).slot = e.slot), s;\n}\nfunction so(t, e) {\n for (const n in e) t[x(n)] = e[n];\n}\nfunction io(t) {\n return t.name || t.__name || t._componentTag;\n}\nbe(oo.prototype);\nconst co = {\n init(t, e) {\n if (t.componentInstance && !t.componentInstance._isDestroyed && t.data.keepAlive) {\n const e = t;\n co.prepatch(e, e);\n } else {\n (t.componentInstance = function (t, e) {\n const n = {\n _isComponent: !0,\n _parentVnode: t,\n parent: e\n },\n r = t.data.inlineTemplate;\n o(r) && (n.render = r.render, n.staticRenderFns = r.staticRenderFns);\n return new t.componentOptions.Ctor(n);\n }(t, Ve)).$mount(e ? t.elm : void 0, e);\n }\n },\n prepatch(e, n) {\n const o = n.componentOptions;\n !function (e, n, o, r, s) {\n const i = r.data.scopedSlots,\n c = e.$scopedSlots,\n a = !!(i && !i.$stable || c !== t && !c.$stable || i && e.$scopedSlots.$key !== i.$key || !i && e.$scopedSlots.$key);\n let l = !!(s || e.$options._renderChildren || a);\n const u = e.$vnode;\n e.$options._parentVnode = r, e.$vnode = r, e._vnode && (e._vnode.parent = r), e.$options._renderChildren = s;\n const f = r.data.attrs || t;\n e._attrsProxy && Ae(e._attrsProxy, f, u.data && u.data.attrs || t, e, \"$attrs\") && (l = !0), e.$attrs = f, o = o || t;\n const d = e.$options._parentListeners;\n if (e._listenersProxy && Ae(e._listenersProxy, o, d || t, e, \"$listeners\"), e.$listeners = e.$options._parentListeners = o, Be(e, o, d), n && e.$options.props) {\n St(!1);\n const t = e._props,\n o = e.$options._propKeys || [];\n for (let r = 0; r < o.length; r++) {\n const s = o[r],\n i = e.$options.props;\n t[s] = bo(s, i, n, e);\n }\n St(!0), e.$options.propsData = n;\n }\n l && (e.$slots = we(s, r.context), e.$forceUpdate());\n }(n.componentInstance = e.componentInstance, o.propsData, o.listeners, n, o.children);\n },\n insert(t) {\n const {\n context: e,\n componentInstance: n\n } = t;\n var o;\n n._isMounted || (n._isMounted = !0, Ze(n, \"mounted\")), t.data.keepAlive && (e._isMounted ? ((o = n)._inactive = !1, Xe.push(o)) : qe(n, !0));\n },\n destroy(t) {\n const {\n componentInstance: e\n } = t;\n e._isDestroyed || (t.data.keepAlive ? We(e, !0) : e.$destroy());\n }\n },\n ao = Object.keys(co);\nfunction lo(s, i, a, l, u) {\n if (n(s)) return;\n const d = a.$options._base;\n if (c(s) && (s = d.extend(s)), \"function\" != typeof s) return;\n let p;\n if (n(s.cid) && (p = s, s = function (t, e) {\n if (r(t.error) && o(t.errorComp)) return t.errorComp;\n if (o(t.resolved)) return t.resolved;\n const s = Me;\n if (s && o(t.owners) && -1 === t.owners.indexOf(s) && t.owners.push(s), r(t.loading) && o(t.loadingComp)) return t.loadingComp;\n if (s && !o(t.owners)) {\n const r = t.owners = [s];\n let i = !0,\n a = null,\n l = null;\n s.$on(\"hook:destroyed\", () => y(r, s));\n const u = t => {\n for (let t = 0, e = r.length; t < e; t++) r[t].$forceUpdate();\n t && (r.length = 0, null !== a && (clearTimeout(a), a = null), null !== l && (clearTimeout(l), l = null));\n },\n d = I(n => {\n t.resolved = Ie(n, e), i ? r.length = 0 : u(!0);\n }),\n p = I(e => {\n o(t.errorComp) && (t.error = !0, u(!0));\n }),\n h = t(d, p);\n return c(h) && (f(h) ? n(t.resolved) && h.then(d, p) : f(h.component) && (h.component.then(d, p), o(h.error) && (t.errorComp = Ie(h.error, e)), o(h.loading) && (t.loadingComp = Ie(h.loading, e), 0 === h.delay ? t.loading = !0 : a = setTimeout(() => {\n a = null, n(t.resolved) && n(t.error) && (t.loading = !0, u(!1));\n }, h.delay || 200)), o(h.timeout) && (l = setTimeout(() => {\n l = null, n(t.resolved) && p(null);\n }, h.timeout)))), i = !1, t.loading ? t.loadingComp : t.resolved;\n }\n }(p, d), void 0 === s)) return function (t, e, n, o, r) {\n const s = ft();\n return s.asyncFactory = t, s.asyncMeta = {\n data: e,\n context: n,\n children: o,\n tag: r\n }, s;\n }(p, i, a, l, u);\n i = i || {}, no(s), o(i.model) && function (t, n) {\n const r = t.model && t.model.prop || \"value\",\n s = t.model && t.model.event || \"input\";\n (n.attrs || (n.attrs = {}))[r] = n.model.value;\n const i = n.on || (n.on = {}),\n c = i[s],\n a = n.model.callback;\n o(c) ? (e(c) ? -1 === c.indexOf(a) : c !== a) && (i[s] = [a].concat(c)) : i[s] = a;\n }(s.options, i);\n const h = function (t, e, r) {\n const s = e.options.props;\n if (n(s)) return;\n const i = {},\n {\n attrs: c,\n props: a\n } = t;\n if (o(c) || o(a)) for (const t in s) {\n const e = S(t);\n Qt(i, a, t, e, !0) || Qt(i, c, t, e, !1);\n }\n return i;\n }(i, s);\n if (r(s.options.functional)) return function (n, r, s, i, c) {\n const a = n.options,\n l = {},\n u = a.props;\n if (o(u)) for (const e in u) l[e] = bo(e, u, r || t);else o(s.attrs) && so(l, s.attrs), o(s.props) && so(l, s.props);\n const f = new oo(s, l, c, i, n),\n d = a.render.call(null, f._c, f);\n if (d instanceof ut) return ro(d, s, f.parent, a);\n if (e(d)) {\n const t = te(d) || [],\n e = new Array(t.length);\n for (let n = 0; n < t.length; n++) e[n] = ro(t[n], s, f.parent, a);\n return e;\n }\n }(s, h, i, a, l);\n const m = i.on;\n if (i.on = i.nativeOn, r(s.options.abstract)) {\n const t = i.slot;\n i = {}, t && (i.slot = t);\n }\n !function (t) {\n const e = t.hook || (t.hook = {});\n for (let t = 0; t < ao.length; t++) {\n const n = ao[t],\n o = e[n],\n r = co[n];\n o === r || o && o._merged || (e[n] = o ? uo(r, o) : r);\n }\n }(i);\n const g = io(s.options) || u;\n return new ut(`vue-component-${s.cid}${g ? `-${g}` : \"\"}`, i, void 0, void 0, void 0, a, {\n Ctor: s,\n propsData: h,\n listeners: m,\n tag: u,\n children: l\n }, p);\n}\nfunction uo(t, e) {\n const n = (n, o) => {\n t(n, o), e(n, o);\n };\n return n._merged = !0, n;\n}\nlet fo = E;\nconst po = B.optionMergeStrategies;\nfunction ho(t, e) {\n let n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !0;\n if (!e) return t;\n let o, r, s;\n const i = it ? Reflect.ownKeys(e) : Object.keys(e);\n for (let c = 0; c < i.length; c++) o = i[c], \"__ob__\" !== o && (r = t[o], s = e[o], n && $(t, o) ? r !== s && l(r) && l(s) && ho(r, s) : Et(t, o, s));\n return t;\n}\nfunction mo(t, e, n) {\n return n ? function () {\n const o = i(e) ? e.call(n, n) : e,\n r = i(t) ? t.call(n, n) : t;\n return o ? ho(o, r) : r;\n } : e ? t ? function () {\n return ho(i(e) ? e.call(this, this) : e, i(t) ? t.call(this, this) : t);\n } : e : t;\n}\nfunction go(t, n) {\n const o = n ? t ? t.concat(n) : e(n) ? n : [n] : t;\n return o ? function (t) {\n const e = [];\n for (let n = 0; n < t.length; n++) -1 === e.indexOf(t[n]) && e.push(t[n]);\n return e;\n }(o) : o;\n}\nfunction vo(t, e, n, o) {\n const r = Object.create(t || null);\n return e ? A(r, e) : r;\n}\npo.data = function (t, e, n) {\n return n ? mo(t, e, n) : e && \"function\" != typeof e ? t : mo(t, e);\n}, H.forEach(t => {\n po[t] = go;\n}), F.forEach(function (t) {\n po[t + \"s\"] = vo;\n}), po.watch = function (t, n, o, r) {\n if (t === tt && (t = void 0), n === tt && (n = void 0), !n) return Object.create(t || null);\n if (!t) return n;\n const s = {};\n A(s, t);\n for (const t in n) {\n let o = s[t];\n const r = n[t];\n o && !e(o) && (o = [o]), s[t] = o ? o.concat(r) : e(r) ? r : [r];\n }\n return s;\n}, po.props = po.methods = po.inject = po.computed = function (t, e, n, o) {\n if (!t) return e;\n const r = Object.create(null);\n return A(r, t), e && A(r, e), r;\n}, po.provide = function (t, e) {\n return t ? function () {\n const n = Object.create(null);\n return ho(n, i(t) ? t.call(this) : t), e && ho(n, i(e) ? e.call(this) : e, !1), n;\n } : e;\n};\nconst yo = function (t, e) {\n return void 0 === e ? t : e;\n};\nfunction _o(t, n, o) {\n if (i(n) && (n = n.options), function (t, n) {\n const o = t.props;\n if (!o) return;\n const r = {};\n let s, i, c;\n if (e(o)) for (s = o.length; s--;) i = o[s], \"string\" == typeof i && (c = x(i), r[c] = {\n type: null\n });else if (l(o)) for (const t in o) i = o[t], c = x(t), r[c] = l(i) ? i : {\n type: i\n };\n t.props = r;\n }(n), function (t, n) {\n const o = t.inject;\n if (!o) return;\n const r = t.inject = {};\n if (e(o)) for (let t = 0; t < o.length; t++) r[o[t]] = {\n from: o[t]\n };else if (l(o)) for (const t in o) {\n const e = o[t];\n r[t] = l(e) ? A({\n from: t\n }, e) : {\n from: e\n };\n }\n }(n), function (t) {\n const e = t.directives;\n if (e) for (const t in e) {\n const n = e[t];\n i(n) && (e[t] = {\n bind: n,\n update: n\n });\n }\n }(n), !n._base && (n.extends && (t = _o(t, n.extends, o)), n.mixins)) for (let e = 0, r = n.mixins.length; e < r; e++) t = _o(t, n.mixins[e], o);\n const r = {};\n let s;\n for (s in t) c(s);\n for (s in n) $(t, s) || c(s);\n function c(e) {\n const s = po[e] || yo;\n r[e] = s(t[e], n[e], o, e);\n }\n return r;\n}\nfunction $o(t, e, n, o) {\n if (\"string\" != typeof n) return;\n const r = t[e];\n if ($(r, n)) return r[n];\n const s = x(n);\n if ($(r, s)) return r[s];\n const i = C(s);\n if ($(r, i)) return r[i];\n return r[n] || r[s] || r[i];\n}\nfunction bo(t, e, n, o) {\n const r = e[t],\n s = !$(n, t);\n let c = n[t];\n const a = ko(Boolean, r.type);\n if (a > -1) if (s && !$(r, \"default\")) c = !1;else if (\"\" === c || c === S(t)) {\n const t = ko(String, r.type);\n (t < 0 || a < t) && (c = !0);\n }\n if (void 0 === c) {\n c = function (t, e, n) {\n if (!$(e, \"default\")) return;\n const o = e.default;\n if (t && t.$options.propsData && void 0 === t.$options.propsData[n] && void 0 !== t._props[n]) return t._props[n];\n return i(o) && \"Function\" !== xo(e.type) ? o.call(t) : o;\n }(o, r, t);\n const e = kt;\n St(!0), At(c), St(e);\n }\n return c;\n}\nconst wo = /^\\s*function (\\w+)/;\nfunction xo(t) {\n const e = t && t.toString().match(wo);\n return e ? e[1] : \"\";\n}\nfunction Co(t, e) {\n return xo(t) === xo(e);\n}\nfunction ko(t, n) {\n if (!e(n)) return Co(n, t) ? 0 : -1;\n for (let e = 0, o = n.length; e < o; e++) if (Co(n[e], t)) return e;\n return -1;\n}\nfunction So(t) {\n this._init(t);\n}\nfunction Oo(t) {\n t.cid = 0;\n let e = 1;\n t.extend = function (t) {\n t = t || {};\n const n = this,\n o = n.cid,\n r = t._Ctor || (t._Ctor = {});\n if (r[o]) return r[o];\n const s = io(t) || io(n.options),\n i = function (t) {\n this._init(t);\n };\n return (i.prototype = Object.create(n.prototype)).constructor = i, i.cid = e++, i.options = _o(n.options, t), i.super = n, i.options.props && function (t) {\n const e = t.options.props;\n for (const n in e) qn(t.prototype, \"_props\", n);\n }(i), i.options.computed && function (t) {\n const e = t.options.computed;\n for (const n in e) Gn(t.prototype, n, e[n]);\n }(i), i.extend = n.extend, i.mixin = n.mixin, i.use = n.use, F.forEach(function (t) {\n i[t] = n[t];\n }), s && (i.options.components[s] = i), i.superOptions = n.options, i.extendOptions = t, i.sealedOptions = A({}, i.options), r[o] = i, i;\n };\n}\nfunction To(t) {\n return t && (io(t.Ctor.options) || t.tag);\n}\nfunction Ao(t, n) {\n return e(t) ? t.indexOf(n) > -1 : \"string\" == typeof t ? t.split(\",\").indexOf(n) > -1 : (o = t, \"[object RegExp]\" === a.call(o) && t.test(n));\n var o;\n}\nfunction jo(t, e) {\n const {\n cache: n,\n keys: o,\n _vnode: r,\n $vnode: s\n } = t;\n for (const t in n) {\n const s = n[t];\n if (s) {\n const i = s.name;\n i && !e(i) && Eo(n, t, o, r);\n }\n }\n s.componentOptions.children = void 0;\n}\nfunction Eo(t, e, n, o) {\n const r = t[e];\n !r || o && r.tag === o.tag || r.componentInstance.$destroy(), t[e] = null, y(n, e);\n}\n!function (e) {\n e.prototype._init = function (e) {\n const n = this;\n n._uid = eo++, n._isVue = !0, n.__v_skip = !0, n._scope = new Ue(!0), n._scope.parent = void 0, n._scope._vm = !0, e && e._isComponent ? function (t, e) {\n const n = t.$options = Object.create(t.constructor.options),\n o = e._parentVnode;\n n.parent = e.parent, n._parentVnode = o;\n const r = o.componentOptions;\n n.propsData = r.propsData, n._parentListeners = r.listeners, n._renderChildren = r.children, n._componentTag = r.tag, e.render && (n.render = e.render, n.staticRenderFns = e.staticRenderFns);\n }(n, e) : n.$options = _o(no(n.constructor), e || {}, n), n._renderProxy = n, n._self = n, function (t) {\n const e = t.$options;\n let n = e.parent;\n if (n && !e.abstract) {\n for (; n.$options.abstract && n.$parent;) n = n.$parent;\n n.$children.push(t);\n }\n t.$parent = n, t.$root = n ? n.$root : t, t.$children = [], t.$refs = {}, t._provided = n ? n._provided : Object.create(null), t._watcher = null, t._inactive = null, t._directInactive = !1, t._isMounted = !1, t._isDestroyed = !1, t._isBeingDestroyed = !1;\n }(n), function (t) {\n t._events = Object.create(null), t._hasHookEvent = !1;\n const e = t.$options._parentListeners;\n e && Be(t, e);\n }(n), function (e) {\n e._vnode = null, e._staticTrees = null;\n const n = e.$options,\n o = e.$vnode = n._parentVnode,\n r = o && o.context;\n e.$slots = we(n._renderChildren, r), e.$scopedSlots = o ? ke(e.$parent, o.data.scopedSlots, e.$slots) : t, e._c = (t, n, o, r) => se(e, t, n, o, r, !1), e.$createElement = (t, n, o, r) => se(e, t, n, o, r, !0);\n const s = o && o.data;\n jt(e, \"$attrs\", s && s.attrs || t, null, !0), jt(e, \"$listeners\", n._parentListeners || t, null, !0);\n }(n), Ze(n, \"beforeCreate\", void 0, !1), function (t) {\n const e = to(t.$options.inject, t);\n e && (St(!1), Object.keys(e).forEach(n => {\n jt(t, n, e[n]);\n }), St(!0));\n }(n), Wn(n), function (t) {\n const e = t.$options.provide;\n if (e) {\n const n = i(e) ? e.call(t) : e;\n if (!c(n)) return;\n const o = mn(t),\n r = it ? Reflect.ownKeys(n) : Object.keys(n);\n for (let t = 0; t < r.length; t++) {\n const e = r[t];\n Object.defineProperty(o, e, Object.getOwnPropertyDescriptor(n, e));\n }\n }\n }(n), Ze(n, \"created\"), n.$options.el && n.$mount(n.$options.el);\n };\n}(So), function (t) {\n const e = {\n get: function () {\n return this._data;\n }\n },\n n = {\n get: function () {\n return this._props;\n }\n };\n Object.defineProperty(t.prototype, \"$data\", e), Object.defineProperty(t.prototype, \"$props\", n), t.prototype.$set = Et, t.prototype.$delete = Nt, t.prototype.$watch = function (t, e, n) {\n const o = this;\n if (l(e)) return Qn(o, t, e, n);\n (n = n || {}).user = !0;\n const r = new Kn(o, t, e, n);\n if (n.immediate) {\n const t = `callback for immediate watcher \"${r.expression}\"`;\n _t(), vn(e, o, [r.value], o, t), $t();\n }\n return function () {\n r.teardown();\n };\n };\n}(So), function (t) {\n const n = /^hook:/;\n t.prototype.$on = function (t, o) {\n const r = this;\n if (e(t)) for (let e = 0, n = t.length; e < n; e++) r.$on(t[e], o);else (r._events[t] || (r._events[t] = [])).push(o), n.test(t) && (r._hasHookEvent = !0);\n return r;\n }, t.prototype.$once = function (t, e) {\n const n = this;\n function o() {\n n.$off(t, o), e.apply(n, arguments);\n }\n return o.fn = e, n.$on(t, o), n;\n }, t.prototype.$off = function (t, n) {\n const o = this;\n if (!arguments.length) return o._events = Object.create(null), o;\n if (e(t)) {\n for (let e = 0, r = t.length; e < r; e++) o.$off(t[e], n);\n return o;\n }\n const r = o._events[t];\n if (!r) return o;\n if (!n) return o._events[t] = null, o;\n let s,\n i = r.length;\n for (; i--;) if (s = r[i], s === n || s.fn === n) {\n r.splice(i, 1);\n break;\n }\n return o;\n }, t.prototype.$emit = function (t) {\n const e = this;\n let n = e._events[t];\n if (n) {\n n = n.length > 1 ? T(n) : n;\n const o = T(arguments, 1),\n r = `event handler for \"${t}\"`;\n for (let t = 0, s = n.length; t < s; t++) vn(n[t], e, o, e, r);\n }\n return e;\n };\n}(So), function (t) {\n t.prototype._update = function (t, e) {\n const n = this,\n o = n.$el,\n r = n._vnode,\n s = Ke(n);\n n._vnode = t, n.$el = r ? n.__patch__(r, t) : n.__patch__(n.$el, t, e, !1), s(), o && (o.__vue__ = null), n.$el && (n.$el.__vue__ = n);\n let i = n;\n for (; i && i.$vnode && i.$parent && i.$vnode === i.$parent._vnode;) i.$parent.$el = i.$el, i = i.$parent;\n }, t.prototype.$forceUpdate = function () {\n const t = this;\n t._watcher && t._watcher.update();\n }, t.prototype.$destroy = function () {\n const t = this;\n if (t._isBeingDestroyed) return;\n Ze(t, \"beforeDestroy\"), t._isBeingDestroyed = !0;\n const e = t.$parent;\n !e || e._isBeingDestroyed || t.$options.abstract || y(e.$children, t), t._scope.stop(), t._data.__ob__ && t._data.__ob__.vmCount--, t._isDestroyed = !0, t.__patch__(t._vnode, null), Ze(t, \"destroyed\"), t.$off(), t.$el && (t.$el.__vue__ = null), t.$vnode && (t.$vnode.parent = null);\n };\n}(So), function (t) {\n be(t.prototype), t.prototype.$nextTick = function (t) {\n return kn(t, this);\n }, t.prototype._render = function () {\n const t = this,\n {\n render: n,\n _parentVnode: o\n } = t.$options;\n o && t._isMounted && (t.$scopedSlots = ke(t.$parent, o.data.scopedSlots, t.$slots, t.$scopedSlots), t._slotsProxy && Ee(t._slotsProxy, t.$scopedSlots)), t.$vnode = o;\n const r = at,\n s = Me;\n let i;\n try {\n lt(t), Me = t, i = n.call(t._renderProxy, t.$createElement);\n } catch (e) {\n gn(e, t, \"render\"), i = t._vnode;\n } finally {\n Me = s, lt(r);\n }\n return e(i) && 1 === i.length && (i = i[0]), i instanceof ut || (i = ft()), i.parent = o, i;\n };\n}(So);\nconst No = [String, RegExp, Array];\nvar Po = {\n KeepAlive: {\n name: \"keep-alive\",\n abstract: !0,\n props: {\n include: No,\n exclude: No,\n max: [String, Number]\n },\n methods: {\n cacheVNode() {\n const {\n cache: t,\n keys: e,\n vnodeToCache: n,\n keyToCache: o\n } = this;\n if (n) {\n const {\n tag: r,\n componentInstance: s,\n componentOptions: i\n } = n;\n t[o] = {\n name: To(i),\n tag: r,\n componentInstance: s\n }, e.push(o), this.max && e.length > parseInt(this.max) && Eo(t, e[0], e, this._vnode), this.vnodeToCache = null;\n }\n }\n },\n created() {\n this.cache = Object.create(null), this.keys = [];\n },\n destroyed() {\n for (const t in this.cache) Eo(this.cache, t, this.keys);\n },\n mounted() {\n this.cacheVNode(), this.$watch(\"include\", t => {\n jo(this, e => Ao(t, e));\n }), this.$watch(\"exclude\", t => {\n jo(this, e => !Ao(t, e));\n });\n },\n updated() {\n this.cacheVNode();\n },\n render() {\n const t = this.$slots.default,\n e = Le(t),\n n = e && e.componentOptions;\n if (n) {\n const t = To(n),\n {\n include: o,\n exclude: r\n } = this;\n if (o && (!t || !Ao(o, t)) || r && t && Ao(r, t)) return e;\n const {\n cache: s,\n keys: i\n } = this,\n c = null == e.key ? n.Ctor.cid + (n.tag ? `::${n.tag}` : \"\") : e.key;\n s[c] ? (e.componentInstance = s[c].componentInstance, y(i, c), i.push(c)) : (this.vnodeToCache = e, this.keyToCache = c), e.data.keepAlive = !0;\n }\n return e || t && t[0];\n }\n }\n};\n!function (t) {\n const e = {\n get: () => B\n };\n Object.defineProperty(t, \"config\", e), t.util = {\n warn: fo,\n extend: A,\n mergeOptions: _o,\n defineReactive: jt\n }, t.set = Et, t.delete = Nt, t.nextTick = kn, t.observable = t => (At(t), t), t.options = Object.create(null), F.forEach(e => {\n t.options[e + \"s\"] = Object.create(null);\n }), t.options._base = t, A(t.options.components, Po), function (t) {\n t.use = function (t) {\n const e = this._installedPlugins || (this._installedPlugins = []);\n if (e.indexOf(t) > -1) return this;\n const n = T(arguments, 1);\n return n.unshift(this), i(t.install) ? t.install.apply(t, n) : i(t) && t.apply(null, n), e.push(t), this;\n };\n }(t), function (t) {\n t.mixin = function (t) {\n return this.options = _o(this.options, t), this;\n };\n }(t), Oo(t), function (t) {\n F.forEach(e => {\n t[e] = function (t, n) {\n return n ? (\"component\" === e && l(n) && (n.name = n.name || t, n = this.options._base.extend(n)), \"directive\" === e && i(n) && (n = {\n bind: n,\n update: n\n }), this.options[e + \"s\"][t] = n, n) : this.options[e + \"s\"][t];\n };\n });\n }(t);\n}(So), Object.defineProperty(So.prototype, \"$isServer\", {\n get: ot\n}), Object.defineProperty(So.prototype, \"$ssrContext\", {\n get() {\n return this.$vnode && this.$vnode.ssrContext;\n }\n}), Object.defineProperty(So, \"FunctionalRenderContext\", {\n value: oo\n}), So.version = Fn;\nconst Do = m(\"style,class\"),\n Mo = m(\"input,textarea,option,select,progress\"),\n Io = (t, e, n) => \"value\" === n && Mo(t) && \"button\" !== e || \"selected\" === n && \"option\" === t || \"checked\" === n && \"input\" === t || \"muted\" === n && \"video\" === t,\n Lo = m(\"contenteditable,draggable,spellcheck\"),\n Ro = m(\"events,caret,typing,plaintext-only\"),\n Fo = (t, e) => Vo(e) || \"false\" === e ? \"false\" : \"contenteditable\" === t && Ro(e) ? e : \"true\",\n Ho = m(\"allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible\"),\n Bo = \"http://www.w3.org/1999/xlink\",\n Uo = t => \":\" === t.charAt(5) && \"xlink\" === t.slice(0, 5),\n zo = t => Uo(t) ? t.slice(6, t.length) : \"\",\n Vo = t => null == t || !1 === t;\nfunction Ko(t) {\n let e = t.data,\n n = t,\n r = t;\n for (; o(r.componentInstance);) r = r.componentInstance._vnode, r && r.data && (e = Jo(r.data, e));\n for (; o(n = n.parent);) n && n.data && (e = Jo(e, n.data));\n return function (t, e) {\n if (o(t) || o(e)) return qo(t, Wo(e));\n return \"\";\n }(e.staticClass, e.class);\n}\nfunction Jo(t, e) {\n return {\n staticClass: qo(t.staticClass, e.staticClass),\n class: o(t.class) ? [t.class, e.class] : e.class\n };\n}\nfunction qo(t, e) {\n return t ? e ? t + \" \" + e : t : e || \"\";\n}\nfunction Wo(t) {\n return Array.isArray(t) ? function (t) {\n let e,\n n = \"\";\n for (let r = 0, s = t.length; r < s; r++) o(e = Wo(t[r])) && \"\" !== e && (n && (n += \" \"), n += e);\n return n;\n }(t) : c(t) ? function (t) {\n let e = \"\";\n for (const n in t) t[n] && (e && (e += \" \"), e += n);\n return e;\n }(t) : \"string\" == typeof t ? t : \"\";\n}\nconst Zo = {\n svg: \"http://www.w3.org/2000/svg\",\n math: \"http://www.w3.org/1998/Math/MathML\"\n },\n Go = m(\"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot\"),\n Xo = m(\"svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view\", !0),\n Yo = t => Go(t) || Xo(t);\nfunction Qo(t) {\n return Xo(t) ? \"svg\" : \"math\" === t ? \"math\" : void 0;\n}\nconst tr = Object.create(null);\nconst er = m(\"text,number,password,search,email,tel,url\");\nfunction nr(t) {\n if (\"string\" == typeof t) {\n const e = document.querySelector(t);\n return e || document.createElement(\"div\");\n }\n return t;\n}\nvar or = Object.freeze({\n __proto__: null,\n createElement: function (t, e) {\n const n = document.createElement(t);\n return \"select\" !== t || e.data && e.data.attrs && void 0 !== e.data.attrs.multiple && n.setAttribute(\"multiple\", \"multiple\"), n;\n },\n createElementNS: function (t, e) {\n return document.createElementNS(Zo[t], e);\n },\n createTextNode: function (t) {\n return document.createTextNode(t);\n },\n createComment: function (t) {\n return document.createComment(t);\n },\n insertBefore: function (t, e, n) {\n t.insertBefore(e, n);\n },\n removeChild: function (t, e) {\n t.removeChild(e);\n },\n appendChild: function (t, e) {\n t.appendChild(e);\n },\n parentNode: function (t) {\n return t.parentNode;\n },\n nextSibling: function (t) {\n return t.nextSibling;\n },\n tagName: function (t) {\n return t.tagName;\n },\n setTextContent: function (t, e) {\n t.textContent = e;\n },\n setStyleScope: function (t, e) {\n t.setAttribute(e, \"\");\n }\n }),\n rr = {\n create(t, e) {\n sr(e);\n },\n update(t, e) {\n t.data.ref !== e.data.ref && (sr(t, !0), sr(e));\n },\n destroy(t) {\n sr(t, !0);\n }\n };\nfunction sr(t, n) {\n const r = t.data.ref;\n if (!o(r)) return;\n const s = t.context,\n c = t.componentInstance || t.elm,\n a = n ? null : c,\n l = n ? void 0 : c;\n if (i(r)) return void vn(r, s, [a], s, \"template ref function\");\n const u = t.data.refInFor,\n f = \"string\" == typeof r || \"number\" == typeof r,\n d = Ht(r),\n p = s.$refs;\n if (f || d) if (u) {\n const t = f ? p[r] : r.value;\n n ? e(t) && y(t, c) : e(t) ? t.includes(c) || t.push(c) : f ? (p[r] = [c], ir(s, r, p[r])) : r.value = [c];\n } else if (f) {\n if (n && p[r] !== c) return;\n p[r] = l, ir(s, r, a);\n } else if (d) {\n if (n && r.value !== c) return;\n r.value = a;\n }\n}\nfunction ir(_ref, e, n) {\n let {\n _setupState: t\n } = _ref;\n t && $(t, e) && (Ht(t[e]) ? t[e].value = n : t[e] = n);\n}\nconst cr = new ut(\"\", {}, []),\n ar = [\"create\", \"activate\", \"update\", \"remove\", \"destroy\"];\nfunction lr(t, e) {\n return t.key === e.key && t.asyncFactory === e.asyncFactory && (t.tag === e.tag && t.isComment === e.isComment && o(t.data) === o(e.data) && function (t, e) {\n if (\"input\" !== t.tag) return !0;\n let n;\n const r = o(n = t.data) && o(n = n.attrs) && n.type,\n s = o(n = e.data) && o(n = n.attrs) && n.type;\n return r === s || er(r) && er(s);\n }(t, e) || r(t.isAsyncPlaceholder) && n(e.asyncFactory.error));\n}\nfunction ur(t, e, n) {\n let r, s;\n const i = {};\n for (r = e; r <= n; ++r) s = t[r].key, o(s) && (i[s] = r);\n return i;\n}\nvar fr = {\n create: dr,\n update: dr,\n destroy: function (t) {\n dr(t, cr);\n }\n};\nfunction dr(t, e) {\n (t.data.directives || e.data.directives) && function (t, e) {\n const n = t === cr,\n o = e === cr,\n r = hr(t.data.directives, t.context),\n s = hr(e.data.directives, e.context),\n i = [],\n c = [];\n let a, l, u;\n for (a in s) l = r[a], u = s[a], l ? (u.oldValue = l.value, u.oldArg = l.arg, gr(u, \"update\", e, t), u.def && u.def.componentUpdated && c.push(u)) : (gr(u, \"bind\", e, t), u.def && u.def.inserted && i.push(u));\n if (i.length) {\n const o = () => {\n for (let n = 0; n < i.length; n++) gr(i[n], \"inserted\", e, t);\n };\n n ? Yt(e, \"insert\", o) : o();\n }\n c.length && Yt(e, \"postpatch\", () => {\n for (let n = 0; n < c.length; n++) gr(c[n], \"componentUpdated\", e, t);\n });\n if (!n) for (a in r) s[a] || gr(r[a], \"unbind\", t, t, o);\n }(t, e);\n}\nconst pr = Object.create(null);\nfunction hr(t, e) {\n const n = Object.create(null);\n if (!t) return n;\n let o, r;\n for (o = 0; o < t.length; o++) {\n if (r = t[o], r.modifiers || (r.modifiers = pr), n[mr(r)] = r, e._setupState && e._setupState.__sfc) {\n const t = r.def || $o(e, \"_setupState\", \"v-\" + r.name);\n r.def = \"function\" == typeof t ? {\n bind: t,\n update: t\n } : t;\n }\n r.def = r.def || $o(e.$options, \"directives\", r.name);\n }\n return n;\n}\nfunction mr(t) {\n return t.rawName || `${t.name}.${Object.keys(t.modifiers || {}).join(\".\")}`;\n}\nfunction gr(t, e, n, o, r) {\n const s = t.def && t.def[e];\n if (s) try {\n s(n.elm, t, n, o, r);\n } catch (o) {\n gn(o, n.context, `directive ${t.name} ${e} hook`);\n }\n}\nvar vr = [rr, fr];\nfunction yr(t, e) {\n const s = e.componentOptions;\n if (o(s) && !1 === s.Ctor.options.inheritAttrs) return;\n if (n(t.data.attrs) && n(e.data.attrs)) return;\n let i, c, a;\n const l = e.elm,\n u = t.data.attrs || {};\n let f = e.data.attrs || {};\n for (i in (o(f.__ob__) || r(f._v_attr_proxy)) && (f = e.data.attrs = A({}, f)), f) c = f[i], a = u[i], a !== c && _r(l, i, c, e.data.pre);\n for (i in (Z || X) && f.value !== u.value && _r(l, \"value\", f.value), u) n(f[i]) && (Uo(i) ? l.removeAttributeNS(Bo, zo(i)) : Lo(i) || l.removeAttribute(i));\n}\nfunction _r(t, e, n, o) {\n o || t.tagName.indexOf(\"-\") > -1 ? $r(t, e, n) : Ho(e) ? Vo(n) ? t.removeAttribute(e) : (n = \"allowfullscreen\" === e && \"EMBED\" === t.tagName ? \"true\" : e, t.setAttribute(e, n)) : Lo(e) ? t.setAttribute(e, Fo(e, n)) : Uo(e) ? Vo(n) ? t.removeAttributeNS(Bo, zo(e)) : t.setAttributeNS(Bo, e, n) : $r(t, e, n);\n}\nfunction $r(t, e, n) {\n if (Vo(n)) t.removeAttribute(e);else {\n if (Z && !G && \"TEXTAREA\" === t.tagName && \"placeholder\" === e && \"\" !== n && !t.__ieph) {\n const e = n => {\n n.stopImmediatePropagation(), t.removeEventListener(\"input\", e);\n };\n t.addEventListener(\"input\", e), t.__ieph = !0;\n }\n t.setAttribute(e, n);\n }\n}\nvar br = {\n create: yr,\n update: yr\n};\nfunction wr(t, e) {\n const r = e.elm,\n s = e.data,\n i = t.data;\n if (n(s.staticClass) && n(s.class) && (n(i) || n(i.staticClass) && n(i.class))) return;\n let c = Ko(e);\n const a = r._transitionClasses;\n o(a) && (c = qo(c, Wo(a))), c !== r._prevClass && (r.setAttribute(\"class\", c), r._prevClass = c);\n}\nvar xr = {\n create: wr,\n update: wr\n};\nconst Cr = /[\\w).+\\-_$\\]]/;\nfunction kr(t) {\n let e,\n n,\n o,\n r,\n s,\n i = !1,\n c = !1,\n a = !1,\n l = !1,\n u = 0,\n f = 0,\n d = 0,\n p = 0;\n for (o = 0; o < t.length; o++) if (n = e, e = t.charCodeAt(o), i) 39 === e && 92 !== n && (i = !1);else if (c) 34 === e && 92 !== n && (c = !1);else if (a) 96 === e && 92 !== n && (a = !1);else if (l) 47 === e && 92 !== n && (l = !1);else if (124 !== e || 124 === t.charCodeAt(o + 1) || 124 === t.charCodeAt(o - 1) || u || f || d) {\n switch (e) {\n case 34:\n c = !0;\n break;\n case 39:\n i = !0;\n break;\n case 96:\n a = !0;\n break;\n case 40:\n d++;\n break;\n case 41:\n d--;\n break;\n case 91:\n f++;\n break;\n case 93:\n f--;\n break;\n case 123:\n u++;\n break;\n case 125:\n u--;\n }\n if (47 === e) {\n let e,\n n = o - 1;\n for (; n >= 0 && (e = t.charAt(n), \" \" === e); n--);\n e && Cr.test(e) || (l = !0);\n }\n } else void 0 === r ? (p = o + 1, r = t.slice(0, o).trim()) : h();\n function h() {\n (s || (s = [])).push(t.slice(p, o).trim()), p = o + 1;\n }\n if (void 0 === r ? r = t.slice(0, o).trim() : 0 !== p && h(), s) for (o = 0; o < s.length; o++) r = Sr(r, s[o]);\n return r;\n}\nfunction Sr(t, e) {\n const n = e.indexOf(\"(\");\n if (n < 0) return `_f(\"${e}\")(${t})`;\n {\n const o = e.slice(0, n),\n r = e.slice(n + 1);\n return `_f(\"${o}\")(${t}${\")\" !== r ? \",\" + r : r}`;\n }\n}\nfunction Or(t, e) {\n console.error(`[Vue compiler]: ${t}`);\n}\nfunction Tr(t, e) {\n return t ? t.map(t => t[e]).filter(t => t) : [];\n}\nfunction Ar(t, e, n, o, r) {\n (t.props || (t.props = [])).push(Rr({\n name: e,\n value: n,\n dynamic: r\n }, o)), t.plain = !1;\n}\nfunction jr(t, e, n, o, r) {\n (r ? t.dynamicAttrs || (t.dynamicAttrs = []) : t.attrs || (t.attrs = [])).push(Rr({\n name: e,\n value: n,\n dynamic: r\n }, o)), t.plain = !1;\n}\nfunction Er(t, e, n, o) {\n t.attrsMap[e] = n, t.attrsList.push(Rr({\n name: e,\n value: n\n }, o));\n}\nfunction Nr(t, e, n, o, r, s, i, c) {\n (t.directives || (t.directives = [])).push(Rr({\n name: e,\n rawName: n,\n value: o,\n arg: r,\n isDynamicArg: s,\n modifiers: i\n }, c)), t.plain = !1;\n}\nfunction Pr(t, e, n) {\n return n ? `_p(${e},\"${t}\")` : t + e;\n}\nfunction Dr(e, n, o, r, s, i, c, a) {\n let l;\n (r = r || t).right ? a ? n = `(${n})==='click'?'contextmenu':(${n})` : \"click\" === n && (n = \"contextmenu\", delete r.right) : r.middle && (a ? n = `(${n})==='click'?'mouseup':(${n})` : \"click\" === n && (n = \"mouseup\")), r.capture && (delete r.capture, n = Pr(\"!\", n, a)), r.once && (delete r.once, n = Pr(\"~\", n, a)), r.passive && (delete r.passive, n = Pr(\"&\", n, a)), r.native ? (delete r.native, l = e.nativeEvents || (e.nativeEvents = {})) : l = e.events || (e.events = {});\n const u = Rr({\n value: o.trim(),\n dynamic: a\n }, c);\n r !== t && (u.modifiers = r);\n const f = l[n];\n Array.isArray(f) ? s ? f.unshift(u) : f.push(u) : l[n] = f ? s ? [u, f] : [f, u] : u, e.plain = !1;\n}\nfunction Mr(t, e, n) {\n const o = Ir(t, \":\" + e) || Ir(t, \"v-bind:\" + e);\n if (null != o) return kr(o);\n if (!1 !== n) {\n const n = Ir(t, e);\n if (null != n) return JSON.stringify(n);\n }\n}\nfunction Ir(t, e, n) {\n let o;\n if (null != (o = t.attrsMap[e])) {\n const n = t.attrsList;\n for (let t = 0, o = n.length; t < o; t++) if (n[t].name === e) {\n n.splice(t, 1);\n break;\n }\n }\n return n && delete t.attrsMap[e], o;\n}\nfunction Lr(t, e) {\n const n = t.attrsList;\n for (let t = 0, o = n.length; t < o; t++) {\n const o = n[t];\n if (e.test(o.name)) return n.splice(t, 1), o;\n }\n}\nfunction Rr(t, e) {\n return e && (null != e.start && (t.start = e.start), null != e.end && (t.end = e.end)), t;\n}\nfunction Fr(t, e, n) {\n const {\n number: o,\n trim: r\n } = n || {},\n s = \"$$v\";\n let i = s;\n r && (i = `(typeof ${s} === 'string'? ${s}.trim(): ${s})`), o && (i = `_n(${i})`);\n const c = Hr(e, i);\n t.model = {\n value: `(${e})`,\n expression: JSON.stringify(e),\n callback: `function (${s}) {${c}}`\n };\n}\nfunction Hr(t, e) {\n const n = function (t) {\n if (t = t.trim(), Br = t.length, t.indexOf(\"[\") < 0 || t.lastIndexOf(\"]\") < Br - 1) return Vr = t.lastIndexOf(\".\"), Vr > -1 ? {\n exp: t.slice(0, Vr),\n key: '\"' + t.slice(Vr + 1) + '\"'\n } : {\n exp: t,\n key: null\n };\n Ur = t, Vr = Kr = Jr = 0;\n for (; !Wr();) zr = qr(), Zr(zr) ? Xr(zr) : 91 === zr && Gr(zr);\n return {\n exp: t.slice(0, Kr),\n key: t.slice(Kr + 1, Jr)\n };\n }(t);\n return null === n.key ? `${t}=${e}` : `$set(${n.exp}, ${n.key}, ${e})`;\n}\nlet Br, Ur, zr, Vr, Kr, Jr;\nfunction qr() {\n return Ur.charCodeAt(++Vr);\n}\nfunction Wr() {\n return Vr >= Br;\n}\nfunction Zr(t) {\n return 34 === t || 39 === t;\n}\nfunction Gr(t) {\n let e = 1;\n for (Kr = Vr; !Wr();) if (Zr(t = qr())) Xr(t);else if (91 === t && e++, 93 === t && e--, 0 === e) {\n Jr = Vr;\n break;\n }\n}\nfunction Xr(t) {\n const e = t;\n for (; !Wr() && (t = qr()) !== e;);\n}\nconst Yr = \"__r\",\n Qr = \"__c\";\nlet ts;\nfunction es(t, e, n) {\n const o = ts;\n return function r() {\n null !== e.apply(null, arguments) && rs(t, r, n, o);\n };\n}\nconst ns = $n && !(Q && Number(Q[1]) <= 53);\nfunction os(t, e, n, o) {\n if (ns) {\n const t = nn,\n n = e;\n e = n._wrapper = function (e) {\n if (e.target === e.currentTarget || e.timeStamp >= t || e.timeStamp <= 0 || e.target.ownerDocument !== document) return n.apply(this, arguments);\n };\n }\n ts.addEventListener(t, e, nt ? {\n capture: n,\n passive: o\n } : n);\n}\nfunction rs(t, e, n, o) {\n (o || ts).removeEventListener(t, e._wrapper || e, n);\n}\nfunction ss(t, e) {\n if (n(t.data.on) && n(e.data.on)) return;\n const r = e.data.on || {},\n s = t.data.on || {};\n ts = e.elm || t.elm, function (t) {\n if (o(t[Yr])) {\n const e = Z ? \"change\" : \"input\";\n t[e] = [].concat(t[Yr], t[e] || []), delete t[Yr];\n }\n o(t[Qr]) && (t.change = [].concat(t[Qr], t.change || []), delete t[Qr]);\n }(r), Xt(r, s, os, rs, es, e.context), ts = void 0;\n}\nvar is = {\n create: ss,\n update: ss,\n destroy: t => ss(t, cr)\n};\nlet cs;\nfunction as(t, e) {\n if (n(t.data.domProps) && n(e.data.domProps)) return;\n let s, i;\n const c = e.elm,\n a = t.data.domProps || {};\n let l = e.data.domProps || {};\n for (s in (o(l.__ob__) || r(l._v_attr_proxy)) && (l = e.data.domProps = A({}, l)), a) s in l || (c[s] = \"\");\n for (s in l) {\n if (i = l[s], \"textContent\" === s || \"innerHTML\" === s) {\n if (e.children && (e.children.length = 0), i === a[s]) continue;\n 1 === c.childNodes.length && c.removeChild(c.childNodes[0]);\n }\n if (\"value\" === s && \"PROGRESS\" !== c.tagName) {\n c._value = i;\n const t = n(i) ? \"\" : String(i);\n ls(c, t) && (c.value = t);\n } else if (\"innerHTML\" === s && Xo(c.tagName) && n(c.innerHTML)) {\n cs = cs || document.createElement(\"div\"), cs.innerHTML = `${i}`;\n const t = cs.firstChild;\n for (; c.firstChild;) c.removeChild(c.firstChild);\n for (; t.firstChild;) c.appendChild(t.firstChild);\n } else if (i !== a[s]) try {\n c[s] = i;\n } catch (t) {}\n }\n}\nfunction ls(t, e) {\n return !t.composing && (\"OPTION\" === t.tagName || function (t, e) {\n let n = !0;\n try {\n n = document.activeElement !== t;\n } catch (t) {}\n return n && t.value !== e;\n }(t, e) || function (t, e) {\n const n = t.value,\n r = t._vModifiers;\n if (o(r)) {\n if (r.number) return h(n) !== h(e);\n if (r.trim) return n.trim() !== e.trim();\n }\n return n !== e;\n }(t, e));\n}\nvar us = {\n create: as,\n update: as\n};\nconst fs = b(function (t) {\n const e = {},\n n = /:(.+)/;\n return t.split(/;(?![^(]*\\))/g).forEach(function (t) {\n if (t) {\n const o = t.split(n);\n o.length > 1 && (e[o[0].trim()] = o[1].trim());\n }\n }), e;\n});\nfunction ds(t) {\n const e = ps(t.style);\n return t.staticStyle ? A(t.staticStyle, e) : e;\n}\nfunction ps(t) {\n return Array.isArray(t) ? j(t) : \"string\" == typeof t ? fs(t) : t;\n}\nconst hs = /^--/,\n ms = /\\s*!important$/,\n gs = (t, e, n) => {\n if (hs.test(e)) t.style.setProperty(e, n);else if (ms.test(n)) t.style.setProperty(S(e), n.replace(ms, \"\"), \"important\");else {\n const o = _s(e);\n if (Array.isArray(n)) for (let e = 0, r = n.length; e < r; e++) t.style[o] = n[e];else t.style[o] = n;\n }\n },\n vs = [\"Webkit\", \"Moz\", \"ms\"];\nlet ys;\nconst _s = b(function (t) {\n if (ys = ys || document.createElement(\"div\").style, \"filter\" !== (t = x(t)) && t in ys) return t;\n const e = t.charAt(0).toUpperCase() + t.slice(1);\n for (let t = 0; t < vs.length; t++) {\n const n = vs[t] + e;\n if (n in ys) return n;\n }\n});\nfunction $s(t, e) {\n const r = e.data,\n s = t.data;\n if (n(r.staticStyle) && n(r.style) && n(s.staticStyle) && n(s.style)) return;\n let i, c;\n const a = e.elm,\n l = s.staticStyle,\n u = s.normalizedStyle || s.style || {},\n f = l || u,\n d = ps(e.data.style) || {};\n e.data.normalizedStyle = o(d.__ob__) ? A({}, d) : d;\n const p = function (t, e) {\n const n = {};\n let o;\n if (e) {\n let e = t;\n for (; e.componentInstance;) e = e.componentInstance._vnode, e && e.data && (o = ds(e.data)) && A(n, o);\n }\n (o = ds(t.data)) && A(n, o);\n let r = t;\n for (; r = r.parent;) r.data && (o = ds(r.data)) && A(n, o);\n return n;\n }(e, !0);\n for (c in f) n(p[c]) && gs(a, c, \"\");\n for (c in p) i = p[c], gs(a, c, null == i ? \"\" : i);\n}\nvar bs = {\n create: $s,\n update: $s\n};\nconst ws = /\\s+/;\nfunction xs(t, e) {\n if (e && (e = e.trim())) if (t.classList) e.indexOf(\" \") > -1 ? e.split(ws).forEach(e => t.classList.add(e)) : t.classList.add(e);else {\n const n = ` ${t.getAttribute(\"class\") || \"\"} `;\n n.indexOf(\" \" + e + \" \") < 0 && t.setAttribute(\"class\", (n + e).trim());\n }\n}\nfunction Cs(t, e) {\n if (e && (e = e.trim())) if (t.classList) e.indexOf(\" \") > -1 ? e.split(ws).forEach(e => t.classList.remove(e)) : t.classList.remove(e), t.classList.length || t.removeAttribute(\"class\");else {\n let n = ` ${t.getAttribute(\"class\") || \"\"} `;\n const o = \" \" + e + \" \";\n for (; n.indexOf(o) >= 0;) n = n.replace(o, \" \");\n n = n.trim(), n ? t.setAttribute(\"class\", n) : t.removeAttribute(\"class\");\n }\n}\nfunction ks(t) {\n if (t) {\n if (\"object\" == typeof t) {\n const e = {};\n return !1 !== t.css && A(e, Ss(t.name || \"v\")), A(e, t), e;\n }\n return \"string\" == typeof t ? Ss(t) : void 0;\n }\n}\nconst Ss = b(t => ({\n enterClass: `${t}-enter`,\n enterToClass: `${t}-enter-to`,\n enterActiveClass: `${t}-enter-active`,\n leaveClass: `${t}-leave`,\n leaveToClass: `${t}-leave-to`,\n leaveActiveClass: `${t}-leave-active`\n })),\n Os = q && !G,\n Ts = \"transition\",\n As = \"animation\";\nlet js = \"transition\",\n Es = \"transitionend\",\n Ns = \"animation\",\n Ps = \"animationend\";\nOs && (void 0 === window.ontransitionend && void 0 !== window.onwebkittransitionend && (js = \"WebkitTransition\", Es = \"webkitTransitionEnd\"), void 0 === window.onanimationend && void 0 !== window.onwebkitanimationend && (Ns = \"WebkitAnimation\", Ps = \"webkitAnimationEnd\"));\nconst Ds = q ? window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : setTimeout : t => t();\nfunction Ms(t) {\n Ds(() => {\n Ds(t);\n });\n}\nfunction Is(t, e) {\n const n = t._transitionClasses || (t._transitionClasses = []);\n n.indexOf(e) < 0 && (n.push(e), xs(t, e));\n}\nfunction Ls(t, e) {\n t._transitionClasses && y(t._transitionClasses, e), Cs(t, e);\n}\nfunction Rs(t, e, n) {\n const {\n type: o,\n timeout: r,\n propCount: s\n } = Hs(t, e);\n if (!o) return n();\n const i = o === Ts ? Es : Ps;\n let c = 0;\n const a = () => {\n t.removeEventListener(i, l), n();\n },\n l = e => {\n e.target === t && ++c >= s && a();\n };\n setTimeout(() => {\n c < s && a();\n }, r + 1), t.addEventListener(i, l);\n}\nconst Fs = /\\b(transform|all)(,|$)/;\nfunction Hs(t, e) {\n const n = window.getComputedStyle(t),\n o = (n[js + \"Delay\"] || \"\").split(\", \"),\n r = (n[js + \"Duration\"] || \"\").split(\", \"),\n s = Bs(o, r),\n i = (n[Ns + \"Delay\"] || \"\").split(\", \"),\n c = (n[Ns + \"Duration\"] || \"\").split(\", \"),\n a = Bs(i, c);\n let l,\n u = 0,\n f = 0;\n e === Ts ? s > 0 && (l = Ts, u = s, f = r.length) : e === As ? a > 0 && (l = As, u = a, f = c.length) : (u = Math.max(s, a), l = u > 0 ? s > a ? Ts : As : null, f = l ? l === Ts ? r.length : c.length : 0);\n return {\n type: l,\n timeout: u,\n propCount: f,\n hasTransform: l === Ts && Fs.test(n[js + \"Property\"])\n };\n}\nfunction Bs(t, e) {\n for (; t.length < e.length;) t = t.concat(t);\n return Math.max.apply(null, e.map((e, n) => Us(e) + Us(t[n])));\n}\nfunction Us(t) {\n return 1e3 * Number(t.slice(0, -1).replace(\",\", \".\"));\n}\nfunction zs(t, e) {\n const r = t.elm;\n o(r._leaveCb) && (r._leaveCb.cancelled = !0, r._leaveCb());\n const s = ks(t.data.transition);\n if (n(s)) return;\n if (o(r._enterCb) || 1 !== r.nodeType) return;\n const {\n css: a,\n type: l,\n enterClass: u,\n enterToClass: f,\n enterActiveClass: d,\n appearClass: p,\n appearToClass: m,\n appearActiveClass: g,\n beforeEnter: v,\n enter: y,\n afterEnter: _,\n enterCancelled: $,\n beforeAppear: b,\n appear: w,\n afterAppear: x,\n appearCancelled: C,\n duration: k\n } = s;\n let S = Ve,\n O = Ve.$vnode;\n for (; O && O.parent;) S = O.context, O = O.parent;\n const T = !S._isMounted || !t.isRootInsert;\n if (T && !w && \"\" !== w) return;\n const A = T && p ? p : u,\n j = T && g ? g : d,\n E = T && m ? m : f,\n N = T && b || v,\n P = T && i(w) ? w : y,\n D = T && x || _,\n M = T && C || $,\n L = h(c(k) ? k.enter : k),\n R = !1 !== a && !G,\n F = Js(P),\n H = r._enterCb = I(() => {\n R && (Ls(r, E), Ls(r, j)), H.cancelled ? (R && Ls(r, A), M && M(r)) : D && D(r), r._enterCb = null;\n });\n t.data.show || Yt(t, \"insert\", () => {\n const e = r.parentNode,\n n = e && e._pending && e._pending[t.key];\n n && n.tag === t.tag && n.elm._leaveCb && n.elm._leaveCb(), P && P(r, H);\n }), N && N(r), R && (Is(r, A), Is(r, j), Ms(() => {\n Ls(r, A), H.cancelled || (Is(r, E), F || (Ks(L) ? setTimeout(H, L) : Rs(r, l, H)));\n })), t.data.show && (e && e(), P && P(r, H)), R || F || H();\n}\nfunction Vs(t, e) {\n const r = t.elm;\n o(r._enterCb) && (r._enterCb.cancelled = !0, r._enterCb());\n const s = ks(t.data.transition);\n if (n(s) || 1 !== r.nodeType) return e();\n if (o(r._leaveCb)) return;\n const {\n css: i,\n type: a,\n leaveClass: l,\n leaveToClass: u,\n leaveActiveClass: f,\n beforeLeave: d,\n leave: p,\n afterLeave: m,\n leaveCancelled: g,\n delayLeave: v,\n duration: y\n } = s,\n _ = !1 !== i && !G,\n $ = Js(p),\n b = h(c(y) ? y.leave : y),\n w = r._leaveCb = I(() => {\n r.parentNode && r.parentNode._pending && (r.parentNode._pending[t.key] = null), _ && (Ls(r, u), Ls(r, f)), w.cancelled ? (_ && Ls(r, l), g && g(r)) : (e(), m && m(r)), r._leaveCb = null;\n });\n function x() {\n w.cancelled || (!t.data.show && r.parentNode && ((r.parentNode._pending || (r.parentNode._pending = {}))[t.key] = t), d && d(r), _ && (Is(r, l), Is(r, f), Ms(() => {\n Ls(r, l), w.cancelled || (Is(r, u), $ || (Ks(b) ? setTimeout(w, b) : Rs(r, a, w)));\n })), p && p(r, w), _ || $ || w());\n }\n v ? v(x) : x();\n}\nfunction Ks(t) {\n return \"number\" == typeof t && !isNaN(t);\n}\nfunction Js(t) {\n if (n(t)) return !1;\n const e = t.fns;\n return o(e) ? Js(Array.isArray(e) ? e[0] : e) : (t._length || t.length) > 1;\n}\nfunction qs(t, e) {\n !0 !== e.data.show && zs(e);\n}\nconst Ws = function (t) {\n let i, c;\n const a = {},\n {\n modules: l,\n nodeOps: u\n } = t;\n for (i = 0; i < ar.length; ++i) for (a[ar[i]] = [], c = 0; c < l.length; ++c) o(l[c][ar[i]]) && a[ar[i]].push(l[c][ar[i]]);\n function f(t) {\n const e = u.parentNode(t);\n o(e) && u.removeChild(e, t);\n }\n function d(t, e, n, s, i, c, l) {\n if (o(t.elm) && o(c) && (t = c[l] = pt(t)), t.isRootInsert = !i, function (t, e, n, s) {\n let i = t.data;\n if (o(i)) {\n const c = o(t.componentInstance) && i.keepAlive;\n if (o(i = i.hook) && o(i = i.init) && i(t, !1), o(t.componentInstance)) return p(t, e), h(n, t.elm, s), r(c) && function (t, e, n, r) {\n let s,\n i = t;\n for (; i.componentInstance;) if (i = i.componentInstance._vnode, o(s = i.data) && o(s = s.transition)) {\n for (s = 0; s < a.activate.length; ++s) a.activate[s](cr, i);\n e.push(i);\n break;\n }\n h(n, t.elm, r);\n }(t, e, n, s), !0;\n }\n }(t, e, n, s)) return;\n const f = t.data,\n d = t.children,\n m = t.tag;\n o(m) ? (t.elm = t.ns ? u.createElementNS(t.ns, m) : u.createElement(m, t), _(t), g(t, d, e), o(f) && y(t, e), h(n, t.elm, s)) : r(t.isComment) ? (t.elm = u.createComment(t.text), h(n, t.elm, s)) : (t.elm = u.createTextNode(t.text), h(n, t.elm, s));\n }\n function p(t, e) {\n o(t.data.pendingInsert) && (e.push.apply(e, t.data.pendingInsert), t.data.pendingInsert = null), t.elm = t.componentInstance.$el, v(t) ? (y(t, e), _(t)) : (sr(t), e.push(t));\n }\n function h(t, e, n) {\n o(t) && (o(n) ? u.parentNode(n) === t && u.insertBefore(t, e, n) : u.appendChild(t, e));\n }\n function g(t, n, o) {\n if (e(n)) for (let e = 0; e < n.length; ++e) d(n[e], o, t.elm, null, !0, n, e);else s(t.text) && u.appendChild(t.elm, u.createTextNode(String(t.text)));\n }\n function v(t) {\n for (; t.componentInstance;) t = t.componentInstance._vnode;\n return o(t.tag);\n }\n function y(t, e) {\n for (let e = 0; e < a.create.length; ++e) a.create[e](cr, t);\n i = t.data.hook, o(i) && (o(i.create) && i.create(cr, t), o(i.insert) && e.push(t));\n }\n function _(t) {\n let e;\n if (o(e = t.fnScopeId)) u.setStyleScope(t.elm, e);else {\n let n = t;\n for (; n;) o(e = n.context) && o(e = e.$options._scopeId) && u.setStyleScope(t.elm, e), n = n.parent;\n }\n o(e = Ve) && e !== t.context && e !== t.fnContext && o(e = e.$options._scopeId) && u.setStyleScope(t.elm, e);\n }\n function $(t, e, n, o, r, s) {\n for (; o <= r; ++o) d(n[o], s, t, e, !1, n, o);\n }\n function b(t) {\n let e, n;\n const r = t.data;\n if (o(r)) for (o(e = r.hook) && o(e = e.destroy) && e(t), e = 0; e < a.destroy.length; ++e) a.destroy[e](t);\n if (o(e = t.children)) for (n = 0; n < t.children.length; ++n) b(t.children[n]);\n }\n function w(t, e, n) {\n for (; e <= n; ++e) {\n const n = t[e];\n o(n) && (o(n.tag) ? (x(n), b(n)) : f(n.elm));\n }\n }\n function x(t, e) {\n if (o(e) || o(t.data)) {\n let n;\n const r = a.remove.length + 1;\n for (o(e) ? e.listeners += r : e = function (t, e) {\n function n() {\n 0 == --n.listeners && f(t);\n }\n return n.listeners = e, n;\n }(t.elm, r), o(n = t.componentInstance) && o(n = n._vnode) && o(n.data) && x(n, e), n = 0; n < a.remove.length; ++n) a.remove[n](t, e);\n o(n = t.data.hook) && o(n = n.remove) ? n(t, e) : e();\n } else f(t.elm);\n }\n function C(t, e, n, r) {\n for (let s = n; s < r; s++) {\n const n = e[s];\n if (o(n) && lr(t, n)) return s;\n }\n }\n function k(t, e, s, i, c, l) {\n if (t === e) return;\n o(e.elm) && o(i) && (e = i[c] = pt(e));\n const f = e.elm = t.elm;\n if (r(t.isAsyncPlaceholder)) return void (o(e.asyncFactory.resolved) ? T(t.elm, e, s) : e.isAsyncPlaceholder = !0);\n if (r(e.isStatic) && r(t.isStatic) && e.key === t.key && (r(e.isCloned) || r(e.isOnce))) return void (e.componentInstance = t.componentInstance);\n let p;\n const h = e.data;\n o(h) && o(p = h.hook) && o(p = p.prepatch) && p(t, e);\n const m = t.children,\n g = e.children;\n if (o(h) && v(e)) {\n for (p = 0; p < a.update.length; ++p) a.update[p](t, e);\n o(p = h.hook) && o(p = p.update) && p(t, e);\n }\n n(e.text) ? o(m) && o(g) ? m !== g && function (t, e, r, s, i) {\n let c,\n a,\n l,\n f,\n p = 0,\n h = 0,\n m = e.length - 1,\n g = e[0],\n v = e[m],\n y = r.length - 1,\n _ = r[0],\n b = r[y];\n const x = !i;\n for (; p <= m && h <= y;) n(g) ? g = e[++p] : n(v) ? v = e[--m] : lr(g, _) ? (k(g, _, s, r, h), g = e[++p], _ = r[++h]) : lr(v, b) ? (k(v, b, s, r, y), v = e[--m], b = r[--y]) : lr(g, b) ? (k(g, b, s, r, y), x && u.insertBefore(t, g.elm, u.nextSibling(v.elm)), g = e[++p], b = r[--y]) : lr(v, _) ? (k(v, _, s, r, h), x && u.insertBefore(t, v.elm, g.elm), v = e[--m], _ = r[++h]) : (n(c) && (c = ur(e, p, m)), a = o(_.key) ? c[_.key] : C(_, e, p, m), n(a) ? d(_, s, t, g.elm, !1, r, h) : (l = e[a], lr(l, _) ? (k(l, _, s, r, h), e[a] = void 0, x && u.insertBefore(t, l.elm, g.elm)) : d(_, s, t, g.elm, !1, r, h)), _ = r[++h]);\n p > m ? (f = n(r[y + 1]) ? null : r[y + 1].elm, $(t, f, r, h, y, s)) : h > y && w(e, p, m);\n }(f, m, g, s, l) : o(g) ? (o(t.text) && u.setTextContent(f, \"\"), $(f, null, g, 0, g.length - 1, s)) : o(m) ? w(m, 0, m.length - 1) : o(t.text) && u.setTextContent(f, \"\") : t.text !== e.text && u.setTextContent(f, e.text), o(h) && o(p = h.hook) && o(p = p.postpatch) && p(t, e);\n }\n function S(t, e, n) {\n if (r(n) && o(t.parent)) t.parent.data.pendingInsert = e;else for (let t = 0; t < e.length; ++t) e[t].data.hook.insert(e[t]);\n }\n const O = m(\"attrs,class,staticClass,staticStyle,key\");\n function T(t, e, n, s) {\n let i;\n const {\n tag: c,\n data: a,\n children: l\n } = e;\n if (s = s || a && a.pre, e.elm = t, r(e.isComment) && o(e.asyncFactory)) return e.isAsyncPlaceholder = !0, !0;\n if (o(a) && (o(i = a.hook) && o(i = i.init) && i(e, !0), o(i = e.componentInstance))) return p(e, n), !0;\n if (o(c)) {\n if (o(l)) if (t.hasChildNodes()) {\n if (o(i = a) && o(i = i.domProps) && o(i = i.innerHTML)) {\n if (i !== t.innerHTML) return !1;\n } else {\n let e = !0,\n o = t.firstChild;\n for (let t = 0; t < l.length; t++) {\n if (!o || !T(o, l[t], n, s)) {\n e = !1;\n break;\n }\n o = o.nextSibling;\n }\n if (!e || o) return !1;\n }\n } else g(e, l, n);\n if (o(a)) {\n let t = !1;\n for (const o in a) if (!O(o)) {\n t = !0, y(e, n);\n break;\n }\n !t && a.class && Un(a.class);\n }\n } else t.data !== e.text && (t.data = e.text);\n return !0;\n }\n return function (t, e, s, i) {\n if (n(e)) return void (o(t) && b(t));\n let c = !1;\n const l = [];\n if (n(t)) c = !0, d(e, l);else {\n const n = o(t.nodeType);\n if (!n && lr(t, e)) k(t, e, l, null, null, i);else {\n if (n) {\n if (1 === t.nodeType && t.hasAttribute(R) && (t.removeAttribute(R), s = !0), r(s) && T(t, e, l)) return S(e, l, !0), t;\n f = t, t = new ut(u.tagName(f).toLowerCase(), {}, [], void 0, f);\n }\n const i = t.elm,\n c = u.parentNode(i);\n if (d(e, l, i._leaveCb ? null : c, u.nextSibling(i)), o(e.parent)) {\n let t = e.parent;\n const n = v(e);\n for (; t;) {\n for (let e = 0; e < a.destroy.length; ++e) a.destroy[e](t);\n if (t.elm = e.elm, n) {\n for (let e = 0; e < a.create.length; ++e) a.create[e](cr, t);\n const e = t.data.hook.insert;\n if (e.merged) {\n const t = e.fns.slice(1);\n for (let e = 0; e < t.length; e++) t[e]();\n }\n } else sr(t);\n t = t.parent;\n }\n }\n o(c) ? w([t], 0, 0) : o(t.tag) && b(t);\n }\n }\n var f;\n return S(e, l, c), e.elm;\n };\n}({\n nodeOps: or,\n modules: [br, xr, is, us, bs, q ? {\n create: qs,\n activate: qs,\n remove(t, e) {\n !0 !== t.data.show ? Vs(t, e) : e();\n }\n } : {}].concat(vr)\n});\nG && document.addEventListener(\"selectionchange\", () => {\n const t = document.activeElement;\n t && t.vmodel && ni(t, \"input\");\n});\nconst Zs = {\n inserted(t, e, n, o) {\n \"select\" === n.tag ? (o.elm && !o.elm._vOptions ? Yt(n, \"postpatch\", () => {\n Zs.componentUpdated(t, e, n);\n }) : Gs(t, e, n.context), t._vOptions = [].map.call(t.options, Qs)) : (\"textarea\" === n.tag || er(t.type)) && (t._vModifiers = e.modifiers, e.modifiers.lazy || (t.addEventListener(\"compositionstart\", ti), t.addEventListener(\"compositionend\", ei), t.addEventListener(\"change\", ei), G && (t.vmodel = !0)));\n },\n componentUpdated(t, e, n) {\n if (\"select\" === n.tag) {\n Gs(t, e, n.context);\n const o = t._vOptions,\n r = t._vOptions = [].map.call(t.options, Qs);\n if (r.some((t, e) => !D(t, o[e]))) {\n (t.multiple ? e.value.some(t => Ys(t, r)) : e.value !== e.oldValue && Ys(e.value, r)) && ni(t, \"change\");\n }\n }\n }\n};\nfunction Gs(t, e, n) {\n Xs(t, e), (Z || X) && setTimeout(() => {\n Xs(t, e);\n }, 0);\n}\nfunction Xs(t, e, n) {\n const o = e.value,\n r = t.multiple;\n if (r && !Array.isArray(o)) return;\n let s, i;\n for (let e = 0, n = t.options.length; e < n; e++) if (i = t.options[e], r) s = M(o, Qs(i)) > -1, i.selected !== s && (i.selected = s);else if (D(Qs(i), o)) return void (t.selectedIndex !== e && (t.selectedIndex = e));\n r || (t.selectedIndex = -1);\n}\nfunction Ys(t, e) {\n return e.every(e => !D(e, t));\n}\nfunction Qs(t) {\n return \"_value\" in t ? t._value : t.value;\n}\nfunction ti(t) {\n t.target.composing = !0;\n}\nfunction ei(t) {\n t.target.composing && (t.target.composing = !1, ni(t.target, \"input\"));\n}\nfunction ni(t, e) {\n const n = document.createEvent(\"HTMLEvents\");\n n.initEvent(e, !0, !0), t.dispatchEvent(n);\n}\nfunction oi(t) {\n return !t.componentInstance || t.data && t.data.transition ? t : oi(t.componentInstance._vnode);\n}\nvar ri = {\n bind(t, _ref2, n) {\n let {\n value: e\n } = _ref2;\n const o = (n = oi(n)).data && n.data.transition,\n r = t.__vOriginalDisplay = \"none\" === t.style.display ? \"\" : t.style.display;\n e && o ? (n.data.show = !0, zs(n, () => {\n t.style.display = r;\n })) : t.style.display = e ? r : \"none\";\n },\n update(t, _ref3, o) {\n let {\n value: e,\n oldValue: n\n } = _ref3;\n if (!e == !n) return;\n (o = oi(o)).data && o.data.transition ? (o.data.show = !0, e ? zs(o, () => {\n t.style.display = t.__vOriginalDisplay;\n }) : Vs(o, () => {\n t.style.display = \"none\";\n })) : t.style.display = e ? t.__vOriginalDisplay : \"none\";\n },\n unbind(t, e, n, o, r) {\n r || (t.style.display = t.__vOriginalDisplay);\n }\n },\n si = {\n model: Zs,\n show: ri\n };\nconst ii = {\n name: String,\n appear: Boolean,\n css: Boolean,\n mode: String,\n type: String,\n enterClass: String,\n leaveClass: String,\n enterToClass: String,\n leaveToClass: String,\n enterActiveClass: String,\n leaveActiveClass: String,\n appearClass: String,\n appearActiveClass: String,\n appearToClass: String,\n duration: [Number, String, Object]\n};\nfunction ci(t) {\n const e = t && t.componentOptions;\n return e && e.Ctor.options.abstract ? ci(Le(e.children)) : t;\n}\nfunction ai(t) {\n const e = {},\n n = t.$options;\n for (const o in n.propsData) e[o] = t[o];\n const o = n._parentListeners;\n for (const t in o) e[x(t)] = o[t];\n return e;\n}\nfunction li(t, e) {\n if (/\\d-keep-alive$/.test(e.tag)) return t(\"keep-alive\", {\n props: e.componentOptions.propsData\n });\n}\nconst ui = t => t.tag || Ce(t),\n fi = t => \"show\" === t.name;\nvar di = {\n name: \"transition\",\n props: ii,\n abstract: !0,\n render(t) {\n let e = this.$slots.default;\n if (!e) return;\n if (e = e.filter(ui), !e.length) return;\n const n = this.mode,\n o = e[0];\n if (function (t) {\n for (; t = t.parent;) if (t.data.transition) return !0;\n }(this.$vnode)) return o;\n const r = ci(o);\n if (!r) return o;\n if (this._leaving) return li(t, o);\n const i = `__transition-${this._uid}-`;\n r.key = null == r.key ? r.isComment ? i + \"comment\" : i + r.tag : s(r.key) ? 0 === String(r.key).indexOf(i) ? r.key : i + r.key : r.key;\n const c = (r.data || (r.data = {})).transition = ai(this),\n a = this._vnode,\n l = ci(a);\n if (r.data.directives && r.data.directives.some(fi) && (r.data.show = !0), l && l.data && !function (t, e) {\n return e.key === t.key && e.tag === t.tag;\n }(r, l) && !Ce(l) && (!l.componentInstance || !l.componentInstance._vnode.isComment)) {\n const e = l.data.transition = A({}, c);\n if (\"out-in\" === n) return this._leaving = !0, Yt(e, \"afterLeave\", () => {\n this._leaving = !1, this.$forceUpdate();\n }), li(t, o);\n if (\"in-out\" === n) {\n if (Ce(r)) return a;\n let t;\n const n = () => {\n t();\n };\n Yt(c, \"afterEnter\", n), Yt(c, \"enterCancelled\", n), Yt(e, \"delayLeave\", e => {\n t = e;\n });\n }\n }\n return o;\n }\n};\nconst pi = A({\n tag: String,\n moveClass: String\n}, ii);\ndelete pi.mode;\nvar hi = {\n props: pi,\n beforeMount() {\n const t = this._update;\n this._update = (e, n) => {\n const o = Ke(this);\n this.__patch__(this._vnode, this.kept, !1, !0), this._vnode = this.kept, o(), t.call(this, e, n);\n };\n },\n render(t) {\n const e = this.tag || this.$vnode.data.tag || \"span\",\n n = Object.create(null),\n o = this.prevChildren = this.children,\n r = this.$slots.default || [],\n s = this.children = [],\n i = ai(this);\n for (let t = 0; t < r.length; t++) {\n const e = r[t];\n e.tag && null != e.key && 0 !== String(e.key).indexOf(\"__vlist\") && (s.push(e), n[e.key] = e, (e.data || (e.data = {})).transition = i);\n }\n if (o) {\n const r = [],\n s = [];\n for (let t = 0; t < o.length; t++) {\n const e = o[t];\n e.data.transition = i, e.data.pos = e.elm.getBoundingClientRect(), n[e.key] ? r.push(e) : s.push(e);\n }\n this.kept = t(e, null, r), this.removed = s;\n }\n return t(e, null, s);\n },\n updated() {\n const t = this.prevChildren,\n e = this.moveClass || (this.name || \"v\") + \"-move\";\n t.length && this.hasMove(t[0].elm, e) && (t.forEach(mi), t.forEach(gi), t.forEach(vi), this._reflow = document.body.offsetHeight, t.forEach(t => {\n if (t.data.moved) {\n const n = t.elm,\n o = n.style;\n Is(n, e), o.transform = o.WebkitTransform = o.transitionDuration = \"\", n.addEventListener(Es, n._moveCb = function t(o) {\n o && o.target !== n || o && !/transform$/.test(o.propertyName) || (n.removeEventListener(Es, t), n._moveCb = null, Ls(n, e));\n });\n }\n }));\n },\n methods: {\n hasMove(t, e) {\n if (!Os) return !1;\n if (this._hasMove) return this._hasMove;\n const n = t.cloneNode();\n t._transitionClasses && t._transitionClasses.forEach(t => {\n Cs(n, t);\n }), xs(n, e), n.style.display = \"none\", this.$el.appendChild(n);\n const o = Hs(n);\n return this.$el.removeChild(n), this._hasMove = o.hasTransform;\n }\n }\n};\nfunction mi(t) {\n t.elm._moveCb && t.elm._moveCb(), t.elm._enterCb && t.elm._enterCb();\n}\nfunction gi(t) {\n t.data.newPos = t.elm.getBoundingClientRect();\n}\nfunction vi(t) {\n const e = t.data.pos,\n n = t.data.newPos,\n o = e.left - n.left,\n r = e.top - n.top;\n if (o || r) {\n t.data.moved = !0;\n const e = t.elm.style;\n e.transform = e.WebkitTransform = `translate(${o}px,${r}px)`, e.transitionDuration = \"0s\";\n }\n}\nvar yi = {\n Transition: di,\n TransitionGroup: hi\n};\nSo.config.mustUseProp = Io, So.config.isReservedTag = Yo, So.config.isReservedAttr = Do, So.config.getTagNamespace = Qo, So.config.isUnknownElement = function (t) {\n if (!q) return !0;\n if (Yo(t)) return !1;\n if (t = t.toLowerCase(), null != tr[t]) return tr[t];\n const e = document.createElement(t);\n return t.indexOf(\"-\") > -1 ? tr[t] = e.constructor === window.HTMLUnknownElement || e.constructor === window.HTMLElement : tr[t] = /HTMLUnknownElement/.test(e.toString());\n}, A(So.options.directives, si), A(So.options.components, yi), So.prototype.__patch__ = q ? Ws : E, So.prototype.$mount = function (t, e) {\n return function (t, e, n) {\n let o;\n t.$el = e, t.$options.render || (t.$options.render = ft), Ze(t, \"beforeMount\"), o = () => {\n t._update(t._render(), n);\n }, new Kn(t, o, E, {\n before() {\n t._isMounted && !t._isDestroyed && Ze(t, \"beforeUpdate\");\n }\n }, !0), n = !1;\n const r = t._preWatchers;\n if (r) for (let t = 0; t < r.length; t++) r[t].run();\n return null == t.$vnode && (t._isMounted = !0, Ze(t, \"mounted\")), t;\n }(this, t = t && q ? nr(t) : void 0, e);\n}, q && setTimeout(() => {\n B.devtools && rt && rt.emit(\"init\", So);\n}, 0);\nconst _i = /\\{\\{((?:.|\\r?\\n)+?)\\}\\}/g,\n $i = /[-.*+?^${}()|[\\]\\/\\\\]/g,\n bi = b(t => {\n const e = t[0].replace($i, \"\\\\$&\"),\n n = t[1].replace($i, \"\\\\$&\");\n return new RegExp(e + \"((?:.|\\\\n)+?)\" + n, \"g\");\n });\nvar wi = {\n staticKeys: [\"staticClass\"],\n transformNode: function (t, e) {\n e.warn;\n const n = Ir(t, \"class\");\n n && (t.staticClass = JSON.stringify(n.replace(/\\s+/g, \" \").trim()));\n const o = Mr(t, \"class\", !1);\n o && (t.classBinding = o);\n },\n genData: function (t) {\n let e = \"\";\n return t.staticClass && (e += `staticClass:${t.staticClass},`), t.classBinding && (e += `class:${t.classBinding},`), e;\n }\n};\nvar xi = {\n staticKeys: [\"staticStyle\"],\n transformNode: function (t, e) {\n e.warn;\n const n = Ir(t, \"style\");\n n && (t.staticStyle = JSON.stringify(fs(n)));\n const o = Mr(t, \"style\", !1);\n o && (t.styleBinding = o);\n },\n genData: function (t) {\n let e = \"\";\n return t.staticStyle && (e += `staticStyle:${t.staticStyle},`), t.styleBinding && (e += `style:(${t.styleBinding}),`), e;\n }\n};\nlet Ci;\nvar ki = {\n decode: t => (Ci = Ci || document.createElement(\"div\"), Ci.innerHTML = t, Ci.textContent)\n};\nconst Si = m(\"area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr\"),\n Oi = m(\"colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source\"),\n Ti = m(\"address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track\"),\n Ai = /^\\s*([^\\s\"'<>\\/=]+)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/,\n ji = /^\\s*((?:v-[\\w-]+:|@|:|#)\\[[^=]+?\\][^\\s\"'<>\\/=]*)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/,\n Ei = `[a-zA-Z_][\\\\-\\\\.0-9_a-zA-Z${U.source}]*`,\n Ni = `((?:${Ei}\\\\:)?${Ei})`,\n Pi = new RegExp(`^<${Ni}`),\n Di = /^\\s*(\\/?)>/,\n Mi = new RegExp(`^<\\\\/${Ni}[^>]*>`),\n Ii = /^]+>/i,\n Li = /^\",\n \""\": '\"',\n \"&\": \"&\",\n \" \": \"\\n\",\n \" \": \"\\t\",\n \"'\": \"'\"\n },\n Ui = /&(?:lt|gt|quot|amp|#39);/g,\n zi = /&(?:lt|gt|quot|amp|#39|#10|#9);/g,\n Vi = m(\"pre,textarea\", !0),\n Ki = (t, e) => t && Vi(t) && \"\\n\" === e[0];\nfunction Ji(t, e) {\n const n = e ? zi : Ui;\n return t.replace(n, t => Bi[t]);\n}\nconst qi = /^@|^v-on:/,\n Wi = /^v-|^@|^:|^#/,\n Zi = /([\\s\\S]*?)\\s+(?:in|of)\\s+([\\s\\S]*)/,\n Gi = /,([^,\\}\\]]*)(?:,([^,\\}\\]]*))?$/,\n Xi = /^\\(|\\)$/g,\n Yi = /^\\[.*\\]$/,\n Qi = /:(.*)$/,\n tc = /^:|^\\.|^v-bind:/,\n ec = /\\.[^.\\]]+(?=[^\\]]*$)/g,\n nc = /^v-slot(:|$)|^#/,\n oc = /[\\r\\n]/,\n rc = /[ \\f\\t\\r\\n]+/g,\n sc = b(ki.decode),\n ic = \"_empty_\";\nlet cc, ac, lc, uc, fc, dc, pc, hc;\nfunction mc(t, e, n) {\n return {\n type: 1,\n tag: t,\n attrsList: e,\n attrsMap: wc(e),\n rawAttrsMap: {},\n parent: n,\n children: []\n };\n}\nfunction gc(t, e) {\n cc = e.warn || Or, dc = e.isPreTag || N, pc = e.mustUseProp || N, hc = e.getTagNamespace || N, e.isReservedTag, lc = Tr(e.modules, \"transformNode\"), uc = Tr(e.modules, \"preTransformNode\"), fc = Tr(e.modules, \"postTransformNode\"), ac = e.delimiters;\n const n = [],\n o = !1 !== e.preserveWhitespace,\n r = e.whitespace;\n let s,\n i,\n c = !1,\n a = !1;\n function l(t) {\n if (u(t), c || t.processed || (t = vc(t, e)), n.length || t === s || s.if && (t.elseif || t.else) && _c(s, {\n exp: t.elseif,\n block: t\n }), i && !t.forbidden) if (t.elseif || t.else) !function (t, e) {\n const n = function (t) {\n let e = t.length;\n for (; e--;) {\n if (1 === t[e].type) return t[e];\n t.pop();\n }\n }(e.children);\n n && n.if && _c(n, {\n exp: t.elseif,\n block: t\n });\n }(t, i);else {\n if (t.slotScope) {\n const e = t.slotTarget || '\"default\"';\n (i.scopedSlots || (i.scopedSlots = {}))[e] = t;\n }\n i.children.push(t), t.parent = i;\n }\n t.children = t.children.filter(t => !t.slotScope), u(t), t.pre && (c = !1), dc(t.tag) && (a = !1);\n for (let n = 0; n < fc.length; n++) fc[n](t, e);\n }\n function u(t) {\n if (!a) {\n let e;\n for (; (e = t.children[t.children.length - 1]) && 3 === e.type && \" \" === e.text;) t.children.pop();\n }\n }\n return function (t, e) {\n const n = [],\n o = e.expectHTML,\n r = e.isUnaryTag || N,\n s = e.canBeLeftOpenTag || N;\n let i,\n c,\n a = 0;\n for (; t;) {\n if (i = t, c && Fi(c)) {\n let n = 0;\n const o = c.toLowerCase(),\n r = Hi[o] || (Hi[o] = new RegExp(\"([\\\\s\\\\S]*?)(]*>)\", \"i\")),\n s = t.replace(r, function (t, r, s) {\n return n = s.length, Fi(o) || \"noscript\" === o || (r = r.replace(//g, \"$1\").replace(//g, \"$1\")), Ki(o, r) && (r = r.slice(1)), e.chars && e.chars(r), \"\";\n });\n a += t.length - s.length, t = s, d(o, a - n, a);\n } else {\n let n,\n o,\n r,\n s = t.indexOf(\"<\");\n if (0 === s) {\n if (Li.test(t)) {\n const n = t.indexOf(\"--\\x3e\");\n if (n >= 0) {\n e.shouldKeepComment && e.comment && e.comment(t.substring(4, n), a, a + n + 3), l(n + 3);\n continue;\n }\n }\n if (Ri.test(t)) {\n const e = t.indexOf(\"]>\");\n if (e >= 0) {\n l(e + 2);\n continue;\n }\n }\n const n = t.match(Ii);\n if (n) {\n l(n[0].length);\n continue;\n }\n const o = t.match(Mi);\n if (o) {\n const t = a;\n l(o[0].length), d(o[1], t, a);\n continue;\n }\n const r = u();\n if (r) {\n f(r), Ki(r.tagName, t) && l(1);\n continue;\n }\n }\n if (s >= 0) {\n for (o = t.slice(s); !(Mi.test(o) || Pi.test(o) || Li.test(o) || Ri.test(o) || (r = o.indexOf(\"<\", 1), r < 0));) s += r, o = t.slice(s);\n n = t.substring(0, s);\n }\n s < 0 && (n = t), n && l(n.length), e.chars && n && e.chars(n, a - n.length, a);\n }\n if (t === i) {\n e.chars && e.chars(t);\n break;\n }\n }\n function l(e) {\n a += e, t = t.substring(e);\n }\n function u() {\n const e = t.match(Pi);\n if (e) {\n const n = {\n tagName: e[1],\n attrs: [],\n start: a\n };\n let o, r;\n for (l(e[0].length); !(o = t.match(Di)) && (r = t.match(ji) || t.match(Ai));) r.start = a, l(r[0].length), r.end = a, n.attrs.push(r);\n if (o) return n.unarySlash = o[1], l(o[0].length), n.end = a, n;\n }\n }\n function f(t) {\n const i = t.tagName,\n a = t.unarySlash;\n o && (\"p\" === c && Ti(i) && d(c), s(i) && c === i && d(i));\n const l = r(i) || !!a,\n u = t.attrs.length,\n f = new Array(u);\n for (let n = 0; n < u; n++) {\n const o = t.attrs[n],\n r = o[3] || o[4] || o[5] || \"\",\n s = \"a\" === i && \"href\" === o[1] ? e.shouldDecodeNewlinesForHref : e.shouldDecodeNewlines;\n f[n] = {\n name: o[1],\n value: Ji(r, s)\n };\n }\n l || (n.push({\n tag: i,\n lowerCasedTag: i.toLowerCase(),\n attrs: f,\n start: t.start,\n end: t.end\n }), c = i), e.start && e.start(i, f, l, t.start, t.end);\n }\n function d(t, o, r) {\n let s, i;\n if (null == o && (o = a), null == r && (r = a), t) for (i = t.toLowerCase(), s = n.length - 1; s >= 0 && n[s].lowerCasedTag !== i; s--);else s = 0;\n if (s >= 0) {\n for (let t = n.length - 1; t >= s; t--) e.end && e.end(n[t].tag, o, r);\n n.length = s, c = s && n[s - 1].tag;\n } else \"br\" === i ? e.start && e.start(t, [], !0, o, r) : \"p\" === i && (e.start && e.start(t, [], !1, o, r), e.end && e.end(t, o, r));\n }\n d();\n }(t, {\n warn: cc,\n expectHTML: e.expectHTML,\n isUnaryTag: e.isUnaryTag,\n canBeLeftOpenTag: e.canBeLeftOpenTag,\n shouldDecodeNewlines: e.shouldDecodeNewlines,\n shouldDecodeNewlinesForHref: e.shouldDecodeNewlinesForHref,\n shouldKeepComment: e.comments,\n outputSourceRange: e.outputSourceRange,\n start(t, o, r, u, f) {\n const d = i && i.ns || hc(t);\n Z && \"svg\" === d && (o = function (t) {\n const e = [];\n for (let n = 0; n < t.length; n++) {\n const o = t[n];\n xc.test(o.name) || (o.name = o.name.replace(Cc, \"\"), e.push(o));\n }\n return e;\n }(o));\n let p = mc(t, o, i);\n var h;\n d && (p.ns = d), \"style\" !== (h = p).tag && (\"script\" !== h.tag || h.attrsMap.type && \"text/javascript\" !== h.attrsMap.type) || ot() || (p.forbidden = !0);\n for (let t = 0; t < uc.length; t++) p = uc[t](p, e) || p;\n c || (!function (t) {\n null != Ir(t, \"v-pre\") && (t.pre = !0);\n }(p), p.pre && (c = !0)), dc(p.tag) && (a = !0), c ? function (t) {\n const e = t.attrsList,\n n = e.length;\n if (n) {\n const o = t.attrs = new Array(n);\n for (let t = 0; t < n; t++) o[t] = {\n name: e[t].name,\n value: JSON.stringify(e[t].value)\n }, null != e[t].start && (o[t].start = e[t].start, o[t].end = e[t].end);\n } else t.pre || (t.plain = !0);\n }(p) : p.processed || (yc(p), function (t) {\n const e = Ir(t, \"v-if\");\n if (e) t.if = e, _c(t, {\n exp: e,\n block: t\n });else {\n null != Ir(t, \"v-else\") && (t.else = !0);\n const e = Ir(t, \"v-else-if\");\n e && (t.elseif = e);\n }\n }(p), function (t) {\n const e = Ir(t, \"v-once\");\n null != e && (t.once = !0);\n }(p)), s || (s = p), r ? l(p) : (i = p, n.push(p));\n },\n end(t, e, o) {\n const r = n[n.length - 1];\n n.length -= 1, i = n[n.length - 1], l(r);\n },\n chars(t, e, n) {\n if (!i) return;\n if (Z && \"textarea\" === i.tag && i.attrsMap.placeholder === t) return;\n const s = i.children;\n var l;\n if (t = a || t.trim() ? \"script\" === (l = i).tag || \"style\" === l.tag ? t : sc(t) : s.length ? r ? \"condense\" === r && oc.test(t) ? \"\" : \" \" : o ? \" \" : \"\" : \"\") {\n let e, n;\n a || \"condense\" !== r || (t = t.replace(rc, \" \")), !c && \" \" !== t && (e = function (t, e) {\n const n = e ? bi(e) : _i;\n if (!n.test(t)) return;\n const o = [],\n r = [];\n let s,\n i,\n c,\n a = n.lastIndex = 0;\n for (; s = n.exec(t);) {\n i = s.index, i > a && (r.push(c = t.slice(a, i)), o.push(JSON.stringify(c)));\n const e = kr(s[1].trim());\n o.push(`_s(${e})`), r.push({\n \"@binding\": e\n }), a = i + s[0].length;\n }\n return a < t.length && (r.push(c = t.slice(a)), o.push(JSON.stringify(c))), {\n expression: o.join(\"+\"),\n tokens: r\n };\n }(t, ac)) ? n = {\n type: 2,\n expression: e.expression,\n tokens: e.tokens,\n text: t\n } : \" \" === t && s.length && \" \" === s[s.length - 1].text || (n = {\n type: 3,\n text: t\n }), n && s.push(n);\n }\n },\n comment(t, e, n) {\n if (i) {\n const e = {\n type: 3,\n text: t,\n isComment: !0\n };\n i.children.push(e);\n }\n }\n }), s;\n}\nfunction vc(t, e) {\n var n;\n !function (t) {\n const e = Mr(t, \"key\");\n e && (t.key = e);\n }(t), t.plain = !t.key && !t.scopedSlots && !t.attrsList.length, function (t) {\n const e = Mr(t, \"ref\");\n e && (t.ref = e, t.refInFor = function (t) {\n let e = t;\n for (; e;) {\n if (void 0 !== e.for) return !0;\n e = e.parent;\n }\n return !1;\n }(t));\n }(t), function (t) {\n let e;\n \"template\" === t.tag ? (e = Ir(t, \"scope\"), t.slotScope = e || Ir(t, \"slot-scope\")) : (e = Ir(t, \"slot-scope\")) && (t.slotScope = e);\n const n = Mr(t, \"slot\");\n n && (t.slotTarget = '\"\"' === n ? '\"default\"' : n, t.slotTargetDynamic = !(!t.attrsMap[\":slot\"] && !t.attrsMap[\"v-bind:slot\"]), \"template\" === t.tag || t.slotScope || jr(t, \"slot\", n, function (t, e) {\n return t.rawAttrsMap[\":\" + e] || t.rawAttrsMap[\"v-bind:\" + e] || t.rawAttrsMap[e];\n }(t, \"slot\")));\n if (\"template\" === t.tag) {\n const e = Lr(t, nc);\n if (e) {\n const {\n name: n,\n dynamic: o\n } = $c(e);\n t.slotTarget = n, t.slotTargetDynamic = o, t.slotScope = e.value || ic;\n }\n } else {\n const e = Lr(t, nc);\n if (e) {\n const n = t.scopedSlots || (t.scopedSlots = {}),\n {\n name: o,\n dynamic: r\n } = $c(e),\n s = n[o] = mc(\"template\", [], t);\n s.slotTarget = o, s.slotTargetDynamic = r, s.children = t.children.filter(t => {\n if (!t.slotScope) return t.parent = s, !0;\n }), s.slotScope = e.value || ic, t.children = [], t.plain = !1;\n }\n }\n }(t), \"slot\" === (n = t).tag && (n.slotName = Mr(n, \"name\")), function (t) {\n let e;\n (e = Mr(t, \"is\")) && (t.component = e);\n null != Ir(t, \"inline-template\") && (t.inlineTemplate = !0);\n }(t);\n for (let n = 0; n < lc.length; n++) t = lc[n](t, e) || t;\n return function (t) {\n const e = t.attrsList;\n let n, o, r, s, i, c, a, l;\n for (n = 0, o = e.length; n < o; n++) if (r = s = e[n].name, i = e[n].value, Wi.test(r)) {\n if (t.hasBindings = !0, c = bc(r.replace(Wi, \"\")), c && (r = r.replace(ec, \"\")), tc.test(r)) r = r.replace(tc, \"\"), i = kr(i), l = Yi.test(r), l && (r = r.slice(1, -1)), c && (c.prop && !l && (r = x(r), \"innerHtml\" === r && (r = \"innerHTML\")), c.camel && !l && (r = x(r)), c.sync && (a = Hr(i, \"$event\"), l ? Dr(t, `\"update:\"+(${r})`, a, null, !1, 0, e[n], !0) : (Dr(t, `update:${x(r)}`, a, null, !1, 0, e[n]), S(r) !== x(r) && Dr(t, `update:${S(r)}`, a, null, !1, 0, e[n])))), c && c.prop || !t.component && pc(t.tag, t.attrsMap.type, r) ? Ar(t, r, i, e[n], l) : jr(t, r, i, e[n], l);else if (qi.test(r)) r = r.replace(qi, \"\"), l = Yi.test(r), l && (r = r.slice(1, -1)), Dr(t, r, i, c, !1, 0, e[n], l);else {\n r = r.replace(Wi, \"\");\n const o = r.match(Qi);\n let a = o && o[1];\n l = !1, a && (r = r.slice(0, -(a.length + 1)), Yi.test(a) && (a = a.slice(1, -1), l = !0)), Nr(t, r, s, i, a, l, c, e[n]);\n }\n } else jr(t, r, JSON.stringify(i), e[n]), !t.component && \"muted\" === r && pc(t.tag, t.attrsMap.type, r) && Ar(t, r, \"true\", e[n]);\n }(t), t;\n}\nfunction yc(t) {\n let e;\n if (e = Ir(t, \"v-for\")) {\n const n = function (t) {\n const e = t.match(Zi);\n if (!e) return;\n const n = {};\n n.for = e[2].trim();\n const o = e[1].trim().replace(Xi, \"\"),\n r = o.match(Gi);\n r ? (n.alias = o.replace(Gi, \"\").trim(), n.iterator1 = r[1].trim(), r[2] && (n.iterator2 = r[2].trim())) : n.alias = o;\n return n;\n }(e);\n n && A(t, n);\n }\n}\nfunction _c(t, e) {\n t.ifConditions || (t.ifConditions = []), t.ifConditions.push(e);\n}\nfunction $c(t) {\n let e = t.name.replace(nc, \"\");\n return e || \"#\" !== t.name[0] && (e = \"default\"), Yi.test(e) ? {\n name: e.slice(1, -1),\n dynamic: !0\n } : {\n name: `\"${e}\"`,\n dynamic: !1\n };\n}\nfunction bc(t) {\n const e = t.match(ec);\n if (e) {\n const t = {};\n return e.forEach(e => {\n t[e.slice(1)] = !0;\n }), t;\n }\n}\nfunction wc(t) {\n const e = {};\n for (let n = 0, o = t.length; n < o; n++) e[t[n].name] = t[n].value;\n return e;\n}\nconst xc = /^xmlns:NS\\d+/,\n Cc = /^NS\\d+:/;\nfunction kc(t) {\n return mc(t.tag, t.attrsList.slice(), t.parent);\n}\nvar Sc = [wi, xi, {\n preTransformNode: function (t, e) {\n if (\"input\" === t.tag) {\n const n = t.attrsMap;\n if (!n[\"v-model\"]) return;\n let o;\n if ((n[\":type\"] || n[\"v-bind:type\"]) && (o = Mr(t, \"type\")), n.type || o || !n[\"v-bind\"] || (o = `(${n[\"v-bind\"]}).type`), o) {\n const n = Ir(t, \"v-if\", !0),\n r = n ? `&&(${n})` : \"\",\n s = null != Ir(t, \"v-else\", !0),\n i = Ir(t, \"v-else-if\", !0),\n c = kc(t);\n yc(c), Er(c, \"type\", \"checkbox\"), vc(c, e), c.processed = !0, c.if = `(${o})==='checkbox'` + r, _c(c, {\n exp: c.if,\n block: c\n });\n const a = kc(t);\n Ir(a, \"v-for\", !0), Er(a, \"type\", \"radio\"), vc(a, e), _c(c, {\n exp: `(${o})==='radio'` + r,\n block: a\n });\n const l = kc(t);\n return Ir(l, \"v-for\", !0), Er(l, \":type\", o), vc(l, e), _c(c, {\n exp: n,\n block: l\n }), s ? c.else = !0 : i && (c.elseif = i), c;\n }\n }\n }\n}];\nconst Oc = {\n expectHTML: !0,\n modules: Sc,\n directives: {\n model: function (t, e, n) {\n const o = e.value,\n r = e.modifiers,\n s = t.tag,\n i = t.attrsMap.type;\n if (t.component) return Fr(t, o, r), !1;\n if (\"select\" === s) !function (t, e, n) {\n const o = n && n.number;\n let r = `var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return ${o ? \"_n(val)\" : \"val\"}});`;\n r = `${r} ${Hr(e, \"$event.target.multiple ? $$selectedVal : $$selectedVal[0]\")}`, Dr(t, \"change\", r, null, !0);\n }(t, o, r);else if (\"input\" === s && \"checkbox\" === i) !function (t, e, n) {\n const o = n && n.number,\n r = Mr(t, \"value\") || \"null\",\n s = Mr(t, \"true-value\") || \"true\",\n i = Mr(t, \"false-value\") || \"false\";\n Ar(t, \"checked\", `Array.isArray(${e})?_i(${e},${r})>-1` + (\"true\" === s ? `:(${e})` : `:_q(${e},${s})`)), Dr(t, \"change\", `var $$a=${e},$$el=$event.target,$$c=$$el.checked?(${s}):(${i});if(Array.isArray($$a)){var $$v=${o ? \"_n(\" + r + \")\" : r},$$i=_i($$a,$$v);if($$el.checked){$$i<0&&(${Hr(e, \"$$a.concat([$$v])\")})}else{$$i>-1&&(${Hr(e, \"$$a.slice(0,$$i).concat($$a.slice($$i+1))\")})}}else{${Hr(e, \"$$c\")}}`, null, !0);\n }(t, o, r);else if (\"input\" === s && \"radio\" === i) !function (t, e, n) {\n const o = n && n.number;\n let r = Mr(t, \"value\") || \"null\";\n r = o ? `_n(${r})` : r, Ar(t, \"checked\", `_q(${e},${r})`), Dr(t, \"change\", Hr(e, r), null, !0);\n }(t, o, r);else if (\"input\" === s || \"textarea\" === s) !function (t, e, n) {\n const o = t.attrsMap.type,\n {\n lazy: r,\n number: s,\n trim: i\n } = n || {},\n c = !r && \"range\" !== o,\n a = r ? \"change\" : \"range\" === o ? Yr : \"input\";\n let l = \"$event.target.value\";\n i && (l = \"$event.target.value.trim()\");\n s && (l = `_n(${l})`);\n let u = Hr(e, l);\n c && (u = `if($event.target.composing)return;${u}`);\n Ar(t, \"value\", `(${e})`), Dr(t, a, u, null, !0), (i || s) && Dr(t, \"blur\", \"$forceUpdate()\");\n }(t, o, r);else if (!B.isReservedTag(s)) return Fr(t, o, r), !1;\n return !0;\n },\n text: function (t, e) {\n e.value && Ar(t, \"textContent\", `_s(${e.value})`, e);\n },\n html: function (t, e) {\n e.value && Ar(t, \"innerHTML\", `_s(${e.value})`, e);\n }\n },\n isPreTag: t => \"pre\" === t,\n isUnaryTag: Si,\n mustUseProp: Io,\n canBeLeftOpenTag: Oi,\n isReservedTag: Yo,\n getTagNamespace: Qo,\n staticKeys: function (t) {\n return t.reduce((t, e) => t.concat(e.staticKeys || []), []).join(\",\");\n }(Sc)\n};\nlet Tc, Ac;\nconst jc = b(function (t) {\n return m(\"type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap\" + (t ? \",\" + t : \"\"));\n});\nfunction Ec(t, e) {\n t && (Tc = jc(e.staticKeys || \"\"), Ac = e.isReservedTag || N, Nc(t), Pc(t, !1));\n}\nfunction Nc(t) {\n if (t.static = function (t) {\n if (2 === t.type) return !1;\n if (3 === t.type) return !0;\n return !(!t.pre && (t.hasBindings || t.if || t.for || g(t.tag) || !Ac(t.tag) || function (t) {\n for (; t.parent;) {\n if (\"template\" !== (t = t.parent).tag) return !1;\n if (t.for) return !0;\n }\n return !1;\n }(t) || !Object.keys(t).every(Tc)));\n }(t), 1 === t.type) {\n if (!Ac(t.tag) && \"slot\" !== t.tag && null == t.attrsMap[\"inline-template\"]) return;\n for (let e = 0, n = t.children.length; e < n; e++) {\n const n = t.children[e];\n Nc(n), n.static || (t.static = !1);\n }\n if (t.ifConditions) for (let e = 1, n = t.ifConditions.length; e < n; e++) {\n const n = t.ifConditions[e].block;\n Nc(n), n.static || (t.static = !1);\n }\n }\n}\nfunction Pc(t, e) {\n if (1 === t.type) {\n if ((t.static || t.once) && (t.staticInFor = e), t.static && t.children.length && (1 !== t.children.length || 3 !== t.children[0].type)) return void (t.staticRoot = !0);\n if (t.staticRoot = !1, t.children) for (let n = 0, o = t.children.length; n < o; n++) Pc(t.children[n], e || !!t.for);\n if (t.ifConditions) for (let n = 1, o = t.ifConditions.length; n < o; n++) Pc(t.ifConditions[n].block, e);\n }\n}\nconst Dc = /^([\\w$_]+|\\([^)]*?\\))\\s*=>|^function(?:\\s+[\\w$]+)?\\s*\\(/,\n Mc = /\\([^)]*?\\);*$/,\n Ic = /^[A-Za-z_$][\\w$]*(?:\\.[A-Za-z_$][\\w$]*|\\['[^']*?']|\\[\"[^\"]*?\"]|\\[\\d+]|\\[[A-Za-z_$][\\w$]*])*$/,\n Lc = {\n esc: 27,\n tab: 9,\n enter: 13,\n space: 32,\n up: 38,\n left: 37,\n right: 39,\n down: 40,\n delete: [8, 46]\n },\n Rc = {\n esc: [\"Esc\", \"Escape\"],\n tab: \"Tab\",\n enter: \"Enter\",\n space: [\" \", \"Spacebar\"],\n up: [\"Up\", \"ArrowUp\"],\n left: [\"Left\", \"ArrowLeft\"],\n right: [\"Right\", \"ArrowRight\"],\n down: [\"Down\", \"ArrowDown\"],\n delete: [\"Backspace\", \"Delete\", \"Del\"]\n },\n Fc = t => `if(${t})return null;`,\n Hc = {\n stop: \"$event.stopPropagation();\",\n prevent: \"$event.preventDefault();\",\n self: Fc(\"$event.target !== $event.currentTarget\"),\n ctrl: Fc(\"!$event.ctrlKey\"),\n shift: Fc(\"!$event.shiftKey\"),\n alt: Fc(\"!$event.altKey\"),\n meta: Fc(\"!$event.metaKey\"),\n left: Fc(\"'button' in $event && $event.button !== 0\"),\n middle: Fc(\"'button' in $event && $event.button !== 1\"),\n right: Fc(\"'button' in $event && $event.button !== 2\")\n };\nfunction Bc(t, e) {\n const n = e ? \"nativeOn:\" : \"on:\";\n let o = \"\",\n r = \"\";\n for (const e in t) {\n const n = Uc(t[e]);\n t[e] && t[e].dynamic ? r += `${e},${n},` : o += `\"${e}\":${n},`;\n }\n return o = `{${o.slice(0, -1)}}`, r ? n + `_d(${o},[${r.slice(0, -1)}])` : n + o;\n}\nfunction Uc(t) {\n if (!t) return \"function(){}\";\n if (Array.isArray(t)) return `[${t.map(t => Uc(t)).join(\",\")}]`;\n const e = Ic.test(t.value),\n n = Dc.test(t.value),\n o = Ic.test(t.value.replace(Mc, \"\"));\n if (t.modifiers) {\n let r = \"\",\n s = \"\";\n const i = [];\n for (const e in t.modifiers) if (Hc[e]) s += Hc[e], Lc[e] && i.push(e);else if (\"exact\" === e) {\n const e = t.modifiers;\n s += Fc([\"ctrl\", \"shift\", \"alt\", \"meta\"].filter(t => !e[t]).map(t => `$event.${t}Key`).join(\"||\"));\n } else i.push(e);\n i.length && (r += function (t) {\n return `if(!$event.type.indexOf('key')&&${t.map(zc).join(\"&&\")})return null;`;\n }(i)), s && (r += s);\n return `function($event){${r}${e ? `return ${t.value}.apply(null, arguments)` : n ? `return (${t.value}).apply(null, arguments)` : o ? `return ${t.value}` : t.value}}`;\n }\n return e || n ? t.value : `function($event){${o ? `return ${t.value}` : t.value}}`;\n}\nfunction zc(t) {\n const e = parseInt(t, 10);\n if (e) return `$event.keyCode!==${e}`;\n const n = Lc[t],\n o = Rc[t];\n return `_k($event.keyCode,${JSON.stringify(t)},${JSON.stringify(n)},$event.key,${JSON.stringify(o)})`;\n}\nvar Vc = {\n on: function (t, e) {\n t.wrapListeners = t => `_g(${t},${e.value})`;\n },\n bind: function (t, e) {\n t.wrapData = n => `_b(${n},'${t.tag}',${e.value},${e.modifiers && e.modifiers.prop ? \"true\" : \"false\"}${e.modifiers && e.modifiers.sync ? \",true\" : \"\"})`;\n },\n cloak: E\n};\nclass Kc {\n constructor(t) {\n this.options = t, this.warn = t.warn || Or, this.transforms = Tr(t.modules, \"transformCode\"), this.dataGenFns = Tr(t.modules, \"genData\"), this.directives = A(A({}, Vc), t.directives);\n const e = t.isReservedTag || N;\n this.maybeComponent = t => !!t.component || !e(t.tag), this.onceId = 0, this.staticRenderFns = [], this.pre = !1;\n }\n}\nfunction Jc(t, e) {\n const n = new Kc(e);\n return {\n render: `with(this){return ${t ? \"script\" === t.tag ? \"null\" : qc(t, n) : '_c(\"div\")'}}`,\n staticRenderFns: n.staticRenderFns\n };\n}\nfunction qc(t, e) {\n if (t.parent && (t.pre = t.pre || t.parent.pre), t.staticRoot && !t.staticProcessed) return Wc(t, e);\n if (t.once && !t.onceProcessed) return Zc(t, e);\n if (t.for && !t.forProcessed) return Yc(t, e);\n if (t.if && !t.ifProcessed) return Gc(t, e);\n if (\"template\" !== t.tag || t.slotTarget || e.pre) {\n if (\"slot\" === t.tag) return function (t, e) {\n const n = t.slotName || '\"default\"',\n o = na(t, e);\n let r = `_t(${n}${o ? `,function(){return ${o}}` : \"\"}`;\n const s = t.attrs || t.dynamicAttrs ? sa((t.attrs || []).concat(t.dynamicAttrs || []).map(t => ({\n name: x(t.name),\n value: t.value,\n dynamic: t.dynamic\n }))) : null,\n i = t.attrsMap[\"v-bind\"];\n !s && !i || o || (r += \",null\");\n s && (r += `,${s}`);\n i && (r += `${s ? \"\" : \",null\"},${i}`);\n return r + \")\";\n }(t, e);\n {\n let n;\n if (t.component) n = function (t, e, n) {\n const o = e.inlineTemplate ? null : na(e, n, !0);\n return `_c(${t},${Qc(e, n)}${o ? `,${o}` : \"\"})`;\n }(t.component, t, e);else {\n let o;\n const r = e.maybeComponent(t);\n let s;\n (!t.plain || t.pre && r) && (o = Qc(t, e));\n const i = e.options.bindings;\n r && i && !1 !== i.__isScriptSetup && (s = function (t, e) {\n const n = x(e),\n o = C(n),\n r = r => t[e] === r ? e : t[n] === r ? n : t[o] === r ? o : void 0,\n s = r(\"setup-const\") || r(\"setup-reactive-const\");\n if (s) return s;\n const i = r(\"setup-let\") || r(\"setup-ref\") || r(\"setup-maybe-ref\");\n if (i) return i;\n }(i, t.tag)), s || (s = `'${t.tag}'`);\n const c = t.inlineTemplate ? null : na(t, e, !0);\n n = `_c(${s}${o ? `,${o}` : \"\"}${c ? `,${c}` : \"\"})`;\n }\n for (let o = 0; o < e.transforms.length; o++) n = e.transforms[o](t, n);\n return n;\n }\n }\n return na(t, e) || \"void 0\";\n}\nfunction Wc(t, e) {\n t.staticProcessed = !0;\n const n = e.pre;\n return t.pre && (e.pre = t.pre), e.staticRenderFns.push(`with(this){return ${qc(t, e)}}`), e.pre = n, `_m(${e.staticRenderFns.length - 1}${t.staticInFor ? \",true\" : \"\"})`;\n}\nfunction Zc(t, e) {\n if (t.onceProcessed = !0, t.if && !t.ifProcessed) return Gc(t, e);\n if (t.staticInFor) {\n let n = \"\",\n o = t.parent;\n for (; o;) {\n if (o.for) {\n n = o.key;\n break;\n }\n o = o.parent;\n }\n return n ? `_o(${qc(t, e)},${e.onceId++},${n})` : qc(t, e);\n }\n return Wc(t, e);\n}\nfunction Gc(t, e, n, o) {\n return t.ifProcessed = !0, Xc(t.ifConditions.slice(), e, n, o);\n}\nfunction Xc(t, e, n, o) {\n if (!t.length) return o || \"_e()\";\n const r = t.shift();\n return r.exp ? `(${r.exp})?${s(r.block)}:${Xc(t, e, n, o)}` : `${s(r.block)}`;\n function s(t) {\n return n ? n(t, e) : t.once ? Zc(t, e) : qc(t, e);\n }\n}\nfunction Yc(t, e, n, o) {\n const r = t.for,\n s = t.alias,\n i = t.iterator1 ? `,${t.iterator1}` : \"\",\n c = t.iterator2 ? `,${t.iterator2}` : \"\";\n return t.forProcessed = !0, `${o || \"_l\"}((${r}),function(${s}${i}${c}){return ${(n || qc)(t, e)}})`;\n}\nfunction Qc(t, e) {\n let n = \"{\";\n const o = function (t, e) {\n const n = t.directives;\n if (!n) return;\n let o,\n r,\n s,\n i,\n c = \"directives:[\",\n a = !1;\n for (o = 0, r = n.length; o < r; o++) {\n s = n[o], i = !0;\n const r = e.directives[s.name];\n r && (i = !!r(t, s, e.warn)), i && (a = !0, c += `{name:\"${s.name}\",rawName:\"${s.rawName}\"${s.value ? `,value:(${s.value}),expression:${JSON.stringify(s.value)}` : \"\"}${s.arg ? `,arg:${s.isDynamicArg ? s.arg : `\"${s.arg}\"`}` : \"\"}${s.modifiers ? `,modifiers:${JSON.stringify(s.modifiers)}` : \"\"}},`);\n }\n if (a) return c.slice(0, -1) + \"]\";\n }(t, e);\n o && (n += o + \",\"), t.key && (n += `key:${t.key},`), t.ref && (n += `ref:${t.ref},`), t.refInFor && (n += \"refInFor:true,\"), t.pre && (n += \"pre:true,\"), t.component && (n += `tag:\"${t.tag}\",`);\n for (let o = 0; o < e.dataGenFns.length; o++) n += e.dataGenFns[o](t);\n if (t.attrs && (n += `attrs:${sa(t.attrs)},`), t.props && (n += `domProps:${sa(t.props)},`), t.events && (n += `${Bc(t.events, !1)},`), t.nativeEvents && (n += `${Bc(t.nativeEvents, !0)},`), t.slotTarget && !t.slotScope && (n += `slot:${t.slotTarget},`), t.scopedSlots && (n += `${function (t, e, n) {\n let o = t.for || Object.keys(e).some(t => {\n const n = e[t];\n return n.slotTargetDynamic || n.if || n.for || ta(n);\n }),\n r = !!t.if;\n if (!o) {\n let e = t.parent;\n for (; e;) {\n if (e.slotScope && e.slotScope !== ic || e.for) {\n o = !0;\n break;\n }\n e.if && (r = !0), e = e.parent;\n }\n }\n const s = Object.keys(e).map(t => ea(e[t], n)).join(\",\");\n return `scopedSlots:_u([${s}]${o ? \",null,true\" : \"\"}${!o && r ? `,null,false,${function (t) {\n let e = 5381,\n n = t.length;\n for (; n;) e = 33 * e ^ t.charCodeAt(--n);\n return e >>> 0;\n }(s)}` : \"\"})`;\n }(t, t.scopedSlots, e)},`), t.model && (n += `model:{value:${t.model.value},callback:${t.model.callback},expression:${t.model.expression}},`), t.inlineTemplate) {\n const o = function (t, e) {\n const n = t.children[0];\n if (n && 1 === n.type) {\n const t = Jc(n, e.options);\n return `inlineTemplate:{render:function(){${t.render}},staticRenderFns:[${t.staticRenderFns.map(t => `function(){${t}}`).join(\",\")}]}`;\n }\n }(t, e);\n o && (n += `${o},`);\n }\n return n = n.replace(/,$/, \"\") + \"}\", t.dynamicAttrs && (n = `_b(${n},\"${t.tag}\",${sa(t.dynamicAttrs)})`), t.wrapData && (n = t.wrapData(n)), t.wrapListeners && (n = t.wrapListeners(n)), n;\n}\nfunction ta(t) {\n return 1 === t.type && (\"slot\" === t.tag || t.children.some(ta));\n}\nfunction ea(t, e) {\n const n = t.attrsMap[\"slot-scope\"];\n if (t.if && !t.ifProcessed && !n) return Gc(t, e, ea, \"null\");\n if (t.for && !t.forProcessed) return Yc(t, e, ea);\n const o = t.slotScope === ic ? \"\" : String(t.slotScope),\n r = `function(${o}){return ${\"template\" === t.tag ? t.if && n ? `(${t.if})?${na(t, e) || \"undefined\"}:undefined` : na(t, e) || \"undefined\" : qc(t, e)}}`,\n s = o ? \"\" : \",proxy:true\";\n return `{key:${t.slotTarget || '\"default\"'},fn:${r}${s}}`;\n}\nfunction na(t, e, n, o, r) {\n const s = t.children;\n if (s.length) {\n const t = s[0];\n if (1 === s.length && t.for && \"template\" !== t.tag && \"slot\" !== t.tag) {\n const r = n ? e.maybeComponent(t) ? \",1\" : \",0\" : \"\";\n return `${(o || qc)(t, e)}${r}`;\n }\n const i = n ? function (t, e) {\n let n = 0;\n for (let o = 0; o < t.length; o++) {\n const r = t[o];\n if (1 === r.type) {\n if (oa(r) || r.ifConditions && r.ifConditions.some(t => oa(t.block))) {\n n = 2;\n break;\n }\n (e(r) || r.ifConditions && r.ifConditions.some(t => e(t.block))) && (n = 1);\n }\n }\n return n;\n }(s, e.maybeComponent) : 0,\n c = r || ra;\n return `[${s.map(t => c(t, e)).join(\",\")}]${i ? `,${i}` : \"\"}`;\n }\n}\nfunction oa(t) {\n return void 0 !== t.for || \"template\" === t.tag || \"slot\" === t.tag;\n}\nfunction ra(t, e) {\n return 1 === t.type ? qc(t, e) : 3 === t.type && t.isComment ? function (t) {\n return `_e(${JSON.stringify(t.text)})`;\n }(t) : function (t) {\n return `_v(${2 === t.type ? t.expression : ia(JSON.stringify(t.text))})`;\n }(t);\n}\nfunction sa(t) {\n let e = \"\",\n n = \"\";\n for (let o = 0; o < t.length; o++) {\n const r = t[o],\n s = ia(r.value);\n r.dynamic ? n += `${r.name},${s},` : e += `\"${r.name}\":${s},`;\n }\n return e = `{${e.slice(0, -1)}}`, n ? `_d(${e},[${n.slice(0, -1)}])` : e;\n}\nfunction ia(t) {\n return t.replace(/\\u2028/g, \"\\\\u2028\").replace(/\\u2029/g, \"\\\\u2029\");\n}\nfunction ca(t, e) {\n try {\n return new Function(t);\n } catch (n) {\n return e.push({\n err: n,\n code: t\n }), E;\n }\n}\nfunction aa(t) {\n const e = Object.create(null);\n return function (n, o, r) {\n (o = A({}, o)).warn, delete o.warn;\n const s = o.delimiters ? String(o.delimiters) + n : n;\n if (e[s]) return e[s];\n const i = t(n, o),\n c = {},\n a = [];\n return c.render = ca(i.render, a), c.staticRenderFns = i.staticRenderFns.map(t => ca(t, a)), e[s] = c;\n };\n}\nnew RegExp(\"\\\\b\" + \"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments\".split(\",\").join(\"\\\\b|\\\\b\") + \"\\\\b\"), new RegExp(\"\\\\b\" + \"delete,typeof,void\".split(\",\").join(\"\\\\s*\\\\([^\\\\)]*\\\\)|\\\\b\") + \"\\\\s*\\\\([^\\\\)]*\\\\)\");\nconst la = (ua = function (t, e) {\n const n = gc(t.trim(), e);\n !1 !== e.optimize && Ec(n, e);\n const o = Jc(n, e);\n return {\n ast: n,\n render: o.render,\n staticRenderFns: o.staticRenderFns\n };\n}, function (t) {\n function e(e, n) {\n const o = Object.create(t),\n r = [],\n s = [];\n if (n) {\n n.modules && (o.modules = (t.modules || []).concat(n.modules)), n.directives && (o.directives = A(Object.create(t.directives || null), n.directives));\n for (const t in n) \"modules\" !== t && \"directives\" !== t && (o[t] = n[t]);\n }\n o.warn = (t, e, n) => {\n (n ? s : r).push(t);\n };\n const i = ua(e.trim(), o);\n return i.errors = r, i.tips = s, i;\n }\n return {\n compile: e,\n compileToFunctions: aa(e)\n };\n});\nvar ua;\nconst {\n compile: fa,\n compileToFunctions: da\n} = la(Oc);\nlet pa;\nfunction ha(t) {\n return pa = pa || document.createElement(\"div\"), pa.innerHTML = t ? '' : '
', pa.innerHTML.indexOf(\" \") > 0;\n}\nconst ma = !!q && ha(!1),\n ga = !!q && ha(!0),\n va = b(t => {\n const e = nr(t);\n return e && e.innerHTML;\n }),\n ya = So.prototype.$mount;\nSo.prototype.$mount = function (t, e) {\n if ((t = t && nr(t)) === document.body || t === document.documentElement) return this;\n const n = this.$options;\n if (!n.render) {\n let e = n.template;\n if (e) {\n if (\"string\" == typeof e) \"#\" === e.charAt(0) && (e = va(e));else {\n if (!e.nodeType) return this;\n e = e.innerHTML;\n }\n } else t && (e = function (t) {\n if (t.outerHTML) return t.outerHTML;\n {\n const e = document.createElement(\"div\");\n return e.appendChild(t.cloneNode(!0)), e.innerHTML;\n }\n }(t));\n if (e) {\n const {\n render: t,\n staticRenderFns: o\n } = da(e, {\n outputSourceRange: !1,\n shouldDecodeNewlines: ma,\n shouldDecodeNewlinesForHref: ga,\n delimiters: n.delimiters,\n comments: n.comments\n }, this);\n n.render = t, n.staticRenderFns = o;\n }\n }\n return ya.call(this, t, e);\n}, So.compile = da, A(So, Hn), So.effect = function (t, e) {\n const n = new Kn(at, t, E, {\n sync: !0\n });\n e && (n.update = () => {\n e(() => n.run());\n });\n}, module.exports = So;","(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = {\n callback: callback,\n args: args\n };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n function installNextTickImplementation() {\n registerImmediate = function (handle) {\n process.nextTick(function () {\n runIfPresent(handle);\n });\n };\n }\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function () {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function (event) {\n if (event.source === global && typeof event.data === \"string\" && event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n registerImmediate = function (handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function (event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n registerImmediate = function (handle) {\n channel.port2.postMessage(handle);\n };\n }\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function (handle) {\n // Create a \n","import { render, staticRenderFns } from \"./Icon.vue?vue&type=template&id=b3f43d06\"\nimport script from \"./Icon.vue?vue&type=script&lang=js\"\nexport * from \"./Icon.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","const {\n API_CHANNEL_NAME: apiChannelName,\n API_CHANNEL_THUMBNAIL: apiChannelThumbnail,\n APP_VERSION: appVersion,\n AZURE_APP_ID: azureAppId,\n BRAND_NAME: brandName,\n CHATWOOT_INBOX_TOKEN: chatwootInboxToken,\n CSML_EDITOR_HOST: csmlEditorHost,\n CREATE_NEW_ACCOUNT_FROM_DASHBOARD: createNewAccountFromDashboard,\n DIRECT_UPLOADS_ENABLED: directUploadsEnabled,\n DISPLAY_MANIFEST: displayManifest,\n GIT_SHA: gitSha,\n HCAPTCHA_SITE_KEY: hCaptchaSiteKey,\n INSTALLATION_NAME: installationName,\n LOGO_THUMBNAIL: logoThumbnail,\n LOGO: logo,\n LOGO_DARK: logoDark,\n PRIVACY_URL: privacyURL,\n TERMS_URL: termsURL,\n WIDGET_BRAND_URL: widgetBrandURL,\n DISABLE_USER_PROFILE_UPDATE: disableUserProfileUpdate,\n DEPLOYMENT_ENV: deploymentEnv,\n} = window.globalConfig || {};\n\nconst state = {\n apiChannelName,\n apiChannelThumbnail,\n appVersion,\n azureAppId,\n brandName,\n chatwootInboxToken,\n csmlEditorHost,\n deploymentEnv,\n createNewAccountFromDashboard,\n directUploadsEnabled: directUploadsEnabled === 'true',\n disableUserProfileUpdate: disableUserProfileUpdate === 'true',\n displayManifest,\n gitSha,\n hCaptchaSiteKey,\n installationName,\n logo,\n logoDark,\n logoThumbnail,\n privacyURL,\n termsURL,\n widgetBrandURL,\n};\n\nexport const getters = {\n get: $state => $state,\n isOnChatwootCloud: $state => $state.deploymentEnv === 'cloud',\n isACustomBrandedInstance: $state => $state.installationName !== 'Chatwoot',\n isAChatwootInstance: $state => $state.installationName === 'Chatwoot',\n};\n\nexport const actions = {};\n\nexport const mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.buildVueDompurifyHTMLDirective = void 0;\nvar dompurify_html_1 = require(\"./dompurify-html\");\nvar dompurify_html_2 = require(\"./dompurify-html\");\nObject.defineProperty(exports, \"buildVueDompurifyHTMLDirective\", {\n enumerable: true,\n get: function () {\n return dompurify_html_2.buildDirective;\n }\n});\nexports.default = {\n install: function (Vue, config, buildDOMPurifyInstance) {\n if (config === void 0) {\n config = {};\n }\n if (buildDOMPurifyInstance === void 0) {\n buildDOMPurifyInstance = dompurify_html_1.defaultDOMPurifyInstanceBuilder;\n }\n Vue.directive('dompurify-html', (0, dompurify_html_1.buildDirective)(config, buildDOMPurifyInstance));\n }\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Vuelidate = Vuelidate;\nexports.validationMixin = exports.default = void 0;\nObject.defineProperty(exports, \"withParams\", {\n enumerable: true,\n get: function get() {\n return _params.withParams;\n }\n});\nvar _vval = require(\"./vval\");\nvar _params = require(\"./params\");\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nvar NIL = function NIL() {\n return null;\n};\nvar buildFromKeys = function buildFromKeys(keys, fn, keyFn) {\n return keys.reduce(function (build, key) {\n build[keyFn ? keyFn(key) : key] = fn(key);\n return build;\n }, {});\n};\nfunction isFunction(val) {\n return typeof val === 'function';\n}\nfunction isObject(val) {\n return val !== null && (_typeof(val) === 'object' || isFunction(val));\n}\nfunction isPromise(object) {\n return isObject(object) && isFunction(object.then);\n}\nvar getPath = function getPath(ctx, obj, path, fallback) {\n if (typeof path === 'function') {\n return path.call(ctx, obj, fallback);\n }\n path = Array.isArray(path) ? path : path.split('.');\n for (var i = 0; i < path.length; i++) {\n if (obj && _typeof(obj) === 'object') {\n obj = obj[path[i]];\n } else {\n return fallback;\n }\n }\n return typeof obj === 'undefined' ? fallback : obj;\n};\nvar __isVuelidateAsyncVm = '__isVuelidateAsyncVm';\nfunction makePendingAsyncVm(Vue, promise) {\n var asyncVm = new Vue({\n data: {\n p: true,\n v: false\n }\n });\n promise.then(function (value) {\n asyncVm.p = false;\n asyncVm.v = value;\n }, function (error) {\n asyncVm.p = false;\n asyncVm.v = false;\n throw error;\n });\n asyncVm[__isVuelidateAsyncVm] = true;\n return asyncVm;\n}\nvar validationGetters = {\n $invalid: function $invalid() {\n var _this = this;\n var proxy = this.proxy;\n return this.nestedKeys.some(function (nested) {\n return _this.refProxy(nested).$invalid;\n }) || this.ruleKeys.some(function (rule) {\n return !proxy[rule];\n });\n },\n $dirty: function $dirty() {\n var _this2 = this;\n if (this.dirty) {\n return true;\n }\n if (this.nestedKeys.length === 0) {\n return false;\n }\n return this.nestedKeys.every(function (key) {\n return _this2.refProxy(key).$dirty;\n });\n },\n $anyDirty: function $anyDirty() {\n var _this3 = this;\n if (this.dirty) {\n return true;\n }\n if (this.nestedKeys.length === 0) {\n return false;\n }\n return this.nestedKeys.some(function (key) {\n return _this3.refProxy(key).$anyDirty;\n });\n },\n $error: function $error() {\n return this.$dirty && !this.$pending && this.$invalid;\n },\n $anyError: function $anyError() {\n var _this4 = this;\n if (this.$error) return true;\n return this.nestedKeys.some(function (key) {\n return _this4.refProxy(key).$anyError;\n });\n },\n $pending: function $pending() {\n var _this5 = this;\n return this.ruleKeys.some(function (key) {\n return _this5.getRef(key).$pending;\n }) || this.nestedKeys.some(function (key) {\n return _this5.refProxy(key).$pending;\n });\n },\n $params: function $params() {\n var _this6 = this;\n var vals = this.validations;\n return _objectSpread(_objectSpread({}, buildFromKeys(this.nestedKeys, function (key) {\n return vals[key] && vals[key].$params || null;\n })), buildFromKeys(this.ruleKeys, function (key) {\n return _this6.getRef(key).$params;\n }));\n }\n};\nfunction setDirtyRecursive(newState) {\n this.dirty = newState;\n var proxy = this.proxy;\n var method = newState ? '$touch' : '$reset';\n this.nestedKeys.forEach(function (key) {\n proxy[key][method]();\n });\n}\nvar validationMethods = {\n $touch: function $touch() {\n setDirtyRecursive.call(this, true);\n },\n $reset: function $reset() {\n setDirtyRecursive.call(this, false);\n },\n $flattenParams: function $flattenParams() {\n var proxy = this.proxy;\n var params = [];\n for (var key in this.$params) {\n if (this.isNested(key)) {\n var childParams = proxy[key].$flattenParams();\n for (var j = 0; j < childParams.length; j++) {\n childParams[j].path.unshift(key);\n }\n params = params.concat(childParams);\n } else {\n params.push({\n path: [],\n name: key,\n params: this.$params[key]\n });\n }\n }\n return params;\n }\n};\nvar getterNames = Object.keys(validationGetters);\nvar methodNames = Object.keys(validationMethods);\nvar _cachedComponent = null;\nvar getComponent = function getComponent(Vue) {\n if (_cachedComponent) {\n return _cachedComponent;\n }\n var VBase = Vue.extend({\n computed: {\n refs: function refs() {\n var oldVval = this._vval;\n this._vval = this.children;\n (0, _vval.patchChildren)(oldVval, this._vval);\n var refs = {};\n this._vval.forEach(function (c) {\n refs[c.key] = c.vm;\n });\n return refs;\n }\n },\n beforeCreate: function beforeCreate() {\n this._vval = null;\n },\n beforeDestroy: function beforeDestroy() {\n if (this._vval) {\n (0, _vval.patchChildren)(this._vval);\n this._vval = null;\n }\n },\n methods: {\n getModel: function getModel() {\n return this.lazyModel ? this.lazyModel(this.prop) : this.model;\n },\n getModelKey: function getModelKey(key) {\n var model = this.getModel();\n if (model) {\n return model[key];\n }\n },\n hasIter: function hasIter() {\n return false;\n }\n }\n });\n var ValidationRule = VBase.extend({\n data: function data() {\n return {\n rule: null,\n lazyModel: null,\n model: null,\n lazyParentModel: null,\n rootModel: null\n };\n },\n methods: {\n runRule: function runRule(parent) {\n var model = this.getModel();\n (0, _params.pushParams)();\n var rawOutput = this.rule.call(this.rootModel, model, parent);\n var output = isPromise(rawOutput) ? makePendingAsyncVm(Vue, rawOutput) : rawOutput;\n var rawParams = (0, _params.popParams)();\n var params = rawParams && rawParams.$sub ? rawParams.$sub.length > 1 ? rawParams : rawParams.$sub[0] : null;\n return {\n output: output,\n params: params\n };\n }\n },\n computed: {\n run: function run() {\n var _this7 = this;\n var parent = this.lazyParentModel();\n var isArrayDependant = Array.isArray(parent) && parent.__ob__;\n if (isArrayDependant) {\n var arrayDep = parent.__ob__.dep;\n arrayDep.depend();\n var target = arrayDep.constructor.target;\n if (!this._indirectWatcher) {\n var Watcher = target.constructor;\n this._indirectWatcher = new Watcher(this, function () {\n return _this7.runRule(parent);\n }, null, {\n lazy: true\n });\n }\n var model = this.getModel();\n if (!this._indirectWatcher.dirty && this._lastModel === model) {\n this._indirectWatcher.depend();\n return target.value;\n }\n this._lastModel = model;\n this._indirectWatcher.evaluate();\n this._indirectWatcher.depend();\n } else if (this._indirectWatcher) {\n this._indirectWatcher.teardown();\n this._indirectWatcher = null;\n }\n return this._indirectWatcher ? this._indirectWatcher.value : this.runRule(parent);\n },\n $params: function $params() {\n return this.run.params;\n },\n proxy: function proxy() {\n var output = this.run.output;\n if (output[__isVuelidateAsyncVm]) {\n return !!output.v;\n }\n return !!output;\n },\n $pending: function $pending() {\n var output = this.run.output;\n if (output[__isVuelidateAsyncVm]) {\n return output.p;\n }\n return false;\n }\n },\n destroyed: function destroyed() {\n if (this._indirectWatcher) {\n this._indirectWatcher.teardown();\n this._indirectWatcher = null;\n }\n }\n });\n var Validation = VBase.extend({\n data: function data() {\n return {\n dirty: false,\n validations: null,\n lazyModel: null,\n model: null,\n prop: null,\n lazyParentModel: null,\n rootModel: null\n };\n },\n methods: _objectSpread(_objectSpread({}, validationMethods), {}, {\n refProxy: function refProxy(key) {\n return this.getRef(key).proxy;\n },\n getRef: function getRef(key) {\n return this.refs[key];\n },\n isNested: function isNested(key) {\n return typeof this.validations[key] !== 'function';\n }\n }),\n computed: _objectSpread(_objectSpread({}, validationGetters), {}, {\n nestedKeys: function nestedKeys() {\n return this.keys.filter(this.isNested);\n },\n ruleKeys: function ruleKeys() {\n var _this8 = this;\n return this.keys.filter(function (k) {\n return !_this8.isNested(k);\n });\n },\n keys: function keys() {\n return Object.keys(this.validations).filter(function (k) {\n return k !== '$params';\n });\n },\n proxy: function proxy() {\n var _this9 = this;\n var keyDefs = buildFromKeys(this.keys, function (key) {\n return {\n enumerable: true,\n configurable: true,\n get: function get() {\n return _this9.refProxy(key);\n }\n };\n });\n var getterDefs = buildFromKeys(getterNames, function (key) {\n return {\n enumerable: true,\n configurable: true,\n get: function get() {\n return _this9[key];\n }\n };\n });\n var methodDefs = buildFromKeys(methodNames, function (key) {\n return {\n enumerable: false,\n configurable: true,\n get: function get() {\n return _this9[key];\n }\n };\n });\n var iterDefs = this.hasIter() ? {\n $iter: {\n enumerable: true,\n value: Object.defineProperties({}, _objectSpread({}, keyDefs))\n }\n } : {};\n return Object.defineProperties({}, _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, keyDefs), iterDefs), {}, {\n $model: {\n enumerable: true,\n get: function get() {\n var parent = _this9.lazyParentModel();\n if (parent != null) {\n return parent[_this9.prop];\n } else {\n return null;\n }\n },\n set: function set(value) {\n var parent = _this9.lazyParentModel();\n if (parent != null) {\n parent[_this9.prop] = value;\n _this9.$touch();\n }\n }\n }\n }, getterDefs), methodDefs));\n },\n children: function children() {\n var _this10 = this;\n return [].concat(_toConsumableArray(this.nestedKeys.map(function (key) {\n return renderNested(_this10, key);\n })), _toConsumableArray(this.ruleKeys.map(function (key) {\n return renderRule(_this10, key);\n }))).filter(Boolean);\n }\n })\n });\n var GroupValidation = Validation.extend({\n methods: {\n isNested: function isNested(key) {\n return typeof this.validations[key]() !== 'undefined';\n },\n getRef: function getRef(key) {\n var vm = this;\n return {\n get proxy() {\n return vm.validations[key]() || false;\n }\n };\n }\n }\n });\n var EachValidation = Validation.extend({\n computed: {\n keys: function keys() {\n var model = this.getModel();\n if (isObject(model)) {\n return Object.keys(model);\n } else {\n return [];\n }\n },\n tracker: function tracker() {\n var _this11 = this;\n var trackBy = this.validations.$trackBy;\n return trackBy ? function (key) {\n return \"\".concat(getPath(_this11.rootModel, _this11.getModelKey(key), trackBy));\n } : function (x) {\n return \"\".concat(x);\n };\n },\n getModelLazy: function getModelLazy() {\n var _this12 = this;\n return function () {\n return _this12.getModel();\n };\n },\n children: function children() {\n var _this13 = this;\n var def = this.validations;\n var model = this.getModel();\n var validations = _objectSpread({}, def);\n delete validations['$trackBy'];\n var usedTracks = {};\n return this.keys.map(function (key) {\n var track = _this13.tracker(key);\n if (usedTracks.hasOwnProperty(track)) {\n return null;\n }\n usedTracks[track] = true;\n return (0, _vval.h)(Validation, track, {\n validations: validations,\n prop: key,\n lazyParentModel: _this13.getModelLazy,\n model: model[key],\n rootModel: _this13.rootModel\n });\n }).filter(Boolean);\n }\n },\n methods: {\n isNested: function isNested() {\n return true;\n },\n getRef: function getRef(key) {\n return this.refs[this.tracker(key)];\n },\n hasIter: function hasIter() {\n return true;\n }\n }\n });\n var renderNested = function renderNested(vm, key) {\n if (key === '$each') {\n return (0, _vval.h)(EachValidation, key, {\n validations: vm.validations[key],\n lazyParentModel: vm.lazyParentModel,\n prop: key,\n lazyModel: vm.getModel,\n rootModel: vm.rootModel\n });\n }\n var validations = vm.validations[key];\n if (Array.isArray(validations)) {\n var root = vm.rootModel;\n var refVals = buildFromKeys(validations, function (path) {\n return function () {\n return getPath(root, root.$v, path);\n };\n }, function (v) {\n return Array.isArray(v) ? v.join('.') : v;\n });\n return (0, _vval.h)(GroupValidation, key, {\n validations: refVals,\n lazyParentModel: NIL,\n prop: key,\n lazyModel: NIL,\n rootModel: root\n });\n }\n return (0, _vval.h)(Validation, key, {\n validations: validations,\n lazyParentModel: vm.getModel,\n prop: key,\n lazyModel: vm.getModelKey,\n rootModel: vm.rootModel\n });\n };\n var renderRule = function renderRule(vm, key) {\n return (0, _vval.h)(ValidationRule, key, {\n rule: vm.validations[key],\n lazyParentModel: vm.lazyParentModel,\n lazyModel: vm.getModel,\n rootModel: vm.rootModel\n });\n };\n _cachedComponent = {\n VBase: VBase,\n Validation: Validation\n };\n return _cachedComponent;\n};\nvar _cachedVue = null;\nfunction getVue(rootVm) {\n if (_cachedVue) return _cachedVue;\n var Vue = rootVm.constructor;\n while (Vue.super) {\n Vue = Vue.super;\n }\n _cachedVue = Vue;\n return Vue;\n}\nvar validateModel = function validateModel(model, validations) {\n var Vue = getVue(model);\n var _getComponent = getComponent(Vue),\n Validation = _getComponent.Validation,\n VBase = _getComponent.VBase;\n var root = new VBase({\n computed: {\n children: function children() {\n var vals = typeof validations === 'function' ? validations.call(model) : validations;\n return [(0, _vval.h)(Validation, '$v', {\n validations: vals,\n lazyParentModel: NIL,\n prop: '$v',\n model: model,\n rootModel: model\n })];\n }\n }\n });\n return root;\n};\nvar validationMixin = {\n data: function data() {\n var vals = this.$options.validations;\n if (vals) {\n this._vuelidate = validateModel(this, vals);\n }\n return {};\n },\n beforeCreate: function beforeCreate() {\n var options = this.$options;\n var vals = options.validations;\n if (!vals) return;\n if (!options.computed) options.computed = {};\n if (options.computed.$v) return;\n options.computed.$v = function () {\n return this._vuelidate ? this._vuelidate.refs.$v.proxy : null;\n };\n },\n beforeDestroy: function beforeDestroy() {\n if (this._vuelidate) {\n this._vuelidate.$destroy();\n this._vuelidate = null;\n }\n }\n};\nexports.validationMixin = validationMixin;\nfunction Vuelidate(Vue) {\n Vue.mixin(validationMixin);\n}\nvar _default = Vuelidate;\nexports.default = _default;","var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n aboutXWeeks: {\n one: 'about 1 week',\n other: 'about {{count}} weeks'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weeks'\n },\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n};\nexport default function formatDistance(token, count, options) {\n options = options || {};\n var result;\n if (typeof formatDistanceLocale[token] === 'string') {\n result = formatDistanceLocale[token];\n } else if (count === 1) {\n result = formatDistanceLocale[token].one;\n } else {\n result = formatDistanceLocale[token].other.replace('{{count}}', count);\n }\n if (options.addSuffix) {\n if (options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n return result;\n}","export default function buildFormatLongFn(args) {\n return function (dirtyOptions) {\n var options = dirtyOptions || {};\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\nexport default function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n}","export default function buildLocalizeFn(args) {\n return function (dirtyIndex, dirtyOptions) {\n var options = dirtyOptions || {};\n var context = options.context ? String(options.context) : 'standalone';\n var valuesArray;\n if (context === 'formatting' && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n var _width = options.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex;\n return valuesArray[index];\n };\n}","export default function buildMatchFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var value;\n if (Object.prototype.toString.call(parsePatterns) === '[object Array]') {\n value = findIndex(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n } else {\n value = findKey(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n }\n value = args.valueCallback ? args.valueCallback(value) : value;\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}\nfunction findKey(object, predicate) {\n for (var key in object) {\n if (object.hasOwnProperty(key) && predicate(object[key])) {\n return key;\n }\n }\n}\nfunction findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n}","import buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function (value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function (index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","export default function buildMatchPatternFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var matchResult = string.match(args.matchPattern);\n if (!matchResult) {\n return null;\n }\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n if (!parseResult) {\n return null;\n }\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\n\nvar locale = {\n code: 'en-US',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */,\n\n firstWeekContainsDate: 1\n }\n};\nexport default locale;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['B', 'A'],\n abbreviated: ['BC', 'AD'],\n wide: ['Before Christ', 'Anno Domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter'] // Note: in English, the names of days of the week and months are capitalized.\n // If you are making a new locale based on this one, check if the same is true for the language you're working on.\n // Generally, formatted dates should look like they are in the middle of a sentence,\n // e.g. in Spanish language the weekdays and months should be in the lowercase.\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n }\n};\nfunction ordinalNumber(dirtyNumber, _dirtyOptions) {\n var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`:\n //\n // var options = dirtyOptions || {}\n // var unit = String(options.unit)\n //\n // where `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'\n\n var rem100 = number % 100;\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st';\n case 2:\n return number + 'nd';\n case 3:\n return number + 'rd';\n }\n }\n return number + 'th';\n}\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function (quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","// This variable is used as an optional fallback for when customers\n// host or proxy their own analytics.js.\ntry {\n window.analyticsWriteKey = '__WRITE_KEY__';\n} catch (_) {\n // @ eslint-disable-next-line\n}\nexport function embeddedWriteKey() {\n if (window.analyticsWriteKey === undefined) {\n return undefined;\n }\n // this is done so that we don't accidentally override every reference to __write_key__\n return window.analyticsWriteKey !== ['__', 'WRITE', '_', 'KEY', '__'].join('') ? window.analyticsWriteKey : undefined;\n}","import { embeddedWriteKey } from './embedded-write-key';\nvar analyticsScriptRegex = /(https:\\/\\/.*)\\/analytics\\.js\\/v1\\/(?:.*?)\\/(?:platform|analytics.*)?/;\nvar getCDNUrlFromScriptTag = function () {\n var cdn;\n var scripts = Array.prototype.slice.call(document.querySelectorAll('script'));\n scripts.forEach(function (s) {\n var _a;\n var src = (_a = s.getAttribute('src')) !== null && _a !== void 0 ? _a : '';\n var result = analyticsScriptRegex.exec(src);\n if (result && result[1]) {\n cdn = result[1];\n }\n });\n return cdn;\n};\nvar _globalCDN; // set globalCDN as in-memory singleton\nvar getGlobalCDNUrl = function () {\n var _a;\n var result = _globalCDN !== null && _globalCDN !== void 0 ? _globalCDN : (_a = window.analytics) === null || _a === void 0 ? void 0 : _a._cdn;\n return result;\n};\nexport var setGlobalCDNUrl = function (cdn) {\n if (window.analytics) {\n window.analytics._cdn = cdn;\n }\n _globalCDN = cdn;\n};\nexport var getCDN = function () {\n var globalCdnUrl = getGlobalCDNUrl();\n if (globalCdnUrl) return globalCdnUrl;\n var cdnFromScriptTag = getCDNUrlFromScriptTag();\n if (cdnFromScriptTag) {\n return cdnFromScriptTag;\n } else {\n // it's possible that the CDN is not found in the page because:\n // - the script is loaded through a proxy\n // - the script is removed after execution\n // in this case, we fall back to the default Segment CDN\n return \"https://cdn.june.so\";\n }\n};\nexport var getNextIntegrationsURL = function () {\n var cdn = getCDN();\n return \"\".concat(cdn, \"/next-integrations\");\n};\n/**\n * Replaces the CDN URL in the script tag with the one from Analytics.js 1.0\n *\n * @returns the path to Analytics JS 1.0\n **/\nexport function getLegacyAJSPath() {\n var _a, _b;\n var writeKey = (_a = embeddedWriteKey()) !== null && _a !== void 0 ? _a : window.analytics._writeKey;\n var scripts = Array.prototype.slice.call(document.querySelectorAll('script'));\n var path = undefined;\n for (var _i = 0, scripts_1 = scripts; _i < scripts_1.length; _i++) {\n var s = scripts_1[_i];\n var src = (_b = s.getAttribute('src')) !== null && _b !== void 0 ? _b : '';\n var result = analyticsScriptRegex.exec(src);\n if (result && result[1]) {\n path = src;\n break;\n }\n }\n if (path) {\n return path.replace('analytics.min.js', 'analytics.classic.js');\n }\n return \"https://cdn.june.so/analytics.js/v1/\".concat(writeKey, \"/analytics.classic.js\");\n}","export function dset(obj, keys, val) {\n keys.split && (keys = keys.split('.'));\n var i = 0,\n l = keys.length,\n t = obj,\n x,\n k;\n while (i < l) {\n k = '' + keys[i++];\n if (k === '__proto__' || k === 'constructor' || k === 'prototype') break;\n t = t[k] = i === l ? val : typeof (x = t[k]) === typeof keys ? x : keys[i] * 0 !== 0 || !!~('' + keys[i]).indexOf('.') ? {} : [];\n }\n}","import fromUnixTime from 'date-fns/fromUnixTime';\nimport format from 'date-fns/format';\n\nexport const downloadCsvFile = (fileName, content) => {\n const contentType = 'data:text/csv;charset=utf-8;';\n const blob = new Blob([content], { type: contentType });\n const url = URL.createObjectURL(blob);\n\n const link = document.createElement('a');\n link.setAttribute('download', fileName);\n link.setAttribute('href', url);\n link.click();\n return link;\n};\n\nexport const generateFileName = ({ type, to, businessHours = false }) => {\n let name = `${type}-report-${format(fromUnixTime(to), 'dd-MM-yyyy')}`;\n if (businessHours) {\n name = `${name}-business-hours`;\n }\n return `${name}.csv`;\n};\n","import { liftTarget, replaceStep, ReplaceStep, canJoin, joinPoint, canSplit, ReplaceAroundStep, findWrapping } from 'prosemirror-transform';\nimport { Slice, Fragment } from 'prosemirror-model';\nimport { NodeSelection, Selection, TextSelection, AllSelection, SelectionRange } from 'prosemirror-state';\n\n/**\nDelete the selection, if there is one.\n*/\nconst deleteSelection = (state, dispatch) => {\n if (state.selection.empty) return false;\n if (dispatch) dispatch(state.tr.deleteSelection().scrollIntoView());\n return true;\n};\nfunction atBlockStart(state, view) {\n let {\n $cursor\n } = state.selection;\n if (!$cursor || (view ? !view.endOfTextblock(\"backward\", state) : $cursor.parentOffset > 0)) return null;\n return $cursor;\n}\n/**\nIf the selection is empty and at the start of a textblock, try to\nreduce the distance between that block and the one before it—if\nthere's a block directly before it that can be joined, join them.\nIf not, try to move the selected block closer to the next one in\nthe document structure by lifting it out of its parent or moving it\ninto a parent of the previous block. Will use the view for accurate\n(bidi-aware) start-of-textblock detection if given.\n*/\nconst joinBackward = (state, dispatch, view) => {\n let $cursor = atBlockStart(state, view);\n if (!$cursor) return false;\n let $cut = findCutBefore($cursor);\n // If there is no node before this, try to lift\n if (!$cut) {\n let range = $cursor.blockRange(),\n target = range && liftTarget(range);\n if (target == null) return false;\n if (dispatch) dispatch(state.tr.lift(range, target).scrollIntoView());\n return true;\n }\n let before = $cut.nodeBefore;\n // Apply the joining algorithm\n if (deleteBarrier(state, $cut, dispatch, -1)) return true;\n // If the node below has no content and the node above is\n // selectable, delete the node below and select the one above.\n if ($cursor.parent.content.size == 0 && (textblockAt(before, \"end\") || NodeSelection.isSelectable(before))) {\n for (let depth = $cursor.depth;; depth--) {\n let delStep = replaceStep(state.doc, $cursor.before(depth), $cursor.after(depth), Slice.empty);\n if (delStep && delStep.slice.size < delStep.to - delStep.from) {\n if (dispatch) {\n let tr = state.tr.step(delStep);\n tr.setSelection(textblockAt(before, \"end\") ? Selection.findFrom(tr.doc.resolve(tr.mapping.map($cut.pos, -1)), -1) : NodeSelection.create(tr.doc, $cut.pos - before.nodeSize));\n dispatch(tr.scrollIntoView());\n }\n return true;\n }\n if (depth == 1 || $cursor.node(depth - 1).childCount > 1) break;\n }\n }\n // If the node before is an atom, delete it\n if (before.isAtom && $cut.depth == $cursor.depth - 1) {\n if (dispatch) dispatch(state.tr.delete($cut.pos - before.nodeSize, $cut.pos).scrollIntoView());\n return true;\n }\n return false;\n};\n/**\nA more limited form of [`joinBackward`]($commands.joinBackward)\nthat only tries to join the current textblock to the one before\nit, if the cursor is at the start of a textblock.\n*/\nconst joinTextblockBackward = (state, dispatch, view) => {\n let $cursor = atBlockStart(state, view);\n if (!$cursor) return false;\n let $cut = findCutBefore($cursor);\n return $cut ? joinTextblocksAround(state, $cut, dispatch) : false;\n};\n/**\nA more limited form of [`joinForward`]($commands.joinForward)\nthat only tries to join the current textblock to the one after\nit, if the cursor is at the end of a textblock.\n*/\nconst joinTextblockForward = (state, dispatch, view) => {\n let $cursor = atBlockEnd(state, view);\n if (!$cursor) return false;\n let $cut = findCutAfter($cursor);\n return $cut ? joinTextblocksAround(state, $cut, dispatch) : false;\n};\nfunction joinTextblocksAround(state, $cut, dispatch) {\n let before = $cut.nodeBefore,\n beforeText = before,\n beforePos = $cut.pos - 1;\n for (; !beforeText.isTextblock; beforePos--) {\n if (beforeText.type.spec.isolating) return false;\n let child = beforeText.lastChild;\n if (!child) return false;\n beforeText = child;\n }\n let after = $cut.nodeAfter,\n afterText = after,\n afterPos = $cut.pos + 1;\n for (; !afterText.isTextblock; afterPos++) {\n if (afterText.type.spec.isolating) return false;\n let child = afterText.firstChild;\n if (!child) return false;\n afterText = child;\n }\n let step = replaceStep(state.doc, beforePos, afterPos, Slice.empty);\n if (!step || step.from != beforePos || step instanceof ReplaceStep && step.slice.size >= afterPos - beforePos) return false;\n if (dispatch) {\n let tr = state.tr.step(step);\n tr.setSelection(TextSelection.create(tr.doc, beforePos));\n dispatch(tr.scrollIntoView());\n }\n return true;\n}\nfunction textblockAt(node, side) {\n let only = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n for (let scan = node; scan; scan = side == \"start\" ? scan.firstChild : scan.lastChild) {\n if (scan.isTextblock) return true;\n if (only && scan.childCount != 1) return false;\n }\n return false;\n}\n/**\nWhen the selection is empty and at the start of a textblock, select\nthe node before that textblock, if possible. This is intended to be\nbound to keys like backspace, after\n[`joinBackward`](https://prosemirror.net/docs/ref/#commands.joinBackward) or other deleting\ncommands, as a fall-back behavior when the schema doesn't allow\ndeletion at the selected point.\n*/\nconst selectNodeBackward = (state, dispatch, view) => {\n let {\n $head,\n empty\n } = state.selection,\n $cut = $head;\n if (!empty) return false;\n if ($head.parent.isTextblock) {\n if (view ? !view.endOfTextblock(\"backward\", state) : $head.parentOffset > 0) return false;\n $cut = findCutBefore($head);\n }\n let node = $cut && $cut.nodeBefore;\n if (!node || !NodeSelection.isSelectable(node)) return false;\n if (dispatch) dispatch(state.tr.setSelection(NodeSelection.create(state.doc, $cut.pos - node.nodeSize)).scrollIntoView());\n return true;\n};\nfunction findCutBefore($pos) {\n if (!$pos.parent.type.spec.isolating) for (let i = $pos.depth - 1; i >= 0; i--) {\n if ($pos.index(i) > 0) return $pos.doc.resolve($pos.before(i + 1));\n if ($pos.node(i).type.spec.isolating) break;\n }\n return null;\n}\nfunction atBlockEnd(state, view) {\n let {\n $cursor\n } = state.selection;\n if (!$cursor || (view ? !view.endOfTextblock(\"forward\", state) : $cursor.parentOffset < $cursor.parent.content.size)) return null;\n return $cursor;\n}\n/**\nIf the selection is empty and the cursor is at the end of a\ntextblock, try to reduce or remove the boundary between that block\nand the one after it, either by joining them or by moving the other\nblock closer to this one in the tree structure. Will use the view\nfor accurate start-of-textblock detection if given.\n*/\nconst joinForward = (state, dispatch, view) => {\n let $cursor = atBlockEnd(state, view);\n if (!$cursor) return false;\n let $cut = findCutAfter($cursor);\n // If there is no node after this, there's nothing to do\n if (!$cut) return false;\n let after = $cut.nodeAfter;\n // Try the joining algorithm\n if (deleteBarrier(state, $cut, dispatch, 1)) return true;\n // If the node above has no content and the node below is\n // selectable, delete the node above and select the one below.\n if ($cursor.parent.content.size == 0 && (textblockAt(after, \"start\") || NodeSelection.isSelectable(after))) {\n let delStep = replaceStep(state.doc, $cursor.before(), $cursor.after(), Slice.empty);\n if (delStep && delStep.slice.size < delStep.to - delStep.from) {\n if (dispatch) {\n let tr = state.tr.step(delStep);\n tr.setSelection(textblockAt(after, \"start\") ? Selection.findFrom(tr.doc.resolve(tr.mapping.map($cut.pos)), 1) : NodeSelection.create(tr.doc, tr.mapping.map($cut.pos)));\n dispatch(tr.scrollIntoView());\n }\n return true;\n }\n }\n // If the next node is an atom, delete it\n if (after.isAtom && $cut.depth == $cursor.depth - 1) {\n if (dispatch) dispatch(state.tr.delete($cut.pos, $cut.pos + after.nodeSize).scrollIntoView());\n return true;\n }\n return false;\n};\n/**\nWhen the selection is empty and at the end of a textblock, select\nthe node coming after that textblock, if possible. This is intended\nto be bound to keys like delete, after\n[`joinForward`](https://prosemirror.net/docs/ref/#commands.joinForward) and similar deleting\ncommands, to provide a fall-back behavior when the schema doesn't\nallow deletion at the selected point.\n*/\nconst selectNodeForward = (state, dispatch, view) => {\n let {\n $head,\n empty\n } = state.selection,\n $cut = $head;\n if (!empty) return false;\n if ($head.parent.isTextblock) {\n if (view ? !view.endOfTextblock(\"forward\", state) : $head.parentOffset < $head.parent.content.size) return false;\n $cut = findCutAfter($head);\n }\n let node = $cut && $cut.nodeAfter;\n if (!node || !NodeSelection.isSelectable(node)) return false;\n if (dispatch) dispatch(state.tr.setSelection(NodeSelection.create(state.doc, $cut.pos)).scrollIntoView());\n return true;\n};\nfunction findCutAfter($pos) {\n if (!$pos.parent.type.spec.isolating) for (let i = $pos.depth - 1; i >= 0; i--) {\n let parent = $pos.node(i);\n if ($pos.index(i) + 1 < parent.childCount) return $pos.doc.resolve($pos.after(i + 1));\n if (parent.type.spec.isolating) break;\n }\n return null;\n}\n/**\nJoin the selected block or, if there is a text selection, the\nclosest ancestor block of the selection that can be joined, with\nthe sibling above it.\n*/\nconst joinUp = (state, dispatch) => {\n let sel = state.selection,\n nodeSel = sel instanceof NodeSelection,\n point;\n if (nodeSel) {\n if (sel.node.isTextblock || !canJoin(state.doc, sel.from)) return false;\n point = sel.from;\n } else {\n point = joinPoint(state.doc, sel.from, -1);\n if (point == null) return false;\n }\n if (dispatch) {\n let tr = state.tr.join(point);\n if (nodeSel) tr.setSelection(NodeSelection.create(tr.doc, point - state.doc.resolve(point).nodeBefore.nodeSize));\n dispatch(tr.scrollIntoView());\n }\n return true;\n};\n/**\nJoin the selected block, or the closest ancestor of the selection\nthat can be joined, with the sibling after it.\n*/\nconst joinDown = (state, dispatch) => {\n let sel = state.selection,\n point;\n if (sel instanceof NodeSelection) {\n if (sel.node.isTextblock || !canJoin(state.doc, sel.to)) return false;\n point = sel.to;\n } else {\n point = joinPoint(state.doc, sel.to, 1);\n if (point == null) return false;\n }\n if (dispatch) dispatch(state.tr.join(point).scrollIntoView());\n return true;\n};\n/**\nLift the selected block, or the closest ancestor block of the\nselection that can be lifted, out of its parent node.\n*/\nconst lift = (state, dispatch) => {\n let {\n $from,\n $to\n } = state.selection;\n let range = $from.blockRange($to),\n target = range && liftTarget(range);\n if (target == null) return false;\n if (dispatch) dispatch(state.tr.lift(range, target).scrollIntoView());\n return true;\n};\n/**\nIf the selection is in a node whose type has a truthy\n[`code`](https://prosemirror.net/docs/ref/#model.NodeSpec.code) property in its spec, replace the\nselection with a newline character.\n*/\nconst newlineInCode = (state, dispatch) => {\n let {\n $head,\n $anchor\n } = state.selection;\n if (!$head.parent.type.spec.code || !$head.sameParent($anchor)) return false;\n if (dispatch) dispatch(state.tr.insertText(\"\\n\").scrollIntoView());\n return true;\n};\nfunction defaultBlockAt(match) {\n for (let i = 0; i < match.edgeCount; i++) {\n let {\n type\n } = match.edge(i);\n if (type.isTextblock && !type.hasRequiredAttrs()) return type;\n }\n return null;\n}\n/**\nWhen the selection is in a node with a truthy\n[`code`](https://prosemirror.net/docs/ref/#model.NodeSpec.code) property in its spec, create a\ndefault block after the code block, and move the cursor there.\n*/\nconst exitCode = (state, dispatch) => {\n let {\n $head,\n $anchor\n } = state.selection;\n if (!$head.parent.type.spec.code || !$head.sameParent($anchor)) return false;\n let above = $head.node(-1),\n after = $head.indexAfter(-1),\n type = defaultBlockAt(above.contentMatchAt(after));\n if (!type || !above.canReplaceWith(after, after, type)) return false;\n if (dispatch) {\n let pos = $head.after(),\n tr = state.tr.replaceWith(pos, pos, type.createAndFill());\n tr.setSelection(Selection.near(tr.doc.resolve(pos), 1));\n dispatch(tr.scrollIntoView());\n }\n return true;\n};\n/**\nIf a block node is selected, create an empty paragraph before (if\nit is its parent's first child) or after it.\n*/\nconst createParagraphNear = (state, dispatch) => {\n let sel = state.selection,\n {\n $from,\n $to\n } = sel;\n if (sel instanceof AllSelection || $from.parent.inlineContent || $to.parent.inlineContent) return false;\n let type = defaultBlockAt($to.parent.contentMatchAt($to.indexAfter()));\n if (!type || !type.isTextblock) return false;\n if (dispatch) {\n let side = (!$from.parentOffset && $to.index() < $to.parent.childCount ? $from : $to).pos;\n let tr = state.tr.insert(side, type.createAndFill());\n tr.setSelection(TextSelection.create(tr.doc, side + 1));\n dispatch(tr.scrollIntoView());\n }\n return true;\n};\n/**\nIf the cursor is in an empty textblock that can be lifted, lift the\nblock.\n*/\nconst liftEmptyBlock = (state, dispatch) => {\n let {\n $cursor\n } = state.selection;\n if (!$cursor || $cursor.parent.content.size) return false;\n if ($cursor.depth > 1 && $cursor.after() != $cursor.end(-1)) {\n let before = $cursor.before();\n if (canSplit(state.doc, before)) {\n if (dispatch) dispatch(state.tr.split(before).scrollIntoView());\n return true;\n }\n }\n let range = $cursor.blockRange(),\n target = range && liftTarget(range);\n if (target == null) return false;\n if (dispatch) dispatch(state.tr.lift(range, target).scrollIntoView());\n return true;\n};\n/**\nCreate a variant of [`splitBlock`](https://prosemirror.net/docs/ref/#commands.splitBlock) that uses\na custom function to determine the type of the newly split off block.\n*/\nfunction splitBlockAs(splitNode) {\n return (state, dispatch) => {\n let {\n $from,\n $to\n } = state.selection;\n if (state.selection instanceof NodeSelection && state.selection.node.isBlock) {\n if (!$from.parentOffset || !canSplit(state.doc, $from.pos)) return false;\n if (dispatch) dispatch(state.tr.split($from.pos).scrollIntoView());\n return true;\n }\n if (!$from.depth) return false;\n let types = [];\n let splitDepth,\n deflt,\n atEnd = false,\n atStart = false;\n for (let d = $from.depth;; d--) {\n let node = $from.node(d);\n if (node.isBlock) {\n atEnd = $from.end(d) == $from.pos + ($from.depth - d);\n atStart = $from.start(d) == $from.pos - ($from.depth - d);\n deflt = defaultBlockAt($from.node(d - 1).contentMatchAt($from.indexAfter(d - 1)));\n let splitType = splitNode && splitNode($to.parent, atEnd, $from);\n types.unshift(splitType || (atEnd && deflt ? {\n type: deflt\n } : null));\n splitDepth = d;\n break;\n } else {\n if (d == 1) return false;\n types.unshift(null);\n }\n }\n let tr = state.tr;\n if (state.selection instanceof TextSelection || state.selection instanceof AllSelection) tr.deleteSelection();\n let splitPos = tr.mapping.map($from.pos);\n let can = canSplit(tr.doc, splitPos, types.length, types);\n if (!can) {\n types[0] = deflt ? {\n type: deflt\n } : null;\n can = canSplit(tr.doc, splitPos, types.length, types);\n }\n tr.split(splitPos, types.length, types);\n if (!atEnd && atStart && $from.node(splitDepth).type != deflt) {\n let first = tr.mapping.map($from.before(splitDepth)),\n $first = tr.doc.resolve(first);\n if (deflt && $from.node(splitDepth - 1).canReplaceWith($first.index(), $first.index() + 1, deflt)) tr.setNodeMarkup(tr.mapping.map($from.before(splitDepth)), deflt);\n }\n if (dispatch) dispatch(tr.scrollIntoView());\n return true;\n };\n}\n/**\nSplit the parent block of the selection. If the selection is a text\nselection, also delete its content.\n*/\nconst splitBlock = splitBlockAs();\n/**\nActs like [`splitBlock`](https://prosemirror.net/docs/ref/#commands.splitBlock), but without\nresetting the set of active marks at the cursor.\n*/\nconst splitBlockKeepMarks = (state, dispatch) => {\n return splitBlock(state, dispatch && (tr => {\n let marks = state.storedMarks || state.selection.$to.parentOffset && state.selection.$from.marks();\n if (marks) tr.ensureMarks(marks);\n dispatch(tr);\n }));\n};\n/**\nMove the selection to the node wrapping the current selection, if\nany. (Will not select the document node.)\n*/\nconst selectParentNode = (state, dispatch) => {\n let {\n $from,\n to\n } = state.selection,\n pos;\n let same = $from.sharedDepth(to);\n if (same == 0) return false;\n pos = $from.before(same);\n if (dispatch) dispatch(state.tr.setSelection(NodeSelection.create(state.doc, pos)));\n return true;\n};\n/**\nSelect the whole document.\n*/\nconst selectAll = (state, dispatch) => {\n if (dispatch) dispatch(state.tr.setSelection(new AllSelection(state.doc)));\n return true;\n};\nfunction joinMaybeClear(state, $pos, dispatch) {\n let before = $pos.nodeBefore,\n after = $pos.nodeAfter,\n index = $pos.index();\n if (!before || !after || !before.type.compatibleContent(after.type)) return false;\n if (!before.content.size && $pos.parent.canReplace(index - 1, index)) {\n if (dispatch) dispatch(state.tr.delete($pos.pos - before.nodeSize, $pos.pos).scrollIntoView());\n return true;\n }\n if (!$pos.parent.canReplace(index, index + 1) || !(after.isTextblock || canJoin(state.doc, $pos.pos))) return false;\n if (dispatch) dispatch(state.tr.join($pos.pos).scrollIntoView());\n return true;\n}\nfunction deleteBarrier(state, $cut, dispatch, dir) {\n let before = $cut.nodeBefore,\n after = $cut.nodeAfter,\n conn,\n match;\n let isolated = before.type.spec.isolating || after.type.spec.isolating;\n if (!isolated && joinMaybeClear(state, $cut, dispatch)) return true;\n let canDelAfter = !isolated && $cut.parent.canReplace($cut.index(), $cut.index() + 1);\n if (canDelAfter && (conn = (match = before.contentMatchAt(before.childCount)).findWrapping(after.type)) && match.matchType(conn[0] || after.type).validEnd) {\n if (dispatch) {\n let end = $cut.pos + after.nodeSize,\n wrap = Fragment.empty;\n for (let i = conn.length - 1; i >= 0; i--) wrap = Fragment.from(conn[i].create(null, wrap));\n wrap = Fragment.from(before.copy(wrap));\n let tr = state.tr.step(new ReplaceAroundStep($cut.pos - 1, end, $cut.pos, end, new Slice(wrap, 1, 0), conn.length, true));\n let $joinAt = tr.doc.resolve(end + 2 * conn.length);\n if ($joinAt.nodeAfter && $joinAt.nodeAfter.type == before.type && canJoin(tr.doc, $joinAt.pos)) tr.join($joinAt.pos);\n dispatch(tr.scrollIntoView());\n }\n return true;\n }\n let selAfter = after.type.spec.isolating || dir > 0 && isolated ? null : Selection.findFrom($cut, 1);\n let range = selAfter && selAfter.$from.blockRange(selAfter.$to),\n target = range && liftTarget(range);\n if (target != null && target >= $cut.depth) {\n if (dispatch) dispatch(state.tr.lift(range, target).scrollIntoView());\n return true;\n }\n if (canDelAfter && textblockAt(after, \"start\", true) && textblockAt(before, \"end\")) {\n let at = before,\n wrap = [];\n for (;;) {\n wrap.push(at);\n if (at.isTextblock) break;\n at = at.lastChild;\n }\n let afterText = after,\n afterDepth = 1;\n for (; !afterText.isTextblock; afterText = afterText.firstChild) afterDepth++;\n if (at.canReplace(at.childCount, at.childCount, afterText.content)) {\n if (dispatch) {\n let end = Fragment.empty;\n for (let i = wrap.length - 1; i >= 0; i--) end = Fragment.from(wrap[i].copy(end));\n let tr = state.tr.step(new ReplaceAroundStep($cut.pos - wrap.length, $cut.pos + after.nodeSize, $cut.pos + afterDepth, $cut.pos + after.nodeSize - afterDepth, new Slice(end, wrap.length, 0), 0, true));\n dispatch(tr.scrollIntoView());\n }\n return true;\n }\n }\n return false;\n}\nfunction selectTextblockSide(side) {\n return function (state, dispatch) {\n let sel = state.selection,\n $pos = side < 0 ? sel.$from : sel.$to;\n let depth = $pos.depth;\n while ($pos.node(depth).isInline) {\n if (!depth) return false;\n depth--;\n }\n if (!$pos.node(depth).isTextblock) return false;\n if (dispatch) dispatch(state.tr.setSelection(TextSelection.create(state.doc, side < 0 ? $pos.start(depth) : $pos.end(depth))));\n return true;\n };\n}\n/**\nMoves the cursor to the start of current text block.\n*/\nconst selectTextblockStart = selectTextblockSide(-1);\n/**\nMoves the cursor to the end of current text block.\n*/\nconst selectTextblockEnd = selectTextblockSide(1);\n// Parameterized commands\n/**\nWrap the selection in a node of the given type with the given\nattributes.\n*/\nfunction wrapIn(nodeType) {\n let attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n return function (state, dispatch) {\n let {\n $from,\n $to\n } = state.selection;\n let range = $from.blockRange($to),\n wrapping = range && findWrapping(range, nodeType, attrs);\n if (!wrapping) return false;\n if (dispatch) dispatch(state.tr.wrap(range, wrapping).scrollIntoView());\n return true;\n };\n}\n/**\nReturns a command that tries to set the selected textblocks to the\ngiven node type with the given attributes.\n*/\nfunction setBlockType(nodeType) {\n let attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n return function (state, dispatch) {\n let applicable = false;\n for (let i = 0; i < state.selection.ranges.length && !applicable; i++) {\n let {\n $from: {\n pos: from\n },\n $to: {\n pos: to\n }\n } = state.selection.ranges[i];\n state.doc.nodesBetween(from, to, (node, pos) => {\n if (applicable) return false;\n if (!node.isTextblock || node.hasMarkup(nodeType, attrs)) return;\n if (node.type == nodeType) {\n applicable = true;\n } else {\n let $pos = state.doc.resolve(pos),\n index = $pos.index();\n applicable = $pos.parent.canReplaceWith(index, index + 1, nodeType);\n }\n });\n }\n if (!applicable) return false;\n if (dispatch) {\n let tr = state.tr;\n for (let i = 0; i < state.selection.ranges.length; i++) {\n let {\n $from: {\n pos: from\n },\n $to: {\n pos: to\n }\n } = state.selection.ranges[i];\n tr.setBlockType(from, to, nodeType, attrs);\n }\n dispatch(tr.scrollIntoView());\n }\n return true;\n };\n}\nfunction markApplies(doc, ranges, type, enterAtoms) {\n for (let i = 0; i < ranges.length; i++) {\n let {\n $from,\n $to\n } = ranges[i];\n let can = $from.depth == 0 ? doc.inlineContent && doc.type.allowsMarkType(type) : false;\n doc.nodesBetween($from.pos, $to.pos, (node, pos) => {\n if (can || !enterAtoms && node.isAtom && node.isInline && pos >= $from.pos && pos + node.nodeSize <= $to.pos) return false;\n can = node.inlineContent && node.type.allowsMarkType(type);\n });\n if (can) return true;\n }\n return false;\n}\nfunction removeInlineAtoms(ranges) {\n let result = [];\n for (let i = 0; i < ranges.length; i++) {\n let {\n $from,\n $to\n } = ranges[i];\n $from.doc.nodesBetween($from.pos, $to.pos, (node, pos) => {\n if (node.isAtom && node.content.size && node.isInline && pos >= $from.pos && pos + node.nodeSize <= $to.pos) {\n if (pos + 1 > $from.pos) result.push(new SelectionRange($from, $from.doc.resolve(pos + 1)));\n $from = $from.doc.resolve(pos + 1 + node.content.size);\n return false;\n }\n });\n if ($from.pos < $to.pos) result.push(new SelectionRange($from, $to));\n }\n return result;\n}\n/**\nCreate a command function that toggles the given mark with the\ngiven attributes. Will return `false` when the current selection\ndoesn't support that mark. This will remove the mark if any marks\nof that type exist in the selection, or add it otherwise. If the\nselection is empty, this applies to the [stored\nmarks](https://prosemirror.net/docs/ref/#state.EditorState.storedMarks) instead of a range of the\ndocument.\n*/\nfunction toggleMark(markType) {\n let attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n let options = arguments.length > 2 ? arguments[2] : undefined;\n let removeWhenPresent = (options && options.removeWhenPresent) !== false;\n let enterAtoms = (options && options.enterInlineAtoms) !== false;\n return function (state, dispatch) {\n let {\n empty,\n $cursor,\n ranges\n } = state.selection;\n if (empty && !$cursor || !markApplies(state.doc, ranges, markType, enterAtoms)) return false;\n if (dispatch) {\n if ($cursor) {\n if (markType.isInSet(state.storedMarks || $cursor.marks())) dispatch(state.tr.removeStoredMark(markType));else dispatch(state.tr.addStoredMark(markType.create(attrs)));\n } else {\n let add,\n tr = state.tr;\n if (!enterAtoms) ranges = removeInlineAtoms(ranges);\n if (removeWhenPresent) {\n add = !ranges.some(r => state.doc.rangeHasMark(r.$from.pos, r.$to.pos, markType));\n } else {\n add = !ranges.every(r => {\n let missing = false;\n tr.doc.nodesBetween(r.$from.pos, r.$to.pos, (node, pos, parent) => {\n if (missing) return false;\n missing = !markType.isInSet(node.marks) && !!parent && parent.type.allowsMarkType(markType) && !(node.isText && /^\\s*$/.test(node.textBetween(Math.max(0, r.$from.pos - pos), Math.min(node.nodeSize, r.$to.pos - pos))));\n });\n return !missing;\n });\n }\n for (let i = 0; i < ranges.length; i++) {\n let {\n $from,\n $to\n } = ranges[i];\n if (!add) {\n tr.removeMark($from.pos, $to.pos, markType);\n } else {\n let from = $from.pos,\n to = $to.pos,\n start = $from.nodeAfter,\n end = $to.nodeBefore;\n let spaceStart = start && start.isText ? /^\\s*/.exec(start.text)[0].length : 0;\n let spaceEnd = end && end.isText ? /\\s*$/.exec(end.text)[0].length : 0;\n if (from + spaceStart < to) {\n from += spaceStart;\n to -= spaceEnd;\n }\n tr.addMark(from, to, markType.create(attrs));\n }\n }\n dispatch(tr.scrollIntoView());\n }\n }\n return true;\n };\n}\nfunction wrapDispatchForJoin(dispatch, isJoinable) {\n return tr => {\n if (!tr.isGeneric) return dispatch(tr);\n let ranges = [];\n for (let i = 0; i < tr.mapping.maps.length; i++) {\n let map = tr.mapping.maps[i];\n for (let j = 0; j < ranges.length; j++) ranges[j] = map.map(ranges[j]);\n map.forEach((_s, _e, from, to) => ranges.push(from, to));\n }\n // Figure out which joinable points exist inside those ranges,\n // by checking all node boundaries in their parent nodes.\n let joinable = [];\n for (let i = 0; i < ranges.length; i += 2) {\n let from = ranges[i],\n to = ranges[i + 1];\n let $from = tr.doc.resolve(from),\n depth = $from.sharedDepth(to),\n parent = $from.node(depth);\n for (let index = $from.indexAfter(depth), pos = $from.after(depth + 1); pos <= to; ++index) {\n let after = parent.maybeChild(index);\n if (!after) break;\n if (index && joinable.indexOf(pos) == -1) {\n let before = parent.child(index - 1);\n if (before.type == after.type && isJoinable(before, after)) joinable.push(pos);\n }\n pos += after.nodeSize;\n }\n }\n // Join the joinable points\n joinable.sort((a, b) => a - b);\n for (let i = joinable.length - 1; i >= 0; i--) {\n if (canJoin(tr.doc, joinable[i])) tr.join(joinable[i]);\n }\n dispatch(tr);\n };\n}\n/**\nWrap a command so that, when it produces a transform that causes\ntwo joinable nodes to end up next to each other, those are joined.\nNodes are considered joinable when they are of the same type and\nwhen the `isJoinable` predicate returns true for them or, if an\narray of strings was passed, if their node type name is in that\narray.\n*/\nfunction autoJoin(command, isJoinable) {\n let canJoin = Array.isArray(isJoinable) ? node => isJoinable.indexOf(node.type.name) > -1 : isJoinable;\n return (state, dispatch, view) => command(state, dispatch && wrapDispatchForJoin(dispatch, canJoin), view);\n}\n/**\nCombine a number of command functions into a single function (which\ncalls them one by one until one returns true).\n*/\nfunction chainCommands() {\n for (var _len = arguments.length, commands = new Array(_len), _key = 0; _key < _len; _key++) {\n commands[_key] = arguments[_key];\n }\n return function (state, dispatch, view) {\n for (let i = 0; i < commands.length; i++) if (commands[i](state, dispatch, view)) return true;\n return false;\n };\n}\nlet backspace = chainCommands(deleteSelection, joinBackward, selectNodeBackward);\nlet del = chainCommands(deleteSelection, joinForward, selectNodeForward);\n/**\nA basic keymap containing bindings not specific to any schema.\nBinds the following keys (when multiple commands are listed, they\nare chained with [`chainCommands`](https://prosemirror.net/docs/ref/#commands.chainCommands)):\n\n* **Enter** to `newlineInCode`, `createParagraphNear`, `liftEmptyBlock`, `splitBlock`\n* **Mod-Enter** to `exitCode`\n* **Backspace** and **Mod-Backspace** to `deleteSelection`, `joinBackward`, `selectNodeBackward`\n* **Delete** and **Mod-Delete** to `deleteSelection`, `joinForward`, `selectNodeForward`\n* **Mod-Delete** to `deleteSelection`, `joinForward`, `selectNodeForward`\n* **Mod-a** to `selectAll`\n*/\nconst pcBaseKeymap = {\n \"Enter\": chainCommands(newlineInCode, createParagraphNear, liftEmptyBlock, splitBlock),\n \"Mod-Enter\": exitCode,\n \"Backspace\": backspace,\n \"Mod-Backspace\": backspace,\n \"Shift-Backspace\": backspace,\n \"Delete\": del,\n \"Mod-Delete\": del,\n \"Mod-a\": selectAll\n};\n/**\nA copy of `pcBaseKeymap` that also binds **Ctrl-h** like Backspace,\n**Ctrl-d** like Delete, **Alt-Backspace** like Ctrl-Backspace, and\n**Ctrl-Alt-Backspace**, **Alt-Delete**, and **Alt-d** like\nCtrl-Delete.\n*/\nconst macBaseKeymap = {\n \"Ctrl-h\": pcBaseKeymap[\"Backspace\"],\n \"Alt-Backspace\": pcBaseKeymap[\"Mod-Backspace\"],\n \"Ctrl-d\": pcBaseKeymap[\"Delete\"],\n \"Ctrl-Alt-Backspace\": pcBaseKeymap[\"Mod-Delete\"],\n \"Alt-Delete\": pcBaseKeymap[\"Mod-Delete\"],\n \"Alt-d\": pcBaseKeymap[\"Mod-Delete\"],\n \"Ctrl-a\": selectTextblockStart,\n \"Ctrl-e\": selectTextblockEnd\n};\nfor (let key in pcBaseKeymap) macBaseKeymap[key] = pcBaseKeymap[key];\nconst mac = typeof navigator != \"undefined\" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform)\n// @ts-ignore\n: typeof os != \"undefined\" && os.platform ? os.platform() == \"darwin\" : false;\n/**\nDepending on the detected platform, this will hold\n[`pcBasekeymap`](https://prosemirror.net/docs/ref/#commands.pcBaseKeymap) or\n[`macBaseKeymap`](https://prosemirror.net/docs/ref/#commands.macBaseKeymap).\n*/\nconst baseKeymap = mac ? macBaseKeymap : pcBaseKeymap;\nexport { autoJoin, baseKeymap, chainCommands, createParagraphNear, deleteSelection, exitCode, joinBackward, joinDown, joinForward, joinTextblockBackward, joinTextblockForward, joinUp, lift, liftEmptyBlock, macBaseKeymap, newlineInCode, pcBaseKeymap, selectAll, selectNodeBackward, selectNodeForward, selectParentNode, selectTextblockEnd, selectTextblockStart, setBlockType, splitBlock, splitBlockAs, splitBlockKeepMarks, toggleMark, wrapIn };","export default function bindAll(obj) {\n var proto = obj.constructor.prototype;\n for (var _i = 0, _a = Object.getOwnPropertyNames(proto); _i < _a.length; _i++) {\n var key = _a[_i];\n if (key !== 'constructor') {\n var desc = Object.getOwnPropertyDescriptor(obj.constructor.prototype, key);\n if (!!desc && typeof desc.value === 'function') {\n obj[key] = obj[key].bind(obj);\n }\n }\n }\n return obj;\n}","/* eslint-disable @typescript-eslint/explicit-function-return-type */\n/* eslint-disable @typescript-eslint/typedef */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isThenable } from './is';\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\nexport function resolvedSyncPromise(value) {\n return new SyncPromise(function (resolve) {\n resolve(value);\n });\n}\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\nexport function rejectedSyncPromise(reason) {\n return new SyncPromise(function (_, reject) {\n reject(reason);\n });\n}\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\nvar SyncPromise = /** @class */function () {\n function SyncPromise(executor) {\n var _this = this;\n this._state = 0 /* PENDING */;\n this._handlers = [];\n /** JSDoc */\n this._resolve = function (value) {\n _this._setResult(1 /* RESOLVED */, value);\n };\n /** JSDoc */\n this._reject = function (reason) {\n _this._setResult(2 /* REJECTED */, reason);\n };\n /** JSDoc */\n this._setResult = function (state, value) {\n if (_this._state !== 0 /* PENDING */) {\n return;\n }\n if (isThenable(value)) {\n void value.then(_this._resolve, _this._reject);\n return;\n }\n _this._state = state;\n _this._value = value;\n _this._executeHandlers();\n };\n /** JSDoc */\n this._executeHandlers = function () {\n if (_this._state === 0 /* PENDING */) {\n return;\n }\n var cachedHandlers = _this._handlers.slice();\n _this._handlers = [];\n cachedHandlers.forEach(function (handler) {\n if (handler[0]) {\n return;\n }\n if (_this._state === 1 /* RESOLVED */) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n handler[1](_this._value);\n }\n if (_this._state === 2 /* REJECTED */) {\n handler[2](_this._value);\n }\n handler[0] = true;\n });\n };\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n /** JSDoc */\n SyncPromise.prototype.then = function (onfulfilled, onrejected) {\n var _this = this;\n return new SyncPromise(function (resolve, reject) {\n _this._handlers.push([false, function (result) {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result);\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n }, function (reason) {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n }]);\n _this._executeHandlers();\n });\n };\n /** JSDoc */\n SyncPromise.prototype.catch = function (onrejected) {\n return this.then(function (val) {\n return val;\n }, onrejected);\n };\n /** JSDoc */\n SyncPromise.prototype.finally = function (onfinally) {\n var _this = this;\n return new SyncPromise(function (resolve, reject) {\n var val;\n var isRejected;\n return _this.then(function (value) {\n isRejected = false;\n val = value;\n if (onfinally) {\n onfinally();\n }\n }, function (reason) {\n isRejected = true;\n val = reason;\n if (onfinally) {\n onfinally();\n }\n }).then(function () {\n if (isRejected) {\n reject(val);\n return;\n }\n resolve(val);\n });\n });\n };\n return SyncPromise;\n}();\nexport { SyncPromise };","import { __assign } from \"tslib\";\nimport { getGlobalObject } from './global';\nimport { addNonEnumerableProperty } from './object';\nimport { snipLine } from './string';\n/**\n * UUID4 generator\n *\n * @returns string Generated UUID4.\n */\nexport function uuid4() {\n var global = getGlobalObject();\n var crypto = global.crypto || global.msCrypto;\n if (!(crypto === void 0) && crypto.getRandomValues) {\n // Use window.crypto API if available\n var arr = new Uint16Array(8);\n crypto.getRandomValues(arr);\n // set 4 in byte 7\n // eslint-disable-next-line no-bitwise\n arr[3] = arr[3] & 0xfff | 0x4000;\n // set 2 most significant bits of byte 9 to '10'\n // eslint-disable-next-line no-bitwise\n arr[4] = arr[4] & 0x3fff | 0x8000;\n var pad = function (num) {\n var v = num.toString(16);\n while (v.length < 4) {\n v = \"0\" + v;\n }\n return v;\n };\n return pad(arr[0]) + pad(arr[1]) + pad(arr[2]) + pad(arr[3]) + pad(arr[4]) + pad(arr[5]) + pad(arr[6]) + pad(arr[7]);\n }\n // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n // eslint-disable-next-line no-bitwise\n var r = Math.random() * 16 | 0;\n // eslint-disable-next-line no-bitwise\n var v = c === 'x' ? r : r & 0x3 | 0x8;\n return v.toString(16);\n });\n}\n/**\n * Parses string form of URL into an object\n * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n * // intentionally using regex and not href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nexport function parseUrl(url) {\n if (!url) {\n return {};\n }\n var match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n if (!match) {\n return {};\n }\n // coerce to undefined values to empty string so we don't get 'undefined'\n var query = match[6] || '';\n var fragment = match[8] || '';\n return {\n host: match[4],\n path: match[5],\n protocol: match[2],\n relative: match[5] + query + fragment\n };\n}\nfunction getFirstException(event) {\n return event.exception && event.exception.values ? event.exception.values[0] : undefined;\n}\n/**\n * Extracts either message or type+value from an event that can be used for user-facing logs\n * @returns event's description\n */\nexport function getEventDescription(event) {\n var message = event.message,\n eventId = event.event_id;\n if (message) {\n return message;\n }\n var firstException = getFirstException(event);\n if (firstException) {\n if (firstException.type && firstException.value) {\n return firstException.type + \": \" + firstException.value;\n }\n return firstException.type || firstException.value || eventId || '';\n }\n return eventId || '';\n}\n/**\n * Adds exception values, type and value to an synthetic Exception.\n * @param event The event to modify.\n * @param value Value of the exception.\n * @param type Type of the exception.\n * @hidden\n */\nexport function addExceptionTypeValue(event, value, type) {\n var exception = event.exception = event.exception || {};\n var values = exception.values = exception.values || [];\n var firstException = values[0] = values[0] || {};\n if (!firstException.value) {\n firstException.value = value || '';\n }\n if (!firstException.type) {\n firstException.type = type || 'Error';\n }\n}\n/**\n * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed.\n *\n * @param event The event to modify.\n * @param newMechanism Mechanism data to add to the event.\n * @hidden\n */\nexport function addExceptionMechanism(event, newMechanism) {\n var firstException = getFirstException(event);\n if (!firstException) {\n return;\n }\n var defaultMechanism = {\n type: 'generic',\n handled: true\n };\n var currentMechanism = firstException.mechanism;\n firstException.mechanism = __assign(__assign(__assign({}, defaultMechanism), currentMechanism), newMechanism);\n if (newMechanism && 'data' in newMechanism) {\n var mergedData = __assign(__assign({}, currentMechanism && currentMechanism.data), newMechanism.data);\n firstException.mechanism.data = mergedData;\n }\n}\n// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string\nvar SEMVER_REGEXP = /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n/**\n * Parses input into a SemVer interface\n * @param input string representation of a semver version\n */\nexport function parseSemver(input) {\n var match = input.match(SEMVER_REGEXP) || [];\n var major = parseInt(match[1], 10);\n var minor = parseInt(match[2], 10);\n var patch = parseInt(match[3], 10);\n return {\n buildmetadata: match[5],\n major: isNaN(major) ? undefined : major,\n minor: isNaN(minor) ? undefined : minor,\n patch: isNaN(patch) ? undefined : patch,\n prerelease: match[4]\n };\n}\n/**\n * This function adds context (pre/post/line) lines to the provided frame\n *\n * @param lines string[] containing all lines\n * @param frame StackFrame that will be mutated\n * @param linesOfContext number of context lines we want to add pre/post\n */\nexport function addContextToFrame(lines, frame, linesOfContext) {\n if (linesOfContext === void 0) {\n linesOfContext = 5;\n }\n var lineno = frame.lineno || 0;\n var maxLines = lines.length;\n var sourceLine = Math.max(Math.min(maxLines, lineno - 1), 0);\n frame.pre_context = lines.slice(Math.max(0, sourceLine - linesOfContext), sourceLine).map(function (line) {\n return snipLine(line, 0);\n });\n frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0);\n frame.post_context = lines.slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext).map(function (line) {\n return snipLine(line, 0);\n });\n}\n/**\n * Strip the query string and fragment off of a given URL or path (if present)\n *\n * @param urlPath Full URL or path, including possible query string and/or fragment\n * @returns URL or path without query string or fragment\n */\nexport function stripUrlQueryAndFragment(urlPath) {\n // eslint-disable-next-line no-useless-escape\n return urlPath.split(/[\\?#]/, 1)[0];\n}\n/**\n * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object\n * in question), and marks it captured if not.\n *\n * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and\n * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so\n * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because\n * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not\n * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This\n * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we\n * see it.\n *\n * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on\n * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent\n * object wrapper forms so that this check will always work. However, because we need to flag the exact object which\n * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification\n * must be done before the exception captured.\n *\n * @param A thrown exception to check or flag as having been seen\n * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen)\n */\nexport function checkOrSetAlreadyCaught(exception) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (exception && exception.__sentry_captured__) {\n return true;\n }\n try {\n // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the\n // `ExtraErrorData` integration\n addNonEnumerableProperty(exception, '__sentry_captured__', true);\n } catch (err) {\n // `exception` is a primitive, so we can't mark it seen\n }\n return false;\n}","import { __awaiter, __generator } from \"tslib\";\nimport { CoreContext, ContextCancelation } from '../context';\nfunction tryAsync(fn) {\n return __awaiter(this, void 0, void 0, function () {\n var err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 2,, 3]);\n return [4 /*yield*/, fn()];\n case 1:\n return [2 /*return*/, _a.sent()];\n case 2:\n err_1 = _a.sent();\n return [2 /*return*/, Promise.reject(err_1)];\n case 3:\n return [2 /*return*/];\n }\n });\n });\n}\nexport function attempt(ctx, plugin) {\n ctx.log('debug', 'plugin', {\n plugin: plugin.name\n });\n var start = new Date().getTime();\n var hook = plugin[ctx.event.type];\n if (hook === undefined) {\n return Promise.resolve(ctx);\n }\n var newCtx = tryAsync(function () {\n return hook.apply(plugin, [ctx]);\n }).then(function (ctx) {\n var done = new Date().getTime() - start;\n ctx.stats.gauge('plugin_time', done, [\"plugin:\".concat(plugin.name)]);\n return ctx;\n }).catch(function (err) {\n if (err instanceof ContextCancelation && err.type === 'middleware_cancellation') {\n throw err;\n }\n if (err instanceof ContextCancelation) {\n ctx.log('warn', err.type, {\n plugin: plugin.name,\n error: err\n });\n return err;\n }\n ctx.log('error', 'plugin Error', {\n plugin: plugin.name,\n error: err\n });\n ctx.stats.increment('plugin_error', 1, [\"plugin:\".concat(plugin.name)]);\n return err;\n });\n return newCtx;\n}\nexport function ensure(ctx, plugin) {\n return attempt(ctx, plugin).then(function (newContext) {\n if (newContext instanceof CoreContext) {\n return newContext;\n }\n ctx.log('debug', 'Context canceled');\n ctx.stats.increment('context_canceled');\n ctx.cancel(newContext);\n });\n}","import types from '../../../mutation-types';\n\nexport const setPageFilter = ({ dispatch, filter, page, markEndReached }) => {\n dispatch('conversationPage/setCurrentPage', { filter, page }, { root: true });\n if (markEndReached) {\n dispatch('conversationPage/setEndReached', { filter }, { root: true });\n }\n};\n\nexport const setContacts = (commit, chatList) => {\n commit(\n `contacts/${types.SET_CONTACTS}`,\n chatList.map(chat => chat.meta.sender)\n );\n};\n\nexport const isOnMentionsView = ({ route: { name: routeName } }) => {\n const MENTION_ROUTES = [\n 'conversation_mentions',\n 'conversation_through_mentions',\n ];\n return MENTION_ROUTES.includes(routeName);\n};\n\nexport const isOnUnattendedView = ({ route: { name: routeName } }) => {\n const UNATTENDED_ROUTES = [\n 'conversation_unattended',\n 'conversation_through_unattended',\n ];\n return UNATTENDED_ROUTES.includes(routeName);\n};\n\nexport const isOnFoldersView = ({ route: { name: routeName } }) => {\n const FOLDER_ROUTES = [\n 'folder_conversations',\n 'conversations_through_folders',\n ];\n return FOLDER_ROUTES.includes(routeName);\n};\n\nexport const buildConversationList = (\n context,\n requestPayload,\n responseData,\n filterType\n) => {\n const { payload: conversationList, meta: metaData } = responseData;\n context.commit(types.SET_ALL_CONVERSATION, conversationList);\n context.dispatch('conversationStats/set', metaData);\n context.dispatch(\n 'conversationLabels/setBulkConversationLabels',\n conversationList\n );\n context.commit(types.CLEAR_LIST_LOADING_STATUS);\n setContacts(context.commit, conversationList);\n setPageFilter({\n dispatch: context.dispatch,\n filter: filterType,\n page: requestPayload.page,\n markEndReached: !conversationList.length,\n });\n};\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:_vm.thumbnailBoxClass,style:({ height: _vm.size, width: _vm.size }),attrs:{\"title\":_vm.title}},[_vm._t(\"default\",function(){return [_c('img',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.shouldShowImage),expression:\"shouldShowImage\"}],class:_vm.thumbnailClass,attrs:{\"src\":_vm.src,\"draggable\":\"false\"},on:{\"load\":_vm.onImgLoad,\"error\":_vm.onImgError}}),_vm._v(\" \"),_c('Avatar',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.shouldShowImage),expression:\"!shouldShowImage\"}],class:_vm.thumbnailClass,attrs:{\"username\":_vm.userNameWithoutEmoji,\"size\":_vm.avatarSize}})]}),_vm._v(\" \"),(_vm.badgeSrc)?_c('img',{staticClass:\"source-badge\",style:(_vm.badgeStyle),attrs:{\"src\":`/integrations/channels/badges/${_vm.badgeSrc}.png`,\"alt\":\"Badge\"}}):_vm._e(),_vm._v(\" \"),(_vm.showStatusIndicator)?_c('div',{class:`source-badge user-online-status user-online-status--${_vm.status}`,style:(_vm.statusStyle)}):_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Thumbnail.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Thumbnail.vue?vue&type=script&lang=js\"","\n\n\n\n","import { render, staticRenderFns } from \"./Thumbnail.vue?vue&type=template&id=3ea7931e&scoped=true\"\nimport script from \"./Thumbnail.vue?vue&type=script&lang=js\"\nexport * from \"./Thumbnail.vue?vue&type=script&lang=js\"\nimport style0 from \"./Thumbnail.vue?vue&type=style&index=0&id=3ea7931e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ea7931e\",\n null\n \n)\n\nexport default component.exports","export default {\n methods: {\n // eslint-disable-next-line default-param-last\n useInstallationName(str = '', installationName) {\n return str.replace(/Chatwoot/g, installationName);\n },\n },\n};\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\nmodule.exports = root;","export const isEnter = e => {\n return e.key === 'Enter';\n};\n\nexport const isEscape = e => {\n return e.key === 'Escape';\n};\n\nexport const hasPressedShift = e => {\n return e.shiftKey;\n};\n\nexport const hasPressedCommand = e => {\n return e.metaKey;\n};\n\nexport const hasPressedEnterAndNotCmdOrShift = e => {\n return isEnter(e) && !hasPressedCommand(e) && !hasPressedShift(e);\n};\n\nexport const hasPressedCommandAndEnter = e => {\n return hasPressedCommand(e) && isEnter(e);\n};\n\n/**\n * Determines whether the active element is typeable.\n *\n * @param {KeyboardEvent} e - The keyboard event object.\n * @returns {boolean} `true` if the active element is typeable, `false` otherwise.\n *\n * @example\n * document.addEventListener('keydown', e => {\n * if (isActiveElementTypeable(e)) {\n * handleTypeableElement(e);\n * }\n * });\n */\nexport const isActiveElementTypeable = e => {\n /** @type {HTMLElement | null} */\n // @ts-ignore\n const activeElement = e.target || document.activeElement;\n\n return !!(\n activeElement?.tagName === 'INPUT' ||\n activeElement?.tagName === 'NINJA-KEYS' ||\n activeElement?.tagName === 'TEXTAREA' ||\n activeElement?.contentEditable === 'true' ||\n activeElement?.className?.includes('ProseMirror')\n );\n};\n","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMilliseconds\n * @category Millisecond Helpers\n * @summary Add the specified number of milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\n\nexport default function addMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var timestamp = toDate(dirtyDate).getTime();\n var amount = toInteger(dirtyAmount);\n return new Date(timestamp + amount);\n}","import { hasPermissions } from './permissionsHelper';\n\n// eslint-disable-next-line default-param-last\nexport const getCurrentAccount = ({ accounts } = {}, accountId) => {\n return accounts.find(account => account.id === accountId);\n};\n\nexport const routeIsAccessibleFor = (route, userPermissions = []) => {\n const { meta: { permissions: routePermissions = [] } = {} } = route;\n return hasPermissions(routePermissions, userPermissions);\n};\n\nconst validateActiveAccountRoutes = (to, user) => {\n // If the current account is active, then check for the route permissions\n const accountDashboardURL = `accounts/${to.params.accountId}/dashboard`;\n\n // If the user is trying to access suspended route, redirect them to dashboard\n if (to.name === 'account_suspended') {\n return accountDashboardURL;\n }\n\n const isAccessible = routeIsAccessibleFor(to, user.permissions);\n // If the route is not accessible for the user, return to dashboard screen\n return isAccessible ? null : accountDashboardURL;\n};\n\nexport const validateLoggedInRoutes = (to, user) => {\n const currentAccount = getCurrentAccount(user, Number(to.params.accountId));\n // If current account is missing, either user does not have\n // access to the account or the account is deleted, return to login screen\n if (!currentAccount) {\n return `app/login`;\n }\n\n const isCurrentAccountActive = currentAccount.status === 'active';\n\n if (isCurrentAccountActive) {\n return validateActiveAccountRoutes(to, user);\n }\n\n // If the current account is not active, then redirect the user to the suspended screen\n if (to.name !== 'account_suspended') {\n return `accounts/${to.params.accountId}/suspended`;\n }\n\n // Proceed to the route if none of the above conditions are met\n return null;\n};\n\nexport const isAConversationRoute = (\n routeName,\n includeBase = false,\n includeExtended = true\n) => {\n const baseRoutes = [\n 'home',\n 'conversation_mentions',\n 'conversation_unattended',\n 'inbox_dashboard',\n 'label_conversations',\n 'team_conversations',\n 'folder_conversations',\n 'conversation_participating',\n ];\n const extendedRoutes = [\n 'inbox_conversation',\n 'conversation_through_mentions',\n 'conversation_through_unattended',\n 'conversation_through_inbox',\n 'conversations_through_label',\n 'conversations_through_team',\n 'conversations_through_folders',\n 'conversation_through_participating',\n ];\n\n const routes = [\n ...(includeBase ? baseRoutes : []),\n ...(includeExtended ? extendedRoutes : []),\n ];\n\n return routes.includes(routeName);\n};\n\nexport const getConversationDashboardRoute = routeName => {\n switch (routeName) {\n case 'inbox_conversation':\n return 'home';\n case 'conversation_through_mentions':\n return 'conversation_mentions';\n case 'conversation_through_unattended':\n return 'conversation_unattended';\n case 'conversations_through_label':\n return 'label_conversations';\n case 'conversations_through_team':\n return 'team_conversations';\n case 'conversations_through_folders':\n return 'folder_conversations';\n case 'conversation_through_participating':\n return 'conversation_participating';\n case 'conversation_through_inbox':\n return 'inbox_dashboard';\n default:\n return null;\n }\n};\n\nexport const isAInboxViewRoute = (routeName, includeBase = false) => {\n const baseRoutes = ['inbox_view'];\n const extendedRoutes = ['inbox_view_conversation'];\n const routeNames = includeBase\n ? [...baseRoutes, ...extendedRoutes]\n : extendedRoutes;\n return routeNames.includes(routeName);\n};\n\nexport const isNotificationRoute = routeName =>\n routeName === 'notifications_index';\n","export const hasPermissions = (\n requiredPermissions = [],\n availablePermissions = []\n) => {\n return requiredPermissions.some(permission =>\n availablePermissions.includes(permission)\n );\n};\n\nconst isPermissionsPresentInRoute = route =>\n route.meta && route.meta.permissions;\n\nexport const buildPermissionsFromRouter = (routes = []) =>\n routes.reduce((acc, route) => {\n if (route.name) {\n if (!isPermissionsPresentInRoute(route)) {\n // eslint-disable-next-line\n console.error(route);\n throw new Error(\n \"The route doesn't have the required permissions defined\"\n );\n }\n acc[route.name] = route.meta.permissions;\n }\n\n if (route.children) {\n acc = {\n ...acc,\n ...buildPermissionsFromRouter(route.children),\n };\n }\n\n return acc;\n }, {});\n","import isToday from 'date-fns/isToday';\nimport isYesterday from 'date-fns/isYesterday';\n\n// Returns a function, that, as long as it continues to be invoked, will not\n// be triggered. The function will be called after it stops being called for\n// N milliseconds. If `immediate` is passed, trigger the function on the\n// leading edge, instead of the trailing.\n\n/**\r\n * @func Callback function to be called after delay\r\n * @delay Delay for debounce in ms\r\n * @immediate should execute immediately\r\n * @returns debounced callback function\r\n */\nvar debounce = function debounce(func, wait, immediate) {\n var timeout;\n return function () {\n var context = null;\n var args = arguments;\n var later = function later() {\n timeout = null;\n if (!immediate) func.apply(context, args);\n };\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = window.setTimeout(later, wait);\n if (callNow) func.apply(context, args);\n };\n};\n\n/**\r\n * @name Get contrasting text color\r\n * @description Get contrasting text color from a text color\r\n * @param bgColor Background color of text.\r\n * @returns contrasting text color\r\n */\n\nvar getContrastingTextColor = function getContrastingTextColor(bgColor) {\n var color = bgColor.replace('#', '');\n var r = parseInt(color.slice(0, 2), 16);\n var g = parseInt(color.slice(2, 4), 16);\n var b = parseInt(color.slice(4, 6), 16); // http://stackoverflow.com/a/3943023/112731\n\n return r * 0.299 + g * 0.587 + b * 0.114 > 186 ? '#000000' : '#FFFFFF';\n};\n/**\r\n * @name Get formatted date\r\n * @description Get date in today, yesterday or any other date format\r\n * @param date date\r\n * @param todayText Today text\r\n * @param yesterdayText Yesterday text\r\n * @returns formatted date\r\n */\n\nvar formatDate = function formatDate(_ref) {\n var date = _ref.date,\n todayText = _ref.todayText,\n yesterdayText = _ref.yesterdayText;\n var dateValue = new Date(date);\n if (isToday(dateValue)) return todayText;\n if (isYesterday(dateValue)) return yesterdayText;\n return date;\n};\n/**\r\n * @name formatTime\r\n * @description Format time to Hour, Minute and Second\r\n * @param timeInSeconds number\r\n * @returns formatted time\r\n */\n\nvar formatTime = function formatTime(timeInSeconds) {\n var formattedTime = '';\n if (timeInSeconds >= 60 && timeInSeconds < 3600) {\n var minutes = Math.floor(timeInSeconds / 60);\n formattedTime = minutes + \" Min\";\n var seconds = minutes === 60 ? 0 : Math.floor(timeInSeconds % 60);\n return formattedTime + (\"\" + (seconds > 0 ? ' ' + seconds + ' Sec' : ''));\n }\n if (timeInSeconds >= 3600 && timeInSeconds < 86400) {\n var hours = Math.floor(timeInSeconds / 3600);\n formattedTime = hours + \" Hr\";\n var _minutes = timeInSeconds % 3600 < 60 || hours === 24 ? 0 : Math.floor(timeInSeconds % 3600 / 60);\n return formattedTime + (\"\" + (_minutes > 0 ? ' ' + _minutes + ' Min' : ''));\n }\n if (timeInSeconds >= 86400) {\n var days = Math.floor(timeInSeconds / 86400);\n formattedTime = days + \" Day\";\n var _hours = timeInSeconds % 86400 < 3600 || days >= 364 ? 0 : Math.floor(timeInSeconds % 86400 / 3600);\n return formattedTime + (\"\" + (_hours > 0 ? ' ' + _hours + ' Hr' : ''));\n }\n return Math.floor(timeInSeconds) + \" Sec\";\n};\n/**\r\n * @name trimContent\r\n * @description Trim a string to max length\r\n * @param content String to trim\r\n * @param maxLength Length of the string to trim, default 1024\r\n * @param ellipsis Boolean to add dots at the end of the string, default false\r\n * @returns trimmed string\r\n */\n\nvar trimContent = function trimContent(content, maxLength, ellipsis) {\n if (content === void 0) {\n content = '';\n }\n if (maxLength === void 0) {\n maxLength = 1024;\n }\n if (ellipsis === void 0) {\n ellipsis = false;\n }\n var trimmedContent = content;\n if (content.length > maxLength) {\n trimmedContent = content.substring(0, maxLength);\n }\n if (ellipsis) {\n trimmedContent = trimmedContent + '...';\n }\n return trimmedContent;\n};\n/**\r\n * @name convertSecondsToTimeUnit\r\n * @description Convert seconds to time unit\r\n * @param seconds number\r\n * @param unitNames object\r\n * @returns time and unit\r\n * @example\r\n * convertToUnit(60, { minute: 'm', hour: 'h', day: 'd' }); // { time: 1, unit: 'm' }\r\n * convertToUnit(60, { minute: 'Minutes', hour: 'Hours', day: 'Days' }); // { time: 1, unit: 'Minutes' }\r\n */\n\nvar convertSecondsToTimeUnit = function convertSecondsToTimeUnit(seconds, unitNames) {\n if (seconds === null || seconds === 0) return {\n time: '',\n unit: ''\n };\n if (seconds < 3600) return {\n time: Number((seconds / 60).toFixed(1)),\n unit: unitNames.minute\n };\n if (seconds < 86400) return {\n time: Number((seconds / 3600).toFixed(1)),\n unit: unitNames.hour\n };\n return {\n time: Number((seconds / 86400).toFixed(1)),\n unit: unitNames.day\n };\n};\n\n/**\r\n * Function that parses a string boolean value and returns the corresponding boolean value\r\n * @param {string | number} candidate - The string boolean value to be parsed\r\n * @return {boolean} - The parsed boolean value\r\n */\nfunction parseBoolean(candidate) {\n try {\n // lowercase the string, so TRUE becomes true\n var candidateString = String(candidate).toLowerCase(); // wrap in boolean to ensure that the return value\n // is a boolean even if values like 0 or 1 are passed\n\n return Boolean(JSON.parse(candidateString));\n } catch (error) {\n return false;\n }\n}\n\n/**\r\n * Sorts an array of numbers in ascending order.\r\n * @param {number[]} arr - The array of numbers to be sorted.\r\n * @returns {number[]} - The sorted array.\r\n */\nfunction sortAsc(arr) {\n // .slice() is used to create a copy of the array so that the original array is not mutated\n return arr.slice().sort(function (a, b) {\n return a - b;\n });\n}\n/**\r\n * Calculates the quantile value of an array at a specified percentile.\r\n * @param {number[]} arr - The array of numbers to calculate the quantile value from.\r\n * @param {number} q - The percentile to calculate the quantile value for.\r\n * @returns {number} - The quantile value.\r\n */\n\nfunction quantile(arr, q) {\n var sorted = sortAsc(arr); // Sort the array in ascending order\n\n return _quantileForSorted(sorted, q); // Calculate the quantile value\n}\n/**\r\n * Clamps a value between a minimum and maximum range.\r\n * @param {number} min - The minimum range.\r\n * @param {number} max - The maximum range.\r\n * @param {number} value - The value to be clamped.\r\n * @returns {number} - The clamped value.\r\n */\n\nfunction clamp(min, max, value) {\n if (value < min) {\n return min;\n }\n if (value > max) {\n return max;\n }\n return value;\n}\n/**\r\n * This method assumes the the array provided is already sorted in ascending order.\r\n * It's a helper method for the quantile method and should not be exported as is.\r\n *\r\n * @param {number[]} arr - The array of numbers to calculate the quantile value from.\r\n * @param {number} q - The percentile to calculate the quantile value for.\r\n * @returns {number} - The quantile value.\r\n */\n\nfunction _quantileForSorted(sorted, q) {\n var clamped = clamp(0, 1, q); // Clamp the percentile between 0 and 1\n\n var pos = (sorted.length - 1) * clamped; // Calculate the index of the element at the specified percentile\n\n var base = Math.floor(pos); // Find the index of the closest element to the specified percentile\n\n var rest = pos - base; // Calculate the decimal value between the closest elements\n // Interpolate the quantile value between the closest elements\n // Most libraries don't to the interpolation, but I'm just having fun here\n // also see https://en.wikipedia.org/wiki/Quantile#Estimating_quantiles_from_a_sample\n\n if (sorted[base + 1] !== undefined) {\n // in case the position was a integer, the rest will be 0 and the interpolation will be skipped\n return sorted[base] + rest * (sorted[base + 1] - sorted[base]);\n } // Return the closest element if there is no interpolation possible\n\n return sorted[base];\n}\n/**\r\n * Calculates the quantile values for an array of intervals.\r\n * @param {number[]} data - The array of numbers to calculate the quantile values from.\r\n * @param {number[]} intervals - The array of intervals to calculate the quantile values for.\r\n * @returns {number[]} - The array of quantile values for the intervals.\r\n */\n\nvar getQuantileIntervals = function getQuantileIntervals(data, intervals) {\n // Sort the array in ascending order before looping through the intervals.\n // depending on the size of the array and the number of intervals, this can speed up the process by at least twice\n // for a random array of 100 numbers and 5 intervals, the speedup is 3x\n var sorted = sortAsc(data);\n return intervals.map(function (interval) {\n return _quantileForSorted(sorted, interval);\n });\n};\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nvar MESSAGE_VARIABLES_REGEX = /{{(.*?)}}/g;\nvar skipCodeBlocks = function skipCodeBlocks(str) {\n return str.replace(/```(?:.|\\n)+?```/g, '');\n};\nvar capitalizeName = function capitalizeName(name) {\n return (name || '').replace(/\\b(\\w)/g, function (s) {\n return s.toUpperCase();\n });\n};\nvar getFirstName = function getFirstName(_ref) {\n var user = _ref.user;\n var firstName = user != null && user.name ? user.name.split(' ').shift() : '';\n return capitalizeName(firstName);\n};\nvar getLastName = function getLastName(_ref2) {\n var user = _ref2.user;\n if (user && user.name) {\n var lastName = user.name.split(' ').length > 1 ? user.name.split(' ').pop() : '';\n return capitalizeName(lastName);\n }\n return '';\n};\nvar getMessageVariables = function getMessageVariables(_ref3) {\n var _assignee$email;\n var conversation = _ref3.conversation,\n contact = _ref3.contact;\n var _conversation$meta = conversation.meta,\n assignee = _conversation$meta.assignee,\n sender = _conversation$meta.sender,\n id = conversation.id,\n _conversation$custom_ = conversation.custom_attributes,\n conversationCustomAttributes = _conversation$custom_ === void 0 ? {} : _conversation$custom_;\n var _ref4 = contact || {},\n contactCustomAttributes = _ref4.custom_attributes;\n var standardVariables = {\n 'contact.name': capitalizeName((sender == null ? void 0 : sender.name) || ''),\n 'contact.first_name': getFirstName({\n user: sender\n }),\n 'contact.last_name': getLastName({\n user: sender\n }),\n 'contact.email': sender == null ? void 0 : sender.email,\n 'contact.phone': sender == null ? void 0 : sender.phone_number,\n 'contact.id': sender == null ? void 0 : sender.id,\n 'conversation.id': id,\n 'agent.name': capitalizeName((assignee == null ? void 0 : assignee.name) || ''),\n 'agent.first_name': getFirstName({\n user: assignee\n }),\n 'agent.last_name': getLastName({\n user: assignee\n }),\n 'agent.email': (_assignee$email = assignee == null ? void 0 : assignee.email) != null ? _assignee$email : ''\n };\n var conversationCustomAttributeVariables = Object.entries(conversationCustomAttributes != null ? conversationCustomAttributes : {}).reduce(function (acc, _ref5) {\n var key = _ref5[0],\n value = _ref5[1];\n acc[\"conversation.custom_attribute.\" + key] = value;\n return acc;\n }, {});\n var contactCustomAttributeVariables = Object.entries(contactCustomAttributes != null ? contactCustomAttributes : {}).reduce(function (acc, _ref6) {\n var key = _ref6[0],\n value = _ref6[1];\n acc[\"contact.custom_attribute.\" + key] = value;\n return acc;\n }, {});\n var variables = _extends({}, standardVariables, conversationCustomAttributeVariables, contactCustomAttributeVariables);\n return variables;\n};\nvar replaceVariablesInMessage = function replaceVariablesInMessage(_ref7) {\n var message = _ref7.message,\n variables = _ref7.variables;\n // @ts-ignore\n return message == null ? void 0 : message.replace(MESSAGE_VARIABLES_REGEX, function (_, replace) {\n return variables[replace.trim()] ? variables[replace.trim().toLowerCase()] : '';\n });\n};\nvar getUndefinedVariablesInMessage = function getUndefinedVariablesInMessage(_ref8) {\n var message = _ref8.message,\n variables = _ref8.variables;\n var messageWithOutCodeBlocks = skipCodeBlocks(message);\n var matches = messageWithOutCodeBlocks.match(MESSAGE_VARIABLES_REGEX);\n if (!matches) return [];\n return matches.map(function (match) {\n return match.replace('{{', '').replace('}}', '').trim();\n }).filter(function (variable) {\n return variables[variable] === undefined;\n });\n};\n\n/**\r\n * Creates a typing indicator utility.\r\n * @param onStartTyping Callback function to be called when typing starts\r\n * @param onStopTyping Callback function to be called when typing stops after delay\r\n * @param idleTime Delay for idle time in ms before considering typing stopped\r\n * @returns An object with start and stop methods for typing indicator\r\n */\nvar createTypingIndicator = function createTypingIndicator(onStartTyping, onStopTyping, idleTime) {\n var timer = null;\n var start = function start() {\n if (!timer) {\n onStartTyping();\n }\n reset();\n };\n var stop = function stop() {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n onStopTyping();\n }\n };\n var reset = function reset() {\n if (timer) {\n clearTimeout(timer);\n }\n timer = setTimeout(function () {\n stop();\n }, idleTime);\n };\n return {\n start: start,\n stop: stop\n };\n};\n\n/**\r\n * Calculates the threshold for an SLA based on the current time and the provided threshold.\r\n * @param timeOffset - The time offset in seconds.\r\n * @param threshold - The threshold in seconds or null if not applicable.\r\n * @returns The calculated threshold in seconds or null if the threshold is null.\r\n */\nvar calculateThreshold = function calculateThreshold(timeOffset, threshold) {\n // Calculate the time left for the SLA to breach or the time since the SLA has missed\n if (threshold === null) return null;\n var currentTime = Math.floor(Date.now() / 1000);\n return timeOffset + threshold - currentTime;\n};\n/**\r\n * Finds the most urgent SLA status based on the threshold.\r\n * @param SLAStatuses - An array of SLAStatus objects.\r\n * @returns The most urgent SLAStatus object.\r\n */\n\nvar findMostUrgentSLAStatus = function findMostUrgentSLAStatus(SLAStatuses) {\n // Sort the SLAs based on the threshold and return the most urgent SLA\n SLAStatuses.sort(function (sla1, sla2) {\n return Math.abs(sla1.threshold) - Math.abs(sla2.threshold);\n });\n return SLAStatuses[0];\n};\n/**\r\n * Formats the SLA time in a human-readable format.\r\n * @param seconds - The time in seconds.\r\n * @returns A formatted string representing the time.\r\n */\n\nvar formatSLATime = function formatSLATime(seconds) {\n var units = {\n y: 31536000,\n mo: 2592000,\n d: 86400,\n h: 3600,\n m: 60\n };\n if (seconds < 60) {\n return '1m';\n } // we will only show two parts, two max granularity's, h-m, y-d, d-h, m, but no seconds\n\n var parts = [];\n Object.keys(units).forEach(function (unit) {\n var value = Math.floor(seconds / units[unit]);\n if (seconds < 60 && parts.length > 0) return;\n if (parts.length === 2) return;\n if (value > 0) {\n parts.push(value + unit);\n seconds -= value * units[unit];\n }\n });\n return parts.join(' ');\n};\n/**\r\n * Creates an SLA object based on the type, applied SLA, and chat details.\r\n * @param type - The type of SLA (FRT, NRT, RT).\r\n * @param appliedSla - The applied SLA details.\r\n * @param chat - The chat details.\r\n * @returns An object containing the SLA status or null if conditions are not met.\r\n */\n\nvar createSLAObject = function createSLAObject(type, appliedSla, chat) {\n var frtThreshold = appliedSla.sla_first_response_time_threshold,\n nrtThreshold = appliedSla.sla_next_response_time_threshold,\n rtThreshold = appliedSla.sla_resolution_time_threshold,\n createdAt = appliedSla.created_at;\n var firstReplyCreatedAt = chat.first_reply_created_at,\n waitingSince = chat.waiting_since,\n status = chat.status;\n var SLATypes = {\n FRT: {\n threshold: calculateThreshold(createdAt, frtThreshold),\n // Check FRT only if threshold is not null and first reply hasn't been made\n condition: frtThreshold !== null && (!firstReplyCreatedAt || firstReplyCreatedAt === 0)\n },\n NRT: {\n threshold: calculateThreshold(waitingSince, nrtThreshold),\n // Check NRT only if threshold is not null, first reply has been made and we are waiting since\n condition: nrtThreshold !== null && !!firstReplyCreatedAt && !!waitingSince\n },\n RT: {\n threshold: calculateThreshold(createdAt, rtThreshold),\n // Check RT only if the conversation is open and threshold is not null\n condition: status === 'open' && rtThreshold !== null\n }\n };\n var SLAStatus = SLATypes[type];\n return SLAStatus ? _extends({}, SLAStatus, {\n type: type\n }) : null;\n};\n/**\r\n * Evaluates SLA conditions and returns an array of SLAStatus objects.\r\n * @param appliedSla - The applied SLA details.\r\n * @param chat - The chat details.\r\n * @returns An array of SLAStatus objects.\r\n */\n\nvar evaluateSLAConditions = function evaluateSLAConditions(appliedSla, chat) {\n // Filter out the SLA based on conditions and update the object with the breach status(icon, isSlaMissed)\n var SLATypes = ['FRT', 'NRT', 'RT'];\n return SLATypes.map(function (type) {\n return createSLAObject(type, appliedSla, chat);\n }).filter(function (SLAStatus) {\n return !!SLAStatus && SLAStatus.condition;\n }).map(function (SLAStatus) {\n return _extends({}, SLAStatus, {\n icon: SLAStatus.threshold <= 0 ? 'flame' : 'alarm',\n isSlaMissed: SLAStatus.threshold <= 0\n });\n });\n};\n/**\r\n * Evaluates the SLA status for a given chat and applied SLA.\r\n * @param {Object} params - The parameters object.\r\n * @param params.appliedSla - The applied SLA details.\r\n * @param params.chat - The chat details.\r\n * @returns An object containing the most urgent SLA status.\r\n */\n\nvar evaluateSLAStatus = function evaluateSLAStatus(_ref) {\n var appliedSla = _ref.appliedSla,\n chat = _ref.chat;\n if (!appliedSla || !chat) return {\n type: '',\n threshold: '',\n icon: '',\n isSlaMissed: false\n }; // Filter out the SLA and create the object for each breach\n\n var SLAStatuses = evaluateSLAConditions(appliedSla, chat); // Return the most urgent SLA which is latest to breach or has missed\n\n var mostUrgent = findMostUrgentSLAStatus(SLAStatuses);\n return mostUrgent ? {\n type: mostUrgent == null ? void 0 : mostUrgent.type,\n threshold: formatSLATime(mostUrgent.threshold <= 0 ? -mostUrgent.threshold : mostUrgent.threshold),\n icon: mostUrgent.icon,\n isSlaMissed: mostUrgent.isSlaMissed\n } : {\n type: '',\n threshold: '',\n icon: '',\n isSlaMissed: false\n };\n};\nexport { clamp, convertSecondsToTimeUnit, createTypingIndicator, debounce, evaluateSLAStatus, formatDate, formatTime, getContrastingTextColor, getMessageVariables, getQuantileIntervals, getUndefinedVariablesInMessage, parseBoolean, quantile, replaceVariablesInMessage, sortAsc, trimContent };","import { mapGetters } from 'vuex';\n\nexport const DEFAULT_CONVERSATION_SIDEBAR_ITEMS_ORDER = [\n { name: 'conversation_actions' },\n { name: 'macros' },\n { name: 'conversation_info' },\n { name: 'contact_attributes' },\n { name: 'previous_conversation' },\n { name: 'conversation_participants' },\n];\nexport const DEFAULT_CONTACT_SIDEBAR_ITEMS_ORDER = [\n { name: 'contact_attributes' },\n { name: 'contact_labels' },\n { name: 'previous_conversation' },\n];\n\nconst slugifyChannel = name =>\n name?.toLowerCase().replace(' ', '_').replace('-', '_').replace('::', '_');\n\nexport const isEditorHotKeyEnabled = (uiSettings, key) => {\n const {\n editor_message_key: editorMessageKey,\n enter_to_send_enabled: enterToSendEnabled,\n } = uiSettings || {};\n if (!editorMessageKey) {\n if (enterToSendEnabled) {\n return key === 'enter';\n }\n return key === 'cmd_enter';\n }\n return editorMessageKey === key;\n};\n\nexport default {\n computed: {\n ...mapGetters({ uiSettings: 'getUISettings' }),\n conversationSidebarItemsOrder() {\n const { conversation_sidebar_items_order: itemsOrder } = this.uiSettings;\n // If the sidebar order is not set, use the default order.\n if (!itemsOrder) {\n return DEFAULT_CONVERSATION_SIDEBAR_ITEMS_ORDER;\n }\n // If the sidebar order doesn't have the new elements, then add them to the list.\n DEFAULT_CONVERSATION_SIDEBAR_ITEMS_ORDER.forEach(item => {\n if (!itemsOrder.find(i => i.name === item.name)) {\n itemsOrder.push(item);\n }\n });\n return itemsOrder;\n },\n contactSidebarItemsOrder() {\n const { contact_sidebar_items_order: itemsOrder } = this.uiSettings;\n return itemsOrder || DEFAULT_CONTACT_SIDEBAR_ITEMS_ORDER;\n },\n },\n methods: {\n updateUISettings(uiSettings = {}) {\n this.$store.dispatch('updateUISettings', {\n uiSettings: {\n ...this.uiSettings,\n ...uiSettings,\n },\n });\n },\n isContactSidebarItemOpen(key) {\n const { [key]: isOpen } = this.uiSettings;\n return !!isOpen;\n },\n toggleSidebarUIState(key) {\n this.updateUISettings({ [key]: !this.isContactSidebarItemOpen(key) });\n },\n setSignatureFlagForInbox(channelType, value) {\n if (!channelType) return;\n\n channelType = slugifyChannel(channelType);\n this.updateUISettings({\n [`${channelType}_signature_enabled`]: value,\n });\n },\n fetchSignatureFlagFromUiSettings(channelType) {\n if (!channelType) return false;\n\n channelType = slugifyChannel(channelType);\n return this.uiSettings[`${channelType}_signature_enabled`];\n },\n },\n};\n","module.exports = function (module) {\n if (!module.webpackPolyfill) {\n module.deprecate = function () {};\n module.paths = [];\n // module.parent = undefined by default\n if (!module.children) module.children = [];\n Object.defineProperty(module, \"loaded\", {\n enumerable: true,\n get: function () {\n return module.l;\n }\n });\n Object.defineProperty(module, \"id\", {\n enumerable: true,\n get: function () {\n return module.i;\n }\n });\n module.webpackPolyfill = 1;\n }\n return module;\n};","module.exports = /[!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\\xA1\\xA7\\xAB\\xB6\\xB7\\xBB\\xBF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061E\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C84\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166D\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D\\u207E\\u208D\\u208E\\u2308-\\u230B\\u2329\\u232A\\u2768-\\u2775\\u27C5\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC\\u29FD\\u2CF9-\\u2CFC\\u2CFE\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4E\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE\\uA9DF\\uAA5C-\\uAA5F\\uAADE\\uAADF\\uAAF0\\uAAF1\\uABEB\\uFD3E\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A\\uFF1B\\uFF1F\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65]|\\uD800[\\uDD00-\\uDD02\\uDF9F\\uDFD0]|\\uD801\\uDD6F|\\uD802[\\uDC57\\uDD1F\\uDD3F\\uDE50-\\uDE58\\uDE7F\\uDEF0-\\uDEF6\\uDF39-\\uDF3F\\uDF99-\\uDF9C]|\\uD803[\\uDF55-\\uDF59]|\\uD804[\\uDC47-\\uDC4D\\uDCBB\\uDCBC\\uDCBE-\\uDCC1\\uDD40-\\uDD43\\uDD74\\uDD75\\uDDC5-\\uDDC8\\uDDCD\\uDDDB\\uDDDD-\\uDDDF\\uDE38-\\uDE3D\\uDEA9]|\\uD805[\\uDC4B-\\uDC4F\\uDC5B\\uDC5D\\uDCC6\\uDDC1-\\uDDD7\\uDE41-\\uDE43\\uDE60-\\uDE6C\\uDF3C-\\uDF3E]|\\uD806[\\uDC3B\\uDE3F-\\uDE46\\uDE9A-\\uDE9C\\uDE9E-\\uDEA2]|\\uD807[\\uDC41-\\uDC45\\uDC70\\uDC71\\uDEF7\\uDEF8]|\\uD809[\\uDC70-\\uDC74]|\\uD81A[\\uDE6E\\uDE6F\\uDEF5\\uDF37-\\uDF3B\\uDF44]|\\uD81B[\\uDE97-\\uDE9A]|\\uD82F\\uDC9F|\\uD836[\\uDE87-\\uDE8B]|\\uD83A[\\uDD5E\\uDD5F]/;","export default function addLeadingZeros(number, targetLength) {\n var sign = number < 0 ? '-' : '';\n var output = Math.abs(number).toString();\n while (output.length < targetLength) {\n output = '0' + output;\n }\n return sign + output;\n}","import addLeadingZeros from \"../../addLeadingZeros/index.js\";\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | |\n * | d | Day of month | D | |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | m | Minute | M | Month |\n * | s | Second | S | Fraction of second |\n * | y | Year (abs) | Y | |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n */\n\nvar formatters = {\n // Year\n y: function (date, token) {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);\n },\n // Month\n M: function (date, token) {\n var month = date.getUTCMonth();\n return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n // Day of the month\n d: function (date, token) {\n return addLeadingZeros(date.getUTCDate(), token.length);\n },\n // AM or PM\n a: function (date, token) {\n var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';\n switch (token) {\n case 'a':\n case 'aa':\n return dayPeriodEnumValue.toUpperCase();\n case 'aaa':\n return dayPeriodEnumValue;\n case 'aaaaa':\n return dayPeriodEnumValue[0];\n case 'aaaa':\n default:\n return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';\n }\n },\n // Hour [1-12]\n h: function (date, token) {\n return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);\n },\n // Hour [0-23]\n H: function (date, token) {\n return addLeadingZeros(date.getUTCHours(), token.length);\n },\n // Minute\n m: function (date, token) {\n return addLeadingZeros(date.getUTCMinutes(), token.length);\n },\n // Second\n s: function (date, token) {\n return addLeadingZeros(date.getUTCSeconds(), token.length);\n },\n // Fraction of second\n S: function (date, token) {\n var numberOfDigits = token.length;\n var milliseconds = date.getUTCMilliseconds();\n var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));\n return addLeadingZeros(fractionalSeconds, token.length);\n }\n};\nexport default formatters;","import lightFormatters from \"../lightFormatters/index.js\";\nimport getUTCDayOfYear from \"../../../_lib/getUTCDayOfYear/index.js\";\nimport getUTCISOWeek from \"../../../_lib/getUTCISOWeek/index.js\";\nimport getUTCISOWeekYear from \"../../../_lib/getUTCISOWeekYear/index.js\";\nimport getUTCWeek from \"../../../_lib/getUTCWeek/index.js\";\nimport getUTCWeekYear from \"../../../_lib/getUTCWeekYear/index.js\";\nimport addLeadingZeros from \"../../addLeadingZeros/index.js\";\nvar dayPeriodEnum = {\n am: 'am',\n pm: 'pm',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n /*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | Milliseconds in day |\n * | b | AM, PM, noon, midnight | B | Flexible day period |\n * | c | Stand-alone local day of week | C* | Localized hour w/ day period |\n * | d | Day of month | D | Day of year |\n * | e | Local day of week | E | Day of week |\n * | f | | F* | Day of week in month |\n * | g* | Modified Julian day | G | Era |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | i! | ISO day of week | I! | ISO week of year |\n * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |\n * | k | Hour [1-24] | K | Hour [0-11] |\n * | l* | (deprecated) | L | Stand-alone month |\n * | m | Minute | M | Month |\n * | n | | N | |\n * | o! | Ordinal number modifier | O | Timezone (GMT) |\n * | p! | Long localized time | P! | Long localized date |\n * | q | Stand-alone quarter | Q | Quarter |\n * | r* | Related Gregorian year | R! | ISO week-numbering year |\n * | s | Second | S | Fraction of second |\n * | t! | Seconds timestamp | T! | Milliseconds timestamp |\n * | u | Extended year | U* | Cyclic year |\n * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |\n * | w | Local week of year | W* | Week of month |\n * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |\n * | y | Year (abs) | Y | Local week-numbering year |\n * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n *\n * Letters marked by ! are non-standard, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `format` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n * i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n * `R` is supposed to be used in conjunction with `I` and `i`\n * for universal ISO week-numbering date, whereas\n * `Y` is supposed to be used in conjunction with `w` and `e`\n * for week-numbering date specific to the locale.\n * - `P` is long localized date format\n * - `p` is long localized time format\n */\n};\nvar formatters = {\n // Era\n G: function (date, token, localize) {\n var era = date.getUTCFullYear() > 0 ? 1 : 0;\n switch (token) {\n // AD, BC\n case 'G':\n case 'GG':\n case 'GGG':\n return localize.era(era, {\n width: 'abbreviated'\n });\n // A, B\n\n case 'GGGGG':\n return localize.era(era, {\n width: 'narrow'\n });\n // Anno Domini, Before Christ\n\n case 'GGGG':\n default:\n return localize.era(era, {\n width: 'wide'\n });\n }\n },\n // Year\n y: function (date, token, localize) {\n // Ordinal number\n if (token === 'yo') {\n var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return localize.ordinalNumber(year, {\n unit: 'year'\n });\n }\n return lightFormatters.y(date, token);\n },\n // Local week-numbering year\n Y: function (date, token, localize, options) {\n var signedWeekYear = getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; // Two digit year\n\n if (token === 'YY') {\n var twoDigitYear = weekYear % 100;\n return addLeadingZeros(twoDigitYear, 2);\n } // Ordinal number\n\n if (token === 'Yo') {\n return localize.ordinalNumber(weekYear, {\n unit: 'year'\n });\n } // Padding\n\n return addLeadingZeros(weekYear, token.length);\n },\n // ISO week-numbering year\n R: function (date, token) {\n var isoWeekYear = getUTCISOWeekYear(date); // Padding\n\n return addLeadingZeros(isoWeekYear, token.length);\n },\n // Extended year. This is a single number designating the year of this calendar system.\n // The main difference between `y` and `u` localizers are B.C. years:\n // | Year | `y` | `u` |\n // |------|-----|-----|\n // | AC 1 | 1 | 1 |\n // | BC 1 | 1 | 0 |\n // | BC 2 | 2 | -1 |\n // Also `yy` always returns the last two digits of a year,\n // while `uu` pads single digit years to 2 characters and returns other years unchanged.\n u: function (date, token) {\n var year = date.getUTCFullYear();\n return addLeadingZeros(year, token.length);\n },\n // Quarter\n Q: function (date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n switch (token) {\n // 1, 2, 3, 4\n case 'Q':\n return String(quarter);\n // 01, 02, 03, 04\n\n case 'QQ':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n\n case 'Qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'QQQ':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'QQQQQ':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'QQQQ':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone quarter\n q: function (date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n switch (token) {\n // 1, 2, 3, 4\n case 'q':\n return String(quarter);\n // 01, 02, 03, 04\n\n case 'qq':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n\n case 'qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'qqq':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'qqqqq':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'qqqq':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Month\n M: function (date, token, localize) {\n var month = date.getUTCMonth();\n switch (token) {\n case 'M':\n case 'MM':\n return lightFormatters.M(date, token);\n // 1st, 2nd, ..., 12th\n\n case 'Mo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n\n case 'MMM':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // J, F, ..., D\n\n case 'MMMMM':\n return localize.month(month, {\n width: 'narrow',\n context: 'formatting'\n });\n // January, February, ..., December\n\n case 'MMMM':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone month\n L: function (date, token, localize) {\n var month = date.getUTCMonth();\n switch (token) {\n // 1, 2, ..., 12\n case 'L':\n return String(month + 1);\n // 01, 02, ..., 12\n\n case 'LL':\n return addLeadingZeros(month + 1, 2);\n // 1st, 2nd, ..., 12th\n\n case 'Lo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n\n case 'LLL':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // J, F, ..., D\n\n case 'LLLLL':\n return localize.month(month, {\n width: 'narrow',\n context: 'standalone'\n });\n // January, February, ..., December\n\n case 'LLLL':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Local week of year\n w: function (date, token, localize, options) {\n var week = getUTCWeek(date, options);\n if (token === 'wo') {\n return localize.ordinalNumber(week, {\n unit: 'week'\n });\n }\n return addLeadingZeros(week, token.length);\n },\n // ISO week of year\n I: function (date, token, localize) {\n var isoWeek = getUTCISOWeek(date);\n if (token === 'Io') {\n return localize.ordinalNumber(isoWeek, {\n unit: 'week'\n });\n }\n return addLeadingZeros(isoWeek, token.length);\n },\n // Day of the month\n d: function (date, token, localize) {\n if (token === 'do') {\n return localize.ordinalNumber(date.getUTCDate(), {\n unit: 'date'\n });\n }\n return lightFormatters.d(date, token);\n },\n // Day of year\n D: function (date, token, localize) {\n var dayOfYear = getUTCDayOfYear(date);\n if (token === 'Do') {\n return localize.ordinalNumber(dayOfYear, {\n unit: 'dayOfYear'\n });\n }\n return addLeadingZeros(dayOfYear, token.length);\n },\n // Day of week\n E: function (date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n switch (token) {\n // Tue\n case 'E':\n case 'EE':\n case 'EEE':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'EEEEE':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'EEEEEE':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'EEEE':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Local day of week\n e: function (date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n switch (token) {\n // Numerical value (Nth day of week with current locale or weekStartsOn)\n case 'e':\n return String(localDayOfWeek);\n // Padded numerical value\n\n case 'ee':\n return addLeadingZeros(localDayOfWeek, 2);\n // 1st, 2nd, ..., 7th\n\n case 'eo':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n case 'eee':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'eeeee':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'eeeeee':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'eeee':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone local day of week\n c: function (date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n switch (token) {\n // Numerical value (same as in `e`)\n case 'c':\n return String(localDayOfWeek);\n // Padded numerical value\n\n case 'cc':\n return addLeadingZeros(localDayOfWeek, token.length);\n // 1st, 2nd, ..., 7th\n\n case 'co':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n case 'ccc':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // T\n\n case 'ccccc':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tu\n\n case 'cccccc':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'standalone'\n });\n // Tuesday\n\n case 'cccc':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // ISO day of week\n i: function (date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n switch (token) {\n // 2\n case 'i':\n return String(isoDayOfWeek);\n // 02\n\n case 'ii':\n return addLeadingZeros(isoDayOfWeek, token.length);\n // 2nd\n\n case 'io':\n return localize.ordinalNumber(isoDayOfWeek, {\n unit: 'day'\n });\n // Tue\n\n case 'iii':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'iiiii':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'iiiiii':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'iiii':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM or PM\n a: function (date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n switch (token) {\n case 'a':\n case 'aa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n case 'aaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n }).toLowerCase();\n case 'aaaaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'aaaa':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM, PM, midnight, noon\n b: function (date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n if (hours === 12) {\n dayPeriodEnumValue = dayPeriodEnum.noon;\n } else if (hours === 0) {\n dayPeriodEnumValue = dayPeriodEnum.midnight;\n } else {\n dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n }\n switch (token) {\n case 'b':\n case 'bb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n case 'bbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n }).toLowerCase();\n case 'bbbbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'bbbb':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // in the morning, in the afternoon, in the evening, at night\n B: function (date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n if (hours >= 17) {\n dayPeriodEnumValue = dayPeriodEnum.evening;\n } else if (hours >= 12) {\n dayPeriodEnumValue = dayPeriodEnum.afternoon;\n } else if (hours >= 4) {\n dayPeriodEnumValue = dayPeriodEnum.morning;\n } else {\n dayPeriodEnumValue = dayPeriodEnum.night;\n }\n switch (token) {\n case 'B':\n case 'BB':\n case 'BBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n case 'BBBBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'BBBB':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Hour [1-12]\n h: function (date, token, localize) {\n if (token === 'ho') {\n var hours = date.getUTCHours() % 12;\n if (hours === 0) hours = 12;\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n return lightFormatters.h(date, token);\n },\n // Hour [0-23]\n H: function (date, token, localize) {\n if (token === 'Ho') {\n return localize.ordinalNumber(date.getUTCHours(), {\n unit: 'hour'\n });\n }\n return lightFormatters.H(date, token);\n },\n // Hour [0-11]\n K: function (date, token, localize) {\n var hours = date.getUTCHours() % 12;\n if (token === 'Ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n return addLeadingZeros(hours, token.length);\n },\n // Hour [1-24]\n k: function (date, token, localize) {\n var hours = date.getUTCHours();\n if (hours === 0) hours = 24;\n if (token === 'ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n return addLeadingZeros(hours, token.length);\n },\n // Minute\n m: function (date, token, localize) {\n if (token === 'mo') {\n return localize.ordinalNumber(date.getUTCMinutes(), {\n unit: 'minute'\n });\n }\n return lightFormatters.m(date, token);\n },\n // Second\n s: function (date, token, localize) {\n if (token === 'so') {\n return localize.ordinalNumber(date.getUTCSeconds(), {\n unit: 'second'\n });\n }\n return lightFormatters.s(date, token);\n },\n // Fraction of second\n S: function (date, token) {\n return lightFormatters.S(date, token);\n },\n // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n X: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n if (timezoneOffset === 0) {\n return 'Z';\n }\n switch (token) {\n // Hours and optional minutes\n case 'X':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XX`\n\n case 'XXXX':\n case 'XX':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XXX`\n\n case 'XXXXX':\n case 'XXX': // Hours and minutes with `:` delimiter\n\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n x: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n switch (token) {\n // Hours and optional minutes\n case 'x':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xx`\n\n case 'xxxx':\n case 'xx':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xxx`\n\n case 'xxxxx':\n case 'xxx': // Hours and minutes with `:` delimiter\n\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (GMT)\n O: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n switch (token) {\n // Short\n case 'O':\n case 'OO':\n case 'OOO':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n\n case 'OOOO':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (specific non-location)\n z: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n switch (token) {\n // Short\n case 'z':\n case 'zz':\n case 'zzz':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n\n case 'zzzz':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Seconds timestamp\n t: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = Math.floor(originalDate.getTime() / 1000);\n return addLeadingZeros(timestamp, token.length);\n },\n // Milliseconds timestamp\n T: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = originalDate.getTime();\n return addLeadingZeros(timestamp, token.length);\n }\n};\nfunction formatTimezoneShort(offset, dirtyDelimiter) {\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = Math.floor(absOffset / 60);\n var minutes = absOffset % 60;\n if (minutes === 0) {\n return sign + String(hours);\n }\n var delimiter = dirtyDelimiter || '';\n return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\nfunction formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {\n if (offset % 60 === 0) {\n var sign = offset > 0 ? '-' : '+';\n return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n }\n return formatTimezone(offset, dirtyDelimiter);\n}\nfunction formatTimezone(offset, dirtyDelimiter) {\n var delimiter = dirtyDelimiter || '';\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);\n var minutes = addLeadingZeros(absOffset % 60, 2);\n return sign + hours + delimiter + minutes;\n}\nexport default formatters;","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_DAY = 86400000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCDayOfYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var timestamp = date.getTime();\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n var startOfYearTimestamp = date.getTime();\n var difference = timestamp - startOfYearTimestamp;\n return Math.floor(difference / MILLISECONDS_IN_DAY) + 1;\n}","import isValid from \"../isValid/index.js\";\nimport defaultLocale from \"../locale/en-US/index.js\";\nimport subMilliseconds from \"../subMilliseconds/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport formatters from \"../_lib/format/formatters/index.js\";\nimport longFormatters from \"../_lib/format/longFormatters/index.js\";\nimport getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from \"../_lib/protectedTokens/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\"; // This RegExp consists of three parts separated by `|`:\n// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token\n// (one of the certain letters followed by `o`)\n// - (\\w)\\1* matches any sequences of the same letter\n// - '' matches two quote characters in a row\n// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),\n// except a single quote symbol, which ends the sequence.\n// Two quote characters do not end the sequence.\n// If there is no matching single quote\n// then the sequence will continue until the end of the string.\n// - . matches any single character unmatched by previous parts of the RegExps\n\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\n\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n/**\n * @name format\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format. The result may vary by locale.\n *\n * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://git.io/fxCyr\n *\n * The characters wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n * (see the last example)\n *\n * Format of the string is based on Unicode Technical Standard #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 7 below the table).\n *\n * Accepted patterns:\n * | Unit | Pattern | Result examples | Notes |\n * |---------------------------------|---------|-----------------------------------|-------|\n * | Era | G..GGG | AD, BC | |\n * | | GGGG | Anno Domini, Before Christ | 2 |\n * | | GGGGG | A, B | |\n * | Calendar year | y | 44, 1, 1900, 2017 | 5 |\n * | | yo | 44th, 1st, 0th, 17th | 5,7 |\n * | | yy | 44, 01, 00, 17 | 5 |\n * | | yyy | 044, 001, 1900, 2017 | 5 |\n * | | yyyy | 0044, 0001, 1900, 2017 | 5 |\n * | | yyyyy | ... | 3,5 |\n * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |\n * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |\n * | | YY | 44, 01, 00, 17 | 5,8 |\n * | | YYY | 044, 001, 1900, 2017 | 5 |\n * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |\n * | | YYYYY | ... | 3,5 |\n * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |\n * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |\n * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |\n * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |\n * | | RRRRR | ... | 3,5,7 |\n * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |\n * | | uu | -43, 01, 1900, 2017 | 5 |\n * | | uuu | -043, 001, 1900, 2017 | 5 |\n * | | uuuu | -0043, 0001, 1900, 2017 | 5 |\n * | | uuuuu | ... | 3,5 |\n * | Quarter (formatting) | Q | 1, 2, 3, 4 | |\n * | | Qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | QQ | 01, 02, 03, 04 | |\n * | | QQQ | Q1, Q2, Q3, Q4 | |\n * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |\n * | | QQQQQ | 1, 2, 3, 4 | 4 |\n * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |\n * | | qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | qq | 01, 02, 03, 04 | |\n * | | qqq | Q1, Q2, Q3, Q4 | |\n * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |\n * | | qqqqq | 1, 2, 3, 4 | 4 |\n * | Month (formatting) | M | 1, 2, ..., 12 | |\n * | | Mo | 1st, 2nd, ..., 12th | 7 |\n * | | MM | 01, 02, ..., 12 | |\n * | | MMM | Jan, Feb, ..., Dec | |\n * | | MMMM | January, February, ..., December | 2 |\n * | | MMMMM | J, F, ..., D | |\n * | Month (stand-alone) | L | 1, 2, ..., 12 | |\n * | | Lo | 1st, 2nd, ..., 12th | 7 |\n * | | LL | 01, 02, ..., 12 | |\n * | | LLL | Jan, Feb, ..., Dec | |\n * | | LLLL | January, February, ..., December | 2 |\n * | | LLLLL | J, F, ..., D | |\n * | Local week of year | w | 1, 2, ..., 53 | |\n * | | wo | 1st, 2nd, ..., 53th | 7 |\n * | | ww | 01, 02, ..., 53 | |\n * | ISO week of year | I | 1, 2, ..., 53 | 7 |\n * | | Io | 1st, 2nd, ..., 53th | 7 |\n * | | II | 01, 02, ..., 53 | 7 |\n * | Day of month | d | 1, 2, ..., 31 | |\n * | | do | 1st, 2nd, ..., 31st | 7 |\n * | | dd | 01, 02, ..., 31 | |\n * | Day of year | D | 1, 2, ..., 365, 366 | 9 |\n * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |\n * | | DD | 01, 02, ..., 365, 366 | 9 |\n * | | DDD | 001, 002, ..., 365, 366 | |\n * | | DDDD | ... | 3 |\n * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |\n * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |\n * | | EEEEE | M, T, W, T, F, S, S | |\n * | | EEEEEE | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |\n * | | io | 1st, 2nd, ..., 7th | 7 |\n * | | ii | 01, 02, ..., 07 | 7 |\n * | | iii | Mon, Tue, Wed, ..., Sun | 7 |\n * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |\n * | | iiiii | M, T, W, T, F, S, S | 7 |\n * | | iiiiii | Mo, Tu, We, Th, Fr, Su, Sa | 7 |\n * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |\n * | | eo | 2nd, 3rd, ..., 1st | 7 |\n * | | ee | 02, 03, ..., 01 | |\n * | | eee | Mon, Tue, Wed, ..., Sun | |\n * | | eeee | Monday, Tuesday, ..., Sunday | 2 |\n * | | eeeee | M, T, W, T, F, S, S | |\n * | | eeeeee | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |\n * | | co | 2nd, 3rd, ..., 1st | 7 |\n * | | cc | 02, 03, ..., 01 | |\n * | | ccc | Mon, Tue, Wed, ..., Sun | |\n * | | cccc | Monday, Tuesday, ..., Sunday | 2 |\n * | | ccccc | M, T, W, T, F, S, S | |\n * | | cccccc | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | AM, PM | a..aa | AM, PM | |\n * | | aaa | am, pm | |\n * | | aaaa | a.m., p.m. | 2 |\n * | | aaaaa | a, p | |\n * | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | |\n * | | bbb | am, pm, noon, midnight | |\n * | | bbbb | a.m., p.m., noon, midnight | 2 |\n * | | bbbbb | a, p, n, mi | |\n * | Flexible day period | B..BBB | at night, in the morning, ... | |\n * | | BBBB | at night, in the morning, ... | 2 |\n * | | BBBBB | at night, in the morning, ... | |\n * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |\n * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |\n * | | hh | 01, 02, ..., 11, 12 | |\n * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |\n * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |\n * | | HH | 00, 01, 02, ..., 23 | |\n * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |\n * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |\n * | | KK | 01, 02, ..., 11, 00 | |\n * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |\n * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |\n * | | kk | 24, 01, 02, ..., 23 | |\n * | Minute | m | 0, 1, ..., 59 | |\n * | | mo | 0th, 1st, ..., 59th | 7 |\n * | | mm | 00, 01, ..., 59 | |\n * | Second | s | 0, 1, ..., 59 | |\n * | | so | 0th, 1st, ..., 59th | 7 |\n * | | ss | 00, 01, ..., 59 | |\n * | Fraction of second | S | 0, 1, ..., 9 | |\n * | | SS | 00, 01, ..., 99 | |\n * | | SSS | 000, 001, ..., 999 | |\n * | | SSSS | ... | 3 |\n * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |\n * | | XX | -0800, +0530, Z | |\n * | | XXX | -08:00, +05:30, Z | |\n * | | XXXX | -0800, +0530, Z, +123456 | 2 |\n * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |\n * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |\n * | | xx | -0800, +0530, +0000 | |\n * | | xxx | -08:00, +05:30, +00:00 | 2 |\n * | | xxxx | -0800, +0530, +0000, +123456 | |\n * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |\n * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |\n * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |\n * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |\n * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |\n * | Seconds timestamp | t | 512969520 | 7 |\n * | | tt | ... | 3,7 |\n * | Milliseconds timestamp | T | 512969520900 | 7 |\n * | | TT | ... | 3,7 |\n * | Long localized date | P | 04/29/1453 | 7 |\n * | | PP | Apr 29, 1453 | 7 |\n * | | PPP | April 29th, 1453 | 7 |\n * | | PPPP | Friday, April 29th, 1453 | 2,7 |\n * | Long localized time | p | 12:00 AM | 7 |\n * | | pp | 12:00:00 AM | 7 |\n * | | ppp | 12:00:00 AM GMT+2 | 7 |\n * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |\n * | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 |\n * | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 |\n * | | PPPppp | April 29th, 1453 at ... | 7 |\n * | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n * are the same as \"stand-alone\" units, but are different in some languages.\n * \"Formatting\" units are declined according to the rules of the language\n * in the context of a date. \"Stand-alone\" units are always nominative singular:\n *\n * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n * the single quote characters (see below).\n * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)\n * the output will be the same as default pattern for this unit, usually\n * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units\n * are marked with \"2\" in the last column of the table.\n *\n * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`\n *\n * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`\n *\n * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).\n * The output will be padded with zeros to match the length of the pattern.\n *\n * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`\n *\n * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n * These tokens represent the shortest form of the quarter.\n *\n * 5. The main difference between `y` and `u` patterns are B.C. years:\n *\n * | Year | `y` | `u` |\n * |------|-----|-----|\n * | AC 1 | 1 | 1 |\n * | BC 1 | 1 | 0 |\n * | BC 2 | 2 | -1 |\n *\n * Also `yy` always returns the last two digits of a year,\n * while `uu` pads single digit years to 2 characters and returns other years unchanged:\n *\n * | Year | `yy` | `uu` |\n * |------|------|------|\n * | 1 | 01 | 01 |\n * | 14 | 14 | 14 |\n * | 376 | 76 | 376 |\n * | 1453 | 53 | 1453 |\n *\n * The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n * except local week-numbering years are dependent on `options.weekStartsOn`\n * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}\n * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).\n *\n * 6. Specific non-location timezones are currently unavailable in `date-fns`,\n * so right now these tokens fall back to GMT timezones.\n *\n * 7. These patterns are not in the Unicode Technical Standard #35:\n * - `i`: ISO day of week\n * - `I`: ISO week of year\n * - `R`: ISO week-numbering year\n * - `t`: seconds timestamp\n * - `T`: milliseconds timestamp\n * - `o`: ordinal number modifier\n * - `P`: long localized date\n * - `p`: long localized time\n *\n * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.\n * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr\n *\n * 9. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.\n * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - The second argument is now required for the sake of explicitness.\n *\n * ```javascript\n * // Before v2.0.0\n * format(new Date(2016, 0, 1))\n *\n * // v2.0.0 onward\n * format(new Date(2016, 0, 1), \"yyyy-MM-dd'T'HH:mm:ss.SSSxxx\")\n * ```\n *\n * - New format string API for `format` function\n * which is based on [Unicode Technical Standard #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n * See [this post](https://blog.date-fns.org/post/unicode-tokens-in-date-fns-v2-sreatyki91jg) for more details.\n *\n * - Characters are now escaped using single quote symbols (`'`) instead of square brackets.\n *\n * @param {Date|Number} date - the original date\n * @param {String} format - the string of tokens\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is\n * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;\n * see: https://git.io/fxCyr\n * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;\n * see: https://git.io/fxCyr\n * @returns {String} the formatted date string\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7\n * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} format string contains an unescaped latin alphabet character\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * var result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')\n * //=> '02/11/2014'\n *\n * @example\n * // Represent 2 July 2014 in Esperanto:\n * import { eoLocale } from 'date-fns/locale/eo'\n * var result = format(new Date(2014, 6, 2), \"do 'de' MMMM yyyy\", {\n * locale: eoLocale\n * })\n * //=> '2-a de julio 2014'\n *\n * @example\n * // Escape string by single quote characters:\n * var result = format(new Date(2014, 6, 2, 15), \"h 'o''clock'\")\n * //=> \"3 o'clock\"\n */\n\nexport default function format(dirtyDate, dirtyFormatStr, dirtyOptions) {\n requiredArgs(2, arguments);\n var formatStr = String(dirtyFormatStr);\n var options = dirtyOptions || {};\n var locale = options.locale || defaultLocale;\n var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n if (!locale.localize) {\n throw new RangeError('locale must contain localize property');\n }\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n var originalDate = toDate(dirtyDate);\n if (!isValid(originalDate)) {\n throw new RangeError('Invalid time value');\n } // Convert the date in system timezone to the same date in UTC+00:00 timezone.\n // This ensures that when UTC functions will be implemented, locales will be compatible with them.\n // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376\n\n var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);\n var utcDate = subMilliseconds(originalDate, timezoneOffset);\n var formatterOptions = {\n firstWeekContainsDate: firstWeekContainsDate,\n weekStartsOn: weekStartsOn,\n locale: locale,\n _originalDate: originalDate\n };\n var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {\n var firstCharacter = substring[0];\n if (firstCharacter === 'p' || firstCharacter === 'P') {\n var longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong, formatterOptions);\n }\n return substring;\n }).join('').match(formattingTokensRegExp).map(function (substring) {\n // Replace two single quote characters with one single quote character\n if (substring === \"''\") {\n return \"'\";\n }\n var firstCharacter = substring[0];\n if (firstCharacter === \"'\") {\n return cleanEscapedString(substring);\n }\n var formatter = formatters[firstCharacter];\n if (formatter) {\n if (!options.useAdditionalWeekYearTokens && isProtectedWeekYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, dirtyDate);\n }\n if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, dirtyDate);\n }\n return formatter(utcDate, substring, locale.localize, formatterOptions);\n }\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');\n }\n return substring;\n }).join('');\n return result;\n}\nfunction cleanEscapedString(input) {\n return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, \"'\");\n}","var identity = function (_) {\n return _;\n};\n\n/**\n * Module exports, export\n */\n\nmodule.exports = multiple(find);\nmodule.exports.find = module.exports;\n\n/**\n * Export the replacement function, return the modified object\n */\n\nmodule.exports.replace = function (obj, key, val, options) {\n multiple(replace).call(this, obj, key, val, options);\n return obj;\n};\n\n/**\n * Export the delete function, return the modified object\n */\n\nmodule.exports.del = function (obj, key, options) {\n multiple(del).call(this, obj, key, null, options);\n return obj;\n};\n\n/**\n * Compose applying the function to a nested key\n */\n\nfunction multiple(fn) {\n return function (obj, path, val, options) {\n var normalize = options && isFunction(options.normalizer) ? options.normalizer : defaultNormalize;\n path = normalize(path);\n var key;\n var finished = false;\n while (!finished) loop();\n function loop() {\n for (key in obj) {\n var normalizedKey = normalize(key);\n if (0 === path.indexOf(normalizedKey)) {\n var temp = path.substr(normalizedKey.length);\n if (temp.charAt(0) === '.' || temp.length === 0) {\n path = temp.substr(1);\n var child = obj[key];\n\n // we're at the end and there is nothing.\n if (null == child) {\n finished = true;\n return;\n }\n\n // we're at the end and there is something.\n if (!path.length) {\n finished = true;\n return;\n }\n\n // step into child\n obj = child;\n\n // but we're done here\n return;\n }\n }\n }\n key = undefined;\n // if we found no matching properties\n // on the current object, there's no match.\n finished = true;\n }\n if (!key) return;\n if (null == obj) return obj;\n\n // the `obj` and `key` is one above the leaf object and key, so\n // start object: { a: { 'b.c': 10 } }\n // end object: { 'b.c': 10 }\n // end key: 'b.c'\n // this way, you can do `obj[key]` and get `10`.\n return fn(obj, key, val);\n };\n}\n\n/**\n * Find an object by its key\n *\n * find({ first_name : 'Calvin' }, 'firstName')\n */\n\nfunction find(obj, key) {\n if (obj.hasOwnProperty(key)) return obj[key];\n}\n\n/**\n * Delete a value for a given key\n *\n * del({ a : 'b', x : 'y' }, 'X' }) -> { a : 'b' }\n */\n\nfunction del(obj, key) {\n if (obj.hasOwnProperty(key)) delete obj[key];\n return obj;\n}\n\n/**\n * Replace an objects existing value with a new one\n *\n * replace({ a : 'b' }, 'a', 'c') -> { a : 'c' }\n */\n\nfunction replace(obj, key, val) {\n if (obj.hasOwnProperty(key)) obj[key] = val;\n return obj;\n}\n\n/**\n * Normalize a `dot.separated.path`.\n *\n * A.HELL(!*&#(!)O_WOR LD.bar => ahelloworldbar\n *\n * @param {String} path\n * @return {String}\n */\n\nfunction defaultNormalize(path) {\n return path.replace(/[^a-zA-Z0-9\\.]+/g, '').toLowerCase();\n}\n\n/**\n * Check if a value is a function.\n *\n * @param {*} val\n * @return {boolean} Returns `true` if `val` is a function, otherwise `false`.\n */\n\nfunction isFunction(val) {\n return typeof val === 'function';\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar matcher = /.+\\@.+\\..+/;\nfunction isEmail(string) {\n return matcher.test(string);\n}\nexports.default = isEmail;","export function isBrowser() {\n return typeof window !== 'undefined';\n}\nexport function isServer() {\n return !isBrowser();\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport addMilliseconds from \"../addMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name subMilliseconds\n * @category Millisecond Helpers\n * @summary Subtract the specified number of milliseconds from the given date.\n *\n * @description\n * Subtract the specified number of milliseconds from the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:\n * const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:29.250\n */\n\nexport default function subMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMilliseconds(dirtyDate, -amount);\n}","function dateLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'P':\n return formatLong.date({\n width: 'short'\n });\n case 'PP':\n return formatLong.date({\n width: 'medium'\n });\n case 'PPP':\n return formatLong.date({\n width: 'long'\n });\n case 'PPPP':\n default:\n return formatLong.date({\n width: 'full'\n });\n }\n}\nfunction timeLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'p':\n return formatLong.time({\n width: 'short'\n });\n case 'pp':\n return formatLong.time({\n width: 'medium'\n });\n case 'ppp':\n return formatLong.time({\n width: 'long'\n });\n case 'pppp':\n default:\n return formatLong.time({\n width: 'full'\n });\n }\n}\nfunction dateTimeLongFormatter(pattern, formatLong) {\n var matchResult = pattern.match(/(P+)(p+)?/);\n var datePattern = matchResult[1];\n var timePattern = matchResult[2];\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong);\n }\n var dateTimeFormat;\n switch (datePattern) {\n case 'P':\n dateTimeFormat = formatLong.dateTime({\n width: 'short'\n });\n break;\n case 'PP':\n dateTimeFormat = formatLong.dateTime({\n width: 'medium'\n });\n break;\n case 'PPP':\n dateTimeFormat = formatLong.dateTime({\n width: 'long'\n });\n break;\n case 'PPPP':\n default:\n dateTimeFormat = formatLong.dateTime({\n width: 'full'\n });\n break;\n }\n return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong));\n}\nvar longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter\n};\nexport default longFormatters;","import toDate from \"../../toDate/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var year = date.getUTCFullYear();\n var fourthOfJanuaryOfNextYear = new Date(0);\n fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear);\n var fourthOfJanuaryOfThisYear = new Date(0);\n fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","import { __assign, __read, __spread } from \"tslib\";\nimport { dateTimestampInSeconds, getGlobalSingleton, isPlainObject, isThenable, SyncPromise } from '@sentry/utils';\n/**\n * Absolute maximum number of breadcrumbs added to an event.\n * The `maxBreadcrumbs` option cannot be higher than this value.\n */\nvar MAX_BREADCRUMBS = 100;\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be\n * called by the client before an event will be sent.\n */\nvar Scope = /** @class */function () {\n function Scope() {\n /** Flag if notifying is happening. */\n this._notifyingListeners = false;\n /** Callback for client to receive scope changes. */\n this._scopeListeners = [];\n /** Callback list that will be called after {@link applyToEvent}. */\n this._eventProcessors = [];\n /** Array of breadcrumbs. */\n this._breadcrumbs = [];\n /** User */\n this._user = {};\n /** Tags */\n this._tags = {};\n /** Extra */\n this._extra = {};\n /** Contexts */\n this._contexts = {};\n /**\n * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n * sent to Sentry\n */\n this._sdkProcessingMetadata = {};\n }\n /**\n * Inherit values from the parent scope.\n * @param scope to clone.\n */\n Scope.clone = function (scope) {\n var newScope = new Scope();\n if (scope) {\n newScope._breadcrumbs = __spread(scope._breadcrumbs);\n newScope._tags = __assign({}, scope._tags);\n newScope._extra = __assign({}, scope._extra);\n newScope._contexts = __assign({}, scope._contexts);\n newScope._user = scope._user;\n newScope._level = scope._level;\n newScope._span = scope._span;\n newScope._session = scope._session;\n newScope._transactionName = scope._transactionName;\n newScope._fingerprint = scope._fingerprint;\n newScope._eventProcessors = __spread(scope._eventProcessors);\n newScope._requestSession = scope._requestSession;\n }\n return newScope;\n };\n /**\n * Add internal on change listener. Used for sub SDKs that need to store the scope.\n * @hidden\n */\n Scope.prototype.addScopeListener = function (callback) {\n this._scopeListeners.push(callback);\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.addEventProcessor = function (callback) {\n this._eventProcessors.push(callback);\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setUser = function (user) {\n this._user = user || {};\n if (this._session) {\n this._session.update({\n user: user\n });\n }\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.getUser = function () {\n return this._user;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.getRequestSession = function () {\n return this._requestSession;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setRequestSession = function (requestSession) {\n this._requestSession = requestSession;\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setTags = function (tags) {\n this._tags = __assign(__assign({}, this._tags), tags);\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setTag = function (key, value) {\n var _a;\n this._tags = __assign(__assign({}, this._tags), (_a = {}, _a[key] = value, _a));\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setExtras = function (extras) {\n this._extra = __assign(__assign({}, this._extra), extras);\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setExtra = function (key, extra) {\n var _a;\n this._extra = __assign(__assign({}, this._extra), (_a = {}, _a[key] = extra, _a));\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setFingerprint = function (fingerprint) {\n this._fingerprint = fingerprint;\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setLevel = function (level) {\n this._level = level;\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setTransactionName = function (name) {\n this._transactionName = name;\n this._notifyScopeListeners();\n return this;\n };\n /**\n * Can be removed in major version.\n * @deprecated in favor of {@link this.setTransactionName}\n */\n Scope.prototype.setTransaction = function (name) {\n return this.setTransactionName(name);\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setContext = function (key, context) {\n var _a;\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts = __assign(__assign({}, this._contexts), (_a = {}, _a[key] = context, _a));\n }\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setSpan = function (span) {\n this._span = span;\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.getSpan = function () {\n return this._span;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.getTransaction = function () {\n // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will\n // have a pointer to the currently-active transaction.\n var span = this.getSpan();\n return span && span.transaction;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.setSession = function (session) {\n if (!session) {\n delete this._session;\n } else {\n this._session = session;\n }\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.getSession = function () {\n return this._session;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.update = function (captureContext) {\n if (!captureContext) {\n return this;\n }\n if (typeof captureContext === 'function') {\n var updatedScope = captureContext(this);\n return updatedScope instanceof Scope ? updatedScope : this;\n }\n if (captureContext instanceof Scope) {\n this._tags = __assign(__assign({}, this._tags), captureContext._tags);\n this._extra = __assign(__assign({}, this._extra), captureContext._extra);\n this._contexts = __assign(__assign({}, this._contexts), captureContext._contexts);\n if (captureContext._user && Object.keys(captureContext._user).length) {\n this._user = captureContext._user;\n }\n if (captureContext._level) {\n this._level = captureContext._level;\n }\n if (captureContext._fingerprint) {\n this._fingerprint = captureContext._fingerprint;\n }\n if (captureContext._requestSession) {\n this._requestSession = captureContext._requestSession;\n }\n } else if (isPlainObject(captureContext)) {\n // eslint-disable-next-line no-param-reassign\n captureContext = captureContext;\n this._tags = __assign(__assign({}, this._tags), captureContext.tags);\n this._extra = __assign(__assign({}, this._extra), captureContext.extra);\n this._contexts = __assign(__assign({}, this._contexts), captureContext.contexts);\n if (captureContext.user) {\n this._user = captureContext.user;\n }\n if (captureContext.level) {\n this._level = captureContext.level;\n }\n if (captureContext.fingerprint) {\n this._fingerprint = captureContext.fingerprint;\n }\n if (captureContext.requestSession) {\n this._requestSession = captureContext.requestSession;\n }\n }\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.clear = function () {\n this._breadcrumbs = [];\n this._tags = {};\n this._extra = {};\n this._user = {};\n this._contexts = {};\n this._level = undefined;\n this._transactionName = undefined;\n this._fingerprint = undefined;\n this._requestSession = undefined;\n this._span = undefined;\n this._session = undefined;\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.addBreadcrumb = function (breadcrumb, maxBreadcrumbs) {\n var maxCrumbs = typeof maxBreadcrumbs === 'number' ? Math.min(maxBreadcrumbs, MAX_BREADCRUMBS) : MAX_BREADCRUMBS;\n // No data has been changed, so don't notify scope listeners\n if (maxCrumbs <= 0) {\n return this;\n }\n var mergedBreadcrumb = __assign({\n timestamp: dateTimestampInSeconds()\n }, breadcrumb);\n this._breadcrumbs = __spread(this._breadcrumbs, [mergedBreadcrumb]).slice(-maxCrumbs);\n this._notifyScopeListeners();\n return this;\n };\n /**\n * @inheritDoc\n */\n Scope.prototype.clearBreadcrumbs = function () {\n this._breadcrumbs = [];\n this._notifyScopeListeners();\n return this;\n };\n /**\n * Applies the current context and fingerprint to the event.\n * Note that breadcrumbs will be added by the client.\n * Also if the event has already breadcrumbs on it, we do not merge them.\n * @param event Event\n * @param hint May contain additional information about the original exception.\n * @hidden\n */\n Scope.prototype.applyToEvent = function (event, hint) {\n if (this._extra && Object.keys(this._extra).length) {\n event.extra = __assign(__assign({}, this._extra), event.extra);\n }\n if (this._tags && Object.keys(this._tags).length) {\n event.tags = __assign(__assign({}, this._tags), event.tags);\n }\n if (this._user && Object.keys(this._user).length) {\n event.user = __assign(__assign({}, this._user), event.user);\n }\n if (this._contexts && Object.keys(this._contexts).length) {\n event.contexts = __assign(__assign({}, this._contexts), event.contexts);\n }\n if (this._level) {\n event.level = this._level;\n }\n if (this._transactionName) {\n event.transaction = this._transactionName;\n }\n // We want to set the trace context for normal events only if there isn't already\n // a trace context on the event. There is a product feature in place where we link\n // errors with transaction and it relies on that.\n if (this._span) {\n event.contexts = __assign({\n trace: this._span.getTraceContext()\n }, event.contexts);\n var transactionName = this._span.transaction && this._span.transaction.name;\n if (transactionName) {\n event.tags = __assign({\n transaction: transactionName\n }, event.tags);\n }\n }\n this._applyFingerprint(event);\n event.breadcrumbs = __spread(event.breadcrumbs || [], this._breadcrumbs);\n event.breadcrumbs = event.breadcrumbs.length > 0 ? event.breadcrumbs : undefined;\n event.sdkProcessingMetadata = this._sdkProcessingMetadata;\n return this._notifyEventProcessors(__spread(getGlobalEventProcessors(), this._eventProcessors), event, hint);\n };\n /**\n * Add data which will be accessible during event processing but won't get sent to Sentry\n */\n Scope.prototype.setSDKProcessingMetadata = function (newData) {\n this._sdkProcessingMetadata = __assign(__assign({}, this._sdkProcessingMetadata), newData);\n return this;\n };\n /**\n * This will be called after {@link applyToEvent} is finished.\n */\n Scope.prototype._notifyEventProcessors = function (processors, event, hint, index) {\n var _this = this;\n if (index === void 0) {\n index = 0;\n }\n return new SyncPromise(function (resolve, reject) {\n var processor = processors[index];\n if (event === null || typeof processor !== 'function') {\n resolve(event);\n } else {\n var result = processor(__assign({}, event), hint);\n if (isThenable(result)) {\n void result.then(function (final) {\n return _this._notifyEventProcessors(processors, final, hint, index + 1).then(resolve);\n }).then(null, reject);\n } else {\n void _this._notifyEventProcessors(processors, result, hint, index + 1).then(resolve).then(null, reject);\n }\n }\n });\n };\n /**\n * This will be called on every set call.\n */\n Scope.prototype._notifyScopeListeners = function () {\n var _this = this;\n // We need this check for this._notifyingListeners to be able to work on scope during updates\n // If this check is not here we'll produce endless recursion when something is done with the scope\n // during the callback.\n if (!this._notifyingListeners) {\n this._notifyingListeners = true;\n this._scopeListeners.forEach(function (callback) {\n callback(_this);\n });\n this._notifyingListeners = false;\n }\n };\n /**\n * Applies fingerprint from the scope to the event if there's one,\n * uses message if there's one instead or get rid of empty fingerprint\n */\n Scope.prototype._applyFingerprint = function (event) {\n // Make sure it's an array first and we actually have something in place\n event.fingerprint = event.fingerprint ? Array.isArray(event.fingerprint) ? event.fingerprint : [event.fingerprint] : [];\n // If we have something on the scope, then merge it with event\n if (this._fingerprint) {\n event.fingerprint = event.fingerprint.concat(this._fingerprint);\n }\n // If we have no data at all, remove empty array default\n if (event.fingerprint && !event.fingerprint.length) {\n delete event.fingerprint;\n }\n };\n return Scope;\n}();\nexport { Scope };\n/**\n * Returns the global event processors.\n */\nfunction getGlobalEventProcessors() {\n return getGlobalSingleton('globalEventProcessors', function () {\n return [];\n });\n}\n/**\n * Add a EventProcessor to be kept globally.\n * @param callback EventProcessor to add\n */\nexport function addGlobalEventProcessor(callback) {\n getGlobalEventProcessors().push(callback);\n}","import { __assign } from \"tslib\";\nimport jar from 'js-cookie';\nimport { gracefulDecodeURIComponent } from '../../core/query-string/gracefulDecodeURIComponent';\nimport { tld } from '../../core/user/tld';\nimport { version } from '../../generated/version';\nimport { getAvailableStorageOptions, UniversalStorage } from '../../core/user';\nvar cookieOptions;\nfunction getCookieOptions() {\n if (cookieOptions) {\n return cookieOptions;\n }\n var domain = tld(window.location.href);\n cookieOptions = {\n expires: 31536000000,\n secure: false,\n path: '/'\n };\n if (domain) {\n cookieOptions.domain = domain;\n }\n return cookieOptions;\n}\n// Default value will be updated to 'web' in `bundle-umd.ts` for web build.\nvar _version = 'npm';\nexport function setVersionType(version) {\n _version = version;\n}\nexport function getVersionType() {\n return _version;\n}\nexport function ampId() {\n var ampId = jar.get('_ga');\n if (ampId && ampId.startsWith('amp')) {\n return ampId;\n }\n}\nexport function utm(query) {\n if (query.startsWith('?')) {\n query = query.substring(1);\n }\n query = query.replace(/\\?/g, '&');\n return query.split('&').reduce(function (acc, str) {\n var _a = str.split('='),\n k = _a[0],\n _b = _a[1],\n v = _b === void 0 ? '' : _b;\n if (k.includes('utm_') && k.length > 4) {\n var utmParam = k.substr(4);\n if (utmParam === 'campaign') {\n utmParam = 'name';\n }\n acc[utmParam] = gracefulDecodeURIComponent(v);\n }\n return acc;\n }, {});\n}\nfunction ads(query) {\n var queryIds = {\n btid: 'dataxu',\n urid: 'millennial-media'\n };\n if (query.startsWith('?')) {\n query = query.substring(1);\n }\n query = query.replace(/\\?/g, '&');\n var parts = query.split('&');\n for (var _i = 0, parts_1 = parts; _i < parts_1.length; _i++) {\n var part = parts_1[_i];\n var _a = part.split('='),\n k = _a[0],\n v = _a[1];\n if (queryIds[k]) {\n return {\n id: v,\n type: queryIds[k]\n };\n }\n }\n}\nfunction referrerId(query, ctx, disablePersistance) {\n var storage = new UniversalStorage(disablePersistance ? [] : ['cookie'], getAvailableStorageOptions(getCookieOptions()));\n var stored = storage.get('s:context.referrer');\n var ad = ads(query);\n ad = ad !== null && ad !== void 0 ? ad : stored;\n if (!ad) {\n return;\n }\n if (ctx) {\n ctx.referrer = __assign(__assign({}, ctx.referrer), ad);\n }\n storage.set('s:context.referrer', ad);\n}\nexport function normalize(analytics, json, settings, integrations) {\n var _a, _b, _c, _d;\n var user = analytics.user();\n var query = window.location.search;\n json.context = (_b = (_a = json.context) !== null && _a !== void 0 ? _a : json.options) !== null && _b !== void 0 ? _b : {};\n var ctx = json.context;\n delete json.options;\n json.writeKey = settings === null || settings === void 0 ? void 0 : settings.apiKey;\n ctx.userAgent = window.navigator.userAgent;\n // @ts-ignore\n var locale = navigator.userLanguage || navigator.language;\n if (typeof ctx.locale === 'undefined' && typeof locale !== 'undefined') {\n ctx.locale = locale;\n }\n if (!ctx.library) {\n var type = getVersionType();\n if (type === 'web') {\n ctx.library = {\n name: 'analytics.js',\n version: \"next-\".concat(version)\n };\n } else {\n ctx.library = {\n name: 'analytics.js',\n version: \"npm:next-\".concat(version)\n };\n }\n }\n if (query && !ctx.campaign) {\n ctx.campaign = utm(query);\n }\n referrerId(query, ctx, (_c = analytics.options.disableClientPersistence) !== null && _c !== void 0 ? _c : false);\n json.userId = json.userId || user.id();\n json.anonymousId = json.anonymousId || user.anonymousId();\n json.sentAt = new Date();\n var failed = analytics.queue.failedInitializations || [];\n if (failed.length > 0) {\n json._metadata = {\n failedInitializations: failed\n };\n }\n var bundled = [];\n var unbundled = [];\n for (var key in integrations) {\n var integration = integrations[key];\n if (key === 'june.so') {\n bundled.push(key);\n }\n if (integration.bundlingStatus === 'bundled') {\n bundled.push(key);\n }\n if (integration.bundlingStatus === 'unbundled') {\n unbundled.push(key);\n }\n }\n // This will make sure that the disabled cloud mode destinations will be\n // included in the unbundled list.\n for (var _i = 0, _e = (settings === null || settings === void 0 ? void 0 : settings.unbundledIntegrations) || []; _i < _e.length; _i++) {\n var settingsUnbundled = _e[_i];\n if (!unbundled.includes(settingsUnbundled)) {\n unbundled.push(settingsUnbundled);\n }\n }\n var configIds = (_d = settings === null || settings === void 0 ? void 0 : settings.maybeBundledConfigIds) !== null && _d !== void 0 ? _d : {};\n var bundledConfigIds = [];\n bundled.sort().forEach(function (name) {\n var _a;\n ;\n ((_a = configIds[name]) !== null && _a !== void 0 ? _a : []).forEach(function (id) {\n bundledConfigIds.push(id);\n });\n });\n if ((settings === null || settings === void 0 ? void 0 : settings.addBundledMetadata) !== false) {\n json._metadata = __assign(__assign({}, json._metadata), {\n bundled: bundled.sort(),\n unbundled: unbundled.sort(),\n bundledIds: bundledConfigIds\n });\n }\n var amp = ampId();\n if (amp) {\n ctx.amp = {\n id: amp\n };\n }\n return json;\n}","import cookie from 'js-cookie';\n/**\n * Levels returns all levels of the given url.\n *\n * @param {string} url\n * @return {Array}\n * @api public\n */\nfunction levels(url) {\n var host = url.hostname;\n var parts = host.split('.');\n var last = parts[parts.length - 1];\n var levels = [];\n // Ip address.\n if (parts.length === 4 && parseInt(last, 10) > 0) {\n return levels;\n }\n // Localhost.\n if (parts.length <= 1) {\n return levels;\n }\n // Create levels.\n for (var i = parts.length - 2; i >= 0; --i) {\n levels.push(parts.slice(i).join('.'));\n }\n return levels;\n}\nfunction parseUrl(url) {\n try {\n return new URL(url);\n } catch (_a) {\n return;\n }\n}\nexport function tld(url) {\n var parsedUrl = parseUrl(url);\n if (!parsedUrl) return;\n var lvls = levels(parsedUrl);\n // Lookup the real top level one.\n for (var i = 0; i < lvls.length; ++i) {\n var cname = '__tld__';\n var domain = lvls[i];\n var opts = {\n domain: '.' + domain\n };\n try {\n // cookie access throw an error if the library is ran inside a sandboxed environment (e.g. sandboxed iframe)\n cookie.set(cname, '1', opts);\n if (cookie.get(cname)) {\n cookie.remove(cname, opts);\n return domain;\n }\n } catch (_) {\n return;\n }\n }\n}","function findScript(src) {\n var scripts = Array.prototype.slice.call(window.document.querySelectorAll('script'));\n return scripts.find(function (s) {\n return s.src === src;\n });\n}\nexport function loadScript(src, attributes) {\n var found = findScript(src);\n if (found !== undefined) {\n var status_1 = found === null || found === void 0 ? void 0 : found.getAttribute('status');\n if (status_1 === 'loaded') {\n return Promise.resolve(found);\n }\n if (status_1 === 'loading') {\n return new Promise(function (resolve, reject) {\n found.addEventListener('load', function () {\n return resolve(found);\n });\n found.addEventListener('error', function (err) {\n return reject(err);\n });\n });\n }\n }\n return new Promise(function (resolve, reject) {\n var _a;\n var script = window.document.createElement('script');\n script.type = 'text/javascript';\n script.src = src;\n script.async = true;\n script.setAttribute('status', 'loading');\n for (var _i = 0, _b = Object.entries(attributes !== null && attributes !== void 0 ? attributes : {}); _i < _b.length; _i++) {\n var _c = _b[_i],\n k = _c[0],\n v = _c[1];\n script.setAttribute(k, v);\n }\n script.onload = function () {\n script.onerror = script.onload = null;\n script.setAttribute('status', 'loaded');\n resolve(script);\n };\n script.onerror = function () {\n script.onerror = script.onload = null;\n script.setAttribute('status', 'error');\n reject(new Error(\"Failed to load \".concat(src)));\n };\n var tag = window.document.getElementsByTagName('script')[0];\n (_a = tag.parentElement) === null || _a === void 0 ? void 0 : _a.insertBefore(script, tag);\n });\n}\nexport function unloadScript(src) {\n var found = findScript(src);\n if (found !== undefined) {\n found.remove();\n }\n return Promise.resolve();\n}","/**\n * Event Emitter that takes the expected contract as a generic\n * @example\n * ```ts\n * type Contract = {\n * delivery_success: [DeliverySuccessResponse, Metrics],\n * delivery_failure: [DeliveryError]\n * }\n * new Emitter()\n * .on('delivery_success', (res, metrics) => ...)\n * .on('delivery_failure', (err) => ...)\n * ```\n */\nvar Emitter = /** @class */function () {\n function Emitter() {\n this.callbacks = {};\n }\n Emitter.prototype.on = function (event, callback) {\n if (!this.callbacks[event]) {\n this.callbacks[event] = [callback];\n } else {\n this.callbacks[event].push(callback);\n }\n return this;\n };\n Emitter.prototype.once = function (event, callback) {\n var _this = this;\n var on = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n _this.off(event, on);\n callback.apply(_this, args);\n };\n this.on(event, on);\n return this;\n };\n Emitter.prototype.off = function (event, callback) {\n var _a;\n var fns = (_a = this.callbacks[event]) !== null && _a !== void 0 ? _a : [];\n var without = fns.filter(function (fn) {\n return fn !== callback;\n });\n this.callbacks[event] = without;\n return this;\n };\n Emitter.prototype.emit = function (event) {\n var _this = this;\n var _a;\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n var callbacks = (_a = this.callbacks[event]) !== null && _a !== void 0 ? _a : [];\n callbacks.forEach(function (callback) {\n callback.apply(_this, args);\n });\n return this;\n };\n return Emitter;\n}();\nexport { Emitter };","import { __assign, __values } from \"tslib\";\nvar STACKTRACE_LIMIT = 50;\n/**\n * Creates a stack parser with the supplied line parsers\n *\n * StackFrames are returned in the correct order for Sentry Exception\n * frames and with Sentry SDK internal frames removed from the top and bottom\n *\n */\nexport function createStackParser() {\n var parsers = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n parsers[_i] = arguments[_i];\n }\n var sortedParsers = parsers.sort(function (a, b) {\n return a[0] - b[0];\n }).map(function (p) {\n return p[1];\n });\n return function (stack, skipFirst) {\n var e_1, _a, e_2, _b;\n if (skipFirst === void 0) {\n skipFirst = 0;\n }\n var frames = [];\n try {\n for (var _c = __values(stack.split('\\n').slice(skipFirst)), _d = _c.next(); !_d.done; _d = _c.next()) {\n var line = _d.value;\n try {\n for (var sortedParsers_1 = (e_2 = void 0, __values(sortedParsers)), sortedParsers_1_1 = sortedParsers_1.next(); !sortedParsers_1_1.done; sortedParsers_1_1 = sortedParsers_1.next()) {\n var parser = sortedParsers_1_1.value;\n var frame = parser(line);\n if (frame) {\n frames.push(frame);\n break;\n }\n }\n } catch (e_2_1) {\n e_2 = {\n error: e_2_1\n };\n } finally {\n try {\n if (sortedParsers_1_1 && !sortedParsers_1_1.done && (_b = sortedParsers_1.return)) _b.call(sortedParsers_1);\n } finally {\n if (e_2) throw e_2.error;\n }\n }\n }\n } catch (e_1_1) {\n e_1 = {\n error: e_1_1\n };\n } finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n } finally {\n if (e_1) throw e_1.error;\n }\n }\n return stripSentryFramesAndReverse(frames);\n };\n}\n/**\n * @hidden\n */\nexport function stripSentryFramesAndReverse(stack) {\n if (!stack.length) {\n return [];\n }\n var localStack = stack;\n var firstFrameFunction = localStack[0].function || '';\n var lastFrameFunction = localStack[localStack.length - 1].function || '';\n // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call)\n if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) {\n localStack = localStack.slice(1);\n }\n // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call)\n if (lastFrameFunction.indexOf('sentryWrapped') !== -1) {\n localStack = localStack.slice(0, -1);\n }\n // The frame where the crash happened, should be the last entry in the array\n return localStack.slice(0, STACKTRACE_LIMIT).map(function (frame) {\n return __assign(__assign({}, frame), {\n filename: frame.filename || localStack[0].filename,\n function: frame.function || '?'\n });\n }).reverse();\n}\nvar defaultFunctionName = '';\n/**\n * Safely extract function name from itself\n */\nexport function getFunctionName(fn) {\n try {\n if (!fn || typeof fn !== 'function') {\n return defaultFunctionName;\n }\n return fn.name || defaultFunctionName;\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n return defaultFunctionName;\n }\n}","import { __assign, __awaiter, __generator } from \"tslib\";\nimport { fetch } from '../../lib/fetch';\nimport { version } from '../../generated/version';\nimport { getVersionType } from '../../plugins/segmentio/normalize';\nvar createRemoteMetric = function (metric, tags, versionType) {\n var formattedTags = tags.reduce(function (acc, t) {\n var _a = t.split(':'),\n k = _a[0],\n v = _a[1];\n acc[k] = v;\n return acc;\n }, {});\n return {\n type: 'Counter',\n metric: metric,\n value: 1,\n tags: __assign(__assign({}, formattedTags), {\n library: 'analytics.js',\n library_version: versionType === 'web' ? \"next-\".concat(version) : \"npm:next-\".concat(version)\n })\n };\n};\nfunction logError(err) {\n console.error('Error sending segment performance metrics', err);\n}\nvar RemoteMetrics = /** @class */function () {\n function RemoteMetrics(options) {\n var _this = this;\n var _a, _b, _c, _d;\n this.host = (_a = options === null || options === void 0 ? void 0 : options.host) !== null && _a !== void 0 ? _a : 'api.june.so/sdk';\n this.sampleRate = (_b = options === null || options === void 0 ? void 0 : options.sampleRate) !== null && _b !== void 0 ? _b : 1;\n this.flushTimer = (_c = options === null || options === void 0 ? void 0 : options.flushTimer) !== null && _c !== void 0 ? _c : 30 * 1000; /* 30s */\n this.maxQueueSize = (_d = options === null || options === void 0 ? void 0 : options.maxQueueSize) !== null && _d !== void 0 ? _d : 20;\n this.queue = [];\n if (this.sampleRate > 0) {\n var flushing_1 = false;\n var run_1 = function () {\n if (flushing_1) {\n return;\n }\n flushing_1 = true;\n _this.flush().catch(logError);\n flushing_1 = false;\n setTimeout(run_1, _this.flushTimer);\n };\n run_1();\n }\n }\n RemoteMetrics.prototype.increment = function (metric, tags) {\n // All metrics are part of an allow list in Tracking API\n if (!metric.includes('analytics_js.')) {\n return;\n }\n // /m doesn't like empty tags\n if (tags.length === 0) {\n return;\n }\n if (Math.random() > this.sampleRate) {\n return;\n }\n if (this.queue.length >= this.maxQueueSize) {\n return;\n }\n var remoteMetric = createRemoteMetric(metric, tags, getVersionType());\n this.queue.push(remoteMetric);\n if (metric.includes('error')) {\n this.flush().catch(logError);\n }\n };\n RemoteMetrics.prototype.flush = function () {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this.queue.length <= 0) {\n return [2 /*return*/];\n }\n return [4 /*yield*/, this.send().catch(function (error) {\n logError(error);\n _this.sampleRate = 0;\n })];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n RemoteMetrics.prototype.send = function () {\n return __awaiter(this, void 0, void 0, function () {\n var payload, headers, url;\n return __generator(this, function (_a) {\n payload = {\n series: this.queue\n };\n this.queue = [];\n headers = {\n 'Content-Type': 'text/plain'\n };\n url = \"https://\".concat(this.host, \"/m\");\n return [2 /*return*/, fetch(url, {\n headers: headers,\n body: JSON.stringify(payload),\n method: 'POST'\n })];\n });\n });\n };\n return RemoteMetrics;\n}();\nexport { RemoteMetrics };","import { __extends } from \"tslib\";\nimport { CoreStats } from '@segment/analytics-core';\nimport { RemoteMetrics } from './remote-metrics';\nvar remoteMetrics;\nvar Stats = /** @class */function (_super) {\n __extends(Stats, _super);\n function Stats() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Stats.initRemoteMetrics = function (options) {\n remoteMetrics = new RemoteMetrics(options);\n };\n Stats.prototype.increment = function (metric, by, tags) {\n _super.prototype.increment.call(this, metric, by, tags);\n remoteMetrics === null || remoteMetrics === void 0 ? void 0 : remoteMetrics.increment(metric, tags !== null && tags !== void 0 ? tags : []);\n };\n return Stats;\n}(CoreStats);\nexport { Stats };","import toDate from \"../../toDate/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport startOfUTCWeekYear from \"../startOfUTCWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCWeek(dirtyDate, options) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import toInteger from \"../toInteger/index.js\";\nimport getUTCWeekYear from \"../getUTCWeekYear/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCWeekYear(dirtyDate, dirtyOptions) {\n requiredArgs(1, arguments);\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeFirstWeekContainsDate = locale && locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate);\n var year = getUTCWeekYear(dirtyDate, dirtyOptions);\n var firstWeek = new Date(0);\n firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCWeek(firstWeek, dirtyOptions);\n return date;\n}","import toDate from \"../../toDate/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport startOfUTCISOWeekYear from \"../startOfUTCISOWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import getUTCISOWeekYear from \"../getUTCISOWeekYear/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var year = getUTCISOWeekYear(dirtyDate);\n var fourthOfJanuary = new Date(0);\n fourthOfJanuary.setUTCFullYear(year, 0, 4);\n fourthOfJanuary.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCISOWeek(fourthOfJanuary);\n return date;\n}","import { mapGetters } from 'vuex';\n\nexport default {\n computed: {\n ...mapGetters({\n currentUserRole: 'getCurrentRole',\n }),\n isAdmin() {\n return this.currentUserRole === 'administrator';\n },\n },\n};\n","import { mapGetters } from 'vuex';\n\nexport default {\n computed: {\n ...mapGetters({\n accountId: 'getCurrentAccountId',\n }),\n },\n methods: {\n addAccountScoping(url) {\n return `/app/accounts/${this.accountId}/${url}`;\n },\n },\n};\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports._setTarget = void 0;\nexports.popParams = popParams;\nexports.pushParams = pushParams;\nexports.target = void 0;\nexports.withParams = withParams;\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nvar stack = [];\nvar target = null;\nexports.target = target;\nvar _setTarget = function _setTarget(x) {\n exports.target = target = x;\n};\nexports._setTarget = _setTarget;\nfunction pushParams() {\n if (target !== null) {\n stack.push(target);\n }\n exports.target = target = {};\n}\nfunction popParams() {\n var lastTarget = target;\n var newTarget = exports.target = target = stack.pop() || null;\n if (newTarget) {\n if (!Array.isArray(newTarget.$sub)) {\n newTarget.$sub = [];\n }\n newTarget.$sub.push(lastTarget);\n }\n return lastTarget;\n}\nfunction addParams(params) {\n if (_typeof(params) === 'object' && !Array.isArray(params)) {\n exports.target = target = _objectSpread(_objectSpread({}, target), params);\n } else {\n throw new Error('params must be an object');\n }\n}\nfunction withParamsDirect(params, validator) {\n return withParamsClosure(function (add) {\n return function () {\n add(params);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return validator.apply(this, args);\n };\n });\n}\nfunction withParamsClosure(closure) {\n var validator = closure(addParams);\n return function () {\n pushParams();\n try {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n return validator.apply(this, args);\n } finally {\n popParams();\n }\n };\n}\nfunction withParams(paramsOrClosure, maybeValidator) {\n if (_typeof(paramsOrClosure) === 'object' && maybeValidator !== undefined) {\n return withParamsDirect(paramsOrClosure, maybeValidator);\n }\n return withParamsClosure(paramsOrClosure);\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{\"name\":\"modal-fade\"}},[(_vm.show)?_c('div',{class:_vm.modalClassName,attrs:{\"transition\":\"modal\"},on:{\"mousedown\":_vm.handleMouseDown}},[_c('div',{class:{\n 'modal-container rtl:text-right shadow-md max-h-full overflow-auto relative bg-white dark:bg-slate-800 skip-context-menu': true,\n 'rounded-xl w-[37.5rem]': !_vm.fullWidth,\n 'items-center rounded-none flex h-full justify-center w-full':\n _vm.fullWidth,\n [_vm.size]: true,\n },on:{\"mouse\":function($event){$event.stopPropagation();},\"mousedown\":event => event.stopPropagation()}},[(_vm.showCloseButton)?_c('woot-button',{staticClass:\"absolute z-10 ltr:right-2 rtl:left-2 top-2\",attrs:{\"color-scheme\":\"secondary\",\"icon\":\"dismiss\",\"variant\":\"clear\"},on:{\"click\":_vm.close}}):_vm._e(),_vm._v(\" \"),_vm._t(\"default\")],2)]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=js\"","\n\n\n\n\n","import { render, staticRenderFns } from \"./Modal.vue?vue&type=template&id=0a09d1e8\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\nimport style0 from \"./Modal.vue?vue&type=style&index=0&id=0a09d1e8&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export const escapeHtml = (unsafe = '') => {\n return unsafe\n .replace(/&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n};\n\nexport const afterSanitizeAttributes = currentNode => {\n if ('target' in currentNode) {\n currentNode.setAttribute('target', '_blank');\n }\n};\n\nexport const domPurifyConfig = {\n hooks: {\n afterSanitizeAttributes,\n },\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass AccountAPI extends ApiClient {\n constructor() {\n super('', { accountScoped: true });\n }\n\n createAccount(data) {\n return axios.post(`${this.apiVersion}/accounts`, data);\n }\n\n async getCacheKeys() {\n const response = await axios.get(\n `/api/v1/accounts/${this.accountIdFromRoute}/cache_keys`\n );\n return response.data.cache_keys;\n }\n}\n\nexport default new AccountAPI();\n","/* global axios */\nimport ApiClient from '../ApiClient';\n\nclass SubscriptionAPI extends ApiClient {\n constructor() {\n super('', { accountScoped: true, apiVersion: 'v2' });\n }\n\n checkout() {\n return axios.get(`${this.url}subscriptions/checkout`, {});\n }\n\n subscription() {\n return axios.get(`${this.url}subscriptions`);\n }\n\n getLimits() {\n return axios.get(`${this.url}limits`);\n }\n\n getInvoices() {\n return axios.get(`${this.url}subscriptions/invoices`);\n }\n}\n\nexport default new SubscriptionAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport * as types from '../mutation-types';\nimport AccountAPI from '../../api/account';\nimport { differenceInDays } from 'date-fns';\nimport SubscriptionAPI from '../../api/subscription/account';\nimport { throwErrorMessage } from '../utils/api';\n\nconst findRecordById = ($state, id) =>\n $state.records.find(record => record.id === Number(id)) || {};\n\nconst TRIAL_PERIOD_DAYS = 15;\n\nconst state = {\n records: [],\n plan: {},\n invoices: [],\n uiFlags: {\n isFetching: false,\n isFetchingItem: false,\n isUpdating: false,\n isCheckoutInProcess: false,\n },\n};\n\nexport const getters = {\n getAccount: $state => id => {\n return findRecordById($state, id);\n },\n getUIFlags($state) {\n return $state.uiFlags;\n },\n\n getPlan($state) {\n return $state.plan;\n },\n getInvoices($state) {\n return $state.invoices;\n },\n isTrialAccount: $state => id => {\n const account = findRecordById($state, id);\n const createdAt = new Date(account.created_at);\n const diffDays = differenceInDays(new Date(), createdAt);\n\n return diffDays <= TRIAL_PERIOD_DAYS;\n },\n isFeatureEnabledonAccount: $state => (id, featureName) => {\n const { features = {} } = findRecordById($state, id);\n return features[featureName] || false;\n },\n};\n\nexport const actions = {\n get: async ({ commit }) => {\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isFetchingItem: true });\n try {\n const response = await AccountAPI.get();\n commit(types.default.ADD_ACCOUNT, response.data);\n commit(types.default.SET_ACCOUNT_UI_FLAG, {\n isFetchingItem: false,\n });\n } catch (error) {\n commit(types.default.SET_ACCOUNT_UI_FLAG, {\n isFetchingItem: false,\n });\n }\n },\n update: async ({ commit }, updateObj) => {\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isUpdating: true });\n try {\n await AccountAPI.update('', updateObj);\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isUpdating: false });\n } catch (error) {\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isUpdating: false });\n throw new Error(error);\n }\n },\n create: async ({ commit }, accountInfo) => {\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isCreating: true });\n try {\n const response = await AccountAPI.createAccount(accountInfo);\n const account_id = response.data.data.account_id;\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isCreating: false });\n return account_id;\n } catch (error) {\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isCreating: false });\n throw error;\n }\n },\n\n checkout: async ({ commit }) => {\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isCheckoutInProcess: true });\n try {\n const response = await SubscriptionAPI.checkout();\n window.location = response.data.payment_link;\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isCheckoutInProcess: false });\n }\n },\n\n subscription: async ({ commit }) => {\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isCheckoutInProcess: true });\n try {\n const response = await SubscriptionAPI.subscription();\n\n commit(types.default.SET_SUBSCRIPTION, response.data);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.default.SET_ACCOUNT_UI_FLAG, { isCheckoutInProcess: false });\n }\n },\n\n limits: async ({ commit }) => {\n try {\n const response = await SubscriptionAPI.getLimits();\n commit(types.default.SET_ACCOUNT_LIMITS, response.data);\n } catch (error) {\n // silent error\n }\n },\n\n invoices: async ({ commit }) => {\n try {\n const response = await SubscriptionAPI.getInvoices();\n commit(types.default.SET_INVOICES, response.data);\n } catch (error) {\n // silent error\n }\n },\n\n getCacheKeys: async () => {\n return AccountAPI.getCacheKeys();\n },\n};\n\nexport const mutations = {\n [types.default.SET_ACCOUNT_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n [types.default.ADD_ACCOUNT]: MutationHelpers.setSingleRecord,\n [types.default.EDIT_ACCOUNT]: MutationHelpers.update,\n [types.default.SET_ACCOUNT_LIMITS]: MutationHelpers.updateAttributes,\n [types.default.SET_SUBSCRIPTION]($state, data) {\n $state.plan = {\n ...$state.plan,\n ...data,\n };\n },\n\n [types.default.SET_INVOICES]($state, data) {\n $state.invoices = {\n ...$state.invoices,\n ...data,\n };\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import ApiClient from './ApiClient';\n\nclass AgentBotsAPI extends ApiClient {\n constructor() {\n super('agent_bots', { accountScoped: true });\n }\n}\n\nexport default new AgentBotsAPI();\n","const instanceOfAny = (object, constructors) => constructors.some(c => object instanceof c);\nlet idbProxyableTypes;\nlet cursorAdvanceMethods;\n// This is a function to prevent it throwing up in node environments.\nfunction getIdbProxyableTypes() {\n return idbProxyableTypes || (idbProxyableTypes = [IDBDatabase, IDBObjectStore, IDBIndex, IDBCursor, IDBTransaction]);\n}\n// This is a function to prevent it throwing up in node environments.\nfunction getCursorAdvanceMethods() {\n return cursorAdvanceMethods || (cursorAdvanceMethods = [IDBCursor.prototype.advance, IDBCursor.prototype.continue, IDBCursor.prototype.continuePrimaryKey]);\n}\nconst cursorRequestMap = new WeakMap();\nconst transactionDoneMap = new WeakMap();\nconst transactionStoreNamesMap = new WeakMap();\nconst transformCache = new WeakMap();\nconst reverseTransformCache = new WeakMap();\nfunction promisifyRequest(request) {\n const promise = new Promise((resolve, reject) => {\n const unlisten = () => {\n request.removeEventListener('success', success);\n request.removeEventListener('error', error);\n };\n const success = () => {\n resolve(wrap(request.result));\n unlisten();\n };\n const error = () => {\n reject(request.error);\n unlisten();\n };\n request.addEventListener('success', success);\n request.addEventListener('error', error);\n });\n promise.then(value => {\n // Since cursoring reuses the IDBRequest (*sigh*), we cache it for later retrieval\n // (see wrapFunction).\n if (value instanceof IDBCursor) {\n cursorRequestMap.set(value, request);\n }\n // Catching to avoid \"Uncaught Promise exceptions\"\n }).catch(() => {});\n // This mapping exists in reverseTransformCache but doesn't doesn't exist in transformCache. This\n // is because we create many promises from a single IDBRequest.\n reverseTransformCache.set(promise, request);\n return promise;\n}\nfunction cacheDonePromiseForTransaction(tx) {\n // Early bail if we've already created a done promise for this transaction.\n if (transactionDoneMap.has(tx)) return;\n const done = new Promise((resolve, reject) => {\n const unlisten = () => {\n tx.removeEventListener('complete', complete);\n tx.removeEventListener('error', error);\n tx.removeEventListener('abort', error);\n };\n const complete = () => {\n resolve();\n unlisten();\n };\n const error = () => {\n reject(tx.error || new DOMException('AbortError', 'AbortError'));\n unlisten();\n };\n tx.addEventListener('complete', complete);\n tx.addEventListener('error', error);\n tx.addEventListener('abort', error);\n });\n // Cache it for later retrieval.\n transactionDoneMap.set(tx, done);\n}\nlet idbProxyTraps = {\n get(target, prop, receiver) {\n if (target instanceof IDBTransaction) {\n // Special handling for transaction.done.\n if (prop === 'done') return transactionDoneMap.get(target);\n // Polyfill for objectStoreNames because of Edge.\n if (prop === 'objectStoreNames') {\n return target.objectStoreNames || transactionStoreNamesMap.get(target);\n }\n // Make tx.store return the only store in the transaction, or undefined if there are many.\n if (prop === 'store') {\n return receiver.objectStoreNames[1] ? undefined : receiver.objectStore(receiver.objectStoreNames[0]);\n }\n }\n // Else transform whatever we get back.\n return wrap(target[prop]);\n },\n set(target, prop, value) {\n target[prop] = value;\n return true;\n },\n has(target, prop) {\n if (target instanceof IDBTransaction && (prop === 'done' || prop === 'store')) {\n return true;\n }\n return prop in target;\n }\n};\nfunction replaceTraps(callback) {\n idbProxyTraps = callback(idbProxyTraps);\n}\nfunction wrapFunction(func) {\n // Due to expected object equality (which is enforced by the caching in `wrap`), we\n // only create one new func per func.\n // Edge doesn't support objectStoreNames (booo), so we polyfill it here.\n if (func === IDBDatabase.prototype.transaction && !('objectStoreNames' in IDBTransaction.prototype)) {\n return function (storeNames) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n const tx = func.call(unwrap(this), storeNames, ...args);\n transactionStoreNamesMap.set(tx, storeNames.sort ? storeNames.sort() : [storeNames]);\n return wrap(tx);\n };\n }\n // Cursor methods are special, as the behaviour is a little more different to standard IDB. In\n // IDB, you advance the cursor and wait for a new 'success' on the IDBRequest that gave you the\n // cursor. It's kinda like a promise that can resolve with many values. That doesn't make sense\n // with real promises, so each advance methods returns a new promise for the cursor object, or\n // undefined if the end of the cursor has been reached.\n if (getCursorAdvanceMethods().includes(func)) {\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n // Calling the original function with the proxy as 'this' causes ILLEGAL INVOCATION, so we use\n // the original object.\n func.apply(unwrap(this), args);\n return wrap(cursorRequestMap.get(this));\n };\n }\n return function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n // Calling the original function with the proxy as 'this' causes ILLEGAL INVOCATION, so we use\n // the original object.\n return wrap(func.apply(unwrap(this), args));\n };\n}\nfunction transformCachableValue(value) {\n if (typeof value === 'function') return wrapFunction(value);\n // This doesn't return, it just creates a 'done' promise for the transaction,\n // which is later returned for transaction.done (see idbObjectHandler).\n if (value instanceof IDBTransaction) cacheDonePromiseForTransaction(value);\n if (instanceOfAny(value, getIdbProxyableTypes())) return new Proxy(value, idbProxyTraps);\n // Return the same value back if we're not going to transform it.\n return value;\n}\nfunction wrap(value) {\n // We sometimes generate multiple promises from a single IDBRequest (eg when cursoring), because\n // IDB is weird and a single IDBRequest can yield many responses, so these can't be cached.\n if (value instanceof IDBRequest) return promisifyRequest(value);\n // If we've already transformed this value before, reuse the transformed value.\n // This is faster, but it also provides object equality.\n if (transformCache.has(value)) return transformCache.get(value);\n const newValue = transformCachableValue(value);\n // Not all types are transformed.\n // These may be primitive types, so they can't be WeakMap keys.\n if (newValue !== value) {\n transformCache.set(value, newValue);\n reverseTransformCache.set(newValue, value);\n }\n return newValue;\n}\nconst unwrap = value => reverseTransformCache.get(value);\nexport { reverseTransformCache as a, instanceOfAny as i, replaceTraps as r, unwrap as u, wrap as w };","import { w as wrap, r as replaceTraps } from './wrap-idb-value.js';\nexport { u as unwrap, w as wrap } from './wrap-idb-value.js';\n\n/**\n * Open a database.\n *\n * @param name Name of the database.\n * @param version Schema version.\n * @param callbacks Additional callbacks.\n */\nfunction openDB(name, version) {\n let {\n blocked,\n upgrade,\n blocking,\n terminated\n } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n const request = indexedDB.open(name, version);\n const openPromise = wrap(request);\n if (upgrade) {\n request.addEventListener('upgradeneeded', event => {\n upgrade(wrap(request.result), event.oldVersion, event.newVersion, wrap(request.transaction), event);\n });\n }\n if (blocked) {\n request.addEventListener('blocked', event => blocked(\n // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405\n event.oldVersion, event.newVersion, event));\n }\n openPromise.then(db => {\n if (terminated) db.addEventListener('close', () => terminated());\n if (blocking) {\n db.addEventListener('versionchange', event => blocking(event.oldVersion, event.newVersion, event));\n }\n }).catch(() => {});\n return openPromise;\n}\n/**\n * Delete a database.\n *\n * @param name Name of the database.\n */\nfunction deleteDB(name) {\n let {\n blocked\n } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n const request = indexedDB.deleteDatabase(name);\n if (blocked) {\n request.addEventListener('blocked', event => blocked(\n // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405\n event.oldVersion, event));\n }\n return wrap(request).then(() => undefined);\n}\nconst readMethods = ['get', 'getKey', 'getAll', 'getAllKeys', 'count'];\nconst writeMethods = ['put', 'add', 'delete', 'clear'];\nconst cachedMethods = new Map();\nfunction getMethod(target, prop) {\n if (!(target instanceof IDBDatabase && !(prop in target) && typeof prop === 'string')) {\n return;\n }\n if (cachedMethods.get(prop)) return cachedMethods.get(prop);\n const targetFuncName = prop.replace(/FromIndex$/, '');\n const useIndex = prop !== targetFuncName;\n const isWrite = writeMethods.includes(targetFuncName);\n if (\n // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.\n !(targetFuncName in (useIndex ? IDBIndex : IDBObjectStore).prototype) || !(isWrite || readMethods.includes(targetFuncName))) {\n return;\n }\n const method = async function (storeName) {\n // isWrite ? 'readwrite' : undefined gzipps better, but fails in Edge :(\n const tx = this.transaction(storeName, isWrite ? 'readwrite' : 'readonly');\n let target = tx.store;\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n if (useIndex) target = target.index(args.shift());\n // Must reject if op rejects.\n // If it's a write operation, must reject if tx.done rejects.\n // Must reject with op rejection first.\n // Must resolve with op value.\n // Must handle both promises (no unhandled rejections)\n return (await Promise.all([target[targetFuncName](...args), isWrite && tx.done]))[0];\n };\n cachedMethods.set(prop, method);\n return method;\n}\nreplaceTraps(oldTraps => ({\n ...oldTraps,\n get: (target, prop, receiver) => getMethod(target, prop) || oldTraps.get(target, prop, receiver),\n has: (target, prop) => !!getMethod(target, prop) || oldTraps.has(target, prop)\n}));\nexport { deleteDB, openDB };","import { openDB } from 'idb';\nimport { DATA_VERSION } from './version';\n\nexport class DataManager {\n constructor(accountId) {\n this.modelsToSync = ['inbox', 'label', 'team'];\n this.accountId = accountId;\n this.db = null;\n }\n\n async initDb() {\n if (this.db) return this.db;\n const dbName = `cw-store-${this.accountId}`;\n this.db = await openDB(`cw-store-${this.accountId}`, DATA_VERSION, {\n upgrade(db) {\n db.createObjectStore('cache-keys');\n db.createObjectStore('inbox', { keyPath: 'id' });\n db.createObjectStore('label', { keyPath: 'id' });\n db.createObjectStore('team', { keyPath: 'id' });\n },\n });\n\n // Store the database name in LocalStorage\n const dbNames = JSON.parse(localStorage.getItem('cw-idb-names') || '[]');\n if (!dbNames.includes(dbName)) {\n dbNames.push(dbName);\n localStorage.setItem('cw-idb-names', JSON.stringify(dbNames));\n }\n\n return this.db;\n }\n\n validateModel(name) {\n if (!name) throw new Error('Model name is not defined');\n if (!this.modelsToSync.includes(name)) {\n throw new Error(`Model ${name} is not defined`);\n }\n return true;\n }\n\n async replace({ modelName, data }) {\n this.validateModel(modelName);\n\n this.db.clear(modelName);\n return this.push({ modelName, data });\n }\n\n async push({ modelName, data }) {\n this.validateModel(modelName);\n\n if (Array.isArray(data)) {\n const tx = this.db.transaction(modelName, 'readwrite');\n data.forEach(item => {\n tx.store.add(item);\n });\n await tx.done;\n } else {\n await this.db.add(modelName, data);\n }\n }\n\n async get({ modelName }) {\n this.validateModel(modelName);\n return this.db.getAll(modelName);\n }\n\n async setCacheKeys(cacheKeys) {\n Object.keys(cacheKeys).forEach(async modelName => {\n this.db.put('cache-keys', cacheKeys[modelName], modelName);\n });\n }\n\n async getCacheKey(modelName) {\n this.validateModel(modelName);\n\n return this.db.get('cache-keys', modelName);\n }\n}\n","// Monday, 13 March 2023\n// Change this version if you want to invalidate old data\nexport const DATA_VERSION = '1678706392';\n","/* global axios */\nimport { DataManager } from '../helper/CacheHelper/DataManager';\nimport ApiClient from './ApiClient';\n\nclass CacheEnabledApiClient extends ApiClient {\n constructor(resource, options = {}) {\n super(resource, options);\n this.dataManager = new DataManager(this.accountIdFromRoute);\n }\n\n // eslint-disable-next-line class-methods-use-this\n get cacheModelName() {\n throw new Error('cacheModelName is not defined');\n }\n\n get(cache = false) {\n if (cache) {\n return this.getFromCache();\n }\n\n return this.getFromNetwork();\n }\n\n getFromNetwork() {\n return axios.get(this.url);\n }\n\n // eslint-disable-next-line class-methods-use-this\n extractDataFromResponse(response) {\n return response.data.payload;\n }\n\n // eslint-disable-next-line class-methods-use-this\n marshallData(dataToParse) {\n return { data: { payload: dataToParse } };\n }\n\n async getFromCache() {\n try {\n // IDB is not supported in Firefox private mode: https://bugzilla.mozilla.org/show_bug.cgi?id=781982\n await this.dataManager.initDb();\n } catch {\n return this.getFromNetwork();\n }\n\n const { data } = await axios.get(\n `/api/v1/accounts/${this.accountIdFromRoute}/cache_keys`\n );\n const cacheKeyFromApi = data.cache_keys[this.cacheModelName];\n const isCacheValid = await this.validateCacheKey(cacheKeyFromApi);\n\n let localData = [];\n if (isCacheValid) {\n localData = await this.dataManager.get({\n modelName: this.cacheModelName,\n });\n }\n\n if (localData.length === 0) {\n return this.refetchAndCommit(cacheKeyFromApi);\n }\n\n return this.marshallData(localData);\n }\n\n async refetchAndCommit(newKey = null) {\n const response = await this.getFromNetwork();\n\n try {\n await this.dataManager.initDb();\n\n this.dataManager.replace({\n modelName: this.cacheModelName,\n data: this.extractDataFromResponse(response),\n });\n\n await this.dataManager.setCacheKeys({\n [this.cacheModelName]: newKey,\n });\n } catch {\n // Ignore error\n }\n\n return response;\n }\n\n async validateCacheKey(cacheKeyFromApi) {\n if (!this.dataManager.db) {\n await this.dataManager.initDb();\n }\n\n const cachekey = await this.dataManager.getCacheKey(this.cacheModelName);\n return cacheKeyFromApi === cachekey;\n }\n}\n\nexport default CacheEnabledApiClient;\n","/* global axios */\nimport CacheEnabledApiClient from './CacheEnabledApiClient';\n\nclass Inboxes extends CacheEnabledApiClient {\n constructor() {\n super('inboxes', { accountScoped: true });\n }\n\n // eslint-disable-next-line class-methods-use-this\n get cacheModelName() {\n return 'inbox';\n }\n\n getCampaigns(inboxId) {\n return axios.get(`${this.url}/${inboxId}/campaigns`);\n }\n\n deleteInboxAvatar(inboxId) {\n return axios.delete(`${this.url}/${inboxId}/avatar`);\n }\n\n getAgentBot(inboxId) {\n return axios.get(`${this.url}/${inboxId}/agent_bot`);\n }\n\n setAgentBot(inboxId, botId) {\n return axios.post(`${this.url}/${inboxId}/set_agent_bot`, {\n agent_bot: botId,\n });\n }\n}\n\nexport default new Inboxes();\n","import Vue from 'vue';\nimport * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport AgentBotsAPI from '../../api/agentBots';\nimport InboxesAPI from '../../api/inboxes';\nimport { throwErrorMessage } from '../utils/api';\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetching: false,\n isFetchingItem: false,\n isCreating: false,\n isDeleting: false,\n isUpdating: false,\n isFetchingAgentBot: false,\n isSettingAgentBot: false,\n isDisconnecting: false,\n },\n agentBotInbox: {},\n};\n\nexport const getters = {\n getBots($state) {\n return $state.records;\n },\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getBot: $state => botId => {\n const [bot] = $state.records.filter(record => record.id === Number(botId));\n return bot || {};\n },\n getActiveAgentBot: $state => inboxId => {\n const associatedAgentBotId = $state.agentBotInbox[Number(inboxId)];\n return getters.getBot($state)(associatedAgentBotId);\n },\n};\n\nexport const actions = {\n get: async ({ commit }) => {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isFetching: true });\n try {\n const response = await AgentBotsAPI.get();\n commit(types.SET_AGENT_BOTS, response.data);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isFetching: false });\n }\n },\n create: async ({ commit }, agentBotObj) => {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isCreating: true });\n try {\n const response = await AgentBotsAPI.create(agentBotObj);\n commit(types.ADD_AGENT_BOT, response.data);\n return response.data;\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isCreating: false });\n }\n return null;\n },\n update: async ({ commit }, { id, ...agentBotObj }) => {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isUpdating: true });\n try {\n const response = await AgentBotsAPI.update(id, agentBotObj);\n commit(types.EDIT_AGENT_BOT, response.data);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isUpdating: false });\n }\n },\n delete: async ({ commit }, id) => {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isDeleting: true });\n try {\n await AgentBotsAPI.delete(id);\n commit(types.DELETE_AGENT_BOT, id);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isDeleting: false });\n }\n },\n show: async ({ commit }, id) => {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isFetchingItem: true });\n try {\n const { data } = await AgentBotsAPI.show(id);\n commit(types.ADD_AGENT_BOT, data);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isFetchingItem: false });\n }\n },\n\n fetchAgentBotInbox: async ({ commit }, inboxId) => {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isFetchingAgentBot: true });\n try {\n const { data } = await InboxesAPI.getAgentBot(inboxId);\n const { agent_bot: agentBot = {} } = data || {};\n commit(types.SET_AGENT_BOT_INBOX, { agentBotId: agentBot.id, inboxId });\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isFetchingAgentBot: false });\n }\n },\n\n setAgentBotInbox: async ({ commit }, { inboxId, botId }) => {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isSettingAgentBot: true });\n try {\n await InboxesAPI.setAgentBot(inboxId, botId);\n commit(types.SET_AGENT_BOT_INBOX, { agentBotId: botId, inboxId });\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isSettingAgentBot: false });\n }\n },\n\n disconnectBot: async ({ commit }, { inboxId }) => {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isDisconnecting: true });\n try {\n await InboxesAPI.setAgentBot(inboxId, null);\n commit(types.SET_AGENT_BOT_INBOX, { agentBotId: '', inboxId });\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_AGENT_BOT_UI_FLAG, { isDisconnecting: false });\n }\n },\n};\n\nexport const mutations = {\n [types.SET_AGENT_BOT_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n [types.ADD_AGENT_BOT]: MutationHelpers.setSingleRecord,\n [types.SET_AGENT_BOTS]: MutationHelpers.set,\n [types.EDIT_AGENT_BOT]: MutationHelpers.update,\n [types.DELETE_AGENT_BOT]: MutationHelpers.destroy,\n [types.SET_AGENT_BOT_INBOX]($state, { agentBotId, inboxId }) {\n Vue.set($state.agentBotInbox, inboxId, agentBotId);\n },\n};\n\nexport default {\n namespaced: true,\n actions,\n state,\n getters,\n mutations,\n};\n","/* global axios */\n\nimport ApiClient from './ApiClient';\n\nclass Agents extends ApiClient {\n constructor() {\n super('agents', { accountScoped: true });\n }\n\n bulkInvite({ emails }) {\n return axios.post(`${this.url}/bulk_create`, {\n emails,\n });\n }\n}\n\nexport default new Agents();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport * as types from '../mutation-types';\nimport AgentAPI from '../../api/agents';\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetching: false,\n isCreating: false,\n isUpdating: false,\n isDeleting: false,\n },\n};\n\nexport const getters = {\n getAgents($state) {\n return $state.records;\n },\n getVerifiedAgents($state) {\n return $state.records.filter(record => record.confirmed);\n },\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getAgentStatus($state) {\n let status = {\n online: $state.records.filter(\n agent => agent.availability_status === 'online'\n ).length,\n busy: $state.records.filter(agent => agent.availability_status === 'busy')\n .length,\n offline: $state.records.filter(\n agent => agent.availability_status === 'offline'\n ).length,\n };\n return status;\n },\n};\n\nexport const actions = {\n get: async ({ commit }) => {\n commit(types.default.SET_AGENT_FETCHING_STATUS, true);\n try {\n const response = await AgentAPI.get();\n commit(types.default.SET_AGENT_FETCHING_STATUS, false);\n commit(types.default.SET_AGENTS, response.data);\n } catch (error) {\n commit(types.default.SET_AGENT_FETCHING_STATUS, false);\n }\n },\n create: async ({ commit }, agentInfo) => {\n commit(types.default.SET_AGENT_CREATING_STATUS, true);\n try {\n const response = await AgentAPI.create(agentInfo);\n commit(types.default.ADD_AGENT, response.data);\n commit(types.default.SET_AGENT_CREATING_STATUS, false);\n } catch (error) {\n commit(types.default.SET_AGENT_CREATING_STATUS, false);\n throw error;\n }\n },\n update: async ({ commit }, { id, ...agentParams }) => {\n commit(types.default.SET_AGENT_UPDATING_STATUS, true);\n try {\n const response = await AgentAPI.update(id, agentParams);\n commit(types.default.EDIT_AGENT, response.data);\n commit(types.default.SET_AGENT_UPDATING_STATUS, false);\n } catch (error) {\n commit(types.default.SET_AGENT_UPDATING_STATUS, false);\n throw new Error(error);\n }\n },\n updateSingleAgentPresence: ({ commit }, { id, availabilityStatus }) => {\n commit(types.default.UPDATE_SINGLE_AGENT_PRESENCE, {\n id,\n availabilityStatus,\n });\n },\n updatePresence: async ({ commit }, data) => {\n commit(types.default.UPDATE_AGENTS_PRESENCE, data);\n },\n delete: async ({ commit }, agentId) => {\n commit(types.default.SET_AGENT_DELETING_STATUS, true);\n try {\n await AgentAPI.delete(agentId);\n commit(types.default.DELETE_AGENT, agentId);\n commit(types.default.SET_AGENT_DELETING_STATUS, false);\n } catch (error) {\n commit(types.default.SET_AGENT_DELETING_STATUS, false);\n throw new Error(error);\n }\n },\n};\n\nexport const mutations = {\n [types.default.SET_AGENT_FETCHING_STATUS]($state, status) {\n $state.uiFlags.isFetching = status;\n },\n [types.default.SET_AGENT_CREATING_STATUS]($state, status) {\n $state.uiFlags.isCreating = status;\n },\n [types.default.SET_AGENT_UPDATING_STATUS]($state, status) {\n $state.uiFlags.isUpdating = status;\n },\n [types.default.SET_AGENT_DELETING_STATUS]($state, status) {\n $state.uiFlags.isDeleting = status;\n },\n\n [types.default.SET_AGENTS]: MutationHelpers.set,\n [types.default.ADD_AGENT]: MutationHelpers.create,\n [types.default.EDIT_AGENT]: MutationHelpers.update,\n [types.default.DELETE_AGENT]: MutationHelpers.destroy,\n [types.default.UPDATE_AGENTS_PRESENCE]: MutationHelpers.updatePresence,\n [types.default.UPDATE_SINGLE_AGENT_PRESENCE]: (\n $state,\n { id, availabilityStatus }\n ) =>\n MutationHelpers.updateSingleRecordPresence($state.records, {\n id,\n availabilityStatus,\n }),\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","export const getters = {\n uiFlags: state => helpCenterId => {\n const uiFlags = state.articles.uiFlags.byId[helpCenterId];\n if (uiFlags) return uiFlags;\n return { isFetching: false, isUpdating: false, isDeleting: false };\n },\n isFetching: state => state.uiFlags.isFetching,\n articleById:\n (...getterArguments) =>\n articleId => {\n const [state] = getterArguments;\n const article = state.articles.byId[articleId];\n if (!article) return undefined;\n return article;\n },\n allArticles: (...getterArguments) => {\n const [state, _getters] = getterArguments;\n const articles = state.articles.allIds\n .map(id => {\n return _getters.articleById(id);\n })\n .filter(article => article !== undefined);\n return articles;\n },\n articleStatus:\n (...getterArguments) =>\n articleId => {\n const [state] = getterArguments;\n const article = state.articles.byId[articleId];\n if (!article) return undefined;\n return article.status;\n },\n getMeta: state => {\n return state.meta;\n },\n};\n","import { getters } from './getters';\nimport { actions } from './actions';\nimport { mutations } from './mutations';\n\nexport const defaultHelpCenterFlags = {\n isFetching: false,\n isUpdating: false,\n isDeleting: false,\n};\nconst state = {\n meta: {\n count: 0,\n currentPage: 1,\n },\n articles: {\n byId: {},\n allIds: [],\n uiFlags: {\n byId: {},\n },\n },\n uiFlags: {\n allFetched: false,\n isFetching: false,\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import articlesAPI from 'dashboard/api/helpCenter/articles';\nimport { uploadFile } from 'dashboard/helper/uploadHelper';\nimport { throwErrorMessage } from 'dashboard/store/utils/api';\n\nimport types from '../../mutation-types';\nexport const actions = {\n index: async (\n { commit },\n { pageNumber, portalSlug, locale, status, authorId, categorySlug }\n ) => {\n try {\n commit(types.SET_UI_FLAG, { isFetching: true });\n const {\n data: { payload, meta },\n } = await articlesAPI.getArticles({\n pageNumber,\n portalSlug,\n locale,\n status,\n authorId,\n categorySlug,\n });\n const articleIds = payload.map(article => article.id);\n commit(types.CLEAR_ARTICLES);\n commit(types.ADD_MANY_ARTICLES, payload);\n commit(types.SET_ARTICLES_META, meta);\n commit(types.ADD_MANY_ARTICLES_ID, articleIds);\n return articleIds;\n } catch (error) {\n return throwErrorMessage(error);\n } finally {\n commit(types.SET_UI_FLAG, { isFetching: false });\n }\n },\n\n create: async ({ commit, dispatch }, { portalSlug, ...articleObj }) => {\n commit(types.SET_UI_FLAG, { isCreating: true });\n try {\n const {\n data: { payload },\n } = await articlesAPI.createArticle({\n portalSlug,\n articleObj,\n });\n const { id: articleId } = payload;\n commit(types.ADD_ARTICLE, payload);\n commit(types.ADD_ARTICLE_ID, articleId);\n commit(types.ADD_ARTICLE_FLAG, articleId);\n dispatch('portals/updatePortal', portalSlug, { root: true });\n return articleId;\n } catch (error) {\n return throwErrorMessage(error);\n } finally {\n commit(types.SET_UI_FLAG, { isCreating: false });\n }\n },\n\n show: async ({ commit }, { id, portalSlug }) => {\n commit(types.SET_UI_FLAG, { isFetching: true });\n try {\n const response = await articlesAPI.getArticle({ id, portalSlug });\n const {\n data: { payload },\n } = response;\n const { id: articleId } = payload;\n commit(types.ADD_ARTICLE, payload);\n commit(types.ADD_ARTICLE_ID, articleId);\n commit(types.SET_UI_FLAG, { isFetching: false });\n } catch (error) {\n commit(types.SET_UI_FLAG, { isFetching: false });\n }\n },\n\n update: async ({ commit }, { portalSlug, articleId, ...articleObj }) => {\n commit(types.UPDATE_ARTICLE_FLAG, {\n uiFlags: {\n isUpdating: true,\n },\n articleId,\n });\n\n try {\n const {\n data: { payload },\n } = await articlesAPI.updateArticle({\n portalSlug,\n articleId,\n articleObj,\n });\n\n commit(types.UPDATE_ARTICLE, payload);\n\n return articleId;\n } catch (error) {\n return throwErrorMessage(error);\n } finally {\n commit(types.UPDATE_ARTICLE_FLAG, {\n uiFlags: {\n isUpdating: false,\n },\n articleId,\n });\n }\n },\n\n delete: async ({ commit }, { portalSlug, articleId }) => {\n commit(types.UPDATE_ARTICLE_FLAG, {\n uiFlags: {\n isDeleting: true,\n },\n articleId,\n });\n try {\n await articlesAPI.deleteArticle({ portalSlug, articleId });\n commit(types.REMOVE_ARTICLE, articleId);\n commit(types.REMOVE_ARTICLE_ID, articleId);\n return articleId;\n } catch (error) {\n return throwErrorMessage(error);\n } finally {\n commit(types.UPDATE_ARTICLE_FLAG, {\n uiFlags: {\n isDeleting: false,\n },\n articleId,\n });\n }\n },\n\n attachImage: async (_, { file }) => {\n const { fileUrl } = await uploadFile(file);\n return fileUrl;\n },\n\n reorder: async (_, { portalSlug, categorySlug, reorderedGroup }) => {\n try {\n await articlesAPI.reorderArticles({\n portalSlug,\n reorderedGroup,\n categorySlug,\n });\n } catch (error) {\n throwErrorMessage(error);\n }\n\n return '';\n },\n};\n","import types from '../../mutation-types';\nimport Vue from 'vue';\n\nexport const mutations = {\n [types.SET_UI_FLAG](_state, uiFlags) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...uiFlags,\n };\n },\n\n [types.ADD_ARTICLE]: ($state, article) => {\n if (!article.id) return;\n\n Vue.set($state.articles.byId, article.id, {\n ...article,\n });\n },\n [types.CLEAR_ARTICLES]: $state => {\n Vue.set($state.articles, 'byId', {});\n Vue.set($state.articles, 'allIds', []);\n Vue.set($state.articles, 'uiFlags.byId', {});\n },\n [types.ADD_MANY_ARTICLES]($state, articles) {\n const allArticles = { ...$state.articles.byId };\n articles.forEach(article => {\n allArticles[article.id] = article;\n });\n\n Vue.set($state.articles, 'byId', allArticles);\n },\n [types.ADD_MANY_ARTICLES_ID]($state, articleIds) {\n $state.articles.allIds.push(...articleIds);\n },\n\n [types.SET_ARTICLES_META]: ($state, data) => {\n const { articles_count: count, current_page: currentPage } = data;\n Vue.set($state.meta, 'count', count);\n Vue.set($state.meta, 'currentPage', currentPage);\n },\n\n [types.ADD_ARTICLE_ID]: ($state, articleId) => {\n if ($state.articles.allIds.includes(articleId)) return;\n $state.articles.allIds.push(articleId);\n },\n [types.UPDATE_ARTICLE_FLAG]: ($state, { articleId, uiFlags }) => {\n const flags =\n Object.keys($state.articles.uiFlags.byId).includes(articleId) || {};\n\n Vue.set($state.articles.uiFlags.byId, articleId, {\n ...{\n isFetching: false,\n isUpdating: false,\n isDeleting: false,\n },\n ...flags,\n ...uiFlags,\n });\n },\n [types.ADD_ARTICLE_FLAG]: ($state, { articleId, uiFlags }) => {\n Vue.set($state.articles.uiFlags.byId, articleId, {\n ...{\n isFetching: false,\n isUpdating: false,\n isDeleting: false,\n },\n ...uiFlags,\n });\n },\n [types.UPDATE_ARTICLE]($state, article) {\n const articleId = article.id;\n if (!$state.articles.allIds.includes(articleId)) return;\n\n Vue.set($state.articles.byId, articleId, {\n ...article,\n });\n },\n [types.REMOVE_ARTICLE]($state, articleId) {\n const { [articleId]: toBeRemoved, ...newById } = $state.articles.byId;\n Vue.set($state.articles, 'byId', newById);\n },\n [types.REMOVE_ARTICLE_ID]($state, articleId) {\n $state.articles.allIds = $state.articles.allIds.filter(\n id => id !== articleId\n );\n },\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass AttributeAPI extends ApiClient {\n constructor() {\n super('custom_attribute_definitions', { accountScoped: true });\n }\n\n getAttributesByModel() {\n return axios.get(this.url);\n }\n}\n\nexport default new AttributeAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport AttributeAPI from '../../api/attributes';\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetching: false,\n isCreating: false,\n isUpdating: false,\n isDeleting: false,\n },\n};\n\nexport const getters = {\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n getAttributes: _state => {\n return _state.records;\n },\n getAttributesByModel: _state => attributeModel => {\n return _state.records.filter(\n record => record.attribute_model === attributeModel\n );\n },\n};\n\nexport const actions = {\n get: async function getAttributesByModel({ commit }) {\n commit(types.SET_CUSTOM_ATTRIBUTE_UI_FLAG, { isFetching: true });\n try {\n const response = await AttributeAPI.getAttributesByModel();\n commit(types.SET_CUSTOM_ATTRIBUTE, response.data);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_CUSTOM_ATTRIBUTE_UI_FLAG, { isFetching: false });\n }\n },\n create: async function createAttribute({ commit }, attributeObj) {\n commit(types.SET_CUSTOM_ATTRIBUTE_UI_FLAG, { isCreating: true });\n try {\n const response = await AttributeAPI.create(attributeObj);\n commit(types.ADD_CUSTOM_ATTRIBUTE, response.data);\n } catch (error) {\n const errorMessage = error?.response?.data?.message;\n throw new Error(errorMessage);\n } finally {\n commit(types.SET_CUSTOM_ATTRIBUTE_UI_FLAG, { isCreating: false });\n }\n },\n update: async ({ commit }, { id, ...updateObj }) => {\n commit(types.SET_CUSTOM_ATTRIBUTE_UI_FLAG, { isUpdating: true });\n try {\n const response = await AttributeAPI.update(id, updateObj);\n commit(types.EDIT_CUSTOM_ATTRIBUTE, response.data);\n } catch (error) {\n const errorMessage = error?.response?.data?.message;\n throw new Error(errorMessage);\n } finally {\n commit(types.SET_CUSTOM_ATTRIBUTE_UI_FLAG, { isUpdating: false });\n }\n },\n delete: async ({ commit }, id) => {\n commit(types.SET_CUSTOM_ATTRIBUTE_UI_FLAG, { isDeleting: true });\n try {\n await AttributeAPI.delete(id);\n commit(types.DELETE_CUSTOM_ATTRIBUTE, id);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_CUSTOM_ATTRIBUTE_UI_FLAG, { isDeleting: false });\n }\n },\n};\n\nexport const mutations = {\n [types.SET_CUSTOM_ATTRIBUTE_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.ADD_CUSTOM_ATTRIBUTE]: MutationHelpers.create,\n [types.SET_CUSTOM_ATTRIBUTE]: MutationHelpers.set,\n [types.EDIT_CUSTOM_ATTRIBUTE]: MutationHelpers.update,\n [types.DELETE_CUSTOM_ATTRIBUTE]: MutationHelpers.destroy,\n};\n\nexport default {\n namespaced: true,\n actions,\n state,\n getters,\n mutations,\n};\n","import Vue from 'vue';\nimport types from '../mutation-types';\nimport authAPI from '../../api/auth';\n\nimport { setUser, clearCookiesOnLogout } from '../utils/api';\n\nconst initialState = {\n currentUser: {\n id: null,\n account_id: null,\n accounts: [],\n email: null,\n name: null,\n },\n uiFlags: {\n isFetching: true,\n },\n};\n\n// getters\nexport const getters = {\n isLoggedIn($state) {\n return !!$state.currentUser.id;\n },\n\n getCurrentUserID($state) {\n return $state.currentUser.id;\n },\n\n getUISettings($state) {\n return $state.currentUser.ui_settings || {};\n },\n\n getAuthUIFlags($state) {\n return $state.uiFlags;\n },\n\n getCurrentUserAvailability($state, $getters) {\n const { accounts = [] } = $state.currentUser;\n const [currentAccount = {}] = accounts.filter(\n account => account.id === $getters.getCurrentAccountId\n );\n return currentAccount.availability;\n },\n\n getCurrentUserAutoOffline($state, $getters) {\n const { accounts = [] } = $state.currentUser;\n const [currentAccount = {}] = accounts.filter(\n account => account.id === $getters.getCurrentAccountId\n );\n return currentAccount.auto_offline;\n },\n\n getCurrentAccountId(_, __, rootState) {\n if (rootState.route.params && rootState.route.params.accountId) {\n return Number(rootState.route.params.accountId);\n }\n return null;\n },\n\n getCurrentRole($state, $getters) {\n const { accounts = [] } = $state.currentUser;\n const [currentAccount = {}] = accounts.filter(\n account => account.id === $getters.getCurrentAccountId\n );\n return currentAccount.role;\n },\n\n getCurrentUser($state) {\n return $state.currentUser;\n },\n\n getMessageSignature($state) {\n const { message_signature: messageSignature } = $state.currentUser;\n\n return messageSignature || '';\n },\n\n getCurrentAccount($state, $getters) {\n const { accounts = [] } = $state.currentUser;\n const [currentAccount = {}] = accounts.filter(\n account => account.id === $getters.getCurrentAccountId\n );\n return currentAccount || {};\n },\n\n getUserAccounts($state) {\n const { accounts = [] } = $state.currentUser;\n return accounts;\n },\n};\n\n// actions\nexport const actions = {\n async validityCheck(context) {\n try {\n const response = await authAPI.validityCheck();\n const currentUser = response.data.payload.data;\n setUser(currentUser);\n context.commit(types.SET_CURRENT_USER, currentUser);\n } catch (error) {\n if (error?.response?.status === 401) {\n clearCookiesOnLogout();\n }\n }\n },\n async setUser({ commit, dispatch }) {\n if (authAPI.hasAuthCookie()) {\n await dispatch('validityCheck');\n } else {\n commit(types.CLEAR_USER);\n }\n commit(types.SET_CURRENT_USER_UI_FLAGS, { isFetching: false });\n },\n logout({ commit }) {\n commit(types.CLEAR_USER);\n },\n\n updateProfile: async ({ commit }, params) => {\n // eslint-disable-next-line no-useless-catch\n try {\n const response = await authAPI.profileUpdate(params);\n commit(types.SET_CURRENT_USER, response.data);\n } catch (error) {\n throw error;\n }\n },\n\n deleteAvatar: async () => {\n try {\n await authAPI.deleteAvatar();\n } catch (error) {\n // Ignore error\n }\n },\n\n updateUISettings: async ({ commit }, params) => {\n try {\n commit(types.SET_CURRENT_USER_UI_SETTINGS, params);\n const response = await authAPI.updateUISettings(params);\n commit(types.SET_CURRENT_USER, response.data);\n } catch (error) {\n // Ignore error\n }\n },\n\n updateAvailability: async ({ commit, dispatch }, params) => {\n try {\n const response = await authAPI.updateAvailability(params);\n const userData = response.data;\n const { id } = userData;\n commit(types.SET_CURRENT_USER, response.data);\n dispatch('agents/updateSingleAgentPresence', {\n id,\n availabilityStatus: params.availability,\n });\n } catch (error) {\n // Ignore error\n }\n },\n\n updateAutoOffline: async ({ commit }, { accountId, autoOffline }) => {\n try {\n const response = await authAPI.updateAutoOffline(accountId, autoOffline);\n commit(types.SET_CURRENT_USER, response.data);\n } catch (error) {\n // Ignore error\n }\n },\n\n setCurrentUserAvailability({ commit, state: $state }, data) {\n if (data[$state.currentUser.id]) {\n commit(types.SET_CURRENT_USER_AVAILABILITY, data[$state.currentUser.id]);\n }\n },\n\n setActiveAccount: async (_, { accountId }) => {\n try {\n await authAPI.setActiveAccount({ accountId });\n } catch (error) {\n // Ignore error\n }\n },\n\n resendConfirmation: async () => {\n try {\n await authAPI.resendConfirmation();\n } catch (error) {\n // Ignore error\n }\n },\n};\n\n// mutations\nexport const mutations = {\n [types.SET_CURRENT_USER_AVAILABILITY](_state, availability) {\n const accounts = _state.currentUser.accounts.map(account => {\n if (account.id === _state.currentUser.account_id) {\n return { ...account, availability, availability_status: availability };\n }\n return account;\n });\n Vue.set(_state, 'currentUser', {\n ..._state.currentUser,\n accounts,\n });\n },\n [types.CLEAR_USER](_state) {\n _state.currentUser = initialState.currentUser;\n },\n [types.SET_CURRENT_USER](_state, currentUser) {\n Vue.set(_state, 'currentUser', currentUser);\n },\n [types.SET_CURRENT_USER_UI_SETTINGS](_state, { uiSettings }) {\n Vue.set(_state, 'currentUser', {\n ..._state.currentUser,\n ui_settings: {\n ..._state.currentUser.ui_settings,\n ...uiSettings,\n },\n });\n },\n\n [types.SET_CURRENT_USER_UI_FLAGS](_state, { isFetching }) {\n Vue.set(_state, 'uiFlags', { isFetching });\n },\n};\n\nexport default {\n state: initialState,\n getters,\n actions,\n mutations,\n};\n","/* global axios */\n\nimport ApiClient from './ApiClient';\n\nclass AuditLogs extends ApiClient {\n constructor() {\n super('audit_logs', { accountScoped: true });\n }\n\n get({ page }) {\n const url = page ? `${this.url}?page=${page}` : this.url;\n return axios.get(url);\n }\n}\n\nexport default new AuditLogs();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport * as types from '../mutation-types';\nimport AuditLogsAPI from '../../api/auditLogs';\nimport { throwErrorMessage } from 'dashboard/store/utils/api';\n\nconst state = {\n records: [],\n meta: {\n currentPage: 1,\n perPage: 15,\n totalEntries: 0,\n },\n uiFlags: {\n fetchingList: false,\n },\n};\n\nconst getters = {\n getAuditLogs(_state) {\n return _state.records;\n },\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n getMeta(_state) {\n return _state.meta;\n },\n};\n\nconst actions = {\n async fetch({ commit }, { page } = {}) {\n commit(types.default.SET_AUDIT_LOGS_UI_FLAG, { fetchingList: true });\n try {\n const response = await AuditLogsAPI.get({ page });\n const { audit_logs: logs = [] } = response.data;\n const {\n total_entries: totalEntries,\n per_page: perPage,\n current_page: currentPage,\n } = response.data;\n commit(types.default.SET_AUDIT_LOGS, logs);\n commit(types.default.SET_AUDIT_LOGS_META, {\n totalEntries,\n perPage,\n currentPage,\n });\n commit(types.default.SET_AUDIT_LOGS_UI_FLAG, { fetchingList: false });\n return logs;\n } catch (error) {\n commit(types.default.SET_AUDIT_LOGS_UI_FLAG, { fetchingList: false });\n return throwErrorMessage(error);\n }\n },\n};\n\nconst mutations = {\n [types.default.SET_AUDIT_LOGS_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.default.SET_AUDIT_LOGS]: MutationHelpers.set,\n [types.default.SET_AUDIT_LOGS_META](_state, data) {\n _state.meta = {\n ..._state.meta,\n ...data,\n };\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass AutomationsAPI extends ApiClient {\n constructor() {\n super('automation_rules', { accountScoped: true });\n }\n\n clone(automationId) {\n return axios.post(`${this.url}/${automationId}/clone`);\n }\n}\n\nexport default new AutomationsAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport { uploadFile } from 'dashboard/helper/uploadHelper';\nimport AutomationAPI from '../../api/automation';\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetching: false,\n isCreating: false,\n isDeleting: false,\n isUpdating: false,\n },\n};\n\nexport const getters = {\n getAutomations(_state) {\n return _state.records;\n },\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n};\n\nexport const actions = {\n get: async function getAutomations({ commit }) {\n commit(types.SET_AUTOMATION_UI_FLAG, { isFetching: true });\n try {\n const response = await AutomationAPI.get();\n commit(types.SET_AUTOMATIONS, response.data.payload);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_AUTOMATION_UI_FLAG, { isFetching: false });\n }\n },\n create: async function createAutomation({ commit }, automationObj) {\n commit(types.SET_AUTOMATION_UI_FLAG, { isCreating: true });\n try {\n const response = await AutomationAPI.create(automationObj);\n commit(types.ADD_AUTOMATION, response.data);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_AUTOMATION_UI_FLAG, { isCreating: false });\n }\n },\n update: async ({ commit }, { id, ...updateObj }) => {\n commit(types.SET_AUTOMATION_UI_FLAG, { isUpdating: true });\n try {\n const response = await AutomationAPI.update(id, updateObj);\n commit(types.EDIT_AUTOMATION, response.data.payload);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_AUTOMATION_UI_FLAG, { isUpdating: false });\n }\n },\n delete: async ({ commit }, id) => {\n commit(types.SET_AUTOMATION_UI_FLAG, { isDeleting: true });\n try {\n await AutomationAPI.delete(id);\n commit(types.DELETE_AUTOMATION, id);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_AUTOMATION_UI_FLAG, { isDeleting: false });\n }\n },\n clone: async ({ commit }, id) => {\n commit(types.SET_AUTOMATION_UI_FLAG, { isCloning: true });\n try {\n await AutomationAPI.clone(id);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_AUTOMATION_UI_FLAG, { isCloning: false });\n }\n },\n uploadAttachment: async (_, file) => {\n const { blobId } = await uploadFile(file);\n return blobId;\n },\n};\n\nexport const mutations = {\n [types.SET_AUTOMATION_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n [types.ADD_AUTOMATION]: MutationHelpers.create,\n [types.SET_AUTOMATIONS]: MutationHelpers.set,\n [types.EDIT_AUTOMATION]: MutationHelpers.update,\n [types.DELETE_AUTOMATION]: MutationHelpers.destroy,\n};\n\nexport default {\n namespaced: true,\n actions,\n state,\n getters,\n mutations,\n};\n","import ApiClient from './ApiClient';\n\nclass BulkActionsAPI extends ApiClient {\n constructor() {\n super('bulk_actions', { accountScoped: true });\n }\n}\n\nexport default new BulkActionsAPI();\n","import types from '../mutation-types';\nimport BulkActionsAPI from '../../api/bulkActions';\n\nexport const state = {\n selectedConversationIds: [],\n uiFlags: {\n isUpdating: false,\n },\n};\n\nexport const getters = {\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n getSelectedConversationIds(_state) {\n return _state.selectedConversationIds;\n },\n};\n\nexport const actions = {\n process: async function processAction({ commit }, payload) {\n commit(types.SET_BULK_ACTIONS_FLAG, { isUpdating: true });\n try {\n await BulkActionsAPI.create(payload);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_BULK_ACTIONS_FLAG, { isUpdating: false });\n }\n },\n setSelectedConversationIds({ commit }, id) {\n commit(types.SET_SELECTED_CONVERSATION_IDS, id);\n },\n removeSelectedConversationIds({ commit }, id) {\n commit(types.REMOVE_SELECTED_CONVERSATION_IDS, id);\n },\n clearSelectedConversationIds({ commit }) {\n commit(types.CLEAR_SELECTED_CONVERSATION_IDS);\n },\n};\n\nexport const mutations = {\n [types.SET_BULK_ACTIONS_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n [types.SET_SELECTED_CONVERSATION_IDS](_state, ids) {\n // Check if ids is an array, if not, convert it to an array\n const idsArray = Array.isArray(ids) ? ids : [ids];\n\n // Concatenate the new IDs ensuring no duplicates\n _state.selectedConversationIds = [\n ...new Set([..._state.selectedConversationIds, ...idsArray]),\n ];\n },\n [types.REMOVE_SELECTED_CONVERSATION_IDS](_state, id) {\n _state.selectedConversationIds = _state.selectedConversationIds.filter(\n item => item !== id\n );\n },\n [types.CLEAR_SELECTED_CONVERSATION_IDS](_state) {\n _state.selectedConversationIds = [];\n },\n};\n\nexport default {\n namespaced: true,\n actions,\n state,\n getters,\n mutations,\n};\n","import ApiClient from './ApiClient';\n\nclass CampaignsAPI extends ApiClient {\n constructor() {\n super('campaigns', { accountScoped: true });\n }\n}\n\nexport default new CampaignsAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport CampaignsAPI from '../../api/campaigns';\nimport AnalyticsHelper from '../../helper/AnalyticsHelper';\nimport { CAMPAIGNS_EVENTS } from '../../helper/AnalyticsHelper/events';\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetching: false,\n isCreating: false,\n },\n};\n\nexport const getters = {\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n getCampaigns: _state => campaignType => {\n return _state.records.filter(\n record => record.campaign_type === campaignType\n );\n },\n getAllCampaigns: _state => {\n return _state.records;\n },\n};\n\nexport const actions = {\n get: async function getCampaigns({ commit }) {\n commit(types.SET_CAMPAIGN_UI_FLAG, { isFetching: true });\n try {\n const response = await CampaignsAPI.get();\n commit(types.SET_CAMPAIGNS, response.data);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_CAMPAIGN_UI_FLAG, { isFetching: false });\n }\n },\n create: async function createCampaign({ commit }, campaignObj) {\n commit(types.SET_CAMPAIGN_UI_FLAG, { isCreating: true });\n try {\n const response = await CampaignsAPI.create(campaignObj);\n commit(types.ADD_CAMPAIGN, response.data);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_CAMPAIGN_UI_FLAG, { isCreating: false });\n }\n },\n update: async ({ commit }, { id, ...updateObj }) => {\n commit(types.SET_CAMPAIGN_UI_FLAG, { isUpdating: true });\n try {\n const response = await CampaignsAPI.update(id, updateObj);\n AnalyticsHelper.track(CAMPAIGNS_EVENTS.UPDATE_CAMPAIGN);\n commit(types.EDIT_CAMPAIGN, response.data);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_CAMPAIGN_UI_FLAG, { isUpdating: false });\n }\n },\n delete: async ({ commit }, id) => {\n commit(types.SET_CAMPAIGN_UI_FLAG, { isDeleting: true });\n try {\n await CampaignsAPI.delete(id);\n AnalyticsHelper.track(CAMPAIGNS_EVENTS.DELETE_CAMPAIGN);\n commit(types.DELETE_CAMPAIGN, id);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_CAMPAIGN_UI_FLAG, { isDeleting: false });\n }\n },\n};\n\nexport const mutations = {\n [types.SET_CAMPAIGN_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.ADD_CAMPAIGN]: MutationHelpers.create,\n [types.SET_CAMPAIGNS]: MutationHelpers.set,\n [types.EDIT_CAMPAIGN]: MutationHelpers.update,\n [types.DELETE_CAMPAIGN]: MutationHelpers.destroy,\n};\n\nexport default {\n namespaced: true,\n actions,\n state,\n getters,\n mutations,\n};\n","/* global axios */\n\nimport ApiClient from './ApiClient';\n\nclass CannedResponse extends ApiClient {\n constructor() {\n super('canned_responses', { accountScoped: true });\n }\n\n get({ searchKey }) {\n const url = searchKey ? `${this.url}?search=${searchKey}` : this.url;\n return axios.get(url);\n }\n}\n\nexport default new CannedResponse();\n","import { throwErrorMessage } from 'dashboard/store/utils/api';\nimport * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport * as types from '../mutation-types';\nimport CannedResponseAPI from '../../api/cannedResponse';\n\nconst state = {\n records: [],\n uiFlags: {\n fetchingList: false,\n fetchingItem: false,\n creatingItem: false,\n updatingItem: false,\n deletingItem: false,\n },\n};\n\nconst getters = {\n getCannedResponses(_state) {\n return _state.records;\n },\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n};\n\nconst actions = {\n getCannedResponse: async function getCannedResponse(\n { commit },\n { searchKey } = {}\n ) {\n commit(types.default.SET_CANNED_UI_FLAG, { fetchingList: true });\n try {\n const response = await CannedResponseAPI.get({ searchKey });\n commit(types.default.SET_CANNED, response.data);\n commit(types.default.SET_CANNED_UI_FLAG, { fetchingList: false });\n } catch (error) {\n commit(types.default.SET_CANNED_UI_FLAG, { fetchingList: false });\n }\n },\n\n createCannedResponse: async function createCannedResponse(\n { commit },\n cannedObj\n ) {\n commit(types.default.SET_CANNED_UI_FLAG, { creatingItem: true });\n try {\n const response = await CannedResponseAPI.create(cannedObj);\n commit(types.default.ADD_CANNED, response.data);\n commit(types.default.SET_CANNED_UI_FLAG, { creatingItem: false });\n return response.data;\n } catch (error) {\n commit(types.default.SET_CANNED_UI_FLAG, { creatingItem: false });\n return throwErrorMessage(error);\n }\n },\n\n updateCannedResponse: async function updateCannedResponse(\n { commit },\n { id, ...updateObj }\n ) {\n commit(types.default.SET_CANNED_UI_FLAG, { updatingItem: true });\n try {\n const response = await CannedResponseAPI.update(id, updateObj);\n commit(types.default.EDIT_CANNED, response.data);\n commit(types.default.SET_CANNED_UI_FLAG, { updatingItem: false });\n return response.data;\n } catch (error) {\n commit(types.default.SET_CANNED_UI_FLAG, { updatingItem: false });\n return throwErrorMessage(error);\n }\n },\n\n deleteCannedResponse: async function deleteCannedResponse({ commit }, id) {\n commit(types.default.SET_CANNED_UI_FLAG, { deletingItem: true });\n try {\n await CannedResponseAPI.delete(id);\n commit(types.default.DELETE_CANNED, id);\n commit(types.default.SET_CANNED_UI_FLAG, { deletingItem: true });\n return id;\n } catch (error) {\n commit(types.default.SET_CANNED_UI_FLAG, { deletingItem: true });\n return throwErrorMessage(error);\n }\n },\n};\n\nconst mutations = {\n [types.default.SET_CANNED_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.default.SET_CANNED]: MutationHelpers.set,\n [types.default.ADD_CANNED]: MutationHelpers.create,\n [types.default.EDIT_CANNED]: MutationHelpers.update,\n [types.default.DELETE_CANNED]: MutationHelpers.destroy,\n};\n\nexport default {\n state,\n getters,\n actions,\n mutations,\n};\n","export const getters = {\n uiFlags: state => helpCenterId => {\n const uiFlags = state.categories.uiFlags.byId[helpCenterId];\n if (uiFlags) return uiFlags;\n return { isFetching: false, isUpdating: false, isDeleting: false };\n },\n isFetching: state => state.uiFlags.isFetching,\n categoryById:\n (...getterArguments) =>\n categoryId => {\n const [state] = getterArguments;\n const category = state.categories.byId[categoryId];\n if (!category) return undefined;\n return category;\n },\n allCategories: (...getterArguments) => {\n const [state, _getters] = getterArguments;\n const categories = state.categories.allIds.map(id => {\n return _getters.categoryById(id);\n });\n return categories;\n },\n categoriesByLocaleCode:\n (...getterArguments) =>\n localeCode => {\n const [state, _getters] = getterArguments;\n const categories = state.categories.allIds.map(id => {\n return _getters.categoryById(id);\n });\n return categories.filter(category => category.locale === localeCode);\n },\n getMeta: state => {\n return state.meta;\n },\n};\n","/* global axios */\n\nimport PortalsAPI from './portals';\n\nclass CategoriesAPI extends PortalsAPI {\n constructor() {\n super('categories', { accountScoped: true });\n }\n\n get({ portalSlug, locale }) {\n return axios.get(`${this.url}/${portalSlug}/categories?locale=${locale}`);\n }\n\n create({ portalSlug, categoryObj }) {\n return axios.post(`${this.url}/${portalSlug}/categories`, categoryObj);\n }\n\n update({ portalSlug, categoryId, categoryObj }) {\n return axios.patch(\n `${this.url}/${portalSlug}/categories/${categoryId}`,\n categoryObj\n );\n }\n\n delete({ portalSlug, categoryId }) {\n return axios.delete(`${this.url}/${portalSlug}/categories/${categoryId}`);\n }\n}\n\nexport default new CategoriesAPI();\n","import { getters } from './getters';\nimport { actions } from './actions';\nimport { mutations } from './mutations';\n\nexport const defaultHelpCenterFlags = {\n isFetching: false,\n isUpdating: false,\n isDeleting: false,\n};\nconst state = {\n categories: {\n byId: {},\n byLocale: {},\n allIds: [],\n uiFlags: {\n byId: {},\n },\n },\n uiFlags: {\n allFetched: false,\n isFetching: false,\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import categoriesAPI from 'dashboard/api/helpCenter/categories.js';\nimport { throwErrorMessage } from 'dashboard/store/utils/api';\nimport types from '../../mutation-types';\nexport const actions = {\n index: async ({ commit }, { portalSlug, locale }) => {\n try {\n commit(types.SET_UI_FLAG, { isFetching: true });\n if (portalSlug) {\n const {\n data: { payload },\n } = await categoriesAPI.get({ portalSlug, locale });\n commit(types.CLEAR_CATEGORIES);\n const categoryIds = payload.map(category => category.id);\n commit(types.ADD_MANY_CATEGORIES, payload);\n commit(types.ADD_MANY_CATEGORIES_ID, categoryIds);\n return categoryIds;\n }\n return '';\n } catch (error) {\n return throwErrorMessage(error);\n } finally {\n commit(types.SET_UI_FLAG, { isFetching: false });\n }\n },\n\n create: async ({ commit }, { portalSlug, categoryObj }) => {\n commit(types.SET_UI_FLAG, { isCreating: true });\n try {\n const {\n data: { payload },\n } = await categoriesAPI.create({ portalSlug, categoryObj });\n const { id: categoryId } = payload;\n commit(types.ADD_CATEGORY, payload);\n commit(types.ADD_CATEGORY_ID, categoryId);\n return categoryId;\n } catch (error) {\n return throwErrorMessage(error);\n } finally {\n commit(types.SET_UI_FLAG, { isCreating: false });\n }\n },\n\n update: async ({ commit }, { portalSlug, categoryId, categoryObj }) => {\n commit(types.ADD_CATEGORY_FLAG, {\n uiFlags: {\n isUpdating: true,\n },\n categoryId,\n });\n try {\n const {\n data: { payload },\n } = await categoriesAPI.update({\n portalSlug,\n categoryId,\n categoryObj,\n });\n commit(types.UPDATE_CATEGORY, payload);\n return categoryId;\n } catch (error) {\n return throwErrorMessage(error);\n } finally {\n commit(types.ADD_CATEGORY_FLAG, {\n uiFlags: {\n isUpdating: false,\n },\n categoryId,\n });\n }\n },\n\n delete: async ({ commit }, { portalSlug, categoryId }) => {\n commit(types.ADD_CATEGORY_FLAG, {\n uiFlags: {\n isDeleting: true,\n },\n categoryId,\n });\n try {\n await categoriesAPI.delete({ portalSlug, categoryId });\n commit(types.REMOVE_CATEGORY, categoryId);\n commit(types.REMOVE_CATEGORY_ID, categoryId);\n return categoryId;\n } catch (error) {\n return throwErrorMessage(error);\n } finally {\n commit(types.ADD_CATEGORY_FLAG, {\n uiFlags: {\n isDeleting: false,\n },\n categoryId,\n });\n }\n },\n};\n","import types from '../../mutation-types';\nimport Vue from 'vue';\n\nexport const mutations = {\n [types.SET_UI_FLAG](_state, uiFlags) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...uiFlags,\n };\n },\n\n [types.ADD_CATEGORY]: ($state, category) => {\n if (!category.id) return;\n\n Vue.set($state.categories.byId, category.id, {\n ...category,\n });\n },\n [types.CLEAR_CATEGORIES]: $state => {\n Vue.set($state.categories, 'byId', {});\n Vue.set($state.categories, 'allIds', []);\n Vue.set($state.categories.uiFlags, 'byId', {});\n },\n [types.ADD_MANY_CATEGORIES]($state, categories) {\n const allCategories = { ...$state.categories.byId };\n categories.forEach(category => {\n allCategories[category.id] = category;\n });\n Vue.set($state.categories, 'byId', allCategories);\n },\n [types.ADD_MANY_CATEGORIES_ID]($state, categoryIds) {\n $state.categories.allIds.push(...categoryIds);\n },\n\n [types.SET_CATEGORIES_META]: ($state, data) => {\n const { categories_count: count, current_page: currentPage } = data;\n Vue.set($state.meta, 'count', count);\n Vue.set($state.meta, 'currentPage', currentPage);\n },\n\n [types.ADD_CATEGORY_ID]: ($state, categoryId) => {\n $state.categories.allIds.push(categoryId);\n },\n [types.ADD_CATEGORY_FLAG]: ($state, { categoryId, uiFlags }) => {\n const flags = $state.categories.uiFlags.byId[categoryId];\n Vue.set($state.categories.uiFlags.byId, categoryId, {\n ...{\n isFetching: false,\n isUpdating: false,\n isDeleting: false,\n },\n ...flags,\n ...uiFlags,\n });\n },\n [types.UPDATE_CATEGORY]($state, category) {\n const categoryId = category.id;\n\n if (!$state.categories.allIds.includes(categoryId)) return;\n\n Vue.set($state.categories.byId, categoryId, {\n ...category,\n });\n },\n [types.REMOVE_CATEGORY]($state, categoryId) {\n const { [categoryId]: toBeRemoved, ...newById } = $state.categories.byId;\n Vue.set($state.categories, 'byId', newById);\n },\n [types.REMOVE_CATEGORY_ID]($state, categoryId) {\n $state.categories.allIds = $state.categories.allIds.filter(\n id => id !== categoryId\n );\n },\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass ConversationApi extends ApiClient {\n constructor() {\n super('conversations', { accountScoped: true });\n }\n\n getLabels(conversationID) {\n return axios.get(`${this.url}/${conversationID}/labels`);\n }\n\n updateLabels(conversationID, labels) {\n return axios.post(`${this.url}/${conversationID}/labels`, { labels });\n }\n}\n\nexport default new ConversationApi();\n","import Vue from 'vue';\nimport * as types from '../mutation-types';\nimport ContactAPI from '../../api/contacts';\nimport ConversationApi from '../../api/conversations';\n\nexport const createMessagePayload = (payload, message) => {\n const { content, cc_emails, bcc_emails } = message;\n payload.append('message[content]', content);\n if (cc_emails) payload.append('message[cc_emails]', cc_emails);\n if (bcc_emails) payload.append('message[bcc_emails]', bcc_emails);\n};\n\nexport const createConversationPayload = ({ params, contactId, files }) => {\n const { inboxId, message, sourceId, mailSubject, assigneeId } = params;\n const payload = new FormData();\n\n if (message) {\n createMessagePayload(payload, message);\n }\n\n if (files && files.length > 0) {\n files.forEach(file => payload.append('message[attachments][]', file));\n }\n\n payload.append('inbox_id', inboxId);\n payload.append('contact_id', contactId);\n payload.append('source_id', sourceId);\n payload.append('additional_attributes[mail_subject]', mailSubject);\n payload.append('assignee_id', assigneeId);\n\n return payload;\n};\n\nexport const createWhatsAppConversationPayload = ({ params }) => {\n const { inboxId, message, contactId, sourceId, assigneeId } = params;\n\n const payload = {\n inbox_id: inboxId,\n contact_id: contactId,\n source_id: sourceId,\n message,\n assignee_id: assigneeId,\n };\n\n return payload;\n};\n\nconst setNewConversationPayload = ({\n isFromWhatsApp,\n params,\n contactId,\n files,\n}) => {\n if (isFromWhatsApp) {\n return createWhatsAppConversationPayload({ params });\n }\n return createConversationPayload({\n params,\n contactId,\n files,\n });\n};\n\nconst state = {\n records: {},\n uiFlags: {\n isFetching: false,\n },\n};\n\nexport const getters = {\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getContactConversation: $state => id => {\n return $state.records[Number(id)] || [];\n },\n};\n\nexport const actions = {\n create: async ({ commit }, { params, isFromWhatsApp }) => {\n commit(types.default.SET_CONTACT_CONVERSATIONS_UI_FLAG, {\n isCreating: true,\n });\n const { contactId, files } = params;\n try {\n const payload = setNewConversationPayload({\n isFromWhatsApp,\n params,\n contactId,\n files,\n });\n\n const { data } = await ConversationApi.create(payload);\n commit(types.default.ADD_CONTACT_CONVERSATION, {\n id: contactId,\n data,\n });\n\n return data;\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.default.SET_CONTACT_CONVERSATIONS_UI_FLAG, {\n isCreating: false,\n });\n }\n },\n get: async ({ commit }, contactId) => {\n commit(types.default.SET_CONTACT_CONVERSATIONS_UI_FLAG, {\n isFetching: true,\n });\n try {\n const response = await ContactAPI.getConversations(contactId);\n commit(types.default.SET_CONTACT_CONVERSATIONS, {\n id: contactId,\n data: response.data.payload,\n });\n commit(types.default.SET_CONTACT_CONVERSATIONS_UI_FLAG, {\n isFetching: false,\n });\n } catch (error) {\n commit(types.default.SET_CONTACT_CONVERSATIONS_UI_FLAG, {\n isFetching: false,\n });\n }\n },\n};\n\nexport const mutations = {\n [types.default.SET_CONTACT_CONVERSATIONS_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n [types.default.SET_CONTACT_CONVERSATIONS]: ($state, { id, data }) => {\n Vue.set($state.records, id, data);\n },\n [types.default.ADD_CONTACT_CONVERSATION]: ($state, { id, data }) => {\n const conversations = $state.records[id] || [];\n\n const updatedConversations = [...conversations];\n const index = conversations.findIndex(\n conversation => conversation.id === data.id\n );\n\n if (index !== -1) {\n updatedConversations[index] = { ...conversations[index], ...data };\n } else {\n updatedConversations.push(data);\n }\n\n Vue.set($state.records, id, updatedConversations);\n },\n [types.default.DELETE_CONTACT_CONVERSATION]: ($state, id) => {\n Vue.delete($state.records, id);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport types from '../mutation-types';\nimport ContactAPI from '../../api/contacts';\n\nconst state = {\n records: {},\n uiFlags: {\n isFetching: false,\n isUpdating: false,\n isError: false,\n },\n};\n\nexport const getters = {\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getContactLabels: $state => id => {\n return $state.records[Number(id)] || [];\n },\n};\n\nexport const actions = {\n get: async ({ commit }, contactId) => {\n commit(types.SET_CONTACT_LABELS_UI_FLAG, {\n isFetching: true,\n });\n try {\n const response = await ContactAPI.getContactLabels(contactId);\n commit(types.SET_CONTACT_LABELS, {\n id: contactId,\n data: response.data.payload,\n });\n commit(types.SET_CONTACT_LABELS_UI_FLAG, {\n isFetching: false,\n });\n } catch (error) {\n commit(types.SET_CONTACT_LABELS_UI_FLAG, {\n isFetching: false,\n });\n }\n },\n update: async ({ commit }, { contactId, labels }) => {\n commit(types.SET_CONTACT_LABELS_UI_FLAG, {\n isUpdating: true,\n });\n try {\n const response = await ContactAPI.updateContactLabels(contactId, labels);\n commit(types.SET_CONTACT_LABELS, {\n id: contactId,\n data: response.data.payload,\n });\n commit(types.SET_CONTACT_LABELS_UI_FLAG, {\n isUpdating: false,\n isError: false,\n });\n } catch (error) {\n commit(types.SET_CONTACT_LABELS_UI_FLAG, {\n isUpdating: false,\n isError: true,\n });\n throw new Error(error);\n }\n },\n\n setContactLabel({ commit }, { id, data }) {\n commit(types.SET_CONTACT_LABELS, { id, data });\n },\n};\n\nexport const mutations = {\n [types.SET_CONTACT_LABELS_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n [types.SET_CONTACT_LABELS]: ($state, { id, data }) => {\n Vue.set($state.records, id, data);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import ApiClient from './ApiClient';\n\nclass ContactNotes extends ApiClient {\n constructor() {\n super('notes', { accountScoped: true });\n this.contactId = null;\n }\n\n get url() {\n return `${this.baseUrl()}/contacts/${this.contactId}/notes`;\n }\n\n get(contactId) {\n this.contactId = contactId;\n return super.get();\n }\n\n create(contactId, content) {\n this.contactId = contactId;\n return super.create({ content });\n }\n\n delete(contactId, id) {\n this.contactId = contactId;\n return super.delete(id);\n }\n}\n\nexport default new ContactNotes();\n","import types from '../mutation-types';\nimport Vue from 'vue';\nimport ContactNotesAPI from '../../api/contactNotes';\n\nexport const state = {\n records: {},\n uiFlags: {\n isFetching: false,\n isCreating: false,\n isDeleting: false,\n },\n};\n\nexport const getters = {\n getAllNotesByContact: _state => contactId => {\n const records = _state.records[contactId] || [];\n return records.sort((r1, r2) => r2.id - r1.id);\n },\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n};\n\nexport const actions = {\n async get({ commit }, { contactId }) {\n commit(types.SET_CONTACT_NOTES_UI_FLAG, { isFetching: true });\n try {\n const { data } = await ContactNotesAPI.get(contactId);\n commit(types.SET_CONTACT_NOTES, { contactId, data });\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_CONTACT_NOTES_UI_FLAG, { isFetching: false });\n }\n },\n\n async create({ commit }, { contactId, content }) {\n commit(types.SET_CONTACT_NOTES_UI_FLAG, { isCreating: true });\n try {\n const { data } = await ContactNotesAPI.create(contactId, content);\n commit(types.ADD_CONTACT_NOTE, { contactId, data });\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_CONTACT_NOTES_UI_FLAG, { isCreating: false });\n }\n },\n\n async delete({ commit }, { noteId, contactId }) {\n commit(types.SET_CONTACT_NOTES_UI_FLAG, { isDeleting: true });\n try {\n await ContactNotesAPI.delete(contactId, noteId);\n commit(types.DELETE_CONTACT_NOTE, { contactId, noteId });\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_CONTACT_NOTES_UI_FLAG, { isDeleting: false });\n }\n },\n};\n\nexport const mutations = {\n [types.SET_CONTACT_NOTES_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.SET_CONTACT_NOTES]($state, { data, contactId }) {\n Vue.set($state.records, contactId, data);\n },\n [types.ADD_CONTACT_NOTE]($state, { data, contactId }) {\n const contactNotes = $state.records[contactId] || [];\n $state.records[contactId] = [...contactNotes, data];\n },\n [types.DELETE_CONTACT_NOTE]($state, { noteId, contactId }) {\n const contactNotes = $state.records[contactId];\n const withoutDeletedNote = contactNotes.filter(note => note.id !== noteId);\n $state.records[contactId] = [...withoutDeletedNote];\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","export const getters = {\n getContacts($state) {\n return $state.sortOrder.map(contactId => $state.records[contactId]);\n },\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getContact: $state => id => {\n const contact = $state.records[id];\n return contact || {};\n },\n getMeta: $state => {\n return $state.meta;\n },\n getAppliedContactFilters: _state => {\n return _state.appliedFilters;\n },\n};\n","/* global axios */\n\nimport ApiClient from './ApiClient';\n\nclass AccountActions extends ApiClient {\n constructor() {\n super('actions', { accountScoped: true });\n }\n\n merge(parentId, childId) {\n return axios.post(`${this.url}/contact_merge`, {\n base_contact_id: parentId,\n mergee_contact_id: childId,\n });\n }\n}\n\nexport default new AccountActions();\n","import {\n DuplicateContactException,\n ExceptionWithMessage,\n} from 'shared/helpers/CustomErrors';\nimport types from '../../mutation-types';\nimport ContactAPI from '../../../api/contacts';\nimport AccountActionsAPI from '../../../api/accountActions';\nimport AnalyticsHelper from '../../../helper/AnalyticsHelper';\nimport { CONTACTS_EVENTS } from '../../../helper/AnalyticsHelper/events';\n\nconst buildContactFormData = contactParams => {\n const formData = new FormData();\n const { additional_attributes = {}, ...contactProperties } = contactParams;\n Object.keys(contactProperties).forEach(key => {\n if (contactProperties[key]) {\n formData.append(key, contactProperties[key]);\n }\n });\n const { social_profiles, ...additionalAttributesProperties } =\n additional_attributes;\n Object.keys(additionalAttributesProperties).forEach(key => {\n formData.append(\n `additional_attributes[${key}]`,\n additionalAttributesProperties[key]\n );\n });\n Object.keys(social_profiles).forEach(key => {\n formData.append(\n `additional_attributes[social_profiles][${key}]`,\n social_profiles[key]\n );\n });\n return formData;\n};\n\nexport const raiseContactCreateErrors = error => {\n if (error.response?.status === 422) {\n throw new DuplicateContactException(error.response.data.attributes);\n } else if (error.response?.data?.message) {\n throw new ExceptionWithMessage(error.response.data.message);\n } else {\n throw new Error(error);\n }\n};\n\nexport const actions = {\n search: async ({ commit }, { search, page, sortAttr, label }) => {\n commit(types.SET_CONTACT_UI_FLAG, { isFetching: true });\n try {\n const {\n data: { payload, meta },\n } = await ContactAPI.search(search, page, sortAttr, label);\n commit(types.CLEAR_CONTACTS);\n commit(types.SET_CONTACTS, payload);\n commit(types.SET_CONTACT_META, meta);\n commit(types.SET_CONTACT_UI_FLAG, { isFetching: false });\n } catch (error) {\n commit(types.SET_CONTACT_UI_FLAG, { isFetching: false });\n }\n },\n\n get: async ({ commit }, { page = 1, sortAttr, label } = {}) => {\n commit(types.SET_CONTACT_UI_FLAG, { isFetching: true });\n try {\n const {\n data: { payload, meta },\n } = await ContactAPI.get(page, sortAttr, label);\n commit(types.CLEAR_CONTACTS);\n commit(types.SET_CONTACTS, payload);\n commit(types.SET_CONTACT_META, meta);\n commit(types.SET_CONTACT_UI_FLAG, { isFetching: false });\n } catch (error) {\n commit(types.SET_CONTACT_UI_FLAG, { isFetching: false });\n }\n },\n\n show: async ({ commit }, { id }) => {\n commit(types.SET_CONTACT_UI_FLAG, { isFetchingItem: true });\n try {\n const response = await ContactAPI.show(id);\n commit(types.SET_CONTACT_ITEM, response.data.payload);\n commit(types.SET_CONTACT_UI_FLAG, {\n isFetchingItem: false,\n });\n } catch (error) {\n commit(types.SET_CONTACT_UI_FLAG, {\n isFetchingItem: false,\n });\n }\n },\n\n update: async ({ commit }, { id, isFormData = false, ...contactParams }) => {\n commit(types.SET_CONTACT_UI_FLAG, { isUpdating: true });\n try {\n const response = await ContactAPI.update(\n id,\n isFormData ? buildContactFormData(contactParams) : contactParams\n );\n commit(types.EDIT_CONTACT, response.data.payload);\n commit(types.SET_CONTACT_UI_FLAG, { isUpdating: false });\n } catch (error) {\n commit(types.SET_CONTACT_UI_FLAG, { isUpdating: false });\n if (error.response?.status === 422) {\n throw new DuplicateContactException(error.response.data.attributes);\n } else {\n throw new Error(error);\n }\n }\n },\n\n create: async ({ commit }, { isFormData = false, ...contactParams }) => {\n commit(types.SET_CONTACT_UI_FLAG, { isCreating: true });\n try {\n const response = await ContactAPI.create(\n isFormData ? buildContactFormData(contactParams) : contactParams\n );\n\n AnalyticsHelper.track(CONTACTS_EVENTS.CREATE_CONTACT);\n commit(types.SET_CONTACT_ITEM, response.data.payload.contact);\n commit(types.SET_CONTACT_UI_FLAG, { isCreating: false });\n return response.data.payload.contact;\n } catch (error) {\n commit(types.SET_CONTACT_UI_FLAG, { isCreating: false });\n return raiseContactCreateErrors(error);\n }\n },\n\n import: async ({ commit }, file) => {\n commit(types.SET_CONTACT_UI_FLAG, { isCreating: true });\n try {\n await ContactAPI.importContacts(file);\n commit(types.SET_CONTACT_UI_FLAG, { isCreating: false });\n } catch (error) {\n commit(types.SET_CONTACT_UI_FLAG, { isCreating: false });\n if (error.response?.data?.message) {\n throw new ExceptionWithMessage(error.response.data.message);\n }\n }\n },\n\n export: async ({ commit }, { payload, label }) => {\n try {\n await ContactAPI.exportContacts({ payload, label });\n\n commit(types.SET_CONTACT_UI_FLAG, { isCreating: false });\n } catch (error) {\n commit(types.SET_CONTACT_UI_FLAG, { isCreating: false });\n if (error.response?.data?.message) {\n throw new Error(error.response.data.message);\n } else {\n throw new Error(error);\n }\n }\n },\n\n delete: async ({ commit }, id) => {\n commit(types.SET_CONTACT_UI_FLAG, { isDeleting: true });\n try {\n await ContactAPI.delete(id);\n commit(types.SET_CONTACT_UI_FLAG, { isDeleting: false });\n } catch (error) {\n commit(types.SET_CONTACT_UI_FLAG, { isDeleting: false });\n if (error.response?.data?.message) {\n throw new Error(error.response.data.message);\n } else {\n throw new Error(error);\n }\n }\n },\n\n deleteCustomAttributes: async ({ commit }, { id, customAttributes }) => {\n try {\n const response = await ContactAPI.destroyCustomAttributes(\n id,\n customAttributes\n );\n commit(types.EDIT_CONTACT, response.data.payload);\n } catch (error) {\n throw new Error(error);\n }\n },\n\n deleteAvatar: async ({ commit }, id) => {\n try {\n const response = await ContactAPI.destroyAvatar(id);\n commit(types.EDIT_CONTACT, response.data.payload);\n } catch (error) {\n throw new Error(error);\n }\n },\n\n fetchContactableInbox: async ({ commit }, id) => {\n commit(types.SET_CONTACT_UI_FLAG, { isFetchingInboxes: true });\n try {\n const response = await ContactAPI.getContactableInboxes(id);\n const contact = {\n id,\n contactableInboxes: response.data.payload,\n };\n commit(types.SET_CONTACT_ITEM, contact);\n } catch (error) {\n if (error.response?.data?.message) {\n throw new ExceptionWithMessage(error.response.data.message);\n } else {\n throw new Error(error);\n }\n } finally {\n commit(types.SET_CONTACT_UI_FLAG, { isFetchingInboxes: false });\n }\n },\n\n updatePresence: ({ commit }, data) => {\n commit(types.UPDATE_CONTACTS_PRESENCE, data);\n },\n\n setContact({ commit }, data) {\n commit(types.SET_CONTACT_ITEM, data);\n },\n\n merge: async ({ commit }, { childId, parentId }) => {\n commit(types.SET_CONTACT_UI_FLAG, { isMerging: true });\n try {\n const response = await AccountActionsAPI.merge(parentId, childId);\n commit(types.SET_CONTACT_ITEM, response.data);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_CONTACT_UI_FLAG, { isMerging: false });\n }\n },\n\n deleteContactThroughConversations: ({ commit }, id) => {\n commit(types.DELETE_CONTACT, id);\n commit(types.CLEAR_CONTACT_CONVERSATIONS, id, { root: true });\n commit(`contactConversations/${types.DELETE_CONTACT_CONVERSATION}`, id, {\n root: true,\n });\n },\n\n updateContact: async ({ commit }, updateObj) => {\n commit(types.SET_CONTACT_UI_FLAG, { isUpdating: true });\n try {\n commit(types.EDIT_CONTACT, updateObj);\n commit(types.SET_CONTACT_UI_FLAG, { isUpdating: false });\n } catch (error) {\n commit(types.SET_CONTACT_UI_FLAG, { isUpdating: false });\n }\n },\n\n filter: async (\n { commit },\n { page = 1, sortAttr, queryPayload, resetState = true } = {}\n ) => {\n commit(types.SET_CONTACT_UI_FLAG, { isFetching: true });\n try {\n const {\n data: { payload, meta },\n } = await ContactAPI.filter(page, sortAttr, queryPayload);\n if (resetState) {\n commit(types.CLEAR_CONTACTS);\n commit(types.SET_CONTACTS, payload);\n commit(types.SET_CONTACT_META, meta);\n commit(types.SET_CONTACT_UI_FLAG, { isFetching: false });\n }\n return payload;\n } catch (error) {\n commit(types.SET_CONTACT_UI_FLAG, { isFetching: false });\n }\n return [];\n },\n\n setContactFilters({ commit }, data) {\n commit(types.SET_CONTACT_FILTERS, data);\n },\n\n clearContactFilters({ commit }) {\n commit(types.CLEAR_CONTACT_FILTERS);\n },\n};\n","import { getters } from './getters';\nimport { actions } from './actions';\nimport { mutations } from './mutations';\n\nconst state = {\n meta: {\n count: 0,\n currentPage: 1,\n },\n records: {},\n uiFlags: {\n isFetching: false,\n isFetchingItem: false,\n isFetchingInboxes: false,\n isUpdating: false,\n isMerging: false,\n isDeleting: false,\n },\n sortOrder: [],\n appliedFilters: [],\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport types from '../../mutation-types';\n\nexport const mutations = {\n [types.SET_CONTACT_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n\n [types.CLEAR_CONTACTS]: $state => {\n Vue.set($state, 'records', {});\n Vue.set($state, 'sortOrder', []);\n },\n\n [types.SET_CONTACT_META]: ($state, data) => {\n const { count, current_page: currentPage } = data;\n Vue.set($state.meta, 'count', count);\n Vue.set($state.meta, 'currentPage', currentPage);\n },\n\n [types.SET_CONTACTS]: ($state, data) => {\n const sortOrder = data.map(contact => {\n Vue.set($state.records, contact.id, {\n ...($state.records[contact.id] || {}),\n ...contact,\n });\n return contact.id;\n });\n $state.sortOrder = sortOrder;\n },\n\n [types.SET_CONTACT_ITEM]: ($state, data) => {\n Vue.set($state.records, data.id, {\n ...($state.records[data.id] || {}),\n ...data,\n });\n\n if (!$state.sortOrder.includes(data.id)) {\n $state.sortOrder.push(data.id);\n }\n },\n\n [types.EDIT_CONTACT]: ($state, data) => {\n Vue.set($state.records, data.id, data);\n },\n\n [types.DELETE_CONTACT]: ($state, id) => {\n const index = $state.sortOrder.findIndex(item => item === id);\n Vue.delete($state.sortOrder, index);\n Vue.delete($state.records, id);\n },\n\n [types.UPDATE_CONTACTS_PRESENCE]: ($state, data) => {\n Object.values($state.records).forEach(element => {\n const availabilityStatus = data[element.id];\n if (availabilityStatus) {\n Vue.set(\n $state.records[element.id],\n 'availability_status',\n availabilityStatus\n );\n } else {\n Vue.delete($state.records[element.id], 'availability_status');\n }\n });\n },\n\n [types.SET_CONTACT_FILTERS](_state, data) {\n _state.appliedFilters = data;\n },\n\n [types.CLEAR_CONTACT_FILTERS](_state) {\n _state.appliedFilters = [];\n },\n};\n","import Vue from 'vue';\nimport * as types from '../mutation-types';\nimport ConversationAPI from '../../api/conversations';\n\nconst state = {\n records: {},\n uiFlags: {\n isFetching: false,\n isUpdating: false,\n isError: false,\n },\n};\n\nexport const getters = {\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getConversationLabels: $state => id => {\n return $state.records[Number(id)] || [];\n },\n};\n\nexport const actions = {\n get: async ({ commit }, conversationId) => {\n commit(types.default.SET_CONVERSATION_LABELS_UI_FLAG, {\n isFetching: true,\n });\n try {\n const response = await ConversationAPI.getLabels(conversationId);\n commit(types.default.SET_CONVERSATION_LABELS, {\n id: conversationId,\n data: response.data.payload,\n });\n commit(types.default.SET_CONVERSATION_LABELS_UI_FLAG, {\n isFetching: false,\n });\n } catch (error) {\n commit(types.default.SET_CONVERSATION_LABELS_UI_FLAG, {\n isFetching: false,\n });\n }\n },\n update: async ({ commit }, { conversationId, labels }) => {\n commit(types.default.SET_CONVERSATION_LABELS_UI_FLAG, {\n isUpdating: true,\n });\n try {\n const response = await ConversationAPI.updateLabels(\n conversationId,\n labels\n );\n commit(types.default.SET_CONVERSATION_LABELS, {\n id: conversationId,\n data: response.data.payload,\n });\n commit(types.default.SET_CONVERSATION_LABELS_UI_FLAG, {\n isUpdating: false,\n isError: false,\n });\n } catch (error) {\n commit(types.default.SET_CONVERSATION_LABELS_UI_FLAG, {\n isUpdating: false,\n isError: true,\n });\n }\n },\n setBulkConversationLabels({ commit }, conversations) {\n commit(types.default.SET_BULK_CONVERSATION_LABELS, conversations);\n },\n setConversationLabel({ commit }, { id, data }) {\n commit(types.default.SET_CONVERSATION_LABELS, { id, data });\n },\n};\n\nexport const mutations = {\n [types.default.SET_CONVERSATION_LABELS_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n [types.default.SET_CONVERSATION_LABELS]: ($state, { id, data }) => {\n Vue.set($state.records, id, data);\n },\n [types.default.SET_BULK_CONVERSATION_LABELS]: ($state, conversations) => {\n conversations.forEach(conversation => {\n Vue.set($state.records, conversation.id, conversation.labels);\n });\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport * as types from '../mutation-types';\n\nconst state = {\n records: {},\n};\n\nexport const getters = {\n getConversationMetadata: $state => id => {\n return $state.records[Number(id)] || {};\n },\n};\n\nexport const actions = {};\n\nexport const mutations = {\n [types.default.SET_CONVERSATION_METADATA]: ($state, { id, data }) => {\n Vue.set($state.records, id, data);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport * as types from '../mutation-types';\n\nconst state = {\n currentPage: {\n me: 0,\n unassigned: 0,\n all: 0,\n appliedFilters: 0,\n },\n hasEndReached: {\n me: false,\n unassigned: false,\n all: false,\n },\n};\n\nexport const getters = {\n getHasEndReached: $state => filter => {\n return $state.hasEndReached[filter];\n },\n getCurrentPageFilter: $state => filter => {\n return $state.currentPage[filter];\n },\n getCurrentPage: $state => {\n return $state.currentPage;\n },\n};\n\nexport const actions = {\n setCurrentPage({ commit }, { filter, page }) {\n commit(types.default.SET_CURRENT_PAGE, { filter, page });\n },\n setEndReached({ commit }, { filter }) {\n commit(types.default.SET_CONVERSATION_END_REACHED, { filter });\n },\n reset({ commit }) {\n commit(types.default.CLEAR_CONVERSATION_PAGE);\n },\n};\n\nexport const mutations = {\n [types.default.SET_CURRENT_PAGE]: ($state, { filter, page }) => {\n Vue.set($state.currentPage, filter, page);\n },\n [types.default.SET_CONVERSATION_END_REACHED]: ($state, { filter }) => {\n if (filter === 'all') {\n Vue.set($state.hasEndReached, 'unassigned', true);\n Vue.set($state.hasEndReached, 'me', true);\n }\n Vue.set($state.hasEndReached, filter, true);\n },\n [types.default.CLEAR_CONVERSATION_PAGE]: $state => {\n $state.currentPage = {\n me: 0,\n unassigned: 0,\n all: 0,\n appliedFilters: 0,\n };\n\n $state.hasEndReached = {\n me: false,\n unassigned: false,\n all: false,\n appliedFilters: false,\n };\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import { CONVERSATION_PRIORITY_ORDER } from 'shared/constants/messages';\n\nexport const findPendingMessageIndex = (chat, message) => {\n const { echo_id: tempMessageId } = message;\n return chat.messages.findIndex(\n m => m.id === message.id || m.id === tempMessageId\n );\n};\n\nexport const filterByStatus = (chatStatus, filterStatus) =>\n filterStatus === 'all' ? true : chatStatus === filterStatus;\n\nexport const filterByInbox = (shouldFilter, inboxId, chatInboxId) => {\n const isOnInbox = Number(inboxId) === chatInboxId;\n return inboxId ? isOnInbox && shouldFilter : shouldFilter;\n};\n\nexport const filterByTeam = (shouldFilter, teamId, chatTeamId) => {\n const isOnTeam = Number(teamId) === chatTeamId;\n return teamId ? isOnTeam && shouldFilter : shouldFilter;\n};\n\nexport const filterByLabel = (shouldFilter, labels, chatLabels) => {\n const isOnLabel = labels.every(label => chatLabels.includes(label));\n return labels.length ? isOnLabel && shouldFilter : shouldFilter;\n};\nexport const filterByUnattended = (\n shouldFilter,\n conversationType,\n firstReplyOn,\n waitingSince\n) => {\n return conversationType === 'unattended'\n ? (!firstReplyOn || !!waitingSince) && shouldFilter\n : shouldFilter;\n};\n\nexport const applyPageFilters = (conversation, filters) => {\n const { inboxId, status, labels = [], teamId, conversationType } = filters;\n const {\n status: chatStatus,\n inbox_id: chatInboxId,\n labels: chatLabels = [],\n meta = {},\n first_reply_created_at: firstReplyOn,\n waiting_since: waitingSince,\n } = conversation;\n const team = meta.team || {};\n const { id: chatTeamId } = team;\n\n let shouldFilter = filterByStatus(chatStatus, status);\n shouldFilter = filterByInbox(shouldFilter, inboxId, chatInboxId);\n shouldFilter = filterByTeam(shouldFilter, teamId, chatTeamId);\n shouldFilter = filterByLabel(shouldFilter, labels, chatLabels);\n shouldFilter = filterByUnattended(\n shouldFilter,\n conversationType,\n firstReplyOn,\n waitingSince\n );\n\n return shouldFilter;\n};\n\nconst SORT_OPTIONS = {\n last_activity_at_asc: ['sortOnLastActivityAt', 'asc'],\n last_activity_at_desc: ['sortOnLastActivityAt', 'desc'],\n created_at_asc: ['sortOnCreatedAt', 'asc'],\n created_at_desc: ['sortOnCreatedAt', 'desc'],\n priority_asc: ['sortOnPriority', 'asc'],\n priority_desc: ['sortOnPriority', 'desc'],\n waiting_since_asc: ['sortOnWaitingSince', 'asc'],\n waiting_since_desc: ['sortOnWaitingSince', 'desc'],\n};\nconst sortAscending = (valueA, valueB) => valueA - valueB;\nconst sortDescending = (valueA, valueB) => valueB - valueA;\n\nconst getSortOrderFunction = sortOrder =>\n sortOrder === 'asc' ? sortAscending : sortDescending;\n\nconst sortConfig = {\n sortOnLastActivityAt: (a, b, sortDirection) =>\n getSortOrderFunction(sortDirection)(a.last_activity_at, b.last_activity_at),\n\n sortOnCreatedAt: (a, b, sortDirection) =>\n getSortOrderFunction(sortDirection)(a.created_at, b.created_at),\n\n sortOnPriority: (a, b, sortDirection) => {\n const DEFAULT_FOR_NULL = sortDirection === 'asc' ? 5 : 0;\n\n const p1 = CONVERSATION_PRIORITY_ORDER[a.priority] || DEFAULT_FOR_NULL;\n const p2 = CONVERSATION_PRIORITY_ORDER[b.priority] || DEFAULT_FOR_NULL;\n\n return getSortOrderFunction(sortDirection)(p1, p2);\n },\n\n sortOnWaitingSince: (a, b, sortDirection) => {\n const sortFunc = getSortOrderFunction(sortDirection);\n if (!a.waiting_since || !b.waiting_since) {\n if (!a.waiting_since && !b.waiting_since) {\n return sortFunc(a.created_at, b.created_at);\n }\n return sortFunc(a.waiting_since ? 0 : 1, b.waiting_since ? 0 : 1);\n }\n\n return sortFunc(a.waiting_since, b.waiting_since);\n },\n};\n\nexport const sortComparator = (a, b, sortKey) => {\n const [sortMethod, sortDirection] =\n SORT_OPTIONS[sortKey] || SORT_OPTIONS.last_activity_at_desc;\n return sortConfig[sortMethod](a, b, sortDirection);\n};\n","import { MESSAGE_TYPE } from 'shared/constants/messages';\nimport { applyPageFilters, sortComparator } from './helpers';\nimport filterQueryGenerator from 'dashboard/helper/filterQueryGenerator';\n\nexport const getSelectedChatConversation = ({\n allConversations,\n selectedChatId,\n}) =>\n allConversations.filter(conversation => conversation.id === selectedChatId);\n\nconst getters = {\n getAllConversations: ({ allConversations, chatSortFilter: sortKey }) => {\n return allConversations.sort((a, b) => sortComparator(a, b, sortKey));\n },\n getSelectedChat: ({ selectedChatId, allConversations }) => {\n const selectedChat = allConversations.find(\n conversation => conversation.id === selectedChatId\n );\n return selectedChat || {};\n },\n getSelectedChatAttachments: (_state, _getters) => {\n const selectedChat = _getters.getSelectedChat;\n return selectedChat.attachments || [];\n },\n getChatListFilters: ({ conversationFilters }) => conversationFilters,\n getLastEmailInSelectedChat: (stage, _getters) => {\n const selectedChat = _getters.getSelectedChat;\n const { messages = [] } = selectedChat;\n const lastEmail = [...messages].reverse().find(message => {\n const {\n content_attributes: contentAttributes = {},\n message_type: messageType,\n } = message;\n const { email = {} } = contentAttributes;\n const isIncomingOrOutgoing =\n messageType === MESSAGE_TYPE.OUTGOING ||\n messageType === MESSAGE_TYPE.INCOMING;\n if (email.from && isIncomingOrOutgoing) {\n return true;\n }\n return false;\n });\n\n return lastEmail;\n },\n getMineChats: (_state, _, __, rootGetters) => activeFilters => {\n const currentUserID = rootGetters.getCurrentUser?.id;\n\n return _state.allConversations.filter(conversation => {\n const { assignee } = conversation.meta;\n const isAssignedToMe = assignee && assignee.id === currentUserID;\n const shouldFilter = applyPageFilters(conversation, activeFilters);\n const isChatMine = isAssignedToMe && shouldFilter;\n\n return isChatMine;\n });\n },\n getAppliedConversationFilters: _state => {\n return _state.appliedFilters;\n },\n getAppliedConversationFiltersQuery: _state => {\n const hasAppliedFilters = _state.appliedFilters.length !== 0;\n return hasAppliedFilters ? filterQueryGenerator(_state.appliedFilters) : [];\n },\n getUnAssignedChats: _state => activeFilters => {\n return _state.allConversations.filter(conversation => {\n const isUnAssigned = !conversation.meta.assignee;\n const shouldFilter = applyPageFilters(conversation, activeFilters);\n return isUnAssigned && shouldFilter;\n });\n },\n getAllStatusChats: _state => activeFilters => {\n return _state.allConversations.filter(conversation => {\n const shouldFilter = applyPageFilters(conversation, activeFilters);\n return shouldFilter;\n });\n },\n getChatListLoadingStatus: ({ listLoadingStatus }) => listLoadingStatus,\n getAllMessagesLoaded(_state) {\n const [chat] = getSelectedChatConversation(_state);\n return !chat || chat.allMessagesLoaded === undefined\n ? false\n : chat.allMessagesLoaded;\n },\n getUnreadCount(_state) {\n const [chat] = getSelectedChatConversation(_state);\n if (!chat) return [];\n return chat.messages.filter(\n chatMessage =>\n chatMessage.created_at * 1000 > chat.agent_last_seen_at * 1000 &&\n chatMessage.message_type === 0 &&\n chatMessage.private !== true\n ).length;\n },\n getChatStatusFilter: ({ chatStatusFilter }) => chatStatusFilter,\n getChatSortFilter: ({ chatSortFilter }) => chatSortFilter,\n getSelectedInbox: ({ currentInbox }) => currentInbox,\n getConversationById: _state => conversationId => {\n return _state.allConversations.find(\n value => value.id === Number(conversationId)\n );\n },\n getConversationParticipants: _state => {\n return _state.conversationParticipants;\n },\n getConversationLastSeen: _state => {\n return _state.conversationLastSeen;\n },\n\n getContextMenuChatId: _state => {\n return _state.contextMenuChatId;\n },\n};\n\nexport default getters;\n","/* global axios */\nimport ApiClient from '../ApiClient';\n\nclass ConversationApi extends ApiClient {\n constructor() {\n super('conversations', { accountScoped: true });\n }\n\n get({\n inboxId,\n status,\n assigneeType,\n page,\n labels,\n teamId,\n conversationType,\n sortBy,\n updatedWithin,\n }) {\n return axios.get(this.url, {\n params: {\n inbox_id: inboxId,\n team_id: teamId,\n status,\n assignee_type: assigneeType,\n page,\n labels,\n conversation_type: conversationType,\n sort_by: sortBy,\n updated_within: updatedWithin,\n },\n });\n }\n\n filter(payload) {\n return axios.post(`${this.url}/filter`, payload.queryData, {\n params: {\n page: payload.page,\n },\n });\n }\n\n search({ q }) {\n return axios.get(`${this.url}/search`, {\n params: {\n q,\n page: 1,\n },\n });\n }\n\n toggleStatus({ conversationId, status, snoozedUntil = null }) {\n return axios.post(`${this.url}/${conversationId}/toggle_status`, {\n status,\n snoozed_until: snoozedUntil,\n });\n }\n\n togglePriority({ conversationId, priority }) {\n return axios.post(`${this.url}/${conversationId}/toggle_priority`, {\n priority,\n });\n }\n\n assignAgent({ conversationId, agentId }) {\n return axios.post(\n `${this.url}/${conversationId}/assignments?assignee_id=${agentId}`,\n {}\n );\n }\n\n assignTeam({ conversationId, teamId }) {\n const params = { team_id: teamId };\n return axios.post(`${this.url}/${conversationId}/assignments`, params);\n }\n\n markMessageRead({ id }) {\n return axios.post(`${this.url}/${id}/update_last_seen`);\n }\n\n markMessagesUnread({ id }) {\n return axios.post(`${this.url}/${id}/unread`);\n }\n\n toggleTyping({ conversationId, status, isPrivate }) {\n return axios.post(`${this.url}/${conversationId}/toggle_typing_status`, {\n typing_status: status,\n is_private: isPrivate,\n });\n }\n\n mute(conversationId) {\n return axios.post(`${this.url}/${conversationId}/mute`);\n }\n\n unmute(conversationId) {\n return axios.post(`${this.url}/${conversationId}/unmute`);\n }\n\n meta({ inboxId, status, assigneeType, labels, teamId, conversationType }) {\n return axios.get(`${this.url}/meta`, {\n params: {\n inbox_id: inboxId,\n status,\n assignee_type: assigneeType,\n labels,\n team_id: teamId,\n conversation_type: conversationType,\n },\n });\n }\n\n sendEmailTranscript({ conversationId, email }) {\n return axios.post(`${this.url}/${conversationId}/transcript`, { email });\n }\n\n updateCustomAttributes({ conversationId, customAttributes }) {\n return axios.post(`${this.url}/${conversationId}/custom_attributes`, {\n custom_attributes: customAttributes,\n });\n }\n\n fetchParticipants(conversationId) {\n return axios.get(`${this.url}/${conversationId}/participants`);\n }\n\n updateParticipants({ conversationId, userIds }) {\n return axios.patch(`${this.url}/${conversationId}/participants`, {\n user_ids: userIds,\n });\n }\n\n getAllAttachments(conversationId) {\n return axios.get(`${this.url}/${conversationId}/attachments`);\n }\n}\n\nexport default new ConversationApi();\n","/* eslint no-console: 0 */\n/* global axios */\nimport ApiClient from '../ApiClient';\n\nexport const buildCreatePayload = ({\n message,\n isPrivate,\n contentAttributes,\n echoId,\n files,\n ccEmails = '',\n bccEmails = '',\n toEmails = '',\n templateParams,\n}) => {\n let payload;\n if (files && files.length !== 0) {\n payload = new FormData();\n if (message) {\n payload.append('content', message);\n }\n files.forEach(file => {\n payload.append('attachments[]', file);\n });\n payload.append('private', isPrivate);\n payload.append('echo_id', echoId);\n payload.append('cc_emails', ccEmails);\n payload.append('bcc_emails', bccEmails);\n\n if (toEmails) {\n payload.append('to_emails', toEmails);\n }\n if (contentAttributes) {\n payload.append('content_attributes', JSON.stringify(contentAttributes));\n }\n } else {\n payload = {\n content: message,\n private: isPrivate,\n echo_id: echoId,\n content_attributes: contentAttributes,\n cc_emails: ccEmails,\n bcc_emails: bccEmails,\n to_emails: toEmails,\n template_params: templateParams,\n };\n }\n return payload;\n};\n\nclass MessageApi extends ApiClient {\n constructor() {\n super('conversations', { accountScoped: true });\n }\n\n create({\n conversationId,\n message,\n private: isPrivate,\n contentAttributes,\n echo_id: echoId,\n files,\n ccEmails = '',\n bccEmails = '',\n toEmails = '',\n templateParams,\n }) {\n return axios({\n method: 'post',\n url: `${this.url}/${conversationId}/messages`,\n data: buildCreatePayload({\n message,\n isPrivate,\n contentAttributes,\n echoId,\n files,\n ccEmails,\n bccEmails,\n toEmails,\n templateParams,\n }),\n });\n }\n\n delete(conversationID, messageId) {\n return axios.delete(`${this.url}/${conversationID}/messages/${messageId}`);\n }\n\n retry(conversationID, messageId) {\n return axios.post(\n `${this.url}/${conversationID}/messages/${messageId}/retry`\n );\n }\n\n getPreviousMessages({ conversationId, after, before }) {\n const params = { before };\n if (after && Number(after) !== Number(before)) {\n params.after = after;\n }\n return axios.get(`${this.url}/${conversationId}/messages`, { params });\n }\n\n translateMessage(conversationId, messageId, targetLanguage) {\n return axios.post(\n `${this.url}/${conversationId}/messages/${messageId}/translate`,\n {\n target_language: targetLanguage,\n }\n );\n }\n}\n\nexport default new MessageApi();\n","import { throwErrorMessage } from 'dashboard/store/utils/api';\nimport ConversationApi from '../../../../api/inbox/conversation';\nimport mutationTypes from '../../../mutation-types';\n\nexport default {\n markMessagesRead: async ({ commit }, data) => {\n try {\n const {\n data: { id, agent_last_seen_at: lastSeen },\n } = await ConversationApi.markMessageRead(data);\n setTimeout(\n () =>\n commit(mutationTypes.UPDATE_MESSAGE_UNREAD_COUNT, { id, lastSeen }),\n 4000\n );\n } catch (error) {\n // Handle error\n }\n },\n\n markMessagesUnread: async ({ commit }, { id }) => {\n try {\n const {\n data: { agent_last_seen_at: lastSeen, unread_count: unreadCount },\n } = await ConversationApi.markMessagesUnread({ id });\n commit(mutationTypes.UPDATE_MESSAGE_UNREAD_COUNT, {\n id,\n lastSeen,\n unreadCount,\n });\n } catch (error) {\n throwErrorMessage(error);\n }\n },\n};\n","import MessageApi from '../../../../api/inbox/message';\n\nexport default {\n async translateMessage(_, { conversationId, messageId, targetLanguage }) {\n try {\n await MessageApi.translateMessage(\n conversationId,\n messageId,\n targetLanguage\n );\n } catch (error) {\n // ignore error\n }\n },\n};\n","import Vue from 'vue';\nimport types from '../../mutation-types';\nimport ConversationApi from '../../../api/inbox/conversation';\nimport MessageApi from '../../../api/inbox/message';\nimport { MESSAGE_STATUS, MESSAGE_TYPE } from 'shared/constants/messages';\nimport { createPendingMessage } from 'dashboard/helper/commons';\nimport {\n buildConversationList,\n isOnMentionsView,\n isOnUnattendedView,\n isOnFoldersView,\n} from './helpers/actionHelpers';\nimport messageReadActions from './actions/messageReadActions';\nimport messageTranslateActions from './actions/messageTranslateActions';\n\nexport const hasMessageFailedWithExternalError = pendingMessage => {\n // This helper is used to check if the message has failed with an external error.\n // We have two cases\n // 1. Messages that fail from the UI itself (due to large attachments or a failed network):\n // In this case, the message will have a status of failed but no external error. So we need to create that message again\n // 2. Messages sent from Chatwoot but failed to deliver to the customer for some reason (user blocking or client system down):\n // In this case, the message will have a status of failed and an external error. So we need to retry that message\n const { content_attributes: contentAttributes, status } = pendingMessage;\n const externalError = contentAttributes?.external_error ?? '';\n return status === MESSAGE_STATUS.FAILED && externalError !== '';\n};\n\n// actions\nconst actions = {\n getConversation: async ({ commit }, conversationId) => {\n try {\n const response = await ConversationApi.show(conversationId);\n commit(types.UPDATE_CONVERSATION, response.data);\n commit(`contacts/${types.SET_CONTACT_ITEM}`, response.data.meta.sender);\n } catch (error) {\n // Ignore error\n }\n },\n\n fetchAllConversations: async ({ commit, state, dispatch }) => {\n commit(types.SET_LIST_LOADING_STATUS);\n try {\n const params = state.conversationFilters;\n const {\n data: { data },\n } = await ConversationApi.get(params);\n buildConversationList(\n { commit, dispatch },\n params,\n data,\n params.assigneeType\n );\n } catch (error) {\n // Handle error\n }\n },\n\n fetchFilteredConversations: async ({ commit, dispatch }, params) => {\n commit(types.SET_LIST_LOADING_STATUS);\n try {\n const { data } = await ConversationApi.filter(params);\n buildConversationList(\n { commit, dispatch },\n params,\n data,\n 'appliedFilters'\n );\n } catch (error) {\n // Handle error\n }\n },\n\n emptyAllConversations({ commit }) {\n commit(types.EMPTY_ALL_CONVERSATION);\n },\n\n clearSelectedState({ commit }) {\n commit(types.CLEAR_CURRENT_CHAT_WINDOW);\n },\n\n fetchPreviousMessages: async ({ commit }, data) => {\n try {\n const {\n data: { meta, payload },\n } = await MessageApi.getPreviousMessages(data);\n commit(`conversationMetadata/${types.SET_CONVERSATION_METADATA}`, {\n id: data.conversationId,\n data: meta,\n });\n commit(types.SET_PREVIOUS_CONVERSATIONS, {\n id: data.conversationId,\n data: payload,\n });\n if (!payload.length) {\n commit(types.SET_ALL_MESSAGES_LOADED);\n }\n } catch (error) {\n // Handle error\n }\n },\n\n fetchAllAttachments: async ({ commit }, conversationId) => {\n try {\n const { data } = await ConversationApi.getAllAttachments(conversationId);\n commit(types.SET_ALL_ATTACHMENTS, {\n id: conversationId,\n data: data.payload,\n });\n } catch (error) {\n // Handle error\n }\n },\n\n syncActiveConversationMessages: async (\n { commit, state, dispatch },\n { conversationId }\n ) => {\n const { allConversations, syncConversationsMessages } = state;\n const lastMessageId = syncConversationsMessages[conversationId];\n const selectedChat = allConversations.find(\n conversation => conversation.id === conversationId\n );\n if (!selectedChat) return;\n try {\n const { messages } = selectedChat;\n // Fetch all the messages after the last message id\n const {\n data: { meta, payload },\n } = await MessageApi.getPreviousMessages({\n conversationId,\n after: lastMessageId,\n });\n commit(`conversationMetadata/${types.SET_CONVERSATION_METADATA}`, {\n id: conversationId,\n data: meta,\n });\n // Find the messages that are not already present in the store\n const missingMessages = payload.filter(\n message => !messages.find(item => item.id === message.id)\n );\n selectedChat.messages.push(...missingMessages);\n // Sort the messages by created_at\n const sortedMessages = selectedChat.messages.sort((a, b) => {\n return new Date(a.created_at) - new Date(b.created_at);\n });\n commit(types.SET_MISSING_MESSAGES, {\n id: conversationId,\n data: sortedMessages,\n });\n commit(types.SET_LAST_MESSAGE_ID_IN_SYNC_CONVERSATION, {\n conversationId,\n messageId: null,\n });\n dispatch('markMessagesRead', { id: conversationId }, { root: true });\n } catch (error) {\n // Handle error\n }\n },\n\n setConversationLastMessageId: async (\n { commit, state },\n { conversationId }\n ) => {\n const { allConversations } = state;\n const selectedChat = allConversations.find(\n conversation => conversation.id === conversationId\n );\n if (!selectedChat) return;\n const { messages } = selectedChat;\n const lastMessage = messages.last();\n if (!lastMessage) return;\n commit(types.SET_LAST_MESSAGE_ID_IN_SYNC_CONVERSATION, {\n conversationId,\n messageId: lastMessage.id,\n });\n },\n\n async setActiveChat({ commit, dispatch }, { data, after }) {\n commit(types.SET_CURRENT_CHAT_WINDOW, data);\n commit(types.CLEAR_ALL_MESSAGES_LOADED);\n if (data.dataFetched === undefined) {\n try {\n await dispatch('fetchPreviousMessages', {\n after,\n before: data.messages[0].id,\n conversationId: data.id,\n });\n Vue.set(data, 'dataFetched', true);\n } catch (error) {\n // Ignore error\n }\n }\n },\n\n assignAgent: async ({ dispatch }, { conversationId, agentId }) => {\n try {\n const response = await ConversationApi.assignAgent({\n conversationId,\n agentId,\n });\n dispatch('setCurrentChatAssignee', response.data);\n } catch (error) {\n // Handle error\n }\n },\n\n setCurrentChatAssignee({ commit }, assignee) {\n commit(types.ASSIGN_AGENT, assignee);\n },\n\n assignTeam: async ({ dispatch }, { conversationId, teamId }) => {\n try {\n const response = await ConversationApi.assignTeam({\n conversationId,\n teamId,\n });\n dispatch('setCurrentChatTeam', { team: response.data, conversationId });\n } catch (error) {\n // Handle error\n }\n },\n\n setCurrentChatTeam({ commit }, { team, conversationId }) {\n commit(types.ASSIGN_TEAM, { team, conversationId });\n },\n\n toggleStatus: async (\n { commit },\n { conversationId, status, snoozedUntil = null }\n ) => {\n try {\n const {\n data: {\n payload: {\n current_status: updatedStatus,\n snoozed_until: updatedSnoozedUntil,\n } = {},\n } = {},\n } = await ConversationApi.toggleStatus({\n conversationId,\n status,\n snoozedUntil,\n });\n commit(types.CHANGE_CONVERSATION_STATUS, {\n conversationId,\n status: updatedStatus,\n snoozedUntil: updatedSnoozedUntil,\n });\n } catch (error) {\n // Handle error\n }\n },\n\n createPendingMessageAndSend: async ({ dispatch }, data) => {\n const pendingMessage = createPendingMessage(data);\n dispatch('sendMessageWithData', pendingMessage);\n },\n\n sendMessageWithData: async ({ commit }, pendingMessage) => {\n const { conversation_id: conversationId, id } = pendingMessage;\n try {\n commit(types.ADD_MESSAGE, {\n ...pendingMessage,\n status: MESSAGE_STATUS.PROGRESS,\n });\n const response = hasMessageFailedWithExternalError(pendingMessage)\n ? await MessageApi.retry(conversationId, id)\n : await MessageApi.create(pendingMessage);\n commit(types.ADD_MESSAGE, {\n ...response.data,\n status: MESSAGE_STATUS.SENT,\n });\n commit(types.ADD_CONVERSATION_ATTACHMENTS, {\n ...response.data,\n status: MESSAGE_STATUS.SENT,\n });\n } catch (error) {\n const errorMessage = error.response\n ? error.response.data.error\n : undefined;\n commit(types.ADD_MESSAGE, {\n ...pendingMessage,\n meta: {\n error: errorMessage,\n },\n status: MESSAGE_STATUS.FAILED,\n });\n throw error;\n }\n },\n\n addMessage({ commit }, message) {\n commit(types.ADD_MESSAGE, message);\n if (message.message_type === MESSAGE_TYPE.INCOMING) {\n commit(types.SET_CONVERSATION_CAN_REPLY, {\n conversationId: message.conversation_id,\n canReply: true,\n });\n commit(types.ADD_CONVERSATION_ATTACHMENTS, message);\n }\n },\n\n updateMessage({ commit }, message) {\n commit(types.ADD_MESSAGE, message);\n },\n\n deleteMessage: async function deleteLabels(\n { commit },\n { conversationId, messageId }\n ) {\n try {\n const { data } = await MessageApi.delete(conversationId, messageId);\n commit(types.ADD_MESSAGE, data);\n commit(types.DELETE_CONVERSATION_ATTACHMENTS, data);\n } catch (error) {\n throw new Error(error);\n }\n },\n\n addConversation({ commit, state, dispatch, rootState }, conversation) {\n const { currentInbox, appliedFilters } = state;\n const {\n inbox_id: inboxId,\n meta: { sender },\n } = conversation;\n const hasAppliedFilters = !!appliedFilters.length;\n const isMatchingInboxFilter =\n !currentInbox || Number(currentInbox) === inboxId;\n if (\n !hasAppliedFilters &&\n !isOnFoldersView(rootState) &&\n !isOnMentionsView(rootState) &&\n !isOnUnattendedView(rootState) &&\n isMatchingInboxFilter\n ) {\n commit(types.ADD_CONVERSATION, conversation);\n dispatch('contacts/setContact', sender);\n }\n },\n\n addMentions({ dispatch, rootState }, conversation) {\n if (isOnMentionsView(rootState)) {\n dispatch('updateConversation', conversation);\n }\n },\n\n addUnattended({ dispatch, rootState }, conversation) {\n if (isOnUnattendedView(rootState)) {\n dispatch('updateConversation', conversation);\n }\n },\n\n updateConversation({ commit, dispatch }, conversation) {\n const {\n meta: { sender },\n } = conversation;\n commit(types.UPDATE_CONVERSATION, conversation);\n\n dispatch('conversationLabels/setConversationLabel', {\n id: conversation.id,\n data: conversation.labels,\n });\n\n dispatch('contacts/setContact', sender);\n },\n\n updateConversationLastActivity(\n { commit },\n { conversationId, lastActivityAt }\n ) {\n commit(types.UPDATE_CONVERSATION_LAST_ACTIVITY, {\n lastActivityAt,\n conversationId,\n });\n },\n\n setChatStatusFilter({ commit }, data) {\n commit(types.CHANGE_CHAT_STATUS_FILTER, data);\n },\n\n setChatSortFilter({ commit }, data) {\n commit(types.CHANGE_CHAT_SORT_FILTER, data);\n },\n\n updateAssignee({ commit }, data) {\n commit(types.UPDATE_ASSIGNEE, data);\n },\n\n updateConversationContact({ commit }, data) {\n if (data.id) {\n commit(`contacts/${types.SET_CONTACT_ITEM}`, data);\n }\n commit(types.UPDATE_CONVERSATION_CONTACT, data);\n },\n\n setActiveInbox({ commit }, inboxId) {\n commit(types.SET_ACTIVE_INBOX, inboxId);\n },\n\n muteConversation: async ({ commit }, conversationId) => {\n try {\n await ConversationApi.mute(conversationId);\n commit(types.MUTE_CONVERSATION);\n } catch (error) {\n //\n }\n },\n\n unmuteConversation: async ({ commit }, conversationId) => {\n try {\n await ConversationApi.unmute(conversationId);\n commit(types.UNMUTE_CONVERSATION);\n } catch (error) {\n //\n }\n },\n\n sendEmailTranscript: async (_, { conversationId, email }) => {\n try {\n await ConversationApi.sendEmailTranscript({ conversationId, email });\n } catch (error) {\n throw new Error(error);\n }\n },\n\n updateCustomAttributes: async (\n { commit },\n { conversationId, customAttributes }\n ) => {\n try {\n const response = await ConversationApi.updateCustomAttributes({\n conversationId,\n customAttributes,\n });\n const { custom_attributes } = response.data;\n commit(types.UPDATE_CONVERSATION_CUSTOM_ATTRIBUTES, custom_attributes);\n } catch (error) {\n // Handle error\n }\n },\n\n setConversationFilters({ commit }, data) {\n commit(types.SET_CONVERSATION_FILTERS, data);\n },\n\n clearConversationFilters({ commit }) {\n commit(types.CLEAR_CONVERSATION_FILTERS);\n },\n\n setChatListFilters({ commit }, data) {\n commit(types.SET_CHAT_LIST_FILTERS, data);\n },\n\n updateChatListFilters({ commit }, data) {\n commit(types.UPDATE_CHAT_LIST_FILTERS, data);\n },\n\n assignPriority: async ({ dispatch }, { conversationId, priority }) => {\n try {\n await ConversationApi.togglePriority({\n conversationId,\n priority,\n });\n\n dispatch('setCurrentChatPriority', {\n priority,\n conversationId,\n });\n } catch (error) {\n // Handle error\n }\n },\n\n setCurrentChatPriority({ commit }, { priority, conversationId }) {\n commit(types.ASSIGN_PRIORITY, { priority, conversationId });\n },\n\n setContextMenuChatId({ commit }, chatId) {\n commit(types.SET_CONTEXT_MENU_CHAT_ID, chatId);\n },\n\n ...messageReadActions,\n ...messageTranslateActions,\n};\n\nexport default actions;\n","import Vue from 'vue';\nimport types from '../../mutation-types';\nimport getters, { getSelectedChatConversation } from './getters';\nimport actions from './actions';\nimport { findPendingMessageIndex } from './helpers';\nimport { MESSAGE_STATUS } from 'shared/constants/messages';\nimport wootConstants from 'dashboard/constants/globals';\nimport { BUS_EVENTS } from '../../../../shared/constants/busEvents';\nimport { emitter } from 'shared/helpers/mitt';\n\nconst state = {\n allConversations: [],\n listLoadingStatus: true,\n chatStatusFilter: wootConstants.STATUS_TYPE.OPEN,\n chatSortFilter: wootConstants.SORT_BY_TYPE.LATEST,\n currentInbox: null,\n selectedChatId: null,\n appliedFilters: [],\n contextMenuChatId: null,\n conversationParticipants: [],\n conversationLastSeen: null,\n syncConversationsMessages: {},\n conversationFilters: {},\n};\n\n// mutations\nexport const mutations = {\n [types.SET_ALL_CONVERSATION](_state, conversationList) {\n const newAllConversations = [..._state.allConversations];\n conversationList.forEach(conversation => {\n const indexInCurrentList = newAllConversations.findIndex(\n c => c.id === conversation.id\n );\n if (indexInCurrentList < 0) {\n newAllConversations.push(conversation);\n } else if (conversation.id !== _state.selectedChatId) {\n // If the conversation is already in the list, replace it\n // Added this to fix the issue of the conversation not being updated\n // When reconnecting to the websocket. If the selectedChatId is not the same as\n // the conversation.id in the store, replace the existing conversation with the new one\n newAllConversations[indexInCurrentList] = conversation;\n } else {\n // If the conversation is already in the list and selectedChatId is the same,\n // replace all data except the messages array, attachments, dataFetched, allMessagesLoaded\n const existingConversation = newAllConversations[indexInCurrentList];\n newAllConversations[indexInCurrentList] = {\n ...conversation,\n allMessagesLoaded: existingConversation.allMessagesLoaded,\n messages: existingConversation.messages,\n dataFetched: existingConversation.dataFetched,\n attachments: existingConversation.attachments,\n };\n }\n });\n _state.allConversations = newAllConversations;\n },\n [types.EMPTY_ALL_CONVERSATION](_state) {\n _state.allConversations = [];\n _state.selectedChatId = null;\n },\n [types.SET_ALL_MESSAGES_LOADED](_state) {\n const [chat] = getSelectedChatConversation(_state);\n Vue.set(chat, 'allMessagesLoaded', true);\n },\n\n [types.CLEAR_ALL_MESSAGES_LOADED](_state) {\n const [chat] = getSelectedChatConversation(_state);\n Vue.set(chat, 'allMessagesLoaded', false);\n },\n [types.CLEAR_CURRENT_CHAT_WINDOW](_state) {\n _state.selectedChatId = null;\n },\n\n [types.SET_PREVIOUS_CONVERSATIONS](_state, { id, data }) {\n if (data.length) {\n const [chat] = _state.allConversations.filter(c => c.id === id);\n chat.messages.unshift(...data);\n }\n },\n [types.SET_ALL_ATTACHMENTS](_state, { id, data }) {\n const [chat] = _state.allConversations.filter(c => c.id === id);\n if (!chat) return;\n Vue.set(chat, 'attachments', []);\n chat.attachments.push(...data);\n },\n [types.SET_MISSING_MESSAGES](_state, { id, data }) {\n const [chat] = _state.allConversations.filter(c => c.id === id);\n if (!chat) return;\n Vue.set(chat, 'messages', data);\n },\n\n [types.SET_CURRENT_CHAT_WINDOW](_state, activeChat) {\n if (activeChat) {\n _state.selectedChatId = activeChat.id;\n }\n },\n\n [types.ASSIGN_AGENT](_state, assignee) {\n const [chat] = getSelectedChatConversation(_state);\n Vue.set(chat.meta, 'assignee', assignee);\n },\n\n [types.ASSIGN_TEAM](_state, { team, conversationId }) {\n const [chat] = _state.allConversations.filter(c => c.id === conversationId);\n Vue.set(chat.meta, 'team', team);\n },\n\n [types.UPDATE_CONVERSATION_LAST_ACTIVITY](\n _state,\n { lastActivityAt, conversationId }\n ) {\n const [chat] = _state.allConversations.filter(c => c.id === conversationId);\n if (chat) {\n Vue.set(chat, 'last_activity_at', lastActivityAt);\n }\n },\n [types.ASSIGN_PRIORITY](_state, { priority, conversationId }) {\n const [chat] = _state.allConversations.filter(c => c.id === conversationId);\n Vue.set(chat, 'priority', priority);\n },\n\n [types.UPDATE_CONVERSATION_CUSTOM_ATTRIBUTES](_state, custom_attributes) {\n const [chat] = getSelectedChatConversation(_state);\n Vue.set(chat, 'custom_attributes', custom_attributes);\n },\n\n [types.CHANGE_CONVERSATION_STATUS](\n _state,\n { conversationId, status, snoozedUntil }\n ) {\n const conversation =\n getters.getConversationById(_state)(conversationId) || {};\n Vue.set(conversation, 'snoozed_until', snoozedUntil);\n Vue.set(conversation, 'status', status);\n },\n\n [types.MUTE_CONVERSATION](_state) {\n const [chat] = getSelectedChatConversation(_state);\n Vue.set(chat, 'muted', true);\n },\n\n [types.UNMUTE_CONVERSATION](_state) {\n const [chat] = getSelectedChatConversation(_state);\n Vue.set(chat, 'muted', false);\n },\n\n [types.ADD_CONVERSATION_ATTACHMENTS]({ allConversations }, message) {\n const { conversation_id: conversationId } = message;\n const [chat] = getSelectedChatConversation({\n allConversations,\n selectedChatId: conversationId,\n });\n\n if (!chat) return;\n\n const isMessageSent =\n message.status === MESSAGE_STATUS.SENT && message.attachments;\n if (isMessageSent) {\n message.attachments.forEach(attachment => {\n if (!chat.attachments.some(a => a.id === attachment.id)) {\n chat.attachments.push(attachment);\n }\n });\n }\n },\n\n [types.DELETE_CONVERSATION_ATTACHMENTS]({ allConversations }, message) {\n const { conversation_id: conversationId } = message;\n const [chat] = getSelectedChatConversation({\n allConversations,\n selectedChatId: conversationId,\n });\n\n if (!chat) return;\n\n const isMessageSent = message.status === MESSAGE_STATUS.SENT;\n if (isMessageSent) {\n const attachmentIndex = chat.attachments.findIndex(\n a => a.message_id === message.id\n );\n if (attachmentIndex !== -1) chat.attachments.splice(attachmentIndex, 1);\n }\n },\n\n [types.ADD_MESSAGE]({ allConversations, selectedChatId }, message) {\n const { conversation_id: conversationId } = message;\n const [chat] = getSelectedChatConversation({\n allConversations,\n selectedChatId: conversationId,\n });\n if (!chat) return;\n\n const pendingMessageIndex = findPendingMessageIndex(chat, message);\n if (pendingMessageIndex !== -1) {\n Vue.set(chat.messages, pendingMessageIndex, message);\n } else {\n chat.messages.push(message);\n chat.timestamp = message.created_at;\n const { conversation: { unread_count: unreadCount = 0 } = {} } = message;\n chat.unread_count = unreadCount;\n if (selectedChatId === conversationId) {\n emitter.emit(BUS_EVENTS.FETCH_LABEL_SUGGESTIONS);\n emitter.emit(BUS_EVENTS.SCROLL_TO_MESSAGE);\n }\n }\n },\n\n [types.ADD_CONVERSATION](_state, conversation) {\n _state.allConversations.push(conversation);\n },\n\n [types.UPDATE_CONVERSATION](_state, conversation) {\n const { allConversations } = _state;\n const currentConversationIndex = allConversations.findIndex(\n c => c.id === conversation.id\n );\n if (currentConversationIndex > -1) {\n const { messages, ...conversationAttributes } = conversation;\n const currentConversation = {\n ...allConversations[currentConversationIndex],\n ...conversationAttributes,\n };\n Vue.set(allConversations, currentConversationIndex, currentConversation);\n if (_state.selectedChatId === conversation.id) {\n emitter.emit(BUS_EVENTS.FETCH_LABEL_SUGGESTIONS);\n emitter.emit(BUS_EVENTS.SCROLL_TO_MESSAGE);\n }\n } else {\n _state.allConversations.push(conversation);\n }\n },\n\n [types.SET_LIST_LOADING_STATUS](_state) {\n _state.listLoadingStatus = true;\n },\n\n [types.CLEAR_LIST_LOADING_STATUS](_state) {\n _state.listLoadingStatus = false;\n },\n\n [types.UPDATE_MESSAGE_UNREAD_COUNT](\n _state,\n { id, lastSeen, unreadCount = 0 }\n ) {\n const [chat] = _state.allConversations.filter(c => c.id === id);\n if (chat) {\n Vue.set(chat, 'agent_last_seen_at', lastSeen);\n Vue.set(chat, 'unread_count', unreadCount);\n }\n },\n [types.CHANGE_CHAT_STATUS_FILTER](_state, data) {\n _state.chatStatusFilter = data;\n },\n\n [types.CHANGE_CHAT_SORT_FILTER](_state, data) {\n _state.chatSortFilter = data;\n },\n\n // Update assignee on action cable message\n [types.UPDATE_ASSIGNEE](_state, payload) {\n const [chat] = _state.allConversations.filter(c => c.id === payload.id);\n Vue.set(chat.meta, 'assignee', payload.assignee);\n },\n\n [types.UPDATE_CONVERSATION_CONTACT](_state, { conversationId, ...payload }) {\n const [chat] = _state.allConversations.filter(c => c.id === conversationId);\n if (chat) {\n Vue.set(chat.meta, 'sender', payload);\n }\n },\n\n [types.SET_ACTIVE_INBOX](_state, inboxId) {\n _state.currentInbox = inboxId ? parseInt(inboxId, 10) : null;\n },\n\n [types.SET_CONVERSATION_CAN_REPLY](_state, { conversationId, canReply }) {\n const [chat] = _state.allConversations.filter(c => c.id === conversationId);\n if (chat) {\n Vue.set(chat, 'can_reply', canReply);\n }\n },\n\n [types.CLEAR_CONTACT_CONVERSATIONS](_state, contactId) {\n const chats = _state.allConversations.filter(\n c => c.meta.sender.id !== contactId\n );\n Vue.set(_state, 'allConversations', chats);\n },\n\n [types.SET_CONVERSATION_FILTERS](_state, data) {\n _state.appliedFilters = data;\n },\n\n [types.CLEAR_CONVERSATION_FILTERS](_state) {\n _state.appliedFilters = [];\n },\n\n [types.SET_LAST_MESSAGE_ID_IN_SYNC_CONVERSATION](\n _state,\n { conversationId, messageId }\n ) {\n _state.syncConversationsMessages[conversationId] = messageId;\n },\n\n [types.SET_CONTEXT_MENU_CHAT_ID](_state, chatId) {\n _state.contextMenuChatId = chatId;\n },\n\n [types.SET_CHAT_LIST_FILTERS](_state, data) {\n _state.conversationFilters = data;\n },\n [types.UPDATE_CHAT_LIST_FILTERS](_state, data) {\n _state.conversationFilters = { ..._state.conversationFilters, ...data };\n },\n};\n\nexport default {\n state,\n getters,\n actions,\n mutations,\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass SearchAPI extends ApiClient {\n constructor() {\n super('search', { accountScoped: true });\n }\n\n get({ q }) {\n return axios.get(this.url, {\n params: {\n q,\n },\n });\n }\n\n contacts({ q }) {\n return axios.get(`${this.url}/contacts`, {\n params: {\n q,\n },\n });\n }\n\n conversations({ q }) {\n return axios.get(`${this.url}/conversations`, {\n params: {\n q,\n },\n });\n }\n\n messages({ q }) {\n return axios.get(`${this.url}/messages`, {\n params: {\n q,\n },\n });\n }\n}\n\nexport default new SearchAPI();\n","import SearchAPI from '../../api/search';\nimport types from '../mutation-types';\nexport const initialState = {\n records: [],\n contactRecords: [],\n conversationRecords: [],\n messageRecords: [],\n uiFlags: {\n isFetching: false,\n isSearchCompleted: false,\n contact: { isFetching: false },\n conversation: { isFetching: false },\n message: { isFetching: false },\n },\n};\n\nexport const getters = {\n getConversations(state) {\n return state.records;\n },\n getContactRecords(state) {\n return state.contactRecords;\n },\n getConversationRecords(state) {\n return state.conversationRecords;\n },\n getMessageRecords(state) {\n return state.messageRecords;\n },\n getUIFlags(state) {\n return state.uiFlags;\n },\n};\n\nexport const actions = {\n async get({ commit }, { q }) {\n commit(types.SEARCH_CONVERSATIONS_SET, []);\n if (!q) {\n return;\n }\n commit(types.SEARCH_CONVERSATIONS_SET_UI_FLAG, { isFetching: true });\n try {\n const {\n data: { payload },\n } = await SearchAPI.get({ q });\n commit(types.SEARCH_CONVERSATIONS_SET, payload);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SEARCH_CONVERSATIONS_SET_UI_FLAG, {\n isFetching: false,\n });\n }\n },\n async fullSearch({ commit, dispatch }, { q }) {\n if (!q) {\n return;\n }\n commit(types.FULL_SEARCH_SET_UI_FLAG, {\n isFetching: true,\n isSearchCompleted: false,\n });\n try {\n await Promise.all([\n dispatch('contactSearch', { q }),\n dispatch('conversationSearch', { q }),\n dispatch('messageSearch', { q }),\n ]);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.FULL_SEARCH_SET_UI_FLAG, {\n isFetching: false,\n isSearchCompleted: true,\n });\n }\n },\n async contactSearch({ commit }, { q }) {\n commit(types.CONTACT_SEARCH_SET, []);\n commit(types.CONTACT_SEARCH_SET_UI_FLAG, { isFetching: true });\n try {\n const { data } = await SearchAPI.contacts({ q });\n commit(types.CONTACT_SEARCH_SET, data.payload.contacts);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.CONTACT_SEARCH_SET_UI_FLAG, { isFetching: false });\n }\n },\n async conversationSearch({ commit }, { q }) {\n commit(types.CONVERSATION_SEARCH_SET, []);\n commit(types.CONVERSATION_SEARCH_SET_UI_FLAG, { isFetching: true });\n try {\n const { data } = await SearchAPI.conversations({ q });\n commit(types.CONVERSATION_SEARCH_SET, data.payload.conversations);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.CONVERSATION_SEARCH_SET_UI_FLAG, { isFetching: false });\n }\n },\n async messageSearch({ commit }, { q }) {\n commit(types.MESSAGE_SEARCH_SET, []);\n commit(types.MESSAGE_SEARCH_SET_UI_FLAG, { isFetching: true });\n try {\n const { data } = await SearchAPI.messages({ q });\n commit(types.MESSAGE_SEARCH_SET, data.payload.messages);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.MESSAGE_SEARCH_SET_UI_FLAG, { isFetching: false });\n }\n },\n async clearSearchResults({ commit }) {\n commit(types.MESSAGE_SEARCH_SET, []);\n commit(types.CONVERSATION_SEARCH_SET, []);\n commit(types.CONTACT_SEARCH_SET, []);\n },\n};\n\nexport const mutations = {\n [types.SEARCH_CONVERSATIONS_SET](state, records) {\n state.records = records;\n },\n [types.CONTACT_SEARCH_SET](state, records) {\n state.contactRecords = records;\n },\n [types.CONVERSATION_SEARCH_SET](state, records) {\n state.conversationRecords = records;\n },\n [types.MESSAGE_SEARCH_SET](state, records) {\n state.messageRecords = records;\n },\n [types.SEARCH_CONVERSATIONS_SET_UI_FLAG](state, uiFlags) {\n state.uiFlags = { ...state.uiFlags, ...uiFlags };\n },\n [types.FULL_SEARCH_SET_UI_FLAG](state, uiFlags) {\n state.uiFlags = { ...state.uiFlags, ...uiFlags };\n },\n [types.CONTACT_SEARCH_SET_UI_FLAG](state, uiFlags) {\n state.uiFlags.contact = { ...state.uiFlags.contact, ...uiFlags };\n },\n [types.CONVERSATION_SEARCH_SET_UI_FLAG](state, uiFlags) {\n state.uiFlags.conversation = { ...state.uiFlags.conversation, ...uiFlags };\n },\n [types.MESSAGE_SEARCH_SET_UI_FLAG](state, uiFlags) {\n state.uiFlags.message = { ...state.uiFlags.message, ...uiFlags };\n },\n};\n\nexport default {\n namespaced: true,\n state: initialState,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport types from '../mutation-types';\nimport ConversationApi from '../../api/inbox/conversation';\n\nconst state = {\n mineCount: 0,\n unAssignedCount: 0,\n allCount: 0,\n};\n\nexport const getters = {\n getStats: $state => $state,\n};\n\nexport const actions = {\n get: async ({ commit }, params) => {\n try {\n const response = await ConversationApi.meta(params);\n const {\n data: { meta },\n } = response;\n commit(types.SET_CONV_TAB_META, meta);\n } catch (error) {\n // Ignore error\n }\n },\n set({ commit }, meta) {\n commit(types.SET_CONV_TAB_META, meta);\n },\n};\n\nexport const mutations = {\n [types.SET_CONV_TAB_META](\n $state,\n {\n mine_count: mineCount,\n unassigned_count: unAssignedCount,\n all_count: allCount,\n } = {}\n ) {\n Vue.set($state, 'mineCount', mineCount);\n Vue.set($state, 'allCount', allCount);\n Vue.set($state, 'unAssignedCount', unAssignedCount);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport * as types from '../mutation-types';\nimport ConversationAPI from '../../api/inbox/conversation';\nconst state = {\n records: {},\n};\n\nexport const getters = {\n getUserList: $state => id => {\n return $state.records[Number(id)] || [];\n },\n};\n\nexport const actions = {\n toggleTyping: async (_, { status, conversationId, isPrivate }) => {\n try {\n await ConversationAPI.toggleTyping({ status, conversationId, isPrivate });\n } catch (error) {\n // Handle error\n }\n },\n create: ({ commit }, { conversationId, user }) => {\n commit(types.default.ADD_USER_TYPING_TO_CONVERSATION, {\n conversationId,\n user,\n });\n },\n destroy: ({ commit }, { conversationId, user }) => {\n commit(types.default.REMOVE_USER_TYPING_FROM_CONVERSATION, {\n conversationId,\n user,\n });\n },\n};\n\nexport const mutations = {\n [types.default.ADD_USER_TYPING_TO_CONVERSATION]: (\n $state,\n { conversationId, user }\n ) => {\n const records = $state.records[conversationId] || [];\n const hasUserRecordAlready = !!records.filter(\n record => record.id === user.id && record.type === user.type\n ).length;\n if (!hasUserRecordAlready) {\n Vue.set($state.records, conversationId, [...records, user]);\n }\n },\n [types.default.REMOVE_USER_TYPING_FROM_CONVERSATION]: (\n $state,\n { conversationId, user }\n ) => {\n const records = $state.records[conversationId] || [];\n const updatedRecords = records.filter(\n record => record.id !== user.id || record.type !== user.type\n );\n Vue.set($state.records, conversationId, updatedRecords);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport types from '../mutation-types';\nimport { throwErrorMessage } from 'dashboard/store/utils/api';\n\nimport ConversationInboxApi from '../../api/inbox/conversation';\n\nconst state = {\n records: {},\n uiFlags: {\n isFetching: false,\n isUpdating: false,\n },\n};\n\nexport const getters = {\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getByConversationId: _state => conversationId => {\n return _state.records[conversationId];\n },\n};\n\nexport const actions = {\n show: async ({ commit }, { conversationId }) => {\n commit(types.SET_CONVERSATION_PARTICIPANTS_UI_FLAG, {\n isFetching: true,\n });\n\n try {\n const response =\n await ConversationInboxApi.fetchParticipants(conversationId);\n commit(types.SET_CONVERSATION_PARTICIPANTS, {\n conversationId,\n data: response.data,\n });\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_CONVERSATION_PARTICIPANTS_UI_FLAG, {\n isFetching: false,\n });\n }\n },\n\n update: async ({ commit }, { conversationId, userIds }) => {\n commit(types.SET_CONVERSATION_PARTICIPANTS_UI_FLAG, {\n isUpdating: true,\n });\n\n try {\n const response = await ConversationInboxApi.updateParticipants({\n conversationId,\n userIds,\n });\n commit(types.SET_CONVERSATION_PARTICIPANTS, {\n conversationId,\n data: response.data,\n });\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_CONVERSATION_PARTICIPANTS_UI_FLAG, {\n isUpdating: false,\n });\n }\n },\n};\n\nexport const mutations = {\n [types.SET_CONVERSATION_PARTICIPANTS_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n\n [types.SET_CONVERSATION_PARTICIPANTS]($state, { data, conversationId }) {\n Vue.set($state.records, conversationId, data);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass CSATReportsAPI extends ApiClient {\n constructor() {\n super('csat_survey_responses', { accountScoped: true });\n }\n\n get({ page, from, to, user_ids, inbox_id, team_id, rating } = {}) {\n return axios.get(this.url, {\n params: {\n page,\n since: from,\n until: to,\n sort: '-created_at',\n user_ids,\n inbox_id,\n team_id,\n rating,\n },\n });\n }\n\n download({ from, to, user_ids, inbox_id, team_id, rating } = {}) {\n return axios.get(`${this.url}/download`, {\n params: {\n since: from,\n until: to,\n sort: '-created_at',\n user_ids,\n inbox_id,\n team_id,\n rating,\n },\n });\n }\n\n getMetrics({ from, to, user_ids, inbox_id, team_id, rating } = {}) {\n // no ratings for metrics\n return axios.get(`${this.url}/metrics`, {\n params: { since: from, until: to, user_ids, inbox_id, team_id, rating },\n });\n }\n}\n\nexport default new CSATReportsAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport CSATReports from '../../api/csatReports';\nimport { downloadCsvFile } from '../../helper/downloadHelper';\nimport AnalyticsHelper from '../../helper/AnalyticsHelper';\nimport { REPORTS_EVENTS } from '../../helper/AnalyticsHelper/events';\n\nconst computeDistribution = (value, total) =>\n ((value * 100) / total).toFixed(2);\n\nexport const state = {\n records: [],\n metrics: {\n totalResponseCount: 0,\n ratingsCount: {\n 1: 0,\n 2: 0,\n 3: 0,\n 4: 0,\n 5: 0,\n },\n totalSentMessagesCount: 0,\n },\n uiFlags: {\n isFetching: false,\n isFetchingMetrics: false,\n },\n};\n\nexport const getters = {\n getCSATResponses(_state) {\n return _state.records;\n },\n getMetrics(_state) {\n return _state.metrics;\n },\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n getSatisfactionScore(_state) {\n if (!_state.metrics.totalResponseCount) {\n return 0;\n }\n return computeDistribution(\n _state.metrics.ratingsCount[4] + _state.metrics.ratingsCount[5],\n _state.metrics.totalResponseCount\n );\n },\n getResponseRate(_state) {\n if (!_state.metrics.totalSentMessagesCount) {\n return 0;\n }\n return computeDistribution(\n _state.metrics.totalResponseCount,\n _state.metrics.totalSentMessagesCount\n );\n },\n getRatingPercentage(_state) {\n if (!_state.metrics.totalResponseCount) {\n return { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0 };\n }\n return {\n 1: computeDistribution(\n _state.metrics.ratingsCount[1],\n _state.metrics.totalResponseCount\n ),\n 2: computeDistribution(\n _state.metrics.ratingsCount[2],\n _state.metrics.totalResponseCount\n ),\n 3: computeDistribution(\n _state.metrics.ratingsCount[3],\n _state.metrics.totalResponseCount\n ),\n 4: computeDistribution(\n _state.metrics.ratingsCount[4],\n _state.metrics.totalResponseCount\n ),\n 5: computeDistribution(\n _state.metrics.ratingsCount[5],\n _state.metrics.totalResponseCount\n ),\n };\n },\n};\n\nexport const actions = {\n get: async function getResponses({ commit }, params) {\n commit(types.SET_CSAT_RESPONSE_UI_FLAG, { isFetching: true });\n try {\n const response = await CSATReports.get(params);\n commit(types.SET_CSAT_RESPONSE, response.data);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_CSAT_RESPONSE_UI_FLAG, { isFetching: false });\n }\n },\n getMetrics: async function getMetrics({ commit }, params) {\n commit(types.SET_CSAT_RESPONSE_UI_FLAG, { isFetchingMetrics: true });\n try {\n const response = await CSATReports.getMetrics(params);\n commit(types.SET_CSAT_RESPONSE_METRICS, response.data);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_CSAT_RESPONSE_UI_FLAG, { isFetchingMetrics: false });\n }\n },\n downloadCSATReports(_, params) {\n return CSATReports.download(params).then(response => {\n downloadCsvFile(params.fileName, response.data);\n AnalyticsHelper.track(REPORTS_EVENTS.DOWNLOAD_REPORT, {\n reportType: 'csat',\n });\n });\n },\n};\n\nexport const mutations = {\n [types.SET_CSAT_RESPONSE_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.SET_CSAT_RESPONSE]: MutationHelpers.set,\n [types.SET_CSAT_RESPONSE_METRICS](\n _state,\n {\n total_count: totalResponseCount,\n ratings_count: ratingsCount,\n total_sent_messages_count: totalSentMessagesCount,\n }\n ) {\n _state.metrics.totalResponseCount = totalResponseCount || 0;\n _state.metrics.ratingsCount = {\n 1: ratingsCount['1'] || 0,\n 2: ratingsCount['2'] || 0,\n 3: ratingsCount['3'] || 0,\n 4: ratingsCount['4'] || 0,\n 5: ratingsCount['5'] || 0,\n };\n _state.metrics.totalSentMessagesCount = totalSentMessagesCount || 0;\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass CustomViewsAPI extends ApiClient {\n constructor() {\n super('custom_filters', { accountScoped: true });\n }\n\n getCustomViewsByFilterType(type) {\n return axios.get(`${this.url}?filter_type=${type}`);\n }\n\n deleteCustomViews(id, type) {\n return axios.delete(`${this.url}/${id}?filter_type=${type}`);\n }\n}\n\nexport default new CustomViewsAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport CustomViewsAPI from '../../api/customViews';\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetching: false,\n isCreating: false,\n isDeleting: false,\n },\n activeConversationFolder: null,\n};\n\nexport const getters = {\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n getCustomViews(_state) {\n return _state.records;\n },\n getCustomViewsByFilterType: _state => filterType => {\n return _state.records.filter(record => record.filter_type === filterType);\n },\n getActiveConversationFolder(_state) {\n return _state.activeConversationFolder;\n },\n};\n\nexport const actions = {\n get: async function getCustomViews({ commit }, filterType) {\n commit(types.SET_CUSTOM_VIEW_UI_FLAG, { isFetching: true });\n try {\n const response =\n await CustomViewsAPI.getCustomViewsByFilterType(filterType);\n commit(types.SET_CUSTOM_VIEW, response.data);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_CUSTOM_VIEW_UI_FLAG, { isFetching: false });\n }\n },\n create: async function createCustomViews({ commit }, obj) {\n commit(types.SET_CUSTOM_VIEW_UI_FLAG, { isCreating: true });\n try {\n const response = await CustomViewsAPI.create(obj);\n commit(types.ADD_CUSTOM_VIEW, response.data);\n } catch (error) {\n const errorMessage = error?.response?.data?.message;\n throw new Error(errorMessage);\n } finally {\n commit(types.SET_CUSTOM_VIEW_UI_FLAG, { isCreating: false });\n }\n },\n update: async function updateCustomViews({ commit }, obj) {\n commit(types.SET_CUSTOM_VIEW_UI_FLAG, { isCreating: true });\n try {\n const response = await CustomViewsAPI.update(obj.id, obj);\n commit(types.UPDATE_CUSTOM_VIEW, response.data);\n } catch (error) {\n const errorMessage = error?.response?.data?.message;\n throw new Error(errorMessage);\n } finally {\n commit(types.SET_CUSTOM_VIEW_UI_FLAG, { isCreating: false });\n }\n },\n delete: async ({ commit }, { id, filterType }) => {\n commit(types.SET_CUSTOM_VIEW_UI_FLAG, { isDeleting: true });\n try {\n await CustomViewsAPI.deleteCustomViews(id, filterType);\n commit(types.DELETE_CUSTOM_VIEW, id);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_CUSTOM_VIEW_UI_FLAG, { isDeleting: false });\n }\n },\n setActiveConversationFolder({ commit }, data) {\n commit(types.SET_ACTIVE_CONVERSATION_FOLDER, data);\n },\n};\n\nexport const mutations = {\n [types.SET_CUSTOM_VIEW_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.ADD_CUSTOM_VIEW]: MutationHelpers.create,\n [types.SET_CUSTOM_VIEW]: MutationHelpers.set,\n [types.UPDATE_CUSTOM_VIEW]: MutationHelpers.update,\n [types.DELETE_CUSTOM_VIEW]: MutationHelpers.destroy,\n\n [types.SET_ACTIVE_CONVERSATION_FOLDER](_state, folder) {\n _state.activeConversationFolder = folder;\n },\n};\n\nexport default {\n namespaced: true,\n actions,\n state,\n getters,\n mutations,\n};\n","import ApiClient from './ApiClient';\n\nclass DashboardAppsAPI extends ApiClient {\n constructor() {\n super('dashboard_apps', { accountScoped: true });\n }\n}\n\nexport default new DashboardAppsAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport DashboardAppsAPI from '../../api/dashboardApps';\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetching: false,\n isCreating: false,\n isDeleting: false,\n },\n};\n\nexport const getters = {\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n getRecords(_state) {\n return _state.records;\n },\n};\n\nexport const actions = {\n get: async function getDashboardApps({ commit }) {\n commit(types.SET_DASHBOARD_APPS_UI_FLAG, { isFetching: true });\n try {\n const response = await DashboardAppsAPI.get();\n commit(types.SET_DASHBOARD_APPS, response.data);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_DASHBOARD_APPS_UI_FLAG, { isFetching: false });\n }\n },\n create: async function createApp({ commit }, appObj) {\n commit(types.SET_DASHBOARD_APPS_UI_FLAG, { isCreating: true });\n try {\n const response = await DashboardAppsAPI.create(appObj);\n commit(types.CREATE_DASHBOARD_APP, response.data);\n } catch (error) {\n const errorMessage = error?.response?.data?.message;\n throw new Error(errorMessage);\n } finally {\n commit(types.SET_DASHBOARD_APPS_UI_FLAG, { isCreating: false });\n }\n },\n update: async function updateApp({ commit }, { id, ...updateObj }) {\n commit(types.SET_DASHBOARD_APPS_UI_FLAG, { isUpdating: true });\n try {\n const response = await DashboardAppsAPI.update(id, updateObj);\n commit(types.EDIT_DASHBOARD_APP, response.data);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_DASHBOARD_APPS_UI_FLAG, { isUpdating: false });\n }\n },\n delete: async function deleteApp({ commit }, id) {\n commit(types.SET_DASHBOARD_APPS_UI_FLAG, { isDeleting: true });\n try {\n await DashboardAppsAPI.delete(id);\n commit(types.DELETE_DASHBOARD_APP, id);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_DASHBOARD_APPS_UI_FLAG, { isDeleting: false });\n }\n },\n};\n\nexport const mutations = {\n [types.SET_DASHBOARD_APPS_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.SET_DASHBOARD_APPS]: MutationHelpers.set,\n [types.CREATE_DASHBOARD_APP]: MutationHelpers.create,\n [types.EDIT_DASHBOARD_APP]: MutationHelpers.update,\n [types.DELETE_DASHBOARD_APP]: MutationHelpers.destroy,\n};\n\nexport default {\n namespaced: true,\n actions,\n state,\n getters,\n mutations,\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass AssignableAgents extends ApiClient {\n constructor() {\n super('assignable_agents', { accountScoped: true });\n }\n\n get(inboxIds) {\n return axios.get(this.url, {\n params: { inbox_ids: inboxIds },\n });\n }\n}\n\nexport default new AssignableAgents();\n","import Vue from 'vue';\n\nimport AssignableAgentsAPI from '../../api/assignableAgents';\n\nconst state = {\n records: {},\n uiFlags: {\n isFetching: false,\n },\n};\n\nexport const types = {\n SET_INBOX_ASSIGNABLE_AGENTS_UI_FLAG: 'SET_INBOX_ASSIGNABLE_AGENTS_UI_FLAG',\n SET_INBOX_ASSIGNABLE_AGENTS: 'SET_INBOX_ASSIGNABLE_AGENTS',\n};\n\nexport const getters = {\n getAssignableAgents: $state => inboxId => {\n const allAgents = $state.records[inboxId] || [];\n const verifiedAgents = allAgents.filter(record => record.confirmed);\n return verifiedAgents;\n },\n getUIFlags($state) {\n return $state.uiFlags;\n },\n};\n\nexport const actions = {\n async fetch({ commit }, inboxIds) {\n commit(types.SET_INBOX_ASSIGNABLE_AGENTS_UI_FLAG, { isFetching: true });\n try {\n const {\n data: { payload },\n } = await AssignableAgentsAPI.get(inboxIds);\n commit(types.SET_INBOX_ASSIGNABLE_AGENTS, {\n inboxId: inboxIds.join(','),\n members: payload,\n });\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_INBOX_ASSIGNABLE_AGENTS_UI_FLAG, { isFetching: false });\n }\n },\n};\n\nexport const mutations = {\n [types.SET_INBOX_ASSIGNABLE_AGENTS_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n [types.SET_INBOX_ASSIGNABLE_AGENTS]: ($state, { inboxId, members }) => {\n Vue.set($state.records, inboxId, members);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import ApiClient from '../ApiClient';\n\nclass WebChannel extends ApiClient {\n constructor() {\n super('inboxes', { accountScoped: true });\n }\n}\n\nexport default new WebChannel();\n","/* global axios */\nimport ApiClient from '../ApiClient';\n\nclass FBChannel extends ApiClient {\n constructor() {\n super('facebook_indicators', { accountScoped: true });\n }\n\n create(params) {\n return axios.post(\n `${this.url.replace(this.resource, '')}callbacks/register_facebook_page`,\n params\n );\n }\n\n reauthorizeFacebookPage({ omniauthToken, inboxId }) {\n return axios.post(`${this.baseUrl()}/callbacks/reauthorize_page`, {\n omniauth_token: omniauthToken,\n inbox_id: inboxId,\n });\n }\n}\n\nexport default new FBChannel();\n","import ApiClient from '../ApiClient';\n\nclass TwilioChannel extends ApiClient {\n constructor() {\n super('channels/twilio_channel', { accountScoped: true });\n }\n}\n\nexport default new TwilioChannel();\n","import ApiClient from '../ApiClient';\n\nclass WhatsappNativeChannel extends ApiClient {\n constructor() {\n super('callbacks/create_native_whatsapp_channel', { accountScoped: true });\n }\n}\n\nexport default new WhatsappNativeChannel();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport * as types from '../mutation-types';\nimport { INBOX_TYPES } from 'shared/mixins/inboxMixin';\nimport InboxesAPI from '../../api/inboxes';\nimport WebChannel from '../../api/channel/webChannel';\nimport FBChannel from '../../api/channel/fbChannel';\nimport TwilioChannel from '../../api/channel/twilioChannel';\nimport { throwErrorMessage } from '../utils/api';\nimport AnalyticsHelper from '../../helper/AnalyticsHelper';\nimport { ACCOUNT_EVENTS } from '../../helper/AnalyticsHelper/events';\nimport WhatsappNativeChannel from 'dashboard/api/channel/whatsappNativeChannel';\n\nconst buildInboxData = inboxParams => {\n const formData = new FormData();\n const { channel = {}, ...inboxProperties } = inboxParams;\n Object.keys(inboxProperties).forEach(key => {\n formData.append(key, inboxProperties[key]);\n });\n const { selectedFeatureFlags, ...channelParams } = channel;\n // selectedFeatureFlags needs to be empty when creating a website channel\n if (selectedFeatureFlags) {\n if (selectedFeatureFlags.length) {\n selectedFeatureFlags.forEach(featureFlag => {\n formData.append(`channel[selected_feature_flags][]`, featureFlag);\n });\n } else {\n formData.append('channel[selected_feature_flags][]', '');\n }\n }\n Object.keys(channelParams).forEach(key => {\n formData.append(`channel[${key}]`, channel[key]);\n });\n return formData;\n};\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetching: false,\n isFetchingItem: false,\n isCreating: false,\n isUpdating: false,\n isDeleting: false,\n isUpdatingIMAP: false,\n isUpdatingSMTP: false,\n },\n};\n\nexport const getters = {\n getInboxes($state) {\n return $state.records;\n },\n getWhatsAppTemplates: $state => inboxId => {\n const [inbox] = $state.records.filter(\n record => record.id === Number(inboxId)\n );\n\n const {\n message_templates: whatsAppMessageTemplates,\n additional_attributes: additionalAttributes,\n } = inbox || {};\n\n const { message_templates: apiInboxMessageTemplates } =\n additionalAttributes || {};\n const messagesTemplates =\n whatsAppMessageTemplates || apiInboxMessageTemplates;\n\n // filtering out the whatsapp templates with media\n if (messagesTemplates instanceof Array) {\n return messagesTemplates.filter(template => {\n return !template.components.some(\n i => i.format === 'IMAGE' || i.format === 'VIDEO'\n );\n });\n }\n return [];\n },\n getNewConversationInboxes($state) {\n return $state.records.filter(inbox => {\n const { channel_type: channelType, phone_number: phoneNumber = '' } =\n inbox;\n\n const isEmailChannel = channelType === INBOX_TYPES.EMAIL;\n const isSmsChannel =\n channelType === INBOX_TYPES.TWILIO &&\n phoneNumber.startsWith('whatsapp');\n return isEmailChannel || isSmsChannel;\n });\n },\n getInbox: $state => inboxId => {\n const [inbox] = $state.records.filter(\n record => record.id === Number(inboxId)\n );\n return inbox || {};\n },\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getWebsiteInboxes($state) {\n return $state.records.filter(item => item.channel_type === INBOX_TYPES.WEB);\n },\n getTwilioInboxes($state) {\n return $state.records.filter(\n item => item.channel_type === INBOX_TYPES.TWILIO\n );\n },\n getSMSInboxes($state) {\n return $state.records.filter(\n item =>\n item.channel_type === INBOX_TYPES.SMS ||\n (item.channel_type === INBOX_TYPES.TWILIO && item.medium === 'sms')\n );\n },\n getSMSAndWhatsappInboxes($state) {\n return $state.records.filter(\n item =>\n item.channel_type === INBOX_TYPES.SMS ||\n (item.channel_type === INBOX_TYPES.TWILIO && item.medium === 'sms') ||\n (item.channel_type === INBOX_TYPES.API &&\n item.additional_attributes.provider === 'ruut_native_whatsapp')\n );\n },\n dialogFlowEnabledInboxes($state) {\n return $state.records.filter(\n item => item.channel_type !== INBOX_TYPES.EMAIL\n );\n },\n};\n\nconst sendAnalyticsEvent = channelType => {\n AnalyticsHelper.track(ACCOUNT_EVENTS.ADDED_AN_INBOX, {\n channelType,\n });\n};\n\nexport const actions = {\n revalidate: async ({ commit }, { newKey }) => {\n try {\n const isExistingKeyValid = await InboxesAPI.validateCacheKey(newKey);\n if (!isExistingKeyValid) {\n const response = await InboxesAPI.refetchAndCommit(newKey);\n commit(types.default.SET_INBOXES, response.data.payload);\n }\n } catch (error) {\n // Ignore error\n }\n },\n get: async ({ commit }) => {\n commit(types.default.SET_INBOXES_UI_FLAG, { isFetching: true });\n try {\n const response = await InboxesAPI.get(true);\n commit(types.default.SET_INBOXES_UI_FLAG, { isFetching: false });\n commit(types.default.SET_INBOXES, response.data.payload);\n } catch (error) {\n commit(types.default.SET_INBOXES_UI_FLAG, { isFetching: false });\n }\n },\n createChannel: async ({ commit }, params) => {\n try {\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: true });\n const response = await WebChannel.create(params);\n commit(types.default.ADD_INBOXES, response.data);\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: false });\n const { channel = {} } = params;\n sendAnalyticsEvent(channel.type);\n\n return response.data;\n } catch (error) {\n const errorMessage = error?.response?.data?.message;\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: false });\n throw new Error(errorMessage);\n }\n },\n\n createNativeWhatsappChannel: async ({ commit }, params) => {\n try {\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: true });\n const response = await WhatsappNativeChannel.create(params);\n commit(types.default.ADD_INBOXES, response.data);\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: false });\n sendAnalyticsEvent('whatsapp');\n return response.data;\n } catch (error) {\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: false });\n return throwErrorMessage(error);\n }\n },\n createWebsiteChannel: async ({ commit }, params) => {\n try {\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: true });\n const response = await WebChannel.create(buildInboxData(params));\n commit(types.default.ADD_INBOXES, response.data);\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: false });\n sendAnalyticsEvent('website');\n return response.data;\n } catch (error) {\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: false });\n return throwErrorMessage(error);\n }\n },\n createTwilioChannel: async ({ commit }, params) => {\n try {\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: true });\n const response = await TwilioChannel.create(params);\n commit(types.default.ADD_INBOXES, response.data);\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: false });\n sendAnalyticsEvent('twilio');\n return response.data;\n } catch (error) {\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: false });\n throw new Error(error);\n }\n },\n createFBChannel: async ({ commit }, params) => {\n try {\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: true });\n const response = await FBChannel.create(params);\n commit(types.default.ADD_INBOXES, response.data);\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: false });\n sendAnalyticsEvent('facebook');\n return response.data;\n } catch (error) {\n commit(types.default.SET_INBOXES_UI_FLAG, { isCreating: false });\n throw new Error(error);\n }\n },\n updateInbox: async ({ commit }, { id, formData = true, ...inboxParams }) => {\n commit(types.default.SET_INBOXES_UI_FLAG, { isUpdating: true });\n try {\n const response = await InboxesAPI.update(\n id,\n formData ? buildInboxData(inboxParams) : inboxParams\n );\n commit(types.default.EDIT_INBOXES, response.data);\n commit(types.default.SET_INBOXES_UI_FLAG, { isUpdating: false });\n } catch (error) {\n commit(types.default.SET_INBOXES_UI_FLAG, { isUpdating: false });\n throwErrorMessage(error);\n }\n },\n updateInboxIMAP: async ({ commit }, { id, ...inboxParams }) => {\n commit(types.default.SET_INBOXES_UI_FLAG, { isUpdatingIMAP: true });\n try {\n const response = await InboxesAPI.update(id, inboxParams);\n commit(types.default.EDIT_INBOXES, response.data);\n commit(types.default.SET_INBOXES_UI_FLAG, { isUpdatingIMAP: false });\n } catch (error) {\n commit(types.default.SET_INBOXES_UI_FLAG, { isUpdatingIMAP: false });\n throwErrorMessage(error);\n }\n },\n updateInboxSMTP: async ({ commit }, { id, ...inboxParams }) => {\n commit(types.default.SET_INBOXES_UI_FLAG, { isUpdatingSMTP: true });\n try {\n const response = await InboxesAPI.update(id, inboxParams);\n commit(types.default.EDIT_INBOXES, response.data);\n commit(types.default.SET_INBOXES_UI_FLAG, { isUpdatingSMTP: false });\n } catch (error) {\n commit(types.default.SET_INBOXES_UI_FLAG, { isUpdatingSMTP: false });\n throwErrorMessage(error);\n }\n },\n delete: async ({ commit }, inboxId) => {\n commit(types.default.SET_INBOXES_UI_FLAG, { isDeleting: true });\n try {\n await InboxesAPI.delete(inboxId);\n commit(types.default.DELETE_INBOXES, inboxId);\n commit(types.default.SET_INBOXES_UI_FLAG, { isDeleting: false });\n } catch (error) {\n commit(types.default.SET_INBOXES_UI_FLAG, { isDeleting: false });\n throw new Error(error);\n }\n },\n reauthorizeFacebookPage: async ({ commit }, params) => {\n try {\n const response = await FBChannel.reauthorizeFacebookPage(params);\n commit(types.default.EDIT_INBOXES, response.data);\n } catch (error) {\n throw new Error(error.message);\n }\n },\n deleteInboxAvatar: async (_, inboxId) => {\n try {\n await InboxesAPI.deleteInboxAvatar(inboxId);\n } catch (error) {\n throw new Error(error);\n }\n },\n};\n\nexport const mutations = {\n [types.default.SET_INBOXES_UI_FLAG]($state, uiFlag) {\n $state.uiFlags = { ...$state.uiFlags, ...uiFlag };\n },\n [types.default.SET_INBOXES]: MutationHelpers.set,\n [types.default.SET_INBOXES_ITEM]: MutationHelpers.setSingleRecord,\n [types.default.ADD_INBOXES]: MutationHelpers.create,\n [types.default.EDIT_INBOXES]: MutationHelpers.update,\n [types.default.DELETE_INBOXES]: MutationHelpers.destroy,\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import InboxMembersAPI from '../../api/inboxMembers';\n\nexport const actions = {\n get(_, { inboxId }) {\n return InboxMembersAPI.show(inboxId);\n },\n create(_, { inboxId, agentList }) {\n return InboxMembersAPI.update({ inboxId, agentList });\n },\n};\n\nexport default {\n namespaced: true,\n actions,\n};\n","/* global axios */\n\nimport ApiClient from './ApiClient';\n\nclass IntegrationsAPI extends ApiClient {\n constructor() {\n super('integrations/apps', { accountScoped: true });\n }\n\n connectSlack(code) {\n return axios.post(`${this.baseUrl()}/integrations/slack`, { code });\n }\n\n updateSlack({ referenceId }) {\n return axios.patch(`${this.baseUrl()}/integrations/slack`, {\n reference_id: referenceId,\n });\n }\n\n listAllSlackChannels() {\n return axios.get(`${this.baseUrl()}/integrations/slack/list_all_channels`);\n }\n\n delete(integrationId) {\n return axios.delete(`${this.baseUrl()}/integrations/${integrationId}`);\n }\n\n createHook(hookData) {\n return axios.post(`${this.baseUrl()}/integrations/hooks`, hookData);\n }\n\n deleteHook(hookId) {\n return axios.delete(`${this.baseUrl()}/integrations/hooks/${hookId}`);\n }\n}\n\nexport default new IntegrationsAPI();\n","/* eslint no-param-reassign: 0 */\nimport Vue from 'vue';\nimport * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport * as types from '../mutation-types';\nimport IntegrationsAPI from '../../api/integrations';\nimport { throwErrorMessage } from 'dashboard/store/utils/api';\n\nconst state = {\n records: [],\n uiFlags: {\n isCreating: false,\n isFetching: false,\n isFetchingItem: false,\n isUpdating: false,\n isCreatingHook: false,\n isDeletingHook: false,\n isCreatingSlack: false,\n isUpdatingSlack: false,\n isFetchingSlackChannels: false,\n },\n};\n\nconst isAValidAppIntegration = integration => {\n return [\n 'dialogflow',\n 'dyte',\n 'google_translate',\n 'openai',\n 'linear',\n ].includes(integration.id);\n};\nexport const getters = {\n getIntegrations($state) {\n return $state.records.filter(item => !isAValidAppIntegration(item));\n },\n getAppIntegrations($state) {\n return $state.records.filter(item => isAValidAppIntegration(item));\n },\n getIntegration: $state => integrationId => {\n const [integration] = $state.records.filter(\n record => record.id === integrationId\n );\n return integration || {};\n },\n getUIFlags($state) {\n return $state.uiFlags;\n },\n};\n\nexport const actions = {\n get: async ({ commit }) => {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isFetching: true });\n try {\n const response = await IntegrationsAPI.get();\n commit(types.default.SET_INTEGRATIONS, response.data.payload);\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isFetching: false });\n } catch (error) {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isFetching: false });\n }\n },\n\n connectSlack: async ({ commit }, code) => {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isCreatingSlack: true });\n try {\n const response = await IntegrationsAPI.connectSlack(code);\n commit(types.default.ADD_INTEGRATION, response.data);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, {\n isCreatingSlack: false,\n });\n }\n },\n updateSlack: async ({ commit }, slackObj) => {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isUpdatingSlack: true });\n try {\n const response = await IntegrationsAPI.updateSlack(slackObj);\n commit(types.default.ADD_INTEGRATION, response.data);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, {\n isUpdatingSlack: false,\n });\n }\n },\n listAllSlackChannels: async ({ commit }) => {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, {\n isFetchingSlackChannels: true,\n });\n try {\n const response = await IntegrationsAPI.listAllSlackChannels();\n return response.data;\n } catch (error) {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, {\n isFetchingSlackChannels: false,\n });\n }\n return null;\n },\n\n deleteIntegration: async ({ commit }, integrationId) => {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isDeleting: true });\n try {\n await IntegrationsAPI.delete(integrationId);\n commit(types.default.DELETE_INTEGRATION, {\n id: integrationId,\n enabled: false,\n });\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isDeleting: false });\n } catch (error) {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isDeleting: false });\n }\n },\n showHook: async ({ commit }, hookId) => {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isFetchingItem: true });\n try {\n const response = await IntegrationsAPI.showHook(hookId);\n commit(types.default.ADD_INTEGRATION_HOOKS, response.data);\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isFetchingItem: false });\n } catch (error) {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isFetchingItem: false });\n throw new Error(error);\n }\n },\n createHook: async ({ commit }, hookData) => {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isCreatingHook: true });\n try {\n const response = await IntegrationsAPI.createHook(hookData);\n commit(types.default.ADD_INTEGRATION_HOOKS, response.data);\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isCreatingHook: false });\n } catch (error) {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isCreatingHook: false });\n throw new Error(error);\n }\n },\n deleteHook: async ({ commit }, { appId, hookId }) => {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isDeletingHook: true });\n try {\n await IntegrationsAPI.deleteHook(hookId);\n commit(types.default.DELETE_INTEGRATION_HOOKS, { appId, hookId });\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isDeletingHook: false });\n } catch (error) {\n commit(types.default.SET_INTEGRATIONS_UI_FLAG, { isDeletingHook: false });\n throw new Error(error);\n }\n },\n};\n\nexport const mutations = {\n [types.default.SET_INTEGRATIONS_UI_FLAG]($state, uiFlag) {\n $state.uiFlags = { ...$state.uiFlags, ...uiFlag };\n },\n [types.default.SET_INTEGRATIONS]: MutationHelpers.set,\n [types.default.ADD_INTEGRATION]: MutationHelpers.updateAttributes,\n [types.default.DELETE_INTEGRATION]: MutationHelpers.updateAttributes,\n [types.default.ADD_INTEGRATION_HOOKS]: ($state, data) => {\n $state.records.forEach((element, index) => {\n if (element.id === data.app_id) {\n const record = $state.records[index];\n Vue.set(record, 'hooks', [...record.hooks, data]);\n }\n });\n },\n [types.default.DELETE_INTEGRATION_HOOKS]: ($state, { appId, hookId }) => {\n $state.records.forEach((element, index) => {\n if (element.id === appId) {\n const record = $state.records[index];\n const hooksWithoutDeletedHook = record.hooks.filter(\n hook => hook.id !== hookId\n );\n Vue.set(record, 'hooks', hooksWithoutDeletedHook);\n }\n });\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import CacheEnabledApiClient from './CacheEnabledApiClient';\n\nclass LabelsAPI extends CacheEnabledApiClient {\n constructor() {\n super('labels', { accountScoped: true });\n }\n\n // eslint-disable-next-line class-methods-use-this\n get cacheModelName() {\n return 'label';\n }\n}\n\nexport default new LabelsAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport LabelsAPI from '../../api/labels';\nimport AnalyticsHelper from '../../helper/AnalyticsHelper';\nimport { LABEL_EVENTS } from '../../helper/AnalyticsHelper/events';\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetching: false,\n isFetchingItem: false,\n isCreating: false,\n isDeleting: false,\n },\n};\n\nexport const getters = {\n getLabels(_state) {\n return _state.records;\n },\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n getLabelsOnSidebar(_state) {\n return _state.records\n .filter(record => record.show_on_sidebar)\n .sort((a, b) => a.title.localeCompare(b.title));\n },\n};\n\nexport const actions = {\n revalidate: async function revalidate({ commit }, { newKey }) {\n try {\n const isExistingKeyValid = await LabelsAPI.validateCacheKey(newKey);\n if (!isExistingKeyValid) {\n const response = await LabelsAPI.refetchAndCommit(newKey);\n commit(types.SET_LABELS, response.data.payload);\n }\n } catch (error) {\n // Ignore error\n }\n },\n\n get: async function getLabels({ commit }) {\n commit(types.SET_LABEL_UI_FLAG, { isFetching: true });\n try {\n const response = await LabelsAPI.get(true);\n const sortedLabels = response.data.payload.sort((a, b) =>\n a.title.localeCompare(b.title)\n );\n commit(types.SET_LABELS, sortedLabels);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_LABEL_UI_FLAG, { isFetching: false });\n }\n },\n\n create: async function createLabels({ commit }, cannedObj) {\n commit(types.SET_LABEL_UI_FLAG, { isCreating: true });\n try {\n const response = await LabelsAPI.create(cannedObj);\n AnalyticsHelper.track(LABEL_EVENTS.CREATE);\n commit(types.ADD_LABEL, response.data);\n } catch (error) {\n const errorMessage = error?.response?.data?.message;\n throw new Error(errorMessage);\n } finally {\n commit(types.SET_LABEL_UI_FLAG, { isCreating: false });\n }\n },\n\n update: async function updateLabels({ commit }, { id, ...updateObj }) {\n commit(types.SET_LABEL_UI_FLAG, { isUpdating: true });\n try {\n const response = await LabelsAPI.update(id, updateObj);\n AnalyticsHelper.track(LABEL_EVENTS.UPDATE);\n commit(types.EDIT_LABEL, response.data);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_LABEL_UI_FLAG, { isUpdating: false });\n }\n },\n\n delete: async function deleteLabels({ commit }, id) {\n commit(types.SET_LABEL_UI_FLAG, { isDeleting: true });\n try {\n await LabelsAPI.delete(id);\n AnalyticsHelper.track(LABEL_EVENTS.DELETED);\n commit(types.DELETE_LABEL, id);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_LABEL_UI_FLAG, { isDeleting: false });\n }\n },\n};\n\nexport const mutations = {\n [types.SET_LABEL_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.SET_LABELS]: MutationHelpers.set,\n [types.ADD_LABEL]: MutationHelpers.create,\n [types.EDIT_LABEL]: MutationHelpers.update,\n [types.DELETE_LABEL]: MutationHelpers.destroy,\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass MacrosAPI extends ApiClient {\n constructor() {\n super('macros', { accountScoped: true });\n }\n\n executeMacro({ macroId, conversationIds }) {\n return axios.post(`${this.url}/${macroId}/execute`, {\n conversation_ids: conversationIds,\n });\n }\n}\n\nexport default new MacrosAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport MacrosAPI from '../../api/macros';\nimport { throwErrorMessage } from '../utils/api';\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetchingItem: false,\n isFetching: false,\n isCreating: false,\n isDeleting: false,\n isUpdating: false,\n isExecuting: false,\n },\n};\n\nexport const getters = {\n getMacros($state) {\n return $state.records;\n },\n getMacro: $state => id => {\n return $state.records.find(record => record.id === Number(id));\n },\n getUIFlags($state) {\n return $state.uiFlags;\n },\n};\n\nexport const actions = {\n get: async function getMacros({ commit }) {\n commit(types.SET_MACROS_UI_FLAG, { isFetching: true });\n try {\n const response = await MacrosAPI.get();\n commit(types.SET_MACROS, response.data.payload);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_MACROS_UI_FLAG, { isFetching: false });\n }\n },\n getSingleMacro: async function getMacroById({ commit }, macroId) {\n commit(types.SET_MACROS_UI_FLAG, { isFetchingItem: true });\n try {\n const response = await MacrosAPI.show(macroId);\n commit(types.ADD_MACRO, response.data.payload);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_MACROS_UI_FLAG, { isFetchingItem: false });\n }\n },\n create: async function createMacro({ commit }, macrosObj) {\n commit(types.SET_MACROS_UI_FLAG, { isCreating: true });\n try {\n const response = await MacrosAPI.create(macrosObj);\n commit(types.ADD_MACRO, response.data.payload);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_MACROS_UI_FLAG, { isCreating: false });\n }\n },\n execute: async function executeMacro({ commit }, macrosObj) {\n commit(types.SET_MACROS_UI_FLAG, { isExecuting: true });\n try {\n await MacrosAPI.executeMacro(macrosObj);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_MACROS_UI_FLAG, { isExecuting: false });\n }\n },\n update: async ({ commit }, { id, ...updateObj }) => {\n commit(types.SET_MACROS_UI_FLAG, { isUpdating: true });\n try {\n const response = await MacrosAPI.update(id, updateObj);\n commit(types.EDIT_MACRO, response.data.payload);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_MACROS_UI_FLAG, { isUpdating: false });\n }\n },\n delete: async ({ commit }, id) => {\n commit(types.SET_MACROS_UI_FLAG, { isDeleting: true });\n try {\n await MacrosAPI.delete(id);\n commit(types.DELETE_MACRO, id);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_MACROS_UI_FLAG, { isDeleting: false });\n }\n },\n};\n\nexport const mutations = {\n [types.SET_MACROS_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n [types.ADD_MACRO]: MutationHelpers.setSingleRecord,\n [types.SET_MACROS]: MutationHelpers.set,\n [types.EDIT_MACRO]: MutationHelpers.update,\n [types.DELETE_MACRO]: MutationHelpers.destroy,\n};\n\nexport default {\n namespaced: true,\n actions,\n state,\n getters,\n mutations,\n};\n","const INBOX_SORT_OPTIONS = {\n newest: 'desc',\n oldest: 'asc',\n};\n\nconst sortConfig = {\n newest: (a, b) => b.created_at - a.created_at,\n oldest: (a, b) => a.created_at - b.created_at,\n};\n\nexport const sortComparator = (a, b, sortOrder) => {\n const sortDirection = INBOX_SORT_OPTIONS[sortOrder];\n if (sortOrder === 'newest' || sortOrder === 'oldest') {\n return sortConfig[sortOrder](a, b, sortDirection);\n }\n return 0;\n};\n","import { sortComparator } from './helpers';\n\nexport const getters = {\n getNotifications($state) {\n return Object.values($state.records).sort((n1, n2) => n2.id - n1.id);\n },\n getFilteredNotifications: $state => filters => {\n const sortOrder = filters.sortOrder === 'desc' ? 'newest' : 'oldest';\n const sortedNotifications = Object.values($state.records).sort((n1, n2) =>\n sortComparator(n1, n2, sortOrder)\n );\n return sortedNotifications;\n },\n getNotificationById: $state => id => {\n return $state.records[id] || {};\n },\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getNotification: $state => id => {\n const notification = $state.records[id];\n return notification || {};\n },\n getMeta: $state => {\n return $state.meta;\n },\n getNotificationFilters($state) {\n return $state.notificationFilters;\n },\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass NotificationsAPI extends ApiClient {\n constructor() {\n super('notifications', { accountScoped: true });\n }\n\n get({ page, status, type, sortOrder }) {\n const includesFilter = [status, type].filter(value => !!value);\n\n return axios.get(this.url, {\n params: {\n page,\n sort_order: sortOrder,\n includes: includesFilter,\n },\n });\n }\n\n getNotifications(contactId) {\n return axios.get(`${this.url}/${contactId}/notifications`);\n }\n\n getUnreadCount() {\n return axios.get(`${this.url}/unread_count`);\n }\n\n read(primaryActorType, primaryActorId) {\n return axios.post(`${this.url}/read_all`, {\n primary_actor_type: primaryActorType,\n primary_actor_id: primaryActorId,\n });\n }\n\n unRead(id) {\n return axios.post(`${this.url}/${id}/unread`);\n }\n\n readAll() {\n return axios.post(`${this.url}/read_all`);\n }\n\n delete(id) {\n return axios.delete(`${this.url}/${id}`);\n }\n\n deleteAll({ type = 'all' }) {\n return axios.post(`${this.url}/destroy_all`, {\n type,\n });\n }\n\n snooze({ id, snoozedUntil = null }) {\n return axios.post(`${this.url}/${id}/snooze`, {\n snoozed_until: snoozedUntil,\n });\n }\n}\n\nexport default new NotificationsAPI();\n","import types from '../../mutation-types';\nimport NotificationsAPI from '../../../api/notifications';\n\nexport const actions = {\n get: async ({ commit }, { page = 1 } = {}) => {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isFetching: true });\n try {\n const {\n data: {\n data: { payload, meta },\n },\n } = await NotificationsAPI.get({ page });\n commit(types.CLEAR_NOTIFICATIONS);\n commit(types.SET_NOTIFICATIONS, payload);\n commit(types.SET_NOTIFICATIONS_META, meta);\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isFetching: false });\n } catch (error) {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isFetching: false });\n }\n },\n index: async ({ commit }, { page = 1, status, type, sortOrder } = {}) => {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isFetching: true });\n try {\n const {\n data: {\n data: { payload, meta },\n },\n } = await NotificationsAPI.get({\n page,\n status,\n type,\n sortOrder,\n });\n commit(types.SET_NOTIFICATIONS, payload);\n commit(types.SET_NOTIFICATIONS_META, meta);\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isFetching: false });\n if (payload.length < 15) {\n commit(types.SET_ALL_NOTIFICATIONS_LOADED);\n }\n } catch (error) {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isFetching: false });\n }\n },\n unReadCount: async ({ commit } = {}) => {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdatingUnreadCount: true });\n try {\n const { data } = await NotificationsAPI.getUnreadCount();\n commit(types.SET_NOTIFICATIONS_UNREAD_COUNT, data);\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdatingUnreadCount: false });\n } catch (error) {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdatingUnreadCount: false });\n }\n },\n read: async (\n { commit },\n { id, primaryActorType, primaryActorId, unreadCount }\n ) => {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: true });\n try {\n await NotificationsAPI.read(primaryActorType, primaryActorId);\n commit(types.SET_NOTIFICATIONS_UNREAD_COUNT, unreadCount - 1);\n commit(types.READ_NOTIFICATION, { id, read_at: new Date() });\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: false });\n } catch (error) {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: false });\n }\n },\n unread: async ({ commit }, { id }) => {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: true });\n try {\n await NotificationsAPI.unRead(id);\n commit(types.READ_NOTIFICATION, { id, read_at: null });\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: false });\n } catch (error) {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: false });\n }\n },\n readAll: async ({ commit }) => {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: true });\n try {\n await NotificationsAPI.readAll();\n commit(types.SET_NOTIFICATIONS_UNREAD_COUNT, 0);\n commit(types.UPDATE_ALL_NOTIFICATIONS);\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: false });\n } catch (error) {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: false });\n throw new Error(error);\n }\n },\n\n delete: async ({ commit }, { notification, count, unreadCount }) => {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isDeleting: true });\n try {\n await NotificationsAPI.delete(notification.id);\n commit(types.SET_NOTIFICATIONS_UNREAD_COUNT, unreadCount - 1);\n commit(types.DELETE_NOTIFICATION, { notification, count, unreadCount });\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isDeleting: false });\n } catch (error) {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isDeleting: false });\n }\n },\n\n deleteAllRead: async ({ commit }) => {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isDeleting: true });\n try {\n await NotificationsAPI.deleteAll({\n type: 'read',\n });\n commit(types.DELETE_READ_NOTIFICATIONS);\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isDeleting: false });\n } catch (error) {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isDeleting: false });\n }\n },\n deleteAll: async ({ commit }) => {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isDeleting: true });\n try {\n await NotificationsAPI.deleteAll({\n type: 'all',\n });\n commit(types.DELETE_ALL_NOTIFICATIONS);\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isDeleting: false });\n } catch (error) {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isDeleting: false });\n }\n },\n\n snooze: async ({ commit }, { id, snoozedUntil }) => {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: true });\n try {\n const response = await NotificationsAPI.snooze({\n id,\n snoozedUntil,\n });\n\n const {\n data: { snoozed_until = null },\n } = response;\n commit(types.SNOOZE_NOTIFICATION, {\n id,\n snoozed_until,\n });\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: false });\n } catch (error) {\n commit(types.SET_NOTIFICATIONS_UI_FLAG, { isUpdating: false });\n }\n },\n\n updateNotification: async ({ commit }, data) => {\n commit(types.UPDATE_NOTIFICATION, data);\n },\n\n addNotification({ commit }, data) {\n commit(types.ADD_NOTIFICATION, data);\n },\n deleteNotification({ commit }, data) {\n commit(types.DELETE_NOTIFICATION, data);\n },\n clear({ commit }) {\n commit(types.CLEAR_NOTIFICATIONS);\n },\n\n setNotificationFilters: ({ commit }, filters) => {\n commit(types.SET_NOTIFICATION_FILTERS, filters);\n },\n updateNotificationFilters: ({ commit }, filters) => {\n commit(types.UPDATE_NOTIFICATION_FILTERS, filters);\n },\n};\n","import { getters } from './getters';\nimport { actions } from './actions';\nimport { mutations } from './mutations';\n\nconst state = {\n meta: {\n count: 0,\n currentPage: 1,\n unReadCount: 0,\n },\n records: {},\n uiFlags: {\n isFetching: false,\n isFetchingItem: false,\n isUpdating: false,\n isDeleting: false,\n isUpdatingUnreadCount: false,\n isAllNotificationsLoaded: false,\n },\n notificationFilters: {},\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport types from '../../mutation-types';\n\nexport const mutations = {\n [types.SET_NOTIFICATIONS_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n [types.CLEAR_NOTIFICATIONS]: $state => {\n Vue.set($state, 'records', {});\n Vue.set($state.uiFlags, 'isAllNotificationsLoaded', false);\n },\n [types.SET_NOTIFICATIONS_META]: ($state, data) => {\n const {\n count,\n current_page: currentPage,\n unread_count: unreadCount,\n } = data;\n\n Vue.set($state.meta, 'count', count);\n Vue.set($state.meta, 'currentPage', currentPage);\n Vue.set($state.meta, 'unreadCount', unreadCount);\n },\n [types.SET_NOTIFICATIONS_UNREAD_COUNT]: ($state, count) => {\n Vue.set($state.meta, 'unreadCount', count < 0 ? 0 : count);\n },\n [types.SET_NOTIFICATIONS]: ($state, data) => {\n data.forEach(notification => {\n // Find existing notification with same primary_actor_id (primary_actor_id is unique)\n const existingNotification = Object.values($state.records).find(\n record => record.primary_actor_id === notification.primary_actor_id\n );\n // This is to handle the case where the same notification is received multiple times\n // On reconnect, if there is existing notification with same primary_actor_id,\n // it will be deleted and the new one will be added. So it will solve with duplicate notification\n if (existingNotification) {\n Vue.delete($state.records, existingNotification.id);\n }\n Vue.set($state.records, notification.id, {\n ...($state.records[notification.id] || {}),\n ...notification,\n });\n });\n },\n [types.READ_NOTIFICATION]: ($state, { id, read_at }) => {\n Vue.set($state.records[id], 'read_at', read_at);\n },\n [types.UPDATE_ALL_NOTIFICATIONS]: $state => {\n Object.values($state.records).forEach(item => {\n Vue.set($state.records[item.id], 'read_at', true);\n });\n },\n\n [types.ADD_NOTIFICATION]($state, data) {\n const { notification, unread_count: unreadCount, count } = data;\n Vue.set($state.records, notification.id, {\n ...($state.records[notification.id] || {}),\n ...notification,\n });\n Vue.set($state.meta, 'unreadCount', unreadCount);\n Vue.set($state.meta, 'count', count);\n },\n [types.UPDATE_NOTIFICATION]($state, data) {\n const { notification, unread_count: unreadCount, count } = data;\n Vue.set($state.records, notification.id, {\n ...($state.records[notification.id] || {}),\n ...notification,\n });\n Vue.set($state.meta, 'unreadCount', unreadCount);\n Vue.set($state.meta, 'count', count);\n },\n [types.DELETE_NOTIFICATION]($state, data) {\n const { notification, unread_count: unreadCount, count } = data;\n Vue.delete($state.records, notification.id);\n Vue.set($state.meta, 'unreadCount', unreadCount);\n Vue.set($state.meta, 'count', count);\n },\n [types.SET_ALL_NOTIFICATIONS_LOADED]: $state => {\n Vue.set($state.uiFlags, 'isAllNotificationsLoaded', true);\n },\n\n [types.DELETE_READ_NOTIFICATIONS]: $state => {\n Object.values($state.records).forEach(item => {\n if (item.read_at) {\n Vue.delete($state.records, item.id);\n }\n });\n },\n [types.DELETE_ALL_NOTIFICATIONS]: $state => {\n Vue.set($state, 'records', {});\n },\n\n [types.SNOOZE_NOTIFICATION]: ($state, { id, snoozed_until }) => {\n Vue.set($state.records[id], 'snoozed_until', snoozed_until);\n },\n\n [types.SET_NOTIFICATION_FILTERS]: ($state, filters) => {\n Vue.set($state, 'notificationFilters', filters);\n },\n [types.UPDATE_NOTIFICATION_FILTERS]: ($state, filters) => {\n Vue.set($state, 'notificationFilters', {\n ...$state.notificationFilters,\n ...filters,\n });\n },\n};\n","export const getters = {\n uiFlagsIn: state => portalId => {\n const uiFlags = state.portals.uiFlags.byId[portalId];\n if (uiFlags) return uiFlags;\n return { isFetching: false, isUpdating: false, isDeleting: false };\n },\n\n isFetchingPortals: state => state.uiFlags.isFetching,\n portalBySlug:\n (...getterArguments) =>\n portalId => {\n const [state] = getterArguments;\n const portal = state.portals.byId[portalId];\n\n return portal;\n },\n allPortals: (...getterArguments) => {\n const [state, _getters] = getterArguments;\n const portals = state.portals.allIds.map(id => {\n return _getters.portalBySlug(id);\n });\n return portals;\n },\n count: state => state.portals.allIds.length || 0,\n getMeta: state => state.meta,\n};\n","import Vue from 'vue';\nimport { defaultPortalFlags } from './index';\n\nexport const types = {\n SET_UI_FLAG: 'setUIFlag',\n ADD_PORTAL_ENTRY: 'addPortalEntry',\n SET_PORTALS_META: 'setPortalsMeta',\n ADD_MANY_PORTALS_ENTRY: 'addManyPortalsEntry',\n ADD_PORTAL_ID: 'addPortalId',\n CLEAR_PORTALS: 'clearPortals',\n ADD_MANY_PORTALS_IDS: 'addManyPortalsIds',\n UPDATE_PORTAL_ENTRY: 'updatePortalEntry',\n REMOVE_PORTAL_ENTRY: 'removePortalEntry',\n REMOVE_PORTAL_ID: 'removePortalId',\n SET_HELP_PORTAL_UI_FLAG: 'setHelpCenterUIFlag',\n};\n\nexport const mutations = {\n [types.SET_UI_FLAG]($state, uiFlags) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...uiFlags,\n };\n },\n\n [types.ADD_PORTAL_ENTRY]($state, portal) {\n Vue.set($state.portals.byId, portal.slug, {\n ...portal,\n });\n },\n\n [types.ADD_MANY_PORTALS_ENTRY]($state, portals) {\n const allPortals = { ...$state.portals.byId };\n portals.forEach(portal => {\n allPortals[portal.slug] = portal;\n });\n Vue.set($state.portals, 'byId', allPortals);\n },\n\n [types.CLEAR_PORTALS]: $state => {\n Vue.set($state.portals, 'byId', {});\n Vue.set($state.portals, 'allIds', []);\n Vue.set($state.portals.uiFlags, 'byId', {});\n },\n\n [types.SET_PORTALS_META]: ($state, data) => {\n const {\n all_articles_count: allArticlesCount = 0,\n mine_articles_count: mineArticlesCount = 0,\n draft_articles_count: draftArticlesCount = 0,\n archived_articles_count: archivedArticlesCount = 0,\n } = data;\n Vue.set($state.meta, 'allArticlesCount', allArticlesCount);\n Vue.set($state.meta, 'archivedArticlesCount', archivedArticlesCount);\n Vue.set($state.meta, 'mineArticlesCount', mineArticlesCount);\n Vue.set($state.meta, 'draftArticlesCount', draftArticlesCount);\n },\n\n [types.ADD_PORTAL_ID]($state, portalSlug) {\n $state.portals.allIds.push(portalSlug);\n },\n\n [types.ADD_MANY_PORTALS_IDS]($state, portalSlugs) {\n $state.portals.allIds.push(...portalSlugs);\n },\n\n [types.UPDATE_PORTAL_ENTRY]($state, portal) {\n const portalSlug = portal.slug;\n if (!$state.portals.allIds.includes(portalSlug)) return;\n\n Vue.set($state.portals.byId, portalSlug, {\n ...portal,\n });\n },\n\n [types.REMOVE_PORTAL_ENTRY]($state, portalSlug) {\n if (!portalSlug) return;\n\n const { [portalSlug]: toBeRemoved, ...newById } = $state.portals.byId;\n Vue.set($state.portals, 'byId', newById);\n },\n\n [types.REMOVE_PORTAL_ID]($state, portalSlug) {\n $state.portals.allIds = $state.portals.allIds.filter(\n slug => slug !== portalSlug\n );\n },\n\n [types.SET_HELP_PORTAL_UI_FLAG]($state, { portalSlug, uiFlags }) {\n const flags = $state.portals.uiFlags.byId[portalSlug];\n Vue.set($state.portals.uiFlags.byId, portalSlug, {\n ...defaultPortalFlags,\n ...flags,\n ...uiFlags,\n });\n },\n};\n","import PortalAPI from 'dashboard/api/helpCenter/portals';\nimport { throwErrorMessage } from 'dashboard/store/utils/api';\nimport { types } from './mutations';\nconst portalAPIs = new PortalAPI();\n\nexport const actions = {\n index: async ({ commit }) => {\n try {\n commit(types.SET_UI_FLAG, { isFetching: true });\n const {\n data: { payload },\n } = await portalAPIs.get();\n commit(types.CLEAR_PORTALS);\n const portalSlugs = payload.map(portal => portal.slug);\n commit(types.ADD_MANY_PORTALS_ENTRY, payload);\n commit(types.ADD_MANY_PORTALS_IDS, portalSlugs);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_UI_FLAG, { isFetching: false });\n }\n },\n\n show: async ({ commit }, { portalSlug, locale }) => {\n commit(types.SET_UI_FLAG, { isFetchingItem: true });\n try {\n const response = await portalAPIs.getPortal({ portalSlug, locale });\n const {\n data: { meta },\n } = response;\n commit(types.SET_PORTALS_META, meta);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_UI_FLAG, { isFetchingItem: false });\n }\n },\n\n create: async ({ commit }, params) => {\n commit(types.SET_UI_FLAG, { isCreating: true });\n try {\n const { data } = await portalAPIs.create(params);\n const { slug: portalSlug } = data;\n commit(types.ADD_PORTAL_ENTRY, data);\n commit(types.ADD_PORTAL_ID, portalSlug);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_UI_FLAG, { isCreating: false });\n }\n },\n\n update: async ({ commit }, { portalSlug, ...portalObj }) => {\n commit(types.SET_HELP_PORTAL_UI_FLAG, {\n uiFlags: { isUpdating: true },\n portalSlug,\n });\n try {\n const { data } = await portalAPIs.updatePortal({\n portalSlug,\n portalObj,\n });\n commit(types.UPDATE_PORTAL_ENTRY, data);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_HELP_PORTAL_UI_FLAG, {\n uiFlags: { isUpdating: false },\n portalSlug,\n });\n }\n },\n\n delete: async ({ commit }, { portalSlug }) => {\n commit(types.SET_HELP_PORTAL_UI_FLAG, {\n uiFlags: { isDeleting: true },\n portalSlug,\n });\n try {\n await portalAPIs.delete(portalSlug);\n commit(types.REMOVE_PORTAL_ENTRY, portalSlug);\n commit(types.REMOVE_PORTAL_ID, portalSlug);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_HELP_PORTAL_UI_FLAG, {\n uiFlags: { isDeleting: false },\n portalSlug,\n });\n }\n },\n\n deleteLogo: async ({ commit }, { portalSlug }) => {\n commit(types.SET_HELP_PORTAL_UI_FLAG, {\n uiFlags: { isUpdating: true },\n portalSlug,\n });\n try {\n await portalAPIs.deleteLogo(portalSlug);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_HELP_PORTAL_UI_FLAG, {\n uiFlags: { isUpdating: false },\n portalSlug,\n });\n }\n },\n\n updatePortal: async ({ commit }, portal) => {\n commit(types.UPDATE_PORTAL_ENTRY, portal);\n },\n};\n","import { getters } from './getters';\nimport { actions } from './actions';\nimport { mutations } from './mutations';\n\nexport const defaultPortalFlags = {\n isFetching: false,\n isUpdating: false,\n isDeleting: false,\n};\n\nconst state = {\n meta: {\n allArticlesCount: 0,\n mineArticlesCount: 0,\n draftArticlesCount: 0,\n archivedArticlesCount: 0,\n },\n\n portals: {\n byId: {},\n allIds: [],\n uiFlags: {\n byId: {\n // 1: { isFetching: false, isUpdating: false, isDeleting: false },\n },\n },\n meta: {\n byId: {},\n },\n },\n uiFlags: {\n allFetched: false,\n isFetching: false,\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","/* eslint no-console: 0 */\nimport * as types from '../mutation-types';\nimport Report from '../../api/reports';\nimport { downloadCsvFile, generateFileName } from '../../helper/downloadHelper';\nimport AnalyticsHelper from '../../helper/AnalyticsHelper';\nimport { REPORTS_EVENTS } from '../../helper/AnalyticsHelper/events';\nimport {\n reconcileHeatmapData,\n clampDataBetweenTimeline,\n} from 'shared/helpers/ReportsDataHelper';\n\nconst state = {\n fetchingStatus: false,\n accountReport: {\n isFetching: {\n conversations_count: false,\n incoming_messages_count: false,\n outgoing_messages_count: false,\n avg_first_response_time: false,\n avg_resolution_time: false,\n resolutions_count: false,\n bot_resolutions_count: false,\n bot_handoffs_count: false,\n reply_time: false,\n },\n data: {\n conversations_count: [],\n incoming_messages_count: [],\n outgoing_messages_count: [],\n avg_first_response_time: [],\n avg_resolution_time: [],\n resolutions_count: [],\n bot_resolutions_count: [],\n bot_handoffs_count: [],\n reply_time: [],\n },\n },\n accountSummary: {\n avg_first_response_time: 0,\n avg_resolution_time: 0,\n conversations_count: 0,\n incoming_messages_count: 0,\n outgoing_messages_count: 0,\n reply_time: 0,\n resolutions_count: 0,\n bot_resolutions_count: 0,\n bot_handoffs_count: 0,\n previous: {},\n },\n botSummary: {\n bot_resolutions_count: 0,\n bot_handoffs_count: 0,\n previous: {},\n },\n overview: {\n uiFlags: {\n isFetchingAccountConversationMetric: false,\n isFetchingAccountConversationsHeatmap: false,\n isFetchingAgentConversationMetric: false,\n },\n accountConversationMetric: {},\n accountConversationHeatmap: [],\n agentConversationMetric: [],\n },\n};\n\nconst getters = {\n getAccountReports(_state) {\n return _state.accountReport;\n },\n getAccountSummary(_state) {\n return _state.accountSummary;\n },\n getBotSummary(_state) {\n return _state.botSummary;\n },\n getAccountConversationMetric(_state) {\n return _state.overview.accountConversationMetric;\n },\n getAccountConversationHeatmapData(_state) {\n return _state.overview.accountConversationHeatmap;\n },\n getAgentConversationMetric(_state) {\n return _state.overview.agentConversationMetric;\n },\n getOverviewUIFlags($state) {\n return $state.overview.uiFlags;\n },\n};\n\nexport const actions = {\n fetchAccountReport({ commit }, reportObj) {\n const { metric } = reportObj;\n commit(types.default.TOGGLE_ACCOUNT_REPORT_LOADING, {\n metric,\n value: true,\n });\n Report.getReports(reportObj).then(accountReport => {\n let { data } = accountReport;\n data = clampDataBetweenTimeline(data, reportObj.from, reportObj.to);\n commit(types.default.SET_ACCOUNT_REPORTS, {\n metric,\n data,\n });\n commit(types.default.TOGGLE_ACCOUNT_REPORT_LOADING, {\n metric,\n value: false,\n });\n });\n },\n fetchAccountConversationHeatmap({ commit }, reportObj) {\n commit(types.default.TOGGLE_HEATMAP_LOADING, true);\n Report.getReports({ ...reportObj, groupBy: 'hour' }).then(heatmapData => {\n let { data } = heatmapData;\n data = clampDataBetweenTimeline(data, reportObj.from, reportObj.to);\n\n data = reconcileHeatmapData(\n data,\n state.overview.accountConversationHeatmap\n );\n\n commit(types.default.SET_HEATMAP_DATA, data);\n commit(types.default.TOGGLE_HEATMAP_LOADING, false);\n });\n },\n fetchAccountSummary({ commit }, reportObj) {\n Report.getSummary(\n reportObj.from,\n reportObj.to,\n reportObj.type,\n reportObj.id,\n reportObj.groupBy,\n reportObj.businessHours\n )\n .then(accountSummary => {\n commit(types.default.SET_ACCOUNT_SUMMARY, accountSummary.data);\n })\n .catch(() => {\n commit(types.default.TOGGLE_ACCOUNT_REPORT_LOADING, false);\n });\n },\n fetchBotSummary({ commit }, reportObj) {\n Report.getBotSummary({\n from: reportObj.from,\n to: reportObj.to,\n groupBy: reportObj.groupBy,\n businessHours: reportObj.businessHours,\n })\n .then(botSummary => {\n commit(types.default.SET_BOT_SUMMARY, botSummary.data);\n })\n .catch(() => {\n commit(types.default.TOGGLE_ACCOUNT_REPORT_LOADING, false);\n });\n },\n fetchAccountConversationMetric({ commit }, reportObj) {\n commit(types.default.TOGGLE_ACCOUNT_CONVERSATION_METRIC_LOADING, true);\n Report.getConversationMetric(reportObj.type)\n .then(accountConversationMetric => {\n commit(\n types.default.SET_ACCOUNT_CONVERSATION_METRIC,\n accountConversationMetric.data\n );\n commit(types.default.TOGGLE_ACCOUNT_CONVERSATION_METRIC_LOADING, false);\n })\n .catch(() => {\n commit(types.default.TOGGLE_ACCOUNT_CONVERSATION_METRIC_LOADING, false);\n });\n },\n fetchAgentConversationMetric({ commit }, reportObj) {\n commit(types.default.TOGGLE_AGENT_CONVERSATION_METRIC_LOADING, true);\n Report.getConversationMetric(reportObj.type, reportObj.page)\n .then(agentConversationMetric => {\n commit(\n types.default.SET_AGENT_CONVERSATION_METRIC,\n agentConversationMetric.data\n );\n commit(types.default.TOGGLE_AGENT_CONVERSATION_METRIC_LOADING, false);\n })\n .catch(() => {\n commit(types.default.TOGGLE_AGENT_CONVERSATION_METRIC_LOADING, false);\n });\n },\n downloadAgentReports(_, reportObj) {\n return Report.getAgentReports(reportObj)\n .then(response => {\n downloadCsvFile(reportObj.fileName, response.data);\n AnalyticsHelper.track(REPORTS_EVENTS.DOWNLOAD_REPORT, {\n reportType: 'agent',\n businessHours: reportObj?.businessHours,\n });\n })\n .catch(error => {\n console.error(error);\n });\n },\n downloadLabelReports(_, reportObj) {\n return Report.getLabelReports(reportObj)\n .then(response => {\n downloadCsvFile(reportObj.fileName, response.data);\n AnalyticsHelper.track(REPORTS_EVENTS.DOWNLOAD_REPORT, {\n reportType: 'label',\n businessHours: reportObj?.businessHours,\n });\n })\n .catch(error => {\n console.error(error);\n });\n },\n downloadInboxReports(_, reportObj) {\n return Report.getInboxReports(reportObj)\n .then(response => {\n downloadCsvFile(reportObj.fileName, response.data);\n AnalyticsHelper.track(REPORTS_EVENTS.DOWNLOAD_REPORT, {\n reportType: 'inbox',\n businessHours: reportObj?.businessHours,\n });\n })\n .catch(error => {\n console.error(error);\n });\n },\n downloadTeamReports(_, reportObj) {\n return Report.getTeamReports(reportObj)\n .then(response => {\n downloadCsvFile(reportObj.fileName, response.data);\n AnalyticsHelper.track(REPORTS_EVENTS.DOWNLOAD_REPORT, {\n reportType: 'team',\n businessHours: reportObj?.businessHours,\n });\n })\n .catch(error => {\n console.error(error);\n });\n },\n downloadAccountConversationHeatmap(_, reportObj) {\n Report.getConversationTrafficCSV()\n .then(response => {\n downloadCsvFile(\n generateFileName({\n type: 'Conversation traffic',\n to: reportObj.to,\n }),\n response.data\n );\n\n AnalyticsHelper.track(REPORTS_EVENTS.DOWNLOAD_REPORT, {\n reportType: 'conversation_heatmap',\n businessHours: false,\n });\n })\n .catch(error => {\n console.error(error);\n });\n },\n};\n\nconst mutations = {\n [types.default.SET_ACCOUNT_REPORTS](_state, { metric, data }) {\n _state.accountReport.data[metric] = data;\n },\n [types.default.SET_HEATMAP_DATA](_state, heatmapData) {\n _state.overview.accountConversationHeatmap = heatmapData;\n },\n [types.default.TOGGLE_ACCOUNT_REPORT_LOADING](_state, { metric, value }) {\n _state.accountReport.isFetching[metric] = value;\n },\n [types.default.TOGGLE_HEATMAP_LOADING](_state, flag) {\n _state.overview.uiFlags.isFetchingAccountConversationsHeatmap = flag;\n },\n [types.default.SET_ACCOUNT_SUMMARY](_state, summaryData) {\n _state.accountSummary = summaryData;\n },\n [types.default.SET_BOT_SUMMARY](_state, summaryData) {\n _state.botSummary = summaryData;\n },\n [types.default.SET_ACCOUNT_CONVERSATION_METRIC](_state, metricData) {\n _state.overview.accountConversationMetric = metricData;\n },\n [types.default.TOGGLE_ACCOUNT_CONVERSATION_METRIC_LOADING](_state, flag) {\n _state.overview.uiFlags.isFetchingAccountConversationMetric = flag;\n },\n [types.default.SET_AGENT_CONVERSATION_METRIC](_state, metricData) {\n _state.overview.agentConversationMetric = metricData;\n },\n [types.default.TOGGLE_AGENT_CONVERSATION_METRIC_LOADING](_state, flag) {\n _state.overview.uiFlags.isFetchingAgentConversationMetric = flag;\n },\n};\n\nexport default {\n state,\n getters,\n actions,\n mutations,\n};\n","import ApiClient from './ApiClient';\n\nclass SlaAPI extends ApiClient {\n constructor() {\n super('sla_policies', { accountScoped: true });\n }\n}\n\nexport default new SlaAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport SlaAPI from '../../api/sla';\nimport AnalyticsHelper from '../../helper/AnalyticsHelper';\nimport { SLA_EVENTS } from '../../helper/AnalyticsHelper/events';\nimport { throwErrorMessage } from '../utils/api';\n\nexport const state = {\n records: [],\n uiFlags: {\n isFetching: false,\n isFetchingItem: false,\n isCreating: false,\n isDeleting: false,\n },\n};\n\nexport const getters = {\n getSLA(_state) {\n return _state.records;\n },\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n};\n\nexport const actions = {\n get: async function get({ commit }) {\n commit(types.SET_SLA_UI_FLAG, { isFetching: true });\n try {\n const response = await SlaAPI.get();\n commit(types.SET_SLA, response.data.payload);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_SLA_UI_FLAG, { isFetching: false });\n }\n },\n\n create: async function create({ commit }, slaObj) {\n commit(types.SET_SLA_UI_FLAG, { isCreating: true });\n try {\n const response = await SlaAPI.create(slaObj);\n AnalyticsHelper.track(SLA_EVENTS.CREATE);\n commit(types.ADD_SLA, response.data.payload);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_SLA_UI_FLAG, { isCreating: false });\n }\n },\n\n delete: async function deleteSla({ commit }, id) {\n commit(types.SET_SLA_UI_FLAG, { isDeleting: true });\n try {\n await SlaAPI.delete(id);\n AnalyticsHelper.track(SLA_EVENTS.DELETED);\n commit(types.DELETE_SLA, id);\n } catch (error) {\n throwErrorMessage(error);\n } finally {\n commit(types.SET_SLA_UI_FLAG, { isDeleting: false });\n }\n },\n};\n\nexport const mutations = {\n [types.SET_SLA_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.SET_SLA]: MutationHelpers.set,\n [types.ADD_SLA]: MutationHelpers.create,\n [types.DELETE_SLA]: MutationHelpers.destroy,\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","/* global axios */\n// import ApiClient from './ApiClient';\nimport CacheEnabledApiClient from './CacheEnabledApiClient';\n\nexport class TeamsAPI extends CacheEnabledApiClient {\n constructor() {\n super('teams', { accountScoped: true });\n }\n\n // eslint-disable-next-line class-methods-use-this\n get cacheModelName() {\n return 'team';\n }\n\n // eslint-disable-next-line class-methods-use-this\n extractDataFromResponse(response) {\n return response.data;\n }\n\n // eslint-disable-next-line class-methods-use-this\n marshallData(dataToParse) {\n return { data: dataToParse };\n }\n\n getAgents({ teamId }) {\n return axios.get(`${this.url}/${teamId}/team_members`);\n }\n\n addAgents({ teamId, agentsList }) {\n return axios.post(`${this.url}/${teamId}/team_members`, {\n user_ids: agentsList,\n });\n }\n\n updateAgents({ teamId, agentsList }) {\n return axios.patch(`${this.url}/${teamId}/team_members`, {\n user_ids: agentsList,\n });\n }\n}\n\nexport default new TeamsAPI();\n","import Vue from 'vue';\nimport TeamsAPI from '../../api/teams';\n\nexport const SET_TEAM_MEMBERS_UI_FLAG = 'SET_TEAM_MEMBERS_UI_FLAG';\nexport const ADD_AGENTS_TO_TEAM = 'ADD_AGENTS_TO_TEAM';\n\nexport const state = {\n records: {},\n uiFlags: {\n isFetching: false,\n isCreating: false,\n isUpdating: false,\n isDeleting: false,\n },\n};\n\nexport const getters = {\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n getTeamMembers: $state => id => {\n return $state.records[id] || [];\n },\n};\n\nexport const actions = {\n get: async ({ commit }, { teamId }) => {\n commit(SET_TEAM_MEMBERS_UI_FLAG, { isFetching: true });\n try {\n const { data } = await TeamsAPI.getAgents({ teamId });\n commit(ADD_AGENTS_TO_TEAM, { data, teamId });\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(SET_TEAM_MEMBERS_UI_FLAG, { isFetching: false });\n }\n },\n create: async ({ commit }, { agentsList, teamId }) => {\n commit(SET_TEAM_MEMBERS_UI_FLAG, { isCreating: true });\n try {\n const { data } = await TeamsAPI.addAgents({ agentsList, teamId });\n commit(ADD_AGENTS_TO_TEAM, { teamId, data });\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(SET_TEAM_MEMBERS_UI_FLAG, { isCreating: false });\n }\n },\n update: async ({ commit }, { agentsList, teamId }) => {\n commit(SET_TEAM_MEMBERS_UI_FLAG, { isUpdating: true });\n try {\n const response = await TeamsAPI.updateAgents({\n agentsList,\n teamId,\n });\n commit(ADD_AGENTS_TO_TEAM, response);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(SET_TEAM_MEMBERS_UI_FLAG, { isUpdating: false });\n }\n },\n};\n\nexport const mutations = {\n [SET_TEAM_MEMBERS_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n [ADD_AGENTS_TO_TEAM]($state, { data, teamId }) {\n Vue.set($state.records, teamId, data);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","export const getters = {\n getTeams($state) {\n return Object.values($state.records).sort((a, b) => a.id - b.id);\n },\n getMyTeams($state, $getters) {\n return $getters.getTeams.filter(team => {\n const { is_member: isMember } = team;\n return isMember;\n });\n },\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getTeam: $state => id => {\n const team = $state.records[id];\n return team || {};\n },\n};\n","export const SET_TEAM_UI_FLAG = 'SET_TEAM_UI_FLAG';\nexport const CLEAR_TEAMS = 'CLEAR_TEAMS';\nexport const SET_TEAMS = 'SET_TEAMS';\nexport const SET_TEAM_ITEM = 'SET_TEAM_ITEM';\nexport const EDIT_TEAM = 'EDIT_TEAM';\nexport const DELETE_TEAM = 'DELETE_TEAM';\nexport const ADD_AGENTS_TO_TEAM = 'ADD_AGENTS_TO_TEAM';\nexport const UPDATE_TEAMS_PRESENCE = 'UPDATE_TEAMS_PRESENCE';\n","import { getters } from './getters';\nimport { actions } from './actions';\nimport { mutations } from './mutations';\n\nconst state = {\n meta: {},\n records: {},\n uiFlags: {\n isFetching: false,\n isCreating: false,\n isUpdating: false,\n isDeleting: false,\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import {\n SET_TEAM_UI_FLAG,\n CLEAR_TEAMS,\n SET_TEAMS,\n SET_TEAM_ITEM,\n EDIT_TEAM,\n DELETE_TEAM,\n} from './types';\nimport TeamsAPI from '../../../api/teams';\n\nexport const actions = {\n create: async ({ commit }, teamInfo) => {\n commit(SET_TEAM_UI_FLAG, { isCreating: true });\n try {\n const response = await TeamsAPI.create(teamInfo);\n const team = response.data;\n commit(SET_TEAM_ITEM, team);\n return team;\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(SET_TEAM_UI_FLAG, { isCreating: false });\n }\n },\n revalidate: async ({ commit }, { newKey }) => {\n try {\n const isExistingKeyValid = await TeamsAPI.validateCacheKey(newKey);\n if (!isExistingKeyValid) {\n const response = await TeamsAPI.refetchAndCommit(newKey);\n commit(SET_TEAMS, response.data);\n }\n } catch (error) {\n // Ignore error\n }\n },\n get: async ({ commit }) => {\n commit(SET_TEAM_UI_FLAG, { isFetching: true });\n try {\n const { data } = await TeamsAPI.get(true);\n commit(CLEAR_TEAMS);\n commit(SET_TEAMS, data);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(SET_TEAM_UI_FLAG, { isFetching: false });\n }\n },\n\n show: async ({ commit }, { id }) => {\n commit(SET_TEAM_UI_FLAG, { isFetchingItem: true });\n try {\n const response = await TeamsAPI.show(id);\n commit(SET_TEAM_ITEM, response.data.payload);\n commit(SET_TEAM_UI_FLAG, {\n isFetchingItem: false,\n });\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(SET_TEAM_UI_FLAG, {\n isFetchingItem: false,\n });\n }\n },\n\n update: async ({ commit }, { id, ...updateObj }) => {\n commit(SET_TEAM_UI_FLAG, { isUpdating: true });\n try {\n const response = await TeamsAPI.update(id, updateObj);\n commit(EDIT_TEAM, response.data);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(SET_TEAM_UI_FLAG, { isUpdating: false });\n }\n },\n\n delete: async ({ commit }, teamId) => {\n commit(SET_TEAM_UI_FLAG, { isDeleting: true });\n try {\n await TeamsAPI.delete(teamId);\n commit(DELETE_TEAM, teamId);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(SET_TEAM_UI_FLAG, { isDeleting: false });\n }\n },\n};\n","import Vue from 'vue';\nimport {\n SET_TEAM_UI_FLAG,\n CLEAR_TEAMS,\n SET_TEAMS,\n SET_TEAM_ITEM,\n EDIT_TEAM,\n DELETE_TEAM,\n} from './types';\n\nexport const mutations = {\n [SET_TEAM_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n\n [CLEAR_TEAMS]: $state => {\n Vue.set($state, 'records', {});\n },\n\n [SET_TEAMS]: ($state, data) => {\n data.forEach(team => {\n Vue.set($state.records, team.id, {\n ...($state.records[team.id] || {}),\n ...team,\n });\n });\n },\n\n [SET_TEAM_ITEM]: ($state, data) => {\n Vue.set($state.records, data.id, {\n ...($state.records[data.id] || {}),\n ...data,\n });\n },\n\n [EDIT_TEAM]: ($state, data) => {\n Vue.set($state.records, data.id, data);\n },\n\n [DELETE_TEAM]: ($state, teamId) => {\n const { [teamId]: toDelete, ...records } = $state.records;\n Vue.set($state, 'records', records);\n },\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass UserNotificationSettings extends ApiClient {\n constructor() {\n super('notification_settings', { accountScoped: true });\n }\n\n update(params) {\n return axios.patch(`${this.url}`, params);\n }\n}\n\nexport default new UserNotificationSettings();\n","import Vue from 'vue';\nimport * as types from '../mutation-types';\nimport UserNotificationSettings from '../../api/userNotificationSettings';\n\nconst state = {\n record: {},\n uiFlags: {\n isFetching: false,\n isUpdating: false,\n },\n};\n\nexport const getters = {\n getUIFlags($state) {\n return $state.uiFlags;\n },\n getSelectedEmailFlags: $state => {\n return $state.record.selected_email_flags;\n },\n getSelectedPushFlags: $state => {\n return $state.record.selected_push_flags;\n },\n};\n\nexport const actions = {\n get: async ({ commit }) => {\n commit(types.default.SET_USER_NOTIFICATION_UI_FLAG, { isFetching: true });\n try {\n const response = await UserNotificationSettings.get();\n commit(types.default.SET_USER_NOTIFICATION, response.data);\n commit(types.default.SET_USER_NOTIFICATION_UI_FLAG, {\n isFetching: false,\n });\n } catch (error) {\n commit(types.default.SET_USER_NOTIFICATION_UI_FLAG, {\n isFetching: false,\n });\n }\n },\n\n update: async ({ commit }, { selectedEmailFlags, selectedPushFlags }) => {\n commit(types.default.SET_USER_NOTIFICATION_UI_FLAG, { isUpdating: true });\n try {\n const response = await UserNotificationSettings.update({\n notification_settings: {\n selected_email_flags: selectedEmailFlags,\n selected_push_flags: selectedPushFlags,\n },\n });\n commit(types.default.SET_USER_NOTIFICATION, response.data);\n commit(types.default.SET_USER_NOTIFICATION_UI_FLAG, {\n isUpdating: false,\n });\n } catch (error) {\n commit(types.default.SET_USER_NOTIFICATION_UI_FLAG, {\n isUpdating: false,\n });\n throw error;\n }\n },\n};\n\nexport const mutations = {\n [types.default.SET_USER_NOTIFICATION_UI_FLAG]($state, data) {\n $state.uiFlags = {\n ...$state.uiFlags,\n ...data,\n };\n },\n [types.default.SET_USER_NOTIFICATION]: ($state, data) => {\n Vue.set($state, 'record', data);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import ApiClient from './ApiClient';\n\nclass WebHooks extends ApiClient {\n constructor() {\n super('webhooks', { accountScoped: true });\n }\n}\n\nexport default new WebHooks();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport * as types from '../mutation-types';\nimport webHookAPI from '../../api/webhooks';\n\nconst state = {\n records: [],\n uiFlags: {\n fetchingList: false,\n creatingItem: false,\n deletingItem: false,\n updatingItem: false,\n },\n};\n\nexport const getters = {\n getWebhooks(_state) {\n return _state.records.sort((w1, w2) => w1.id - w2.id);\n },\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n};\n\nexport const actions = {\n async get({ commit }) {\n commit(types.default.SET_WEBHOOK_UI_FLAG, { fetchingList: true });\n try {\n const response = await webHookAPI.get();\n commit(types.default.SET_WEBHOOK, response.data.payload.webhooks);\n commit(types.default.SET_WEBHOOK_UI_FLAG, { fetchingList: false });\n } catch (error) {\n commit(types.default.SET_WEBHOOK_UI_FLAG, { fetchingList: false });\n }\n },\n\n async create({ commit }, params) {\n commit(types.default.SET_WEBHOOK_UI_FLAG, { creatingItem: true });\n try {\n const response = await webHookAPI.create(params);\n const {\n payload: { webhook },\n } = response.data;\n commit(types.default.ADD_WEBHOOK, webhook);\n commit(types.default.SET_WEBHOOK_UI_FLAG, { creatingItem: false });\n } catch (error) {\n commit(types.default.SET_WEBHOOK_UI_FLAG, { creatingItem: false });\n throw error;\n }\n },\n\n update: async ({ commit }, { id, ...updateObj }) => {\n commit(types.default.SET_WEBHOOK_UI_FLAG, { updatingItem: true });\n try {\n const response = await webHookAPI.update(id, updateObj);\n commit(types.default.UPDATE_WEBHOOK, response.data.payload.webhook);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.default.SET_WEBHOOK_UI_FLAG, { updatingItem: false });\n }\n },\n\n async delete({ commit }, id) {\n commit(types.default.SET_WEBHOOK_UI_FLAG, { deletingItem: true });\n try {\n await webHookAPI.delete(id);\n commit(types.default.DELETE_WEBHOOK, id);\n commit(types.default.SET_WEBHOOK_UI_FLAG, { deletingItem: false });\n } catch (error) {\n commit(types.default.SET_WEBHOOK_UI_FLAG, { deletingItem: false });\n throw error;\n }\n },\n};\n\nexport const mutations = {\n [types.default.SET_WEBHOOK_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n [types.default.SET_WEBHOOK]: MutationHelpers.set,\n [types.default.ADD_WEBHOOK]: MutationHelpers.create,\n [types.default.DELETE_WEBHOOK]: MutationHelpers.destroy,\n [types.default.UPDATE_WEBHOOK]: MutationHelpers.update,\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport types from '../mutation-types';\n\nimport { REPLY_EDITOR_MODES } from 'dashboard/components/widgets/WootWriter/constants';\nimport { LocalStorage } from 'shared/helpers/localStorage';\nimport { LOCAL_STORAGE_KEYS } from 'dashboard/constants/localStorage';\n\nconst state = {\n records: LocalStorage.get(LOCAL_STORAGE_KEYS.DRAFT_MESSAGES) || {},\n replyEditorMode: REPLY_EDITOR_MODES.REPLY,\n};\n\nexport const getters = {\n get: _state => key => {\n return _state.records[key] || '';\n },\n getReplyEditorMode: _state => _state.replyEditorMode,\n};\n\nexport const actions = {\n set: async ({ commit }, { key, message }) => {\n commit(types.SET_DRAFT_MESSAGES, { key, message });\n },\n delete: ({ commit }, { key }) => {\n commit(types.SET_DRAFT_MESSAGES, { key });\n },\n setReplyEditorMode: ({ commit }, { mode }) => {\n commit(types.SET_REPLY_EDITOR_MODE, { mode });\n },\n};\n\nexport const mutations = {\n [types.SET_DRAFT_MESSAGES]($state, { key, message }) {\n Vue.set($state.records, key, message);\n LocalStorage.set(LOCAL_STORAGE_KEYS.DRAFT_MESSAGES, $state.records);\n },\n [types.REMOVE_DRAFT_MESSAGES]($state, { key }) {\n const { [key]: draftToBeRemoved, ...updatedRecords } = $state.records;\n Vue.set($state, 'records', updatedRecords);\n LocalStorage.set(LOCAL_STORAGE_KEYS.DRAFT_MESSAGES, $state.records);\n },\n [types.SET_REPLY_EDITOR_MODE]($state, { mode }) {\n Vue.set($state, 'replyEditorMode', mode);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","/* global axios */\nimport ApiClient from './ApiClient';\n\nclass SLAReportsAPI extends ApiClient {\n constructor() {\n super('applied_slas', { accountScoped: true });\n }\n\n get({\n from,\n to,\n assigned_agent_id,\n inbox_id,\n team_id,\n sla_policy_id,\n label_list,\n page,\n } = {}) {\n return axios.get(this.url, {\n params: {\n since: from,\n until: to,\n assigned_agent_id,\n inbox_id,\n team_id,\n sla_policy_id,\n label_list,\n page,\n },\n });\n }\n\n download({\n from,\n to,\n assigned_agent_id,\n inbox_id,\n team_id,\n sla_policy_id,\n label_list,\n } = {}) {\n return axios.get(`${this.url}/download`, {\n params: {\n since: from,\n until: to,\n assigned_agent_id,\n inbox_id,\n team_id,\n label_list,\n sla_policy_id,\n },\n });\n }\n\n getMetrics({\n from,\n to,\n assigned_agent_id,\n inbox_id,\n team_id,\n label_list,\n sla_policy_id,\n } = {}) {\n return axios.get(`${this.url}/metrics`, {\n params: {\n since: from,\n until: to,\n assigned_agent_id,\n inbox_id,\n label_list,\n team_id,\n sla_policy_id,\n },\n });\n }\n}\n\nexport default new SLAReportsAPI();\n","import * as MutationHelpers from 'shared/helpers/vuex/mutationHelpers';\nimport types from '../mutation-types';\nimport SLAReportsAPI from '../../api/slaReports';\nimport { downloadCsvFile } from 'dashboard/helper/downloadHelper';\nexport const state = {\n records: [],\n metrics: {\n numberOfConversations: 0,\n numberOfSLAMisses: 0,\n hitRate: '0%',\n },\n uiFlags: {\n isFetching: false,\n isFetchingMetrics: false,\n },\n meta: {\n count: 0,\n currentPage: 1,\n },\n};\n\nexport const getters = {\n getAll(_state) {\n return _state.records;\n },\n getMeta(_state) {\n return _state.meta;\n },\n getMetrics(_state) {\n return _state.metrics;\n },\n getUIFlags(_state) {\n return _state.uiFlags;\n },\n};\n\nexport const actions = {\n get: async function getResponses({ commit }, params) {\n commit(types.SET_SLA_REPORTS_UI_FLAG, { isFetching: true });\n try {\n const response = await SLAReportsAPI.get(params);\n const { payload, meta } = response.data;\n\n commit(types.SET_SLA_REPORTS, payload);\n commit(types.SET_SLA_REPORTS_META, meta);\n } catch (error) {\n throw new Error(error);\n } finally {\n commit(types.SET_SLA_REPORTS_UI_FLAG, { isFetching: false });\n }\n },\n getMetrics: async function getMetrics({ commit }, params) {\n commit(types.SET_SLA_REPORTS_UI_FLAG, { isFetchingMetrics: true });\n try {\n const response = await SLAReportsAPI.getMetrics(params);\n commit(types.SET_SLA_REPORTS_METRICS, response.data);\n } catch (error) {\n // Ignore error\n } finally {\n commit(types.SET_SLA_REPORTS_UI_FLAG, { isFetchingMetrics: false });\n }\n },\n download(_, params) {\n return SLAReportsAPI.download(params).then(response => {\n downloadCsvFile(params.fileName, response.data);\n });\n },\n};\n\nexport const mutations = {\n [types.SET_SLA_REPORTS_UI_FLAG](_state, data) {\n _state.uiFlags = {\n ..._state.uiFlags,\n ...data,\n };\n },\n\n [types.SET_SLA_REPORTS]: MutationHelpers.set,\n [types.SET_SLA_REPORTS_METRICS](\n _state,\n {\n number_of_sla_misses: numberOfSLAMisses,\n hit_rate: hitRate,\n total_applied_slas: numberOfConversations,\n }\n ) {\n _state.metrics = {\n numberOfSLAMisses,\n hitRate,\n numberOfConversations,\n };\n },\n [types.SET_SLA_REPORTS_META](_state, { count, current_page: currentPage }) {\n _state.meta = {\n count,\n currentPage,\n };\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","import Vue from 'vue';\nimport Vuex from 'vuex';\n\nimport accounts from './modules/accounts';\nimport agentBots from './modules/agentBots';\nimport agents from './modules/agents';\nimport articles from './modules/helpCenterArticles';\nimport attributes from './modules/attributes';\nimport auth from './modules/auth';\nimport auditlogs from './modules/auditlogs';\nimport automations from './modules/automations';\nimport bulkActions from './modules/bulkActions';\nimport campaigns from './modules/campaigns';\nimport cannedResponse from './modules/cannedResponse';\nimport categories from './modules/helpCenterCategories';\nimport contactConversations from './modules/contactConversations';\nimport contactLabels from './modules/contactLabels';\nimport contactNotes from './modules/contactNotes';\nimport contacts from './modules/contacts';\nimport conversationLabels from './modules/conversationLabels';\nimport conversationMetadata from './modules/conversationMetadata';\nimport conversationPage from './modules/conversationPage';\nimport conversations from './modules/conversations';\nimport conversationSearch from './modules/conversationSearch';\nimport conversationStats from './modules/conversationStats';\nimport conversationTypingStatus from './modules/conversationTypingStatus';\nimport conversationWatchers from './modules/conversationWatchers';\nimport csat from './modules/csat';\nimport customViews from './modules/customViews';\nimport dashboardApps from './modules/dashboardApps';\nimport globalConfig from 'shared/store/globalConfig';\nimport inboxAssignableAgents from './modules/inboxAssignableAgents';\nimport inboxes from './modules/inboxes';\nimport inboxMembers from './modules/inboxMembers';\nimport integrations from './modules/integrations';\nimport labels from './modules/labels';\nimport macros from './modules/macros';\nimport notifications from './modules/notifications';\nimport portals from './modules/helpCenterPortals';\nimport reports from './modules/reports';\nimport sla from './modules/sla';\nimport teamMembers from './modules/teamMembers';\nimport teams from './modules/teams';\nimport userNotificationSettings from './modules/userNotificationSettings';\nimport webhooks from './modules/webhooks';\nimport draftMessages from './modules/draftMessages';\nimport SLAReports from './modules/SLAReports';\n\nconst plugins = [];\n\nVue.use(Vuex);\nexport default new Vuex.Store({\n modules: {\n accounts,\n agentBots,\n agents,\n articles,\n attributes,\n auth,\n automations,\n auditlogs,\n bulkActions,\n campaigns,\n cannedResponse,\n categories,\n contactConversations,\n contactLabels,\n contactNotes,\n contacts,\n conversationLabels,\n conversationMetadata,\n conversationPage,\n conversations,\n conversationSearch,\n conversationStats,\n conversationTypingStatus,\n conversationWatchers,\n csat,\n customViews,\n dashboardApps,\n globalConfig,\n inboxAssignableAgents,\n inboxes,\n inboxMembers,\n integrations,\n labels,\n macros,\n notifications,\n portals,\n reports,\n teamMembers,\n teams,\n userNotificationSettings,\n webhooks,\n draftMessages,\n sla,\n slaReports: SLAReports,\n },\n plugins,\n});\n","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict';\n\nvar base64 = require('base64-js');\nvar ieee754 = require('ieee754');\nvar isArray = require('isarray');\nexports.Buffer = Buffer;\nexports.SlowBuffer = SlowBuffer;\nexports.INSPECT_MAX_BYTES = 50;\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined ? global.TYPED_ARRAY_SUPPORT : typedArraySupport();\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength();\nfunction typedArraySupport() {\n try {\n var arr = new Uint8Array(1);\n arr.__proto__ = {\n __proto__: Uint8Array.prototype,\n foo: function () {\n return 42;\n }\n };\n return arr.foo() === 42 &&\n // typed array instances can be augmented\n typeof arr.subarray === 'function' &&\n // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0; // ie10 has broken `subarray`\n } catch (e) {\n return false;\n }\n}\nfunction kMaxLength() {\n return Buffer.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff;\n}\nfunction createBuffer(that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length');\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length);\n that.__proto__ = Buffer.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length);\n }\n that.length = length;\n }\n return that;\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer(arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length);\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error('If encoding is specified then the first argument must be a string');\n }\n return allocUnsafe(this, arg);\n }\n return from(this, arg, encodingOrOffset, length);\n}\nBuffer.poolSize = 8192; // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype;\n return arr;\n};\nfunction from(that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number');\n }\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length);\n }\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset);\n }\n return fromObject(that, value);\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length);\n};\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype;\n Buffer.__proto__ = Uint8Array;\n if (typeof Symbol !== 'undefined' && Symbol.species && Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n });\n }\n}\nfunction assertSize(size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number');\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative');\n }\n}\nfunction alloc(that, size, fill, encoding) {\n assertSize(size);\n if (size <= 0) {\n return createBuffer(that, size);\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string' ? createBuffer(that, size).fill(fill, encoding) : createBuffer(that, size).fill(fill);\n }\n return createBuffer(that, size);\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding);\n};\nfunction allocUnsafe(that, size) {\n assertSize(size);\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0);\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0;\n }\n }\n return that;\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size);\n};\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size);\n};\nfunction fromString(that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8';\n }\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding');\n }\n var length = byteLength(string, encoding) | 0;\n that = createBuffer(that, length);\n var actual = that.write(string, encoding);\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual);\n }\n return that;\n}\nfunction fromArrayLike(that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0;\n that = createBuffer(that, length);\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255;\n }\n return that;\n}\nfunction fromArrayBuffer(that, array, byteOffset, length) {\n array.byteLength; // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds');\n }\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds');\n }\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array);\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset);\n } else {\n array = new Uint8Array(array, byteOffset, length);\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array;\n that.__proto__ = Buffer.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array);\n }\n return that;\n}\nfunction fromObject(that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0;\n that = createBuffer(that, len);\n if (that.length === 0) {\n return that;\n }\n obj.copy(that, 0, 0, len);\n return that;\n }\n if (obj) {\n if (typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0);\n }\n return fromArrayLike(that, obj);\n }\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data);\n }\n }\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.');\n}\nfunction checked(length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength().toString(16) + ' bytes');\n }\n return length | 0;\n}\nfunction SlowBuffer(length) {\n if (+length != length) {\n // eslint-disable-line eqeqeq\n length = 0;\n }\n return Buffer.alloc(+length);\n}\nBuffer.isBuffer = function isBuffer(b) {\n return !!(b != null && b._isBuffer);\n};\nBuffer.compare = function compare(a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers');\n }\n if (a === b) return 0;\n var x = a.length;\n var y = b.length;\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i];\n y = b[i];\n break;\n }\n }\n if (x < y) return -1;\n if (y < x) return 1;\n return 0;\n};\nBuffer.isEncoding = function isEncoding(encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true;\n default:\n return false;\n }\n};\nBuffer.concat = function concat(list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers');\n }\n if (list.length === 0) {\n return Buffer.alloc(0);\n }\n var i;\n if (length === undefined) {\n length = 0;\n for (i = 0; i < list.length; ++i) {\n length += list[i].length;\n }\n }\n var buffer = Buffer.allocUnsafe(length);\n var pos = 0;\n for (i = 0; i < list.length; ++i) {\n var buf = list[i];\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers');\n }\n buf.copy(buffer, pos);\n pos += buf.length;\n }\n return buffer;\n};\nfunction byteLength(string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length;\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength;\n }\n if (typeof string !== 'string') {\n string = '' + string;\n }\n var len = string.length;\n if (len === 0) return 0;\n\n // Use a for loop to avoid recursion\n var loweredCase = false;\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len;\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length;\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2;\n case 'hex':\n return len >>> 1;\n case 'base64':\n return base64ToBytes(string).length;\n default:\n if (loweredCase) return utf8ToBytes(string).length; // assume utf8\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n}\nBuffer.byteLength = byteLength;\nfunction slowToString(encoding, start, end) {\n var loweredCase = false;\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0;\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return '';\n }\n if (end === undefined || end > this.length) {\n end = this.length;\n }\n if (end <= 0) {\n return '';\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0;\n start >>>= 0;\n if (end <= start) {\n return '';\n }\n if (!encoding) encoding = 'utf8';\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end);\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end);\n case 'ascii':\n return asciiSlice(this, start, end);\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end);\n case 'base64':\n return base64Slice(this, start, end);\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end);\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding);\n encoding = (encoding + '').toLowerCase();\n loweredCase = true;\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true;\nfunction swap(b, n, m) {\n var i = b[n];\n b[n] = b[m];\n b[m] = i;\n}\nBuffer.prototype.swap16 = function swap16() {\n var len = this.length;\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits');\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1);\n }\n return this;\n};\nBuffer.prototype.swap32 = function swap32() {\n var len = this.length;\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits');\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3);\n swap(this, i + 1, i + 2);\n }\n return this;\n};\nBuffer.prototype.swap64 = function swap64() {\n var len = this.length;\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits');\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7);\n swap(this, i + 1, i + 6);\n swap(this, i + 2, i + 5);\n swap(this, i + 3, i + 4);\n }\n return this;\n};\nBuffer.prototype.toString = function toString() {\n var length = this.length | 0;\n if (length === 0) return '';\n if (arguments.length === 0) return utf8Slice(this, 0, length);\n return slowToString.apply(this, arguments);\n};\nBuffer.prototype.equals = function equals(b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer');\n if (this === b) return true;\n return Buffer.compare(this, b) === 0;\n};\nBuffer.prototype.inspect = function inspect() {\n var str = '';\n var max = exports.INSPECT_MAX_BYTES;\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ');\n if (this.length > max) str += ' ... ';\n }\n return '';\n};\nBuffer.prototype.compare = function compare(target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer');\n }\n if (start === undefined) {\n start = 0;\n }\n if (end === undefined) {\n end = target ? target.length : 0;\n }\n if (thisStart === undefined) {\n thisStart = 0;\n }\n if (thisEnd === undefined) {\n thisEnd = this.length;\n }\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index');\n }\n if (thisStart >= thisEnd && start >= end) {\n return 0;\n }\n if (thisStart >= thisEnd) {\n return -1;\n }\n if (start >= end) {\n return 1;\n }\n start >>>= 0;\n end >>>= 0;\n thisStart >>>= 0;\n thisEnd >>>= 0;\n if (this === target) return 0;\n var x = thisEnd - thisStart;\n var y = end - start;\n var len = Math.min(x, y);\n var thisCopy = this.slice(thisStart, thisEnd);\n var targetCopy = target.slice(start, end);\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i];\n y = targetCopy[i];\n break;\n }\n }\n if (x < y) return -1;\n if (y < x) return 1;\n return 0;\n};\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf(buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1;\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset;\n byteOffset = 0;\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff;\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000;\n }\n byteOffset = +byteOffset; // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : buffer.length - 1;\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset;\n if (byteOffset >= buffer.length) {\n if (dir) return -1;else byteOffset = buffer.length - 1;\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0;else return -1;\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding);\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1;\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir);\n } else if (typeof val === 'number') {\n val = val & 0xFF; // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset);\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset);\n }\n }\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir);\n }\n throw new TypeError('val must be string, number or Buffer');\n}\nfunction arrayIndexOf(arr, val, byteOffset, encoding, dir) {\n var indexSize = 1;\n var arrLength = arr.length;\n var valLength = val.length;\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase();\n if (encoding === 'ucs2' || encoding === 'ucs-2' || encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1;\n }\n indexSize = 2;\n arrLength /= 2;\n valLength /= 2;\n byteOffset /= 2;\n }\n }\n function read(buf, i) {\n if (indexSize === 1) {\n return buf[i];\n } else {\n return buf.readUInt16BE(i * indexSize);\n }\n }\n var i;\n if (dir) {\n var foundIndex = -1;\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i;\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize;\n } else {\n if (foundIndex !== -1) i -= i - foundIndex;\n foundIndex = -1;\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength;\n for (i = byteOffset; i >= 0; i--) {\n var found = true;\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false;\n break;\n }\n }\n if (found) return i;\n }\n }\n return -1;\n}\nBuffer.prototype.includes = function includes(val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1;\n};\nBuffer.prototype.indexOf = function indexOf(val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true);\n};\nBuffer.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false);\n};\nfunction hexWrite(buf, string, offset, length) {\n offset = Number(offset) || 0;\n var remaining = buf.length - offset;\n if (!length) {\n length = remaining;\n } else {\n length = Number(length);\n if (length > remaining) {\n length = remaining;\n }\n }\n\n // must be an even number of digits\n var strLen = string.length;\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string');\n if (length > strLen / 2) {\n length = strLen / 2;\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16);\n if (isNaN(parsed)) return i;\n buf[offset + i] = parsed;\n }\n return i;\n}\nfunction utf8Write(buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length);\n}\nfunction asciiWrite(buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length);\n}\nfunction latin1Write(buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length);\n}\nfunction base64Write(buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length);\n}\nfunction ucs2Write(buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length);\n}\nBuffer.prototype.write = function write(string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8';\n length = this.length;\n offset = 0;\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset;\n length = this.length;\n offset = 0;\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0;\n if (isFinite(length)) {\n length = length | 0;\n if (encoding === undefined) encoding = 'utf8';\n } else {\n encoding = length;\n length = undefined;\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error('Buffer.write(string, encoding, offset[, length]) is no longer supported');\n }\n var remaining = this.length - offset;\n if (length === undefined || length > remaining) length = remaining;\n if (string.length > 0 && (length < 0 || offset < 0) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds');\n }\n if (!encoding) encoding = 'utf8';\n var loweredCase = false;\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length);\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length);\n case 'ascii':\n return asciiWrite(this, string, offset, length);\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length);\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length);\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length);\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding);\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n};\nBuffer.prototype.toJSON = function toJSON() {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n };\n};\nfunction base64Slice(buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf);\n } else {\n return base64.fromByteArray(buf.slice(start, end));\n }\n}\nfunction utf8Slice(buf, start, end) {\n end = Math.min(buf.length, end);\n var res = [];\n var i = start;\n while (i < end) {\n var firstByte = buf[i];\n var codePoint = null;\n var bytesPerSequence = firstByte > 0xEF ? 4 : firstByte > 0xDF ? 3 : firstByte > 0xBF ? 2 : 1;\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint;\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte;\n }\n break;\n case 2:\n secondByte = buf[i + 1];\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | secondByte & 0x3F;\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint;\n }\n }\n break;\n case 3:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | thirdByte & 0x3F;\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint;\n }\n }\n break;\n case 4:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n fourthByte = buf[i + 3];\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | fourthByte & 0x3F;\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint;\n }\n }\n }\n }\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD;\n bytesPerSequence = 1;\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000;\n res.push(codePoint >>> 10 & 0x3FF | 0xD800);\n codePoint = 0xDC00 | codePoint & 0x3FF;\n }\n res.push(codePoint);\n i += bytesPerSequence;\n }\n return decodeCodePointsArray(res);\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000;\nfunction decodeCodePointsArray(codePoints) {\n var len = codePoints.length;\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints); // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = '';\n var i = 0;\n while (i < len) {\n res += String.fromCharCode.apply(String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH));\n }\n return res;\n}\nfunction asciiSlice(buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F);\n }\n return ret;\n}\nfunction latin1Slice(buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i]);\n }\n return ret;\n}\nfunction hexSlice(buf, start, end) {\n var len = buf.length;\n if (!start || start < 0) start = 0;\n if (!end || end < 0 || end > len) end = len;\n var out = '';\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i]);\n }\n return out;\n}\nfunction utf16leSlice(buf, start, end) {\n var bytes = buf.slice(start, end);\n var res = '';\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256);\n }\n return res;\n}\nBuffer.prototype.slice = function slice(start, end) {\n var len = this.length;\n start = ~~start;\n end = end === undefined ? len : ~~end;\n if (start < 0) {\n start += len;\n if (start < 0) start = 0;\n } else if (start > len) {\n start = len;\n }\n if (end < 0) {\n end += len;\n if (end < 0) end = 0;\n } else if (end > len) {\n end = len;\n }\n if (end < start) end = start;\n var newBuf;\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end);\n newBuf.__proto__ = Buffer.prototype;\n } else {\n var sliceLen = end - start;\n newBuf = new Buffer(sliceLen, undefined);\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start];\n }\n }\n return newBuf;\n};\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset(offset, ext, length) {\n if (offset % 1 !== 0 || offset < 0) throw new RangeError('offset is not uint');\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length');\n}\nBuffer.prototype.readUIntLE = function readUIntLE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n var val = this[offset];\n var mul = 1;\n var i = 0;\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n return val;\n};\nBuffer.prototype.readUIntBE = function readUIntBE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length);\n }\n var val = this[offset + --byteLength];\n var mul = 1;\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul;\n }\n return val;\n};\nBuffer.prototype.readUInt8 = function readUInt8(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n return this[offset];\n};\nBuffer.prototype.readUInt16LE = function readUInt16LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return this[offset] | this[offset + 1] << 8;\n};\nBuffer.prototype.readUInt16BE = function readUInt16BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return this[offset] << 8 | this[offset + 1];\n};\nBuffer.prototype.readUInt32LE = function readUInt32LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 0x1000000;\n};\nBuffer.prototype.readUInt32BE = function readUInt32BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return this[offset] * 0x1000000 + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]);\n};\nBuffer.prototype.readIntLE = function readIntLE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n var val = this[offset];\n var mul = 1;\n var i = 0;\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n mul *= 0x80;\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n return val;\n};\nBuffer.prototype.readIntBE = function readIntBE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n var i = byteLength;\n var mul = 1;\n var val = this[offset + --i];\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul;\n }\n mul *= 0x80;\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n return val;\n};\nBuffer.prototype.readInt8 = function readInt8(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n if (!(this[offset] & 0x80)) return this[offset];\n return (0xff - this[offset] + 1) * -1;\n};\nBuffer.prototype.readInt16LE = function readInt16LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset] | this[offset + 1] << 8;\n return val & 0x8000 ? val | 0xFFFF0000 : val;\n};\nBuffer.prototype.readInt16BE = function readInt16BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset + 1] | this[offset] << 8;\n return val & 0x8000 ? val | 0xFFFF0000 : val;\n};\nBuffer.prototype.readInt32LE = function readInt32LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24;\n};\nBuffer.prototype.readInt32BE = function readInt32BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3];\n};\nBuffer.prototype.readFloatLE = function readFloatLE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return ieee754.read(this, offset, true, 23, 4);\n};\nBuffer.prototype.readFloatBE = function readFloatBE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return ieee754.read(this, offset, false, 23, 4);\n};\nBuffer.prototype.readDoubleLE = function readDoubleLE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return ieee754.read(this, offset, true, 52, 8);\n};\nBuffer.prototype.readDoubleBE = function readDoubleBE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return ieee754.read(this, offset, false, 52, 8);\n};\nfunction checkInt(buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance');\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds');\n if (offset + ext > buf.length) throw new RangeError('Index out of range');\n}\nBuffer.prototype.writeUIntLE = function writeUIntLE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n var mul = 1;\n var i = 0;\n this[offset] = value & 0xFF;\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = value / mul & 0xFF;\n }\n return offset + byteLength;\n};\nBuffer.prototype.writeUIntBE = function writeUIntBE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n var i = byteLength - 1;\n var mul = 1;\n this[offset + i] = value & 0xFF;\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = value / mul & 0xFF;\n }\n return offset + byteLength;\n};\nBuffer.prototype.writeUInt8 = function writeUInt8(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0);\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n this[offset] = value & 0xff;\n return offset + 1;\n};\nfunction objectWriteUInt16(buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1;\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & 0xff << 8 * (littleEndian ? i : 1 - i)) >>> (littleEndian ? i : 1 - i) * 8;\n }\n}\nBuffer.prototype.writeUInt16LE = function writeUInt16LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value & 0xff;\n this[offset + 1] = value >>> 8;\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n return offset + 2;\n};\nBuffer.prototype.writeUInt16BE = function writeUInt16BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 8;\n this[offset + 1] = value & 0xff;\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n return offset + 2;\n};\nfunction objectWriteUInt32(buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1;\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = value >>> (littleEndian ? i : 3 - i) * 8 & 0xff;\n }\n}\nBuffer.prototype.writeUInt32LE = function writeUInt32LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = value >>> 24;\n this[offset + 2] = value >>> 16;\n this[offset + 1] = value >>> 8;\n this[offset] = value & 0xff;\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n return offset + 4;\n};\nBuffer.prototype.writeUInt32BE = function writeUInt32BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 24;\n this[offset + 1] = value >>> 16;\n this[offset + 2] = value >>> 8;\n this[offset + 3] = value & 0xff;\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n return offset + 4;\n};\nBuffer.prototype.writeIntLE = function writeIntLE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n var i = 0;\n var mul = 1;\n var sub = 0;\n this[offset] = value & 0xFF;\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1;\n }\n this[offset + i] = (value / mul >> 0) - sub & 0xFF;\n }\n return offset + byteLength;\n};\nBuffer.prototype.writeIntBE = function writeIntBE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n var i = byteLength - 1;\n var mul = 1;\n var sub = 0;\n this[offset + i] = value & 0xFF;\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1;\n }\n this[offset + i] = (value / mul >> 0) - sub & 0xFF;\n }\n return offset + byteLength;\n};\nBuffer.prototype.writeInt8 = function writeInt8(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80);\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n if (value < 0) value = 0xff + value + 1;\n this[offset] = value & 0xff;\n return offset + 1;\n};\nBuffer.prototype.writeInt16LE = function writeInt16LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value & 0xff;\n this[offset + 1] = value >>> 8;\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n return offset + 2;\n};\nBuffer.prototype.writeInt16BE = function writeInt16BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 8;\n this[offset + 1] = value & 0xff;\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n return offset + 2;\n};\nBuffer.prototype.writeInt32LE = function writeInt32LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value & 0xff;\n this[offset + 1] = value >>> 8;\n this[offset + 2] = value >>> 16;\n this[offset + 3] = value >>> 24;\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n return offset + 4;\n};\nBuffer.prototype.writeInt32BE = function writeInt32BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (value < 0) value = 0xffffffff + value + 1;\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 24;\n this[offset + 1] = value >>> 16;\n this[offset + 2] = value >>> 8;\n this[offset + 3] = value & 0xff;\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n return offset + 4;\n};\nfunction checkIEEE754(buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range');\n if (offset < 0) throw new RangeError('Index out of range');\n}\nfunction writeFloat(buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38);\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4);\n return offset + 4;\n}\nBuffer.prototype.writeFloatLE = function writeFloatLE(value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert);\n};\nBuffer.prototype.writeFloatBE = function writeFloatBE(value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert);\n};\nfunction writeDouble(buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308);\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8);\n return offset + 8;\n}\nBuffer.prototype.writeDoubleLE = function writeDoubleLE(value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert);\n};\nBuffer.prototype.writeDoubleBE = function writeDoubleBE(value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert);\n};\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy(target, targetStart, start, end) {\n if (!start) start = 0;\n if (!end && end !== 0) end = this.length;\n if (targetStart >= target.length) targetStart = target.length;\n if (!targetStart) targetStart = 0;\n if (end > 0 && end < start) end = start;\n\n // Copy 0 bytes; we're done\n if (end === start) return 0;\n if (target.length === 0 || this.length === 0) return 0;\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds');\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds');\n if (end < 0) throw new RangeError('sourceEnd out of bounds');\n\n // Are we oob?\n if (end > this.length) end = this.length;\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start;\n }\n var len = end - start;\n var i;\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start];\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start];\n }\n } else {\n Uint8Array.prototype.set.call(target, this.subarray(start, start + len), targetStart);\n }\n return len;\n};\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill(val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start;\n start = 0;\n end = this.length;\n } else if (typeof end === 'string') {\n encoding = end;\n end = this.length;\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0);\n if (code < 256) {\n val = code;\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string');\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding);\n }\n } else if (typeof val === 'number') {\n val = val & 255;\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index');\n }\n if (end <= start) {\n return this;\n }\n start = start >>> 0;\n end = end === undefined ? this.length : end >>> 0;\n if (!val) val = 0;\n var i;\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val;\n }\n } else {\n var bytes = Buffer.isBuffer(val) ? val : utf8ToBytes(new Buffer(val, encoding).toString());\n var len = bytes.length;\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len];\n }\n }\n return this;\n};\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g;\nfunction base64clean(str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '');\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return '';\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '=';\n }\n return str;\n}\nfunction stringtrim(str) {\n if (str.trim) return str.trim();\n return str.replace(/^\\s+|\\s+$/g, '');\n}\nfunction toHex(n) {\n if (n < 16) return '0' + n.toString(16);\n return n.toString(16);\n}\nfunction utf8ToBytes(string, units) {\n units = units || Infinity;\n var codePoint;\n var length = string.length;\n var leadSurrogate = null;\n var bytes = [];\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i);\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue;\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue;\n }\n\n // valid lead\n leadSurrogate = codePoint;\n continue;\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n leadSurrogate = codePoint;\n continue;\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000;\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n }\n leadSurrogate = null;\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break;\n bytes.push(codePoint);\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break;\n bytes.push(codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80);\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break;\n bytes.push(codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80);\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break;\n bytes.push(codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80);\n } else {\n throw new Error('Invalid code point');\n }\n }\n return bytes;\n}\nfunction asciiToBytes(str) {\n var byteArray = [];\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF);\n }\n return byteArray;\n}\nfunction utf16leToBytes(str, units) {\n var c, hi, lo;\n var byteArray = [];\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break;\n c = str.charCodeAt(i);\n hi = c >> 8;\n lo = c % 256;\n byteArray.push(lo);\n byteArray.push(hi);\n }\n return byteArray;\n}\nfunction base64ToBytes(str) {\n return base64.toByteArray(base64clean(str));\n}\nfunction blitBuffer(src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if (i + offset >= dst.length || i >= src.length) break;\n dst[i + offset] = src[i];\n }\n return i;\n}\nfunction isnan(val) {\n return val !== val; // eslint-disable-line no-self-compare\n}","'use strict';\n\nmodule.exports.encode = require('./encode');\nmodule.exports.decode = require('./decode');\nmodule.exports.format = require('./format');\nmodule.exports.parse = require('./parse');","/* eslint no-param-reassign: 0 */\n\nimport getUuid from 'widget/helpers/uuid';\nimport { MESSAGE_STATUS, MESSAGE_TYPE } from 'shared/constants/messages';\n\nexport default () => {\n if (!Array.prototype.last) {\n Object.assign(Array.prototype, {\n last() {\n return this[this.length - 1];\n },\n });\n }\n};\n\nexport const isEmptyObject = obj =>\n Object.keys(obj).length === 0 && obj.constructor === Object;\n\nexport const isJSONValid = value => {\n try {\n JSON.parse(value);\n } catch (e) {\n return false;\n }\n return true;\n};\n\nexport const getTypingUsersText = (users = []) => {\n const count = users.length;\n if (count === 1) {\n const [user] = users;\n return `${user.name} is typing`;\n }\n\n if (count === 2) {\n const [first, second] = users;\n return `${first.name} and ${second.name} are typing`;\n }\n\n const [user] = users;\n const rest = users.length - 1;\n return `${user.name} and ${rest} others are typing`;\n};\n\nexport const createPendingMessage = data => {\n const timestamp = Math.floor(new Date().getTime() / 1000);\n const tempMessageId = getUuid();\n const { message, file } = data;\n const tempAttachments = [{ id: tempMessageId }];\n const pendingMessage = {\n ...data,\n content: message || null,\n id: tempMessageId,\n echo_id: tempMessageId,\n status: MESSAGE_STATUS.PROGRESS,\n created_at: timestamp,\n message_type: MESSAGE_TYPE.OUTGOING,\n conversation_id: data.conversationId,\n attachments: file ? tempAttachments : null,\n };\n\n return pendingMessage;\n};\n\nexport const convertToAttributeSlug = text => {\n return text\n .toLowerCase()\n .replace(/[^\\w ]+/g, '')\n .replace(/ +/g, '_');\n};\n\nexport const convertToCategorySlug = text => {\n return text\n .toLowerCase()\n .replace(/[^\\w ]+/g, '')\n .replace(/ +/g, '-');\n};\n\nexport const convertToPortalSlug = text => {\n return text\n .toLowerCase()\n .replace(/[^\\w ]+/g, '')\n .replace(/ +/g, '-');\n};\n","/**\n * class Ruler\n *\n * Helper class, used by [[MarkdownIt#core]], [[MarkdownIt#block]] and\n * [[MarkdownIt#inline]] to manage sequences of functions (rules):\n *\n * - keep rules in defined order\n * - assign the name to each rule\n * - enable/disable rules\n * - add/replace rules\n * - allow assign rules to additional named chains (in the same)\n * - cacheing lists of active rules\n *\n * You will not need use this class directly until write plugins. For simple\n * rules control use [[MarkdownIt.disable]], [[MarkdownIt.enable]] and\n * [[MarkdownIt.use]].\n **/\n'use strict';\n\n/**\n * new Ruler()\n **/\nfunction Ruler() {\n // List of added rules. Each element is:\n //\n // {\n // name: XXX,\n // enabled: Boolean,\n // fn: Function(),\n // alt: [ name2, name3 ]\n // }\n //\n this.__rules__ = [];\n\n // Cached rule chains.\n //\n // First level - chain name, '' for default.\n // Second level - diginal anchor for fast filtering by charcodes.\n //\n this.__cache__ = null;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n// Helper methods, should not be used directly\n\n// Find rule index by name\n//\nRuler.prototype.__find__ = function (name) {\n for (var i = 0; i < this.__rules__.length; i++) {\n if (this.__rules__[i].name === name) {\n return i;\n }\n }\n return -1;\n};\n\n// Build rules lookup cache\n//\nRuler.prototype.__compile__ = function () {\n var self = this;\n var chains = [''];\n\n // collect unique names\n self.__rules__.forEach(function (rule) {\n if (!rule.enabled) {\n return;\n }\n rule.alt.forEach(function (altName) {\n if (chains.indexOf(altName) < 0) {\n chains.push(altName);\n }\n });\n });\n self.__cache__ = {};\n chains.forEach(function (chain) {\n self.__cache__[chain] = [];\n self.__rules__.forEach(function (rule) {\n if (!rule.enabled) {\n return;\n }\n if (chain && rule.alt.indexOf(chain) < 0) {\n return;\n }\n self.__cache__[chain].push(rule.fn);\n });\n });\n};\n\n/**\n * Ruler.at(name, fn [, options])\n * - name (String): rule name to replace.\n * - fn (Function): new rule function.\n * - options (Object): new rule options (not mandatory).\n *\n * Replace rule by name with new function & options. Throws error if name not\n * found.\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * Replace existing typographer replacement rule with new one:\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.core.ruler.at('replacements', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.at = function (name, fn, options) {\n var index = this.__find__(name);\n var opt = options || {};\n if (index === -1) {\n throw new Error('Parser rule not found: ' + name);\n }\n this.__rules__[index].fn = fn;\n this.__rules__[index].alt = opt.alt || [];\n this.__cache__ = null;\n};\n\n/**\n * Ruler.before(beforeName, ruleName, fn [, options])\n * - beforeName (String): new rule will be added before this one.\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Add new rule to chain before one with given name. See also\n * [[Ruler.after]], [[Ruler.push]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.block.ruler.before('paragraph', 'my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.before = function (beforeName, ruleName, fn, options) {\n var index = this.__find__(beforeName);\n var opt = options || {};\n if (index === -1) {\n throw new Error('Parser rule not found: ' + beforeName);\n }\n this.__rules__.splice(index, 0, {\n name: ruleName,\n enabled: true,\n fn: fn,\n alt: opt.alt || []\n });\n this.__cache__ = null;\n};\n\n/**\n * Ruler.after(afterName, ruleName, fn [, options])\n * - afterName (String): new rule will be added after this one.\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Add new rule to chain after one with given name. See also\n * [[Ruler.before]], [[Ruler.push]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.inline.ruler.after('text', 'my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.after = function (afterName, ruleName, fn, options) {\n var index = this.__find__(afterName);\n var opt = options || {};\n if (index === -1) {\n throw new Error('Parser rule not found: ' + afterName);\n }\n this.__rules__.splice(index + 1, 0, {\n name: ruleName,\n enabled: true,\n fn: fn,\n alt: opt.alt || []\n });\n this.__cache__ = null;\n};\n\n/**\n * Ruler.push(ruleName, fn [, options])\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Push new rule to the end of chain. See also\n * [[Ruler.before]], [[Ruler.after]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.core.ruler.push('my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.push = function (ruleName, fn, options) {\n var opt = options || {};\n this.__rules__.push({\n name: ruleName,\n enabled: true,\n fn: fn,\n alt: opt.alt || []\n });\n this.__cache__ = null;\n};\n\n/**\n * Ruler.enable(list [, ignoreInvalid]) -> Array\n * - list (String|Array): list of rule names to enable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable rules with given names. If any rule name not found - throw Error.\n * Errors can be disabled by second param.\n *\n * Returns list of found rule names (if no exception happened).\n *\n * See also [[Ruler.disable]], [[Ruler.enableOnly]].\n **/\nRuler.prototype.enable = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) {\n list = [list];\n }\n var result = [];\n\n // Search by name and enable\n list.forEach(function (name) {\n var idx = this.__find__(name);\n if (idx < 0) {\n if (ignoreInvalid) {\n return;\n }\n throw new Error('Rules manager: invalid rule name ' + name);\n }\n this.__rules__[idx].enabled = true;\n result.push(name);\n }, this);\n this.__cache__ = null;\n return result;\n};\n\n/**\n * Ruler.enableOnly(list [, ignoreInvalid])\n * - list (String|Array): list of rule names to enable (whitelist).\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable rules with given names, and disable everything else. If any rule name\n * not found - throw Error. Errors can be disabled by second param.\n *\n * See also [[Ruler.disable]], [[Ruler.enable]].\n **/\nRuler.prototype.enableOnly = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) {\n list = [list];\n }\n this.__rules__.forEach(function (rule) {\n rule.enabled = false;\n });\n this.enable(list, ignoreInvalid);\n};\n\n/**\n * Ruler.disable(list [, ignoreInvalid]) -> Array\n * - list (String|Array): list of rule names to disable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Disable rules with given names. If any rule name not found - throw Error.\n * Errors can be disabled by second param.\n *\n * Returns list of found rule names (if no exception happened).\n *\n * See also [[Ruler.enable]], [[Ruler.enableOnly]].\n **/\nRuler.prototype.disable = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) {\n list = [list];\n }\n var result = [];\n\n // Search by name and disable\n list.forEach(function (name) {\n var idx = this.__find__(name);\n if (idx < 0) {\n if (ignoreInvalid) {\n return;\n }\n throw new Error('Rules manager: invalid rule name ' + name);\n }\n this.__rules__[idx].enabled = false;\n result.push(name);\n }, this);\n this.__cache__ = null;\n return result;\n};\n\n/**\n * Ruler.getRules(chainName) -> Array\n *\n * Return array of active functions (rules) for given chain name. It analyzes\n * rules configuration, compiles caches if not exists and returns result.\n *\n * Default chain name is `''` (empty string). It can't be skipped. That's\n * done intentionally, to keep signature monomorphic for high speed.\n **/\nRuler.prototype.getRules = function (chainName) {\n if (this.__cache__ === null) {\n this.__compile__();\n }\n\n // Chain can be empty, if rules disabled. But we still have to return Array.\n return this.__cache__[chainName] || [];\n};\nmodule.exports = Ruler;","// Token class\n\n'use strict';\n\n/**\n * class Token\n **/\n\n/**\n * new Token(type, tag, nesting)\n *\n * Create new token and fill passed properties.\n **/\nfunction Token(type, tag, nesting) {\n /**\n * Token#type -> String\n *\n * Type of the token (string, e.g. \"paragraph_open\")\n **/\n this.type = type;\n\n /**\n * Token#tag -> String\n *\n * html tag name, e.g. \"p\"\n **/\n this.tag = tag;\n\n /**\n * Token#attrs -> Array\n *\n * Html attributes. Format: `[ [ name1, value1 ], [ name2, value2 ] ]`\n **/\n this.attrs = null;\n\n /**\n * Token#map -> Array\n *\n * Source map info. Format: `[ line_begin, line_end ]`\n **/\n this.map = null;\n\n /**\n * Token#nesting -> Number\n *\n * Level change (number in {-1, 0, 1} set), where:\n *\n * - `1` means the tag is opening\n * - `0` means the tag is self-closing\n * - `-1` means the tag is closing\n **/\n this.nesting = nesting;\n\n /**\n * Token#level -> Number\n *\n * nesting level, the same as `state.level`\n **/\n this.level = 0;\n\n /**\n * Token#children -> Array\n *\n * An array of child nodes (inline and img tokens)\n **/\n this.children = null;\n\n /**\n * Token#content -> String\n *\n * In a case of self-closing tag (code, html, fence, etc.),\n * it has contents of this tag.\n **/\n this.content = '';\n\n /**\n * Token#markup -> String\n *\n * '*' or '_' for emphasis, fence string for fence, etc.\n **/\n this.markup = '';\n\n /**\n * Token#info -> String\n *\n * Additional information:\n *\n * - Info string for \"fence\" tokens\n * - The value \"auto\" for autolink \"link_open\" and \"link_close\" tokens\n * - The string value of the item marker for ordered-list \"list_item_open\" tokens\n **/\n this.info = '';\n\n /**\n * Token#meta -> Object\n *\n * A place for plugins to store an arbitrary data\n **/\n this.meta = null;\n\n /**\n * Token#block -> Boolean\n *\n * True for block-level tokens, false for inline tokens.\n * Used in renderer to calculate line breaks\n **/\n this.block = false;\n\n /**\n * Token#hidden -> Boolean\n *\n * If it's true, ignore this element when rendering. Used for tight lists\n * to hide paragraphs.\n **/\n this.hidden = false;\n}\n\n/**\n * Token.attrIndex(name) -> Number\n *\n * Search attribute index by name.\n **/\nToken.prototype.attrIndex = function attrIndex(name) {\n var attrs, i, len;\n if (!this.attrs) {\n return -1;\n }\n attrs = this.attrs;\n for (i = 0, len = attrs.length; i < len; i++) {\n if (attrs[i][0] === name) {\n return i;\n }\n }\n return -1;\n};\n\n/**\n * Token.attrPush(attrData)\n *\n * Add `[ name, value ]` attribute to list. Init attrs if necessary\n **/\nToken.prototype.attrPush = function attrPush(attrData) {\n if (this.attrs) {\n this.attrs.push(attrData);\n } else {\n this.attrs = [attrData];\n }\n};\n\n/**\n * Token.attrSet(name, value)\n *\n * Set `name` attribute to `value`. Override old value if exists.\n **/\nToken.prototype.attrSet = function attrSet(name, value) {\n var idx = this.attrIndex(name),\n attrData = [name, value];\n if (idx < 0) {\n this.attrPush(attrData);\n } else {\n this.attrs[idx] = attrData;\n }\n};\n\n/**\n * Token.attrGet(name)\n *\n * Get the value of attribute `name`, or null if it does not exist.\n **/\nToken.prototype.attrGet = function attrGet(name) {\n var idx = this.attrIndex(name),\n value = null;\n if (idx >= 0) {\n value = this.attrs[idx][1];\n }\n return value;\n};\n\n/**\n * Token.attrJoin(name, value)\n *\n * Join value to existing attribute via space. Or create new attribute if not\n * exists. Useful to operate with token classes.\n **/\nToken.prototype.attrJoin = function attrJoin(name, value) {\n var idx = this.attrIndex(name);\n if (idx < 0) {\n this.attrPush([name, value]);\n } else {\n this.attrs[idx][1] = this.attrs[idx][1] + ' ' + value;\n }\n};\nmodule.exports = Token;","module.exports = function (originalModule) {\n if (!originalModule.webpackPolyfill) {\n var module = Object.create(originalModule);\n // module.parent = undefined by default\n if (!module.children) module.children = [];\n Object.defineProperty(module, \"loaded\", {\n enumerable: true,\n get: function () {\n return module.l;\n }\n });\n Object.defineProperty(module, \"id\", {\n enumerable: true,\n get: function () {\n return module.i;\n }\n });\n Object.defineProperty(module, \"exports\", {\n enumerable: true\n });\n module.webpackPolyfill = 1;\n }\n return module;\n};","'use strict';\n\nexports.byteLength = byteLength;\nexports.toByteArray = toByteArray;\nexports.fromByteArray = fromByteArray;\nvar lookup = [];\nvar revLookup = [];\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array;\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i];\n revLookup[code.charCodeAt(i)] = i;\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62;\nrevLookup['_'.charCodeAt(0)] = 63;\nfunction getLens(b64) {\n var len = b64.length;\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4');\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=');\n if (validLen === -1) validLen = len;\n var placeHoldersLen = validLen === len ? 0 : 4 - validLen % 4;\n return [validLen, placeHoldersLen];\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength(b64) {\n var lens = getLens(b64);\n var validLen = lens[0];\n var placeHoldersLen = lens[1];\n return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;\n}\nfunction _byteLength(b64, validLen, placeHoldersLen) {\n return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;\n}\nfunction toByteArray(b64) {\n var tmp;\n var lens = getLens(b64);\n var validLen = lens[0];\n var placeHoldersLen = lens[1];\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen));\n var curByte = 0;\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0 ? validLen - 4 : validLen;\n var i;\n for (i = 0; i < len; i += 4) {\n tmp = revLookup[b64.charCodeAt(i)] << 18 | revLookup[b64.charCodeAt(i + 1)] << 12 | revLookup[b64.charCodeAt(i + 2)] << 6 | revLookup[b64.charCodeAt(i + 3)];\n arr[curByte++] = tmp >> 16 & 0xFF;\n arr[curByte++] = tmp >> 8 & 0xFF;\n arr[curByte++] = tmp & 0xFF;\n }\n if (placeHoldersLen === 2) {\n tmp = revLookup[b64.charCodeAt(i)] << 2 | revLookup[b64.charCodeAt(i + 1)] >> 4;\n arr[curByte++] = tmp & 0xFF;\n }\n if (placeHoldersLen === 1) {\n tmp = revLookup[b64.charCodeAt(i)] << 10 | revLookup[b64.charCodeAt(i + 1)] << 4 | revLookup[b64.charCodeAt(i + 2)] >> 2;\n arr[curByte++] = tmp >> 8 & 0xFF;\n arr[curByte++] = tmp & 0xFF;\n }\n return arr;\n}\nfunction tripletToBase64(num) {\n return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F];\n}\nfunction encodeChunk(uint8, start, end) {\n var tmp;\n var output = [];\n for (var i = start; i < end; i += 3) {\n tmp = (uint8[i] << 16 & 0xFF0000) + (uint8[i + 1] << 8 & 0xFF00) + (uint8[i + 2] & 0xFF);\n output.push(tripletToBase64(tmp));\n }\n return output.join('');\n}\nfunction fromByteArray(uint8) {\n var tmp;\n var len = uint8.length;\n var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes\n var parts = [];\n var maxChunkLength = 16383; // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength));\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1];\n parts.push(lookup[tmp >> 2] + lookup[tmp << 4 & 0x3F] + '==');\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1];\n parts.push(lookup[tmp >> 10] + lookup[tmp >> 4 & 0x3F] + lookup[tmp << 2 & 0x3F] + '=');\n }\n return parts.join('');\n}","/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m;\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var nBits = -7;\n var i = isLE ? nBytes - 1 : 0;\n var d = isLE ? -1 : 1;\n var s = buffer[offset + i];\n i += d;\n e = s & (1 << -nBits) - 1;\n s >>= -nBits;\n nBits += eLen;\n for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n m = e & (1 << -nBits) - 1;\n e >>= -nBits;\n nBits += mLen;\n for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n if (e === 0) {\n e = 1 - eBias;\n } else if (e === eMax) {\n return m ? NaN : (s ? -1 : 1) * Infinity;\n } else {\n m = m + Math.pow(2, mLen);\n e = e - eBias;\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen);\n};\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c;\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var rt = mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;\n var i = isLE ? 0 : nBytes - 1;\n var d = isLE ? 1 : -1;\n var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n value = Math.abs(value);\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0;\n e = eMax;\n } else {\n e = Math.floor(Math.log(value) / Math.LN2);\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--;\n c *= 2;\n }\n if (e + eBias >= 1) {\n value += rt / c;\n } else {\n value += rt * Math.pow(2, 1 - eBias);\n }\n if (value * c >= 2) {\n e++;\n c /= 2;\n }\n if (e + eBias >= eMax) {\n m = 0;\n e = eMax;\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * Math.pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);\n e = 0;\n }\n }\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n e = e << mLen | m;\n eLen += mLen;\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n buffer[offset + i - d] |= s * 128;\n};","var toString = {}.toString;\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\nmodule.exports = getNative;","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\nmodule.exports = isObject;","\"use strict\";\n\nvar isodate = require(\"@segment/isodate\");\nvar milliseconds = require(\"./milliseconds\");\nvar seconds = require(\"./seconds\");\nvar objProto = Object.prototype;\nvar toStr = objProto.toString;\nfunction isDate(value) {\n return toStr.call(value) === \"[object Date]\";\n}\nfunction isNumber(value) {\n return toStr.call(value) === \"[object Number]\";\n}\n\n/**\n * Returns a new Javascript Date object, allowing a variety of extra input types\n * over the native Date constructor.\n *\n * @param {Date|string|number} val\n */\nmodule.exports = function newDate(val) {\n if (isDate(val)) return val;\n if (isNumber(val)) return new Date(toMs(val));\n\n // date strings\n if (isodate.is(val)) {\n return isodate.parse(val);\n }\n if (milliseconds.is(val)) {\n return milliseconds.parse(val);\n }\n if (seconds.is(val)) {\n return seconds.parse(val);\n }\n\n // fallback to Date.parse\n return new Date(val);\n};\n\n/**\n * If the number passed val is seconds from the epoch, turn it into milliseconds.\n * Milliseconds would be greater than 31557600000 (December 31, 1970).\n *\n * @param {number} num\n */\nfunction toMs(num) {\n if (num < 31557600000) return num * 1000;\n return num;\n}","\"use strict\";\n\nvar __importDefault = this && this.__importDefault || function (mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Track = void 0;\nvar inherits_1 = __importDefault(require(\"inherits\"));\nvar facade_1 = require(\"./facade\");\nvar identify_1 = require(\"./identify\");\nvar is_email_1 = __importDefault(require(\"./is-email\"));\nvar obj_case_1 = __importDefault(require(\"obj-case\"));\nfunction Track(dictionary, opts) {\n facade_1.Facade.call(this, dictionary, opts);\n}\nexports.Track = Track;\ninherits_1.default(Track, facade_1.Facade);\nvar t = Track.prototype;\nt.action = function () {\n return \"track\";\n};\nt.type = t.action;\nt.event = facade_1.Facade.field(\"event\");\nt.value = facade_1.Facade.proxy(\"properties.value\");\nt.category = facade_1.Facade.proxy(\"properties.category\");\nt.id = facade_1.Facade.proxy(\"properties.id\");\nt.productId = function () {\n return this.proxy(\"properties.product_id\") || this.proxy(\"properties.productId\");\n};\nt.promotionId = function () {\n return this.proxy(\"properties.promotion_id\") || this.proxy(\"properties.promotionId\");\n};\nt.cartId = function () {\n return this.proxy(\"properties.cart_id\") || this.proxy(\"properties.cartId\");\n};\nt.checkoutId = function () {\n return this.proxy(\"properties.checkout_id\") || this.proxy(\"properties.checkoutId\");\n};\nt.paymentId = function () {\n return this.proxy(\"properties.payment_id\") || this.proxy(\"properties.paymentId\");\n};\nt.couponId = function () {\n return this.proxy(\"properties.coupon_id\") || this.proxy(\"properties.couponId\");\n};\nt.wishlistId = function () {\n return this.proxy(\"properties.wishlist_id\") || this.proxy(\"properties.wishlistId\");\n};\nt.reviewId = function () {\n return this.proxy(\"properties.review_id\") || this.proxy(\"properties.reviewId\");\n};\nt.orderId = function () {\n return this.proxy(\"properties.id\") || this.proxy(\"properties.order_id\") || this.proxy(\"properties.orderId\");\n};\nt.sku = facade_1.Facade.proxy(\"properties.sku\");\nt.tax = facade_1.Facade.proxy(\"properties.tax\");\nt.name = facade_1.Facade.proxy(\"properties.name\");\nt.price = facade_1.Facade.proxy(\"properties.price\");\nt.total = facade_1.Facade.proxy(\"properties.total\");\nt.repeat = facade_1.Facade.proxy(\"properties.repeat\");\nt.coupon = facade_1.Facade.proxy(\"properties.coupon\");\nt.shipping = facade_1.Facade.proxy(\"properties.shipping\");\nt.discount = facade_1.Facade.proxy(\"properties.discount\");\nt.shippingMethod = function () {\n return this.proxy(\"properties.shipping_method\") || this.proxy(\"properties.shippingMethod\");\n};\nt.paymentMethod = function () {\n return this.proxy(\"properties.payment_method\") || this.proxy(\"properties.paymentMethod\");\n};\nt.description = facade_1.Facade.proxy(\"properties.description\");\nt.plan = facade_1.Facade.proxy(\"properties.plan\");\nt.subtotal = function () {\n var subtotal = obj_case_1.default(this.properties(), \"subtotal\");\n var total = this.total() || this.revenue();\n if (subtotal) return subtotal;\n if (!total) return 0;\n if (this.total()) {\n var n = this.tax();\n if (n) total -= n;\n n = this.shipping();\n if (n) total -= n;\n n = this.discount();\n if (n) total += n;\n }\n return total;\n};\nt.products = function () {\n var props = this.properties();\n var products = obj_case_1.default(props, \"products\");\n if (Array.isArray(products)) {\n return products.filter(function (item) {\n return item !== null;\n });\n }\n return [];\n};\nt.quantity = function () {\n var props = this.obj.properties || {};\n return props.quantity || 1;\n};\nt.currency = function () {\n var props = this.obj.properties || {};\n return props.currency || \"USD\";\n};\nt.referrer = function () {\n return this.proxy(\"context.referrer.url\") || this.proxy(\"context.page.referrer\") || this.proxy(\"properties.referrer\");\n};\nt.query = facade_1.Facade.proxy(\"options.query\");\nt.properties = function (aliases) {\n var ret = this.field(\"properties\") || {};\n aliases = aliases || {};\n for (var alias in aliases) {\n if (Object.prototype.hasOwnProperty.call(aliases, alias)) {\n var value = this[alias] == null ? this.proxy(\"properties.\" + alias) : this[alias]();\n if (value == null) continue;\n ret[aliases[alias]] = value;\n delete ret[alias];\n }\n }\n return ret;\n};\nt.username = function () {\n return this.proxy(\"traits.username\") || this.proxy(\"properties.username\") || this.userId() || this.sessionId();\n};\nt.email = function () {\n var email = this.proxy(\"traits.email\") || this.proxy(\"properties.email\") || this.proxy(\"options.traits.email\");\n if (email) return email;\n var userId = this.userId();\n if (is_email_1.default(userId)) return userId;\n};\nt.revenue = function () {\n var revenue = this.proxy(\"properties.revenue\");\n var event = this.event();\n var orderCompletedRegExp = /^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i;\n if (!revenue && event && event.match(orderCompletedRegExp)) {\n revenue = this.proxy(\"properties.total\");\n }\n return currency(revenue);\n};\nt.cents = function () {\n var revenue = this.revenue();\n return typeof revenue !== \"number\" ? this.value() || 0 : revenue * 100;\n};\nt.identify = function () {\n var json = this.json();\n json.traits = this.traits();\n return new identify_1.Identify(json, this.opts);\n};\nfunction currency(val) {\n if (!val) return;\n if (typeof val === \"number\") {\n return val;\n }\n if (typeof val !== \"string\") {\n return;\n }\n val = val.replace(/\\$/g, \"\");\n val = parseFloat(val);\n if (!isNaN(val)) {\n return val;\n }\n}","/*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.DOMPurify = factory());\n})(this, function () {\n 'use strict';\n\n function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n }\n function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n }\n function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n }\n function _construct(Parent, args, Class) {\n if (_isNativeReflectConstruct()) {\n _construct = Reflect.construct;\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) _setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n return _construct.apply(null, arguments);\n }\n function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n }\n function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n }\n function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n }\n function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n }\n function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n }\n function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var hasOwnProperty = Object.hasOwnProperty,\n setPrototypeOf = Object.setPrototypeOf,\n isFrozen = Object.isFrozen,\n getPrototypeOf = Object.getPrototypeOf,\n getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n var freeze = Object.freeze,\n seal = Object.seal,\n create = Object.create; // eslint-disable-line import/no-mutable-exports\n var _ref = typeof Reflect !== 'undefined' && Reflect,\n apply = _ref.apply,\n construct = _ref.construct;\n if (!apply) {\n apply = function apply(fun, thisValue, args) {\n return fun.apply(thisValue, args);\n };\n }\n if (!freeze) {\n freeze = function freeze(x) {\n return x;\n };\n }\n if (!seal) {\n seal = function seal(x) {\n return x;\n };\n }\n if (!construct) {\n construct = function construct(Func, args) {\n return _construct(Func, _toConsumableArray(args));\n };\n }\n var arrayForEach = unapply(Array.prototype.forEach);\n var arrayPop = unapply(Array.prototype.pop);\n var arrayPush = unapply(Array.prototype.push);\n var stringToLowerCase = unapply(String.prototype.toLowerCase);\n var stringToString = unapply(String.prototype.toString);\n var stringMatch = unapply(String.prototype.match);\n var stringReplace = unapply(String.prototype.replace);\n var stringIndexOf = unapply(String.prototype.indexOf);\n var stringTrim = unapply(String.prototype.trim);\n var regExpTest = unapply(RegExp.prototype.test);\n var typeErrorCreate = unconstruct(TypeError);\n function unapply(func) {\n return function (thisArg) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n return apply(func, thisArg, args);\n };\n }\n function unconstruct(func) {\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n return construct(func, args);\n };\n }\n\n /* Add properties to a lookup table */\n function addToSet(set, array, transformCaseFunc) {\n var _transformCaseFunc;\n transformCaseFunc = (_transformCaseFunc = transformCaseFunc) !== null && _transformCaseFunc !== void 0 ? _transformCaseFunc : stringToLowerCase;\n if (setPrototypeOf) {\n // Make 'in' and truthy checks like Boolean(set.constructor)\n // independent of any properties defined on Object.prototype.\n // Prevent prototype setters from intercepting set as a this value.\n setPrototypeOf(set, null);\n }\n var l = array.length;\n while (l--) {\n var element = array[l];\n if (typeof element === 'string') {\n var lcElement = transformCaseFunc(element);\n if (lcElement !== element) {\n // Config presets (e.g. tags.js, attrs.js) are immutable.\n if (!isFrozen(array)) {\n array[l] = lcElement;\n }\n element = lcElement;\n }\n }\n set[element] = true;\n }\n return set;\n }\n\n /* Shallow clone an object */\n function clone(object) {\n var newObject = create(null);\n var property;\n for (property in object) {\n if (apply(hasOwnProperty, object, [property]) === true) {\n newObject[property] = object[property];\n }\n }\n return newObject;\n }\n\n /* IE10 doesn't support __lookupGetter__ so lets'\n * simulate it. It also automatically checks\n * if the prop is function or getter and behaves\n * accordingly. */\n function lookupGetter(object, prop) {\n while (object !== null) {\n var desc = getOwnPropertyDescriptor(object, prop);\n if (desc) {\n if (desc.get) {\n return unapply(desc.get);\n }\n if (typeof desc.value === 'function') {\n return unapply(desc.value);\n }\n }\n object = getPrototypeOf(object);\n }\n function fallbackValue(element) {\n console.warn('fallback value for', element);\n return null;\n }\n return fallbackValue;\n }\n var html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);\n\n // SVG\n var svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\n var svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);\n\n // List of SVG elements that are disallowed by default.\n // We still need to know them so that we can do namespace\n // checks properly in case one wants to add them to\n // allow-list.\n var svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'fedropshadow', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\n var mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover']);\n\n // Similarly to SVG, we want to know all MathML elements,\n // even those that we disallow by default.\n var mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\n var text = freeze(['#text']);\n var html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'xmlns', 'slot']);\n var svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\n var mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\n var xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\n // eslint-disable-next-line unicorn/better-regex\n var MUSTACHE_EXPR = seal(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\n var ERB_EXPR = seal(/<%[\\w\\W]*|[\\w\\W]*%>/gm);\n var TMPLIT_EXPR = seal(/\\${[\\w\\W]*}/gm);\n var DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]+$/); // eslint-disable-line no-useless-escape\n var ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\n var IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n );\n var IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\n var ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n );\n var DOCTYPE_NAME = seal(/^html$/i);\n var CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\n var getGlobal = function getGlobal() {\n return typeof window === 'undefined' ? null : window;\n };\n\n /**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.\n * @param {Document} document The document object (to determine policy name suffix)\n * @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types\n * are not supported).\n */\n var _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {\n if (_typeof(trustedTypes) !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n return null;\n }\n\n // Allow the callers to control the unique policy name\n // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n // Policy creation with duplicate names throws in Trusted Types.\n var suffix = null;\n var ATTR_NAME = 'data-tt-policy-suffix';\n if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {\n suffix = document.currentScript.getAttribute(ATTR_NAME);\n }\n var policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n try {\n return trustedTypes.createPolicy(policyName, {\n createHTML: function createHTML(html) {\n return html;\n },\n createScriptURL: function createScriptURL(scriptUrl) {\n return scriptUrl;\n }\n });\n } catch (_) {\n // Policy creation failed (most likely another DOMPurify script has\n // already run). Skip creating the policy, as this will only cause errors\n // if TT are enforced.\n console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n return null;\n }\n };\n function createDOMPurify() {\n var window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n var DOMPurify = function DOMPurify(root) {\n return createDOMPurify(root);\n };\n\n /**\n * Version label, exposed for easier checks\n * if DOMPurify is up to date or not\n */\n DOMPurify.version = '2.5.8';\n\n /**\n * Array of elements that DOMPurify removed during sanitation.\n * Empty if nothing was removed.\n */\n DOMPurify.removed = [];\n if (!window || !window.document || window.document.nodeType !== 9) {\n // Not running in a browser, provide a factory function\n // so that you can pass your own Window\n DOMPurify.isSupported = false;\n return DOMPurify;\n }\n var originalDocument = window.document;\n var document = window.document;\n var DocumentFragment = window.DocumentFragment,\n HTMLTemplateElement = window.HTMLTemplateElement,\n Node = window.Node,\n Element = window.Element,\n NodeFilter = window.NodeFilter,\n _window$NamedNodeMap = window.NamedNodeMap,\n NamedNodeMap = _window$NamedNodeMap === void 0 ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap,\n HTMLFormElement = window.HTMLFormElement,\n DOMParser = window.DOMParser,\n trustedTypes = window.trustedTypes;\n var ElementPrototype = Element.prototype;\n var cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n var getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n var getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n var getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n\n // As per issue #47, the web-components registry is inherited by a\n // new document created via createHTMLDocument. As per the spec\n // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n // a new empty registry is used when creating a template contents owner\n // document, so we use that as our parent document to ensure nothing\n // is inherited.\n if (typeof HTMLTemplateElement === 'function') {\n var template = document.createElement('template');\n if (template.content && template.content.ownerDocument) {\n document = template.content.ownerDocument;\n }\n }\n var trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);\n var emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';\n var _document = document,\n implementation = _document.implementation,\n createNodeIterator = _document.createNodeIterator,\n createDocumentFragment = _document.createDocumentFragment,\n getElementsByTagName = _document.getElementsByTagName;\n var importNode = originalDocument.importNode;\n var documentMode = {};\n try {\n documentMode = clone(document).documentMode ? document.documentMode : {};\n } catch (_) {}\n var hooks = {};\n\n /**\n * Expose whether this browser supports running the full DOMPurify.\n */\n DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined && documentMode !== 9;\n var MUSTACHE_EXPR$1 = MUSTACHE_EXPR,\n ERB_EXPR$1 = ERB_EXPR,\n TMPLIT_EXPR$1 = TMPLIT_EXPR,\n DATA_ATTR$1 = DATA_ATTR,\n ARIA_ATTR$1 = ARIA_ATTR,\n IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE$1 = ATTR_WHITESPACE,\n CUSTOM_ELEMENT$1 = CUSTOM_ELEMENT;\n var IS_ALLOWED_URI$1 = IS_ALLOWED_URI;\n\n /**\n * We consider the elements and attributes below to be safe. Ideally\n * don't add any new ones but feel free to remove unwanted ones.\n */\n\n /* allowed element names */\n var ALLOWED_TAGS = null;\n var DEFAULT_ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray(html$1), _toConsumableArray(svg$1), _toConsumableArray(svgFilters), _toConsumableArray(mathMl$1), _toConsumableArray(text)));\n\n /* Allowed attribute names */\n var ALLOWED_ATTR = null;\n var DEFAULT_ALLOWED_ATTR = addToSet({}, [].concat(_toConsumableArray(html), _toConsumableArray(svg), _toConsumableArray(mathMl), _toConsumableArray(xml)));\n\n /*\n * Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.\n * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n */\n var CUSTOM_ELEMENT_HANDLING = Object.seal(Object.create(null, {\n tagNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n attributeNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n allowCustomizedBuiltInElements: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: false\n }\n }));\n\n /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n var FORBID_TAGS = null;\n\n /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n var FORBID_ATTR = null;\n\n /* Decide if ARIA attributes are okay */\n var ALLOW_ARIA_ATTR = true;\n\n /* Decide if custom data attributes are okay */\n var ALLOW_DATA_ATTR = true;\n\n /* Decide if unknown protocols are okay */\n var ALLOW_UNKNOWN_PROTOCOLS = false;\n\n /* Decide if self-closing tags in attributes are allowed.\n * Usually removed due to a mXSS issue in jQuery 3.0 */\n var ALLOW_SELF_CLOSE_IN_ATTR = true;\n\n /* Output should be safe for common template engines.\n * This means, DOMPurify removes data attributes, mustaches and ERB\n */\n var SAFE_FOR_TEMPLATES = false;\n\n /* Output should be safe even for XML used within HTML and alike.\n * This means, DOMPurify removes comments when containing risky content.\n */\n var SAFE_FOR_XML = true;\n\n /* Decide if document with ... should be returned */\n var WHOLE_DOCUMENT = false;\n\n /* Track whether config is already set on this instance of DOMPurify. */\n var SET_CONFIG = false;\n\n /* Decide if all elements (e.g. style, script) must be children of\n * document.body. By default, browsers might move them to document.head */\n var FORCE_BODY = false;\n\n /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported).\n * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n */\n var RETURN_DOM = false;\n\n /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported) */\n var RETURN_DOM_FRAGMENT = false;\n\n /* Try to return a Trusted Type object instead of a string, return a string in\n * case Trusted Types are not supported */\n var RETURN_TRUSTED_TYPE = false;\n\n /* Output should be free from DOM clobbering attacks?\n * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n */\n var SANITIZE_DOM = true;\n\n /* Achieve full DOM Clobbering protection by isolating the namespace of named\n * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n *\n * HTML/DOM spec rules that enable DOM Clobbering:\n * - Named Access on Window (§7.3.3)\n * - DOM Tree Accessors (§3.1.5)\n * - Form Element Parent-Child Relations (§4.10.3)\n * - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n * - HTMLCollection (§4.2.10.2)\n *\n * Namespace isolation is implemented by prefixing `id` and `name` attributes\n * with a constant string, i.e., `user-content-`\n */\n var SANITIZE_NAMED_PROPS = false;\n var SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n\n /* Keep element content when removing element? */\n var KEEP_CONTENT = true;\n\n /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n * of importing it into a new Document and returning a sanitized copy */\n var IN_PLACE = false;\n\n /* Allow usage of profiles like html, svg and mathMl */\n var USE_PROFILES = {};\n\n /* Tags to ignore content of when KEEP_CONTENT is true */\n var FORBID_CONTENTS = null;\n var DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n\n /* Tags that are safe for data: URIs */\n var DATA_URI_TAGS = null;\n var DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n\n /* Attributes safe for values like \"javascript:\" */\n var URI_SAFE_ATTRIBUTES = null;\n var DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n var MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n /* Document namespace */\n var NAMESPACE = HTML_NAMESPACE;\n var IS_EMPTY_INPUT = false;\n\n /* Allowed XHTML+XML namespaces */\n var ALLOWED_NAMESPACES = null;\n var DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);\n\n /* Parsing of strict XHTML documents */\n var PARSER_MEDIA_TYPE;\n var SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n var DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n var transformCaseFunc;\n\n /* Keep a reference to config to pass to hooks */\n var CONFIG = null;\n\n /* Ideally, do not touch anything below this line */\n /* ______________________________________________ */\n\n var formElement = document.createElement('form');\n var isRegexOrFunction = function isRegexOrFunction(testValue) {\n return testValue instanceof RegExp || testValue instanceof Function;\n };\n\n /**\n * _parseConfig\n *\n * @param {Object} cfg optional config literal\n */\n // eslint-disable-next-line complexity\n var _parseConfig = function _parseConfig(cfg) {\n if (CONFIG && CONFIG === cfg) {\n return;\n }\n\n /* Shield configuration object from tampering */\n if (!cfg || _typeof(cfg) !== 'object') {\n cfg = {};\n }\n\n /* Shield configuration object from prototype pollution */\n cfg = clone(cfg);\n PARSER_MEDIA_TYPE =\n // eslint-disable-next-line unicorn/prefer-includes\n SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE : PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE;\n\n // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;\n\n /* Set configuration parameters */\n ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;\n ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;\n ALLOWED_NAMESPACES = 'ALLOWED_NAMESPACES' in cfg ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;\n URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES),\n // eslint-disable-line indent\n cfg.ADD_URI_SAFE_ATTR,\n // eslint-disable-line indent\n transformCaseFunc // eslint-disable-line indent\n ) // eslint-disable-line indent\n : DEFAULT_URI_SAFE_ATTRIBUTES;\n DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS),\n // eslint-disable-line indent\n cfg.ADD_DATA_URI_TAGS,\n // eslint-disable-line indent\n transformCaseFunc // eslint-disable-line indent\n ) // eslint-disable-line indent\n : DEFAULT_DATA_URI_TAGS;\n FORBID_CONTENTS = 'FORBID_CONTENTS' in cfg ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;\n FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};\n FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};\n USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;\n ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true\n WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n IN_PLACE = cfg.IN_PLACE || false; // Default false\n IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI$1;\n NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};\n if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n }\n if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n }\n if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {\n CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n }\n if (SAFE_FOR_TEMPLATES) {\n ALLOW_DATA_ATTR = false;\n }\n if (RETURN_DOM_FRAGMENT) {\n RETURN_DOM = true;\n }\n\n /* Parse profile info */\n if (USE_PROFILES) {\n ALLOWED_TAGS = addToSet({}, _toConsumableArray(text));\n ALLOWED_ATTR = [];\n if (USE_PROFILES.html === true) {\n addToSet(ALLOWED_TAGS, html$1);\n addToSet(ALLOWED_ATTR, html);\n }\n if (USE_PROFILES.svg === true) {\n addToSet(ALLOWED_TAGS, svg$1);\n addToSet(ALLOWED_ATTR, svg);\n addToSet(ALLOWED_ATTR, xml);\n }\n if (USE_PROFILES.svgFilters === true) {\n addToSet(ALLOWED_TAGS, svgFilters);\n addToSet(ALLOWED_ATTR, svg);\n addToSet(ALLOWED_ATTR, xml);\n }\n if (USE_PROFILES.mathMl === true) {\n addToSet(ALLOWED_TAGS, mathMl$1);\n addToSet(ALLOWED_ATTR, mathMl);\n addToSet(ALLOWED_ATTR, xml);\n }\n }\n\n /* Merge configuration parameters */\n if (cfg.ADD_TAGS) {\n if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n ALLOWED_TAGS = clone(ALLOWED_TAGS);\n }\n addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n }\n if (cfg.ADD_ATTR) {\n if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n ALLOWED_ATTR = clone(ALLOWED_ATTR);\n }\n addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n }\n if (cfg.ADD_URI_SAFE_ATTR) {\n addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n }\n if (cfg.FORBID_CONTENTS) {\n if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n FORBID_CONTENTS = clone(FORBID_CONTENTS);\n }\n addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n }\n\n /* Add #text in case KEEP_CONTENT is set to true */\n if (KEEP_CONTENT) {\n ALLOWED_TAGS['#text'] = true;\n }\n\n /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n if (WHOLE_DOCUMENT) {\n addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n }\n\n /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n if (ALLOWED_TAGS.table) {\n addToSet(ALLOWED_TAGS, ['tbody']);\n delete FORBID_TAGS.tbody;\n }\n\n // Prevent further manipulation of configuration.\n // Not available in IE8, Safari 5, etc.\n if (freeze) {\n freeze(cfg);\n }\n CONFIG = cfg;\n };\n var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n var HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);\n\n // Certain elements are allowed in both SVG and HTML\n // namespace. We need to specify them explicitly\n // so that they don't get erroneously deleted from\n // HTML namespace.\n var COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);\n\n /* Keep track of all possible SVG and MathML tags\n * so that we can perform the namespace checks\n * correctly. */\n var ALL_SVG_TAGS = addToSet({}, svg$1);\n addToSet(ALL_SVG_TAGS, svgFilters);\n addToSet(ALL_SVG_TAGS, svgDisallowed);\n var ALL_MATHML_TAGS = addToSet({}, mathMl$1);\n addToSet(ALL_MATHML_TAGS, mathMlDisallowed);\n\n /**\n *\n *\n * @param {Element} element a DOM element whose namespace is being checked\n * @returns {boolean} Return false if the element has a\n * namespace that a spec-compliant parser would never\n * return. Return true otherwise.\n */\n var _checkValidNamespace = function _checkValidNamespace(element) {\n var parent = getParentNode(element);\n\n // In JSDOM, if we're inside shadow DOM, then parentNode\n // can be null. We just simulate parent in this case.\n if (!parent || !parent.tagName) {\n parent = {\n namespaceURI: NAMESPACE,\n tagName: 'template'\n };\n }\n var tagName = stringToLowerCase(element.tagName);\n var parentTagName = stringToLowerCase(parent.tagName);\n if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n return false;\n }\n if (element.namespaceURI === SVG_NAMESPACE) {\n // The only way to switch from HTML namespace to SVG\n // is via . If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'svg';\n }\n\n // The only way to switch from MathML to SVG is via`\n // svg if parent is either or MathML\n // text integration points.\n if (parent.namespaceURI === MATHML_NAMESPACE) {\n return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n }\n\n // We only allow elements that are defined in SVG\n // spec. All others are disallowed in SVG namespace.\n return Boolean(ALL_SVG_TAGS[tagName]);\n }\n if (element.namespaceURI === MATHML_NAMESPACE) {\n // The only way to switch from HTML namespace to MathML\n // is via . If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'math';\n }\n\n // The only way to switch from SVG to MathML is via\n // and HTML integration points\n if (parent.namespaceURI === SVG_NAMESPACE) {\n return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n }\n\n // We only allow elements that are defined in MathML\n // spec. All others are disallowed in MathML namespace.\n return Boolean(ALL_MATHML_TAGS[tagName]);\n }\n if (element.namespaceURI === HTML_NAMESPACE) {\n // The only way to switch from SVG to HTML is via\n // HTML integration points, and from MathML to HTML\n // is via MathML text integration points\n if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {\n return false;\n }\n if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {\n return false;\n }\n\n // We disallow tags that are specific for MathML\n // or SVG and should never appear in HTML namespace\n return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n }\n\n // For XHTML and XML documents that support custom namespaces\n if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {\n return true;\n }\n\n // The code should never reach this place (this means\n // that the element somehow got namespace that is not\n // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).\n // Return false just in case.\n return false;\n };\n\n /**\n * _forceRemove\n *\n * @param {Node} node a DOM node\n */\n var _forceRemove = function _forceRemove(node) {\n arrayPush(DOMPurify.removed, {\n element: node\n });\n try {\n // eslint-disable-next-line unicorn/prefer-dom-node-remove\n node.parentNode.removeChild(node);\n } catch (_) {\n try {\n node.outerHTML = emptyHTML;\n } catch (_) {\n node.remove();\n }\n }\n };\n\n /**\n * _removeAttribute\n *\n * @param {String} name an Attribute name\n * @param {Node} node a DOM node\n */\n var _removeAttribute = function _removeAttribute(name, node) {\n try {\n arrayPush(DOMPurify.removed, {\n attribute: node.getAttributeNode(name),\n from: node\n });\n } catch (_) {\n arrayPush(DOMPurify.removed, {\n attribute: null,\n from: node\n });\n }\n node.removeAttribute(name);\n\n // We void attribute values for unremovable \"is\"\" attributes\n if (name === 'is' && !ALLOWED_ATTR[name]) {\n if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n try {\n _forceRemove(node);\n } catch (_) {}\n } else {\n try {\n node.setAttribute(name, '');\n } catch (_) {}\n }\n }\n };\n\n /**\n * _initDocument\n *\n * @param {String} dirty a string of dirty markup\n * @return {Document} a DOM, filled with the dirty markup\n */\n var _initDocument = function _initDocument(dirty) {\n /* Create a HTML document */\n var doc;\n var leadingWhitespace;\n if (FORCE_BODY) {\n dirty = '' + dirty;\n } else {\n /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n var matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n leadingWhitespace = matches && matches[0];\n }\n if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {\n // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n dirty = '' + dirty + '';\n }\n var dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;\n /*\n * Use the DOMParser API by default, fallback later if needs be\n * DOMParser not work for svg when has multiple root element.\n */\n if (NAMESPACE === HTML_NAMESPACE) {\n try {\n doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n } catch (_) {}\n }\n\n /* Use createHTMLDocument in case DOMParser is not available */\n if (!doc || !doc.documentElement) {\n doc = implementation.createDocument(NAMESPACE, 'template', null);\n try {\n doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n } catch (_) {\n // Syntax error if dirtyPayload is invalid xml\n }\n }\n var body = doc.body || doc.documentElement;\n if (dirty && leadingWhitespace) {\n body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n }\n\n /* Work on whole document or just its body */\n if (NAMESPACE === HTML_NAMESPACE) {\n return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];\n }\n return WHOLE_DOCUMENT ? doc.documentElement : body;\n };\n\n /**\n * _createIterator\n *\n * @param {Document} root document/fragment to create iterator for\n * @return {Iterator} iterator instance\n */\n var _createIterator = function _createIterator(root) {\n return createNodeIterator.call(root.ownerDocument || root, root,\n // eslint-disable-next-line no-bitwise\n NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null, false);\n };\n\n /**\n * _isClobbered\n *\n * @param {Node} elm element to check for clobbering attacks\n * @return {Boolean} true if clobbered, false if safe\n */\n var _isClobbered = function _isClobbered(elm) {\n return elm instanceof HTMLFormElement && (typeof elm.nodeName !== 'string' || typeof elm.textContent !== 'string' || typeof elm.removeChild !== 'function' || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== 'function' || typeof elm.setAttribute !== 'function' || typeof elm.namespaceURI !== 'string' || typeof elm.insertBefore !== 'function' || typeof elm.hasChildNodes !== 'function');\n };\n\n /**\n * _isNode\n *\n * @param {Node} obj object to check whether it's a DOM node\n * @return {Boolean} true is object is a DOM node\n */\n var _isNode = function _isNode(object) {\n return _typeof(Node) === 'object' ? object instanceof Node : object && _typeof(object) === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string';\n };\n\n /**\n * _executeHook\n * Execute user configurable hooks\n *\n * @param {String} entryPoint Name of the hook's entry point\n * @param {Node} currentNode node to work on with the hook\n * @param {Object} data additional hook parameters\n */\n var _executeHook = function _executeHook(entryPoint, currentNode, data) {\n if (!hooks[entryPoint]) {\n return;\n }\n arrayForEach(hooks[entryPoint], function (hook) {\n hook.call(DOMPurify, currentNode, data, CONFIG);\n });\n };\n\n /**\n * _sanitizeElements\n *\n * @protect nodeName\n * @protect textContent\n * @protect removeChild\n *\n * @param {Node} currentNode to check for permission to exist\n * @return {Boolean} true if node was killed, false if left alive\n */\n var _sanitizeElements = function _sanitizeElements(currentNode) {\n var content;\n\n /* Execute a hook if present */\n _executeHook('beforeSanitizeElements', currentNode, null);\n\n /* Check if element is clobbered or can clobber */\n if (_isClobbered(currentNode)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Check if tagname contains Unicode */\n if (regExpTest(/[\\u0080-\\uFFFF]/, currentNode.nodeName)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Now let's check the element's type and name */\n var tagName = transformCaseFunc(currentNode.nodeName);\n\n /* Execute a hook if present */\n _executeHook('uponSanitizeElement', currentNode, {\n tagName: tagName,\n allowedTags: ALLOWED_TAGS\n });\n\n /* Detect mXSS attempts abusing namespace confusion */\n if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && (!_isNode(currentNode.content) || !_isNode(currentNode.content.firstElementChild)) && regExpTest(/<[/\\w]/g, currentNode.innerHTML) && regExpTest(/<[/\\w]/g, currentNode.textContent)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Mitigate a problem with templates inside select */\n if (tagName === 'select' && regExpTest(/