{"version":3,"sources":["webpack:///./app/models/access/access-scope.ts","webpack:///./app/models/access/access-scope-list.ts","webpack:///./app/models/address.ts","webpack:///./app/models/alert-setting.ts","webpack:///./app/models/bodybox/bodybox-weight-alert.ts","webpack:///./app/models/bodybox/bodybox-bariatric-configuration.ts","webpack:///./app/models/bodybox/bodybox-weight-configuration.ts","webpack:///./app/models/bodybox/bodybox-storage-configuration.ts","webpack:///./app/models/bodybox/bodybox.ts","webpack:///./app/models/bodybox/bodybox-capacity.ts","webpack:///./app/models/dates/format-tokens.ts","webpack:///./app/models/dates/format-date.ts","webpack:///./app/models/dates/format-datetime.ts","webpack:///./app/models/case/autopsy-collection.ts","webpack:///./app/models/dates/decorators/index.ts","webpack:///./app/models/case/notes-collection.ts","webpack:///./app/models/case/funeral-home.ts","webpack:///./app/models/case/organ-donation-collection.ts","webpack:///./app/models/case/decedent-info.ts","webpack:///./app/models/case/personal-belongings-collection.ts","webpack:///./app/models/case/tags-collection.ts","webpack:///./app/models/case/transport-history.ts","webpack:///./app/models/case/document-collection.ts","webpack:///./app/models/case/case-action.ts","webpack:///./app/models/case/origin-location.ts","webpack:///./app/models/case/medical-examiner.ts","webpack:///./app/models/case/infectious-disease.ts","webpack:///./app/models/case/hold.ts","webpack:///./app/models/case/notice.ts","webpack:///./app/models/case/next-of-kin-collection.ts","webpack:///./app/models/case/death-certificate.ts","webpack:///./app/models/case/services/case-services.ts","webpack:///./app/models/case/services/case-service.ts","webpack:///./app/models/case/services/case-service-type.ts","webpack:///./app/models/case/services/autopsy.ts","webpack:///./app/models/case/services/donation-procurement.ts","webpack:///./app/models/case/services/medicolegal-investigation.ts","webpack:///./app/models/case/custody-status.ts","webpack:///./app/models/case/case.ts","webpack:///./app/models/case/case-transport-permission-report.ts","webpack:///./app/models/case/events/event-category.ts","webpack:///./app/models/case/requirement-status.ts","webpack:///./app/models/dictionaries/organization.ts","webpack:///./app/models/case/events/event-type.ts","webpack:///./app/models/case/events/event-hierarchy.ts","webpack:///./app/models/dictionaries/dictionary-item.ts","webpack:///./app/models/dictionaries/case-type.ts","webpack:///./app/models/dictionaries/case-service-requirement.ts","webpack:///./app/models/dictionaries/case-service-status.ts","webpack:///./app/models/dictionaries/fluid-location.ts","webpack:///./app/models/dictionaries/next-of-kin-type.ts","webpack:///./app/models/dictionaries/origin-location.ts","webpack:///./app/models/dictionaries/signing-physician-status.ts","webpack:///./app/models/tag.ts","webpack:///./app/models/dictionaries/tags.ts","webpack:///./app/models/case/summaries/tags.ts","webpack:///./app/models/case/summaries/case-summary.ts","webpack:///./app/models/case/summaries/reservation-summary.ts","webpack:///./app/models/case/summaries/bodybox-summary.ts","webpack:///./app/models/case/summaries/outbox-summary.ts","webpack:///./app/models/paging/page-result.ts","webpack:///./app/models/tenant/report-definition.ts","webpack:///./app/models/tenant/report-format.ts","webpack:///./app/models/ssn.ts","webpack:///./app/models/tenant/tenant.ts","webpack:///./app/models/user.ts","webpack:///./app/models/mass-unit.ts","webpack:///./app/models/user-invite.ts","webpack:///./.nuxt/utils.js","webpack:///./store/dictionaries/mutations.ts","webpack:///./app/core/casl/reactive-ability.ts","webpack:///./app/core/casl/inject-ability.ts","webpack:///./app/core/casl/components/can.ts","webpack:///./app/core/casl/plugin.ts","webpack:///./app/core/casl/index.ts","webpack:///./app/core/api/requests/dictionaries/case-service-requirement.ts","webpack:///./app/core/api/requests/dictionaries/case-service-status.ts","webpack:///./app/core/api/requests/dictionaries/case-type.ts","webpack:///./app/core/api/requests/dictionaries/next-of-kin.ts","webpack:///./app/core/api/requests/dictionaries/organization.ts","webpack:///./app/core/api/requests/dictionaries/origin-location.ts","webpack:///./app/core/api/requests/dictionaries/signing-physician-status.ts","webpack:///./app/core/api/requests/dictionaries/tags.ts","webpack:///./app/models/dates/date-only.ts","webpack:///./store/tenant/index.ts","webpack:///./app/core/module-system/use-module.ts","webpack:///./app/components/ui/form/symbols.ts","webpack:///./app/core/api/requests/dictionaries/base.ts","webpack:///./app/core/module-system/module.ts","webpack:///./app/utils/id.ts","webpack:///./app/modules/case-details/store/state.ts","webpack:///./app/modules/case-details/store/getters.ts","webpack:///./app/modules/case-details/store/mutations.ts","webpack:///./app/core/api/requests/cases/update-case-request.ts","webpack:///./app/core/api/requests/cases/create-checkout-report-request.ts","webpack:///./app/modules/case-details/store/actions.ts","webpack:///./app/modules/case-details/store/index.ts","webpack:///./app/modules/bodybox/store/state.ts","webpack:///./app/modules/bodybox/store/getters.ts","webpack:///./app/modules/bodybox/store/mutations.ts","webpack:///./app/modules/bodybox/store/actions.ts","webpack:///./app/modules/bodybox/store/index.ts","webpack:///./app/composables/use-store-module.ts","webpack:///./app/core/casl/constants.ts","webpack:///./.nuxt/composition-api/globals.mjs","webpack:///./app/core/services/barcoding/printing/errors.ts","webpack:///./store/access/index.ts","webpack:///./store/index.ts","webpack:///./app/models/dates/utils.ts","webpack:///./app/utils/async.ts","webpack:///./app/core/logging/console/logger.ts","webpack:///./app/core/logging/toast/logger.ts","webpack:///./app/core/logging/log-provider.ts","webpack:///./app/core/logging/app-insights/logger.ts","webpack:///./app/models/dates/date-time-info.ts","webpack:///./.nuxt/router.scrollBehavior.js","webpack:///./.nuxt/router.js","webpack:///./.nuxt/components/nuxt-child.js","webpack:///./app/modules/layout/components/templates/default-error-template.vue?93dc","webpack:///./app/modules/layout/components/templates/default-error-template.vue?8ef9","webpack:///./app/modules/layout/components/templates/default-error-template.vue","webpack:///./app/modules/layout/components/templates/default-error-template.vue?a370","webpack:///./app/modules/layout/components/templates/403-error-template.vue?3a31","webpack:///./app/modules/layout/components/templates/403-error-template.vue?48af","webpack:///./app/modules/layout/components/templates/403-error-template.vue","webpack:///./app/modules/layout/components/templates/403-error-template.vue?8e64","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?9688","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?0224","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?ec12","webpack:///./app/modules/layout/components/templates/404-error-template.vue?cf09","webpack:///./app/modules/layout/components/templates/404-error-template.vue?924f","webpack:///./app/modules/layout/components/templates/404-error-template.vue","webpack:///./app/modules/layout/components/templates/404-error-template.vue?2150","webpack:///./layouts/error.vue?5fa3","webpack:///./layouts/error.vue?8c54","webpack:///./layouts/error.vue","webpack:///./layouts/error.vue?30e2","webpack:///./.nuxt/components/nuxt.js","webpack:///./.nuxt/components/nuxt-loading.vue?b138","webpack:///.nuxt/components/nuxt-loading.vue","webpack:///./.nuxt/components/nuxt-loading.vue","webpack:///./app/composables/use-service-worker.ts","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?0019","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?eadc","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?f553","webpack:///./app/modules/layout/components/organisms/the-tenant-logo.vue?c315","webpack:///./app/modules/layout/components/organisms/the-tenant-logo.vue?23ba","webpack:///./app/modules/layout/components/organisms/the-tenant-logo.vue","webpack:///./app/modules/layout/components/organisms/the-tenant-logo.vue?b5d2","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?780e","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?c699","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?5c24","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?dc72","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?0e2f","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?126b","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?f4a1","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?a624","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?c202","webpack:///./app/modules/layout/components/molecules/tab-bar/symbols.ts","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?4a9c","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?8170","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?9ca4","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?19f1","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?f25d","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?3d3a","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?8cb8","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?220b","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?267b","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?074f","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?f973","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?12f7","webpack:///./app/modules/layout/components/molecules/tab-bar/index.ts","webpack:///./app/modules/barcoding/components/organisms/scan-match.vue?4195","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?b396","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?1eb5","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?b513","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?0f24","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?2159","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?6a26","webpack:///./app/modules/barcoding/components/organisms/transport-modal-provider.vue?e5b7","webpack:///./app/modules/barcoding/components/organisms/scan-match.vue?3f10","webpack:///./app/modules/barcoding/components/organisms/scan-match.vue","webpack:///./app/modules/barcoding/components/organisms/scan-match.vue?d14c","webpack:///./app/modules/barcoding/components/organisms/scan-counter.vue?5006","webpack:///./app/modules/barcoding/components/organisms/scan-counter.vue?b062","webpack:///./app/modules/barcoding/components/organisms/scan-counter.vue","webpack:///./app/modules/barcoding/components/organisms/scan-counter.vue?615d","webpack:///./app/modules/barcoding/components/organisms/transport-modal-provider.vue?ea7c","webpack:///./app/modules/barcoding/components/organisms/transport-modal-provider.vue","webpack:///./app/modules/barcoding/components/organisms/transport-modal-provider.vue?c0d1","webpack:///./app/utils/tick-timer.ts","webpack:///./app/core/services/barcoding/scanning/errors.ts","webpack:///./app/core/services/barcoding/scanning/scan-service.ts","webpack:///./app/core/services/barcoding/scanning/ignored-elements.ts","webpack:///./app/modules/barcoding/composables/use-scanner.ts","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?5a8e","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?4e92","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?cbf3","webpack:///./app/modules/layout/components/organisms/the-support-button.vue?2780","webpack:///app/modules/layout/components/organisms/the-support-button.vue","webpack:///./app/modules/layout/components/organisms/the-support-button.vue","webpack:///./app/modules/layout/components/organisms/the-support-button.vue?22c8","webpack:///./layouts/default.vue?bdb4","webpack:///./layouts/default.vue?c073","webpack:///./layouts/default.vue","webpack:///./layouts/default.vue?0f93","webpack:///./layouts/empty.vue?87c2","webpack:///./layouts/empty.vue?0d74","webpack:///./layouts/empty.vue","webpack:///./layouts/empty.vue?4ea9","webpack:///./layouts/registration.vue?b3d3","webpack:///./layouts/registration.vue?eaaa","webpack:///./layouts/registration.vue","webpack:///./layouts/registration.vue?b76a","webpack:///./.nuxt/App.js","webpack:///./.nuxt/store.js","webpack:///./.nuxt/composition-api/plugin.mjs","webpack:///./.nuxt/appinsights-vue.js","webpack:///./.nuxt/appinsights.client.js","webpack:///./.nuxt/http.js","webpack:///./.nuxt/pwa/meta.utils.js","webpack:///./.nuxt/pwa/meta.plugin.js","webpack:///./plugins/version.ts","webpack:///./plugins/pwa/update.ts","webpack:///./app/core/api/client.ts","webpack:///./app/core/auth/events/events.ts","webpack:///./plugins/api/tenant.ts","webpack:///./app/core/auth/events/bus.ts","webpack:///./app/core/auth/events/task-queue.ts","webpack:///./app/core/auth/service.ts","webpack:///./plugins/auth.ts","webpack:///./app/core/auth/nuxt/plugin.ts","webpack:///./plugins/api/primary.ts","webpack:///./plugins/logging/index.ts","webpack:///./app/core/logging/sentry/logger.ts","webpack:///./plugins/logging/sentry/index.ts","webpack:///./app/core/services/intercom/intercom-service.ts","webpack:///./plugins/intercom/index.ts","webpack:///./plugins/logging/app-insights.ts","webpack:///./app/core/services/idle-timer/index.ts","webpack:///./app/modules/shared/composables/use-inactivity-countdown.tsx","webpack:///./plugins/idle-timer.ts","webpack:///./plugins/user-registration.ts","webpack:///./app/core/casl/types/app-ability.ts","webpack:///./plugins/abilities.ts","webpack:///./app/modules/reservations/index.ts","webpack:///./app/modules/bodybox/index.ts","webpack:///./app/modules/outbox/index.ts","webpack:///./app/modules/settings/index.ts","webpack:///./app/modules/case-details/index.ts","webpack:///./plugins/module-system/bootstrap.ts","webpack:///./app/core/services/language/defaults.ts","webpack:///./app/core/services/language/language-service.ts","webpack:///./plugins/language/index.ts","webpack:///./plugins/components/antd-ui/components.ts","webpack:///./plugins/components/global.ts","webpack:///./app/core/services/barcoding/printing/constants/api-url.ts","webpack:///./app/core/services/barcoding/printing/constants/commands.ts","webpack:///./app/core/services/barcoding/printing/zebra-print-service.ts","webpack:///./plugins/zebra/index.ts","webpack:///./.nuxt/composition-api/meta.mjs","webpack:///./.nuxt/index.js","webpack:///./app/composables/use-tenant-config.ts","webpack:///./app/core/api/use-api.ts","webpack:///./store/access/mutations.ts","webpack:///./app/composables/use-intercom.ts","webpack:///./app/core/module-system/index.ts","webpack:///./app/components/ui/modal/index.ts","webpack:///./app/composables/use-expiration-formatter.ts","webpack:///./app/models/case/summaries/insights.ts","webpack:///./app/modules/shared/components/organisms/case-check-in-modal/modal-event.ts","webpack:///./app/modules/shared/components/organisms/case-transfer-modal/modal-event.ts","webpack:///./app/modules/shared/components/organisms/case-checkout-modal/modal-event.ts","webpack:///./store/tenant/mutations.ts","webpack:///./app/core/api/factory/partials/alerts.ts","webpack:///./app/core/api/factory/partials/bodyboxes.ts","webpack:///./app/core/api/factory/partials/cases.ts","webpack:///./app/core/api/factory/partials/dictionaries.ts","webpack:///./app/core/api/factory/partials/outbox.ts","webpack:///./app/core/api/factory/partials/reservations.ts","webpack:///./app/core/api/factory/partials/user.ts","webpack:///./app/core/api/factory/partials/tenant.ts","webpack:///./app/core/api/factory/partials/tenant-discovery.ts","webpack:///./app/core/api/factory/partials/reporting.ts","webpack:///./app/core/api/factory/partials/intercom.ts","webpack:///./app/core/api/factory/index.ts","webpack:///./app/modules/registration/routes.ts","webpack:///./app/composables/use-trip-switch.ts","webpack:///./app/components/ui/menu-button/menu-button.vue?9d77","webpack:///./app/components/ui/menu-button/menu-button.vue?d8af","webpack:///./app/components/ui/menu-button/menu-button.vue?cf61","webpack:///./app/components/ui/menu-button/menu-button.vue","webpack:///./app/utils/dom.ts","webpack:///./app/modules/settings/store/state.ts","webpack:///./app/modules/settings/store/actions.ts","webpack:///./app/modules/settings/store/index.ts","webpack:///./app/modules/layout/index.ts","webpack:///./app/modules/settings/routes.ts","webpack:///./app/modules/bodybox/composables/use-store.ts","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?9b2f","webpack:///./app/components/ui/color-picker/constants.ts","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?ddad","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?a432","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue","webpack:///./app/components/ui/color-picker/useColorPicker.ts","webpack:///./app/components/ui/color-picker/index.ts","webpack:///./app/modules/barcoding/index.ts","webpack:///./app/core/services/access-scope-service.ts","webpack:///./app/core/api/requests/cases/create-case-request.ts","webpack:///./store/dictionaries/actions.ts","webpack:///./store/tenant/actions.ts","webpack:///./store/access/actions.ts","webpack:///./app/modules/reporting/composables/use-reporting.ts","webpack:///./app/core/auth/index.ts","webpack:///./app/core/api/requests/user/register-user-request.ts","webpack:///./app/modules/registration/index.ts","webpack:///./plugins/components/antd-ui/icons.ts","webpack:///./.nuxt/components/nuxt-link.client.js","webpack:///./app/modules/shared/components/organisms/case-check-in-modal/case-check-in-modal-lazy.vue?97bc","webpack:///./app/modules/shared/components/organisms/case-check-in-modal/case-check-in-modal-lazy.vue?2b20","webpack:///./app/modules/shared/components/organisms/case-check-in-modal/case-check-in-modal-lazy.vue?22e1","webpack:///./app/modules/shared/components/organisms/case-check-in-modal/case-check-in-modal-lazy.vue","webpack:///./app/modules/shared/components/organisms/case-checkout-modal/case-checkout-modal-lazy.vue?fbe0","webpack:///./app/modules/shared/components/organisms/case-checkout-modal/case-checkout-modal-lazy.vue?f354","webpack:///./app/modules/shared/components/organisms/case-checkout-modal/case-checkout-modal-lazy.vue?b70a","webpack:///./app/modules/shared/components/organisms/case-checkout-modal/case-checkout-modal-lazy.vue","webpack:///./app/modules/shared/components/organisms/case-transfer-modal/case-transfer-modal-lazy.vue?03c8","webpack:///./app/modules/shared/components/organisms/case-transfer-modal/case-transfer-modal-lazy.vue?ab01","webpack:///./app/modules/shared/components/organisms/case-transfer-modal/case-transfer-modal-lazy.vue?8edd","webpack:///./app/modules/shared/components/organisms/case-transfer-modal/case-transfer-modal-lazy.vue","webpack:///./app/utils/strings.ts","webpack:///./store/dictionaries/state.ts","webpack:///./store/tenant/state.ts","webpack:///./store/access/state.ts","webpack:///./.nuxt/middleware.js","webpack:///./.nuxt/workbox.js","webpack:///./plugins/browser.ts","webpack:///./app/composables/use-swrv.ts","webpack:///./app/modules/case-details/composables/use-store.ts","webpack:///./store/dictionaries/index.ts","webpack:///./app/composables/use-logger.ts","webpack:///./app/utils/sorting.ts","webpack:///./app/modules/bodybox/components/molecules/case-card-details.vue?4f56","webpack:///./app/modules/bodybox/components/molecules/case-card-details.vue?6ef3","webpack:///./app/modules/bodybox/components/molecules/case-card-details.vue?f1fd","webpack:///./app/modules/bodybox/components/molecules/case-card-details.vue","webpack:///./app/core/services/event-bus.ts","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?a864","webpack:///./.nuxt/components/nuxt-loading.vue?c588","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?8eea","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?6021","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?2b36","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?41b4","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?d0b8","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?90a5","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?2c26","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?6f78","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?d92f","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?4db1","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?148f","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?4e5e","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?e6cc","webpack:///./layouts/default.vue?de99","webpack:///./assets/images/morgueboard-logo.svg","webpack:///./layouts/registration.vue?1e96","webpack:///./app/components/ui/alert/alert-icon.vue?75c1","webpack:///./app/components/ui/alert/alert.vue?1aa0","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?eb9f","webpack:///./app/components/ui/checklist/checklist-item.vue?f316","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?3247","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?5722","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?beb5","webpack:///./app/components/ui/delete/delete-confirm.vue?afea","webpack:///./app/components/ui/delete/delete-popconfirm.vue?2348","webpack:///./app/components/ui/divider/divider.vue?bcb5","webpack:///./app/components/ui/editor/editor-content.vue?8d21","webpack:///./app/components/ui/editor/editor-toolbar.vue?d65b","webpack:///./app/components/ui/editor/editor.vue?c102","webpack:///./app/components/ui/editor/editor.vue?3516","webpack:///./app/components/ui/filter/filter-pill.vue?0385","webpack:///./app/components/ui/filter/filter-toggle.vue?1a6a","webpack:///./app/components/ui/folder/folder.vue?c2e4","webpack:///./app/components/ui/form/form.vue?da0f","webpack:///./app/components/ui/form/form-item-label.vue?512b","webpack:///./app/components/ui/form/form-item-error.vue?f5d0","webpack:///./app/components/ui/form/form-item-content.vue?c812","webpack:///./app/components/ui/form/form-item.vue?ca90","webpack:///./app/components/ui/form/form-row.vue?951f","webpack:///./app/components/ui/grid/grid.vue?e6a2","webpack:///./app/components/ui/mass/mass-input.vue?3248","webpack:///./app/components/ui/menu-button/menu-button.vue?c369","webpack:///./app/components/ui/menu-button/menu-button.vue?13a6","webpack:///./app/components/ui/menu-button/menu-button.vue?4c00","webpack:///./app/components/ui/menu/menu.vue?777f","webpack:///./app/components/ui/menu/menu-title.vue?1ca0","webpack:///./app/components/ui/menu/menu-item.vue?df67","webpack:///./app/components/ui/menu/sub-menu.vue?e632","webpack:///./app/components/ui/paginator/pagination-summary.vue?85bb","webpack:///./app/components/ui/progress/progress.vue?8f3f","webpack:///./app/components/ui/table/table.vue?758f","webpack:///./app/components/ui/toolbar/toolbar.vue?2ed0","webpack:///./app/components/ui/toolbar/toolbar-button.vue?605f","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?aa62","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?6492","webpack:///./app/components/ui/toolbar/toolbar-item.vue?530f","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?2494","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?cda8","webpack:///./app/components/ui/toolbar/toolbar-group.vue?1876","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?a497","webpack:///./app/components/ui/form/rules/common.ts","webpack:///./app/components/ui/form/rules/custom.ts","webpack:///./app/components/ui/form/rules/date.ts","webpack:///./app/components/ui/form/rules/phone.ts","webpack:///./app/components/ui/form/rules/ssn.ts","webpack:///./app/components/ui/form/rules/index.ts","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?2b42","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?7a6b","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?c04c","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue","webpack:///./app/modules/shared/components/molecules/capacity-badge.vue?5d9a","webpack:///./app/modules/shared/components/molecules/capacity-badge.vue?9cdf","webpack:///./app/modules/shared/components/molecules/capacity-badge.vue?55ef","webpack:///./app/modules/shared/components/molecules/capacity-badge.vue","webpack:///./.nuxt/mixins/fetch.client.js","webpack:///./app/components/ui/form/form.vue?36f3","webpack:///./app/components/ui/form/form.vue?71db","webpack:///./app/components/ui/form/form.vue?30f7","webpack:///./app/components/ui/form/form.vue","webpack:///./app/components/ui/form/form-item-label.vue?b82f","webpack:///./app/components/ui/form/form-item-label.vue?5709","webpack:///./app/components/ui/form/form-item-label.vue","webpack:///./app/components/ui/form/form-item-label.vue?4ad6","webpack:///./app/components/ui/form/form-item-error.vue?a066","webpack:///./app/components/ui/form/form-item-error.vue?69ea","webpack:///./app/components/ui/form/form-item-error.vue","webpack:///./app/components/ui/form/form-item-error.vue?e279","webpack:///./app/components/ui/form/form-item-content.vue?8521","webpack:///./app/components/ui/form/form-item-content.vue?ad2c","webpack:///./app/components/ui/form/form-item-content.vue","webpack:///./app/components/ui/form/form-item-content.vue?a686","webpack:///./app/components/ui/form/form-item.vue?3ea4","webpack:///./app/components/ui/form/form-item.vue?8d82","webpack:///./app/components/ui/form/form-item.vue","webpack:///./app/components/ui/form/form-item.vue?ac87","webpack:///./app/components/ui/form/form-row.vue?5db9","webpack:///./app/components/ui/form/form-row.vue?1a5b","webpack:///./app/components/ui/form/form-row.vue","webpack:///./app/components/ui/form/form-row.vue?fab2","webpack:///./app/components/ui/form/use-partial-form.ts","webpack:///./app/components/ui/form/index.ts","webpack:///./app/components/ui/skeleton/skeleton-card.vue?4598","webpack:///./app/components/ui/skeleton/skeleton-card.vue?2dc6","webpack:///./app/components/ui/skeleton/skeleton-card.vue?5fb6","webpack:///./app/components/ui/skeleton/skeleton-card.vue","webpack:///./app/components/ui/skeleton/skeleton-list.vue?ddde","webpack:///./app/components/ui/skeleton/skeleton-list.vue?9ceb","webpack:///./app/components/ui/skeleton/skeleton-list.vue","webpack:///./app/components/ui/skeleton/skeleton-list.vue?ca87","webpack:///./app/components/ui/skeleton/skeleton-misc.vue?6ce8","webpack:///./app/components/ui/skeleton/skeleton-misc.vue?00f1","webpack:///./app/components/ui/skeleton/skeleton-misc.vue","webpack:///./app/components/ui/skeleton/skeleton-misc.vue?62a5","webpack:///./app/components/ui/skeleton/index.ts","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?7ef0","webpack:///./app/components/ui/date-time-picker/utils.ts","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?d009","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?8d9f","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?c909","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?1c86","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?c1ce","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?e1e6","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?b9ef","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?7dd0","webpack:///./app/components/ui/date-time-picker/index.ts","webpack:///./app/components/ui/mass/mass-input.vue?c277","webpack:///./app/components/ui/mass/mass-input.vue?96f1","webpack:///./app/components/ui/mass/mass-input.vue?47fe","webpack:///./app/components/ui/mass/mass-input.vue","webpack:///./app/components/ui/mass/index.ts","webpack:///./app/components/ui/radio/radio-group.vue?a8f8","webpack:///./app/components/ui/radio/radio-group.vue?ecf3","webpack:///./app/components/ui/radio/radio-group.vue?12c2","webpack:///./app/components/ui/radio/radio-group.vue","webpack:///./app/components/ui/radio/index.ts","webpack:///./.nuxt/composition-api/register.js","webpack:///./.nuxt/client.js","webpack:///./middleware/access.ts","webpack:///./middleware/support.ts","webpack:///./middleware/tenant.ts","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?6d9d","webpack:///./app/modules/layout/components/templates/403-tenant-error-template.vue?ecad","webpack:///./.nuxt/components/nuxt-loading.vue?6a4f","webpack:///./.nuxt/components/nuxt-loading.vue?5aac","webpack:///./assets/scss/tailwind/tailwind.scss?0fb6","webpack:///./assets/scss/tailwind/tailwind.scss","webpack:///./assets/less/antd-ui.less?ddba","webpack:///./assets/less/antd-ui.less","webpack:///./assets/scss/main.scss?33ff","webpack:///./assets/scss/main.scss","webpack:///./assets/scss/fonts.scss?cee6","webpack:///./assets/scss/fonts.scss","webpack:///./assets/fonts/TTNormsPro-BoldItalic.woff2","webpack:///./assets/fonts/TTNormsPro-BoldItalic.woff","webpack:///./assets/fonts/TTNormsPro-BlackItalic.woff2","webpack:///./assets/fonts/TTNormsPro-BlackItalic.woff","webpack:///./assets/fonts/TTNormsPro-Black.woff2","webpack:///./assets/fonts/TTNormsPro-Black.woff","webpack:///./assets/fonts/TTNormsPro-ExtraBoldItalic.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraBoldItalic.woff","webpack:///./assets/fonts/TTNormsPro-Bold.woff2","webpack:///./assets/fonts/TTNormsPro-Bold.woff","webpack:///./assets/fonts/TTNormsPro-ExtraBlack.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraBlack.woff","webpack:///./assets/fonts/TTNormsPro-ExtraBlackItalic.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraBlackItalic.woff","webpack:///./assets/fonts/TTNormsPro-LightItalic.woff2","webpack:///./assets/fonts/TTNormsPro-LightItalic.woff","webpack:///./assets/fonts/TTNormsPro-ExtraBold.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraBold.woff","webpack:///./assets/fonts/TTNormsPro-Italic.woff2","webpack:///./assets/fonts/TTNormsPro-Italic.woff","webpack:///./assets/fonts/TTNormsPro-Light.woff2","webpack:///./assets/fonts/TTNormsPro-Light.woff","webpack:///./assets/fonts/TTNormsPro-ExtraLight.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraLight.woff","webpack:///./assets/fonts/TTNormsPro-ExtraLightItalic.woff2","webpack:///./assets/fonts/TTNormsPro-ExtraLightItalic.woff","webpack:///./assets/fonts/TTNormsPro-MediumItalic.woff2","webpack:///./assets/fonts/TTNormsPro-MediumItalic.woff","webpack:///./assets/fonts/TTNormsPro-ThinItalic.woff2","webpack:///./assets/fonts/TTNormsPro-ThinItalic.woff","webpack:///./assets/fonts/TTNormsPro-Thin.woff2","webpack:///./assets/fonts/TTNormsPro-Thin.woff","webpack:///./assets/fonts/TTNormsPro-Regular.woff2","webpack:///./assets/fonts/TTNormsPro-Regular.woff","webpack:///./assets/fonts/TTNormsPro-Medium.woff2","webpack:///./assets/fonts/TTNormsPro-Medium.woff","webpack:///./assets/scss/antd-theme.scss?704a","webpack:///./assets/scss/antd-theme.scss","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?7317","webpack:///./app/modules/layout/components/organisms/aside/the-aside-navigation.vue?3e89","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?f71e","webpack:///./app/modules/layout/components/organisms/aside/the-aside.vue?74d3","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?b57a","webpack:///./app/modules/layout/components/molecules/the-update-alert.vue?2ace","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?39bf","webpack:///./app/modules/layout/components/molecules/the-bread-crumbs.vue?3076","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?68b3","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar.vue?105d","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?8807","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-item.vue?1c10","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?c36d","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu-trigger.vue?2159","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?b09b","webpack:///./app/modules/layout/components/molecules/tab-bar/tab-bar-menu.vue?2550","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?93ba","webpack:///./app/modules/layout/components/organisms/the-bottom-bar.vue?5237","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?aee5","webpack:///./app/modules/layout/components/organisms/the-welcome-menu.vue?1bf6","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?5fa0","webpack:///./app/modules/barcoding/components/organisms/scan-zone.vue?8e68","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?9917","webpack:///./app/components/ui/color-picker/color-swatch-picker.vue?d609","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?0c75","webpack:///./app/modules/barcoding/components/organisms/scan-toast.vue?aad8","webpack:///./layouts/default.vue?1f00","webpack:///./layouts/default.vue?31b6","webpack:///./layouts/registration.vue?9020","webpack:///./layouts/registration.vue?348d","webpack:///./node_modules/moment/locale sync \\b\\B","webpack:///./app/components/ui sync index\\.ts","webpack:///./app/components/ui/alert/alert-icon.vue?8492","webpack:///./app/components/ui/alert/alert-icon.vue?47de","webpack:///./app/components/ui/alert/alert.vue?16da","webpack:///./app/components/ui/alert/alert.vue?15f1","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?cbed","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?6343","webpack:///./app/components/ui/checklist/checklist-item.vue?e122","webpack:///./app/components/ui/checklist/checklist-item.vue?877c","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?685f","webpack:///./app/components/ui/date-time-picker/date-time-picker.vue?d69e","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?d374","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar-menu.vue?4428","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?0ad7","webpack:///./app/components/ui/date-time-picker/date-time-picker-calendar.vue?7a47","webpack:///./app/components/ui/delete/delete-confirm.vue?92e4","webpack:///./app/components/ui/delete/delete-confirm.vue?491f","webpack:///./app/components/ui/delete/delete-popconfirm.vue?4cfa","webpack:///./app/components/ui/delete/delete-popconfirm.vue?5cc8","webpack:///./app/components/ui/divider/divider.vue?b9c5","webpack:///./app/components/ui/divider/divider.vue?35fd","webpack:///./app/components/ui/editor/editor-content.vue?943f","webpack:///./app/components/ui/editor/editor-content.vue?f2a8","webpack:///./app/components/ui/editor/editor-toolbar.vue?635c","webpack:///./app/components/ui/editor/editor-toolbar.vue?93ba","webpack:///./app/components/ui/editor/editor.vue?aeb8","webpack:///./app/components/ui/editor/editor.vue?c15e","webpack:///./app/components/ui/editor/editor.vue?751d","webpack:///./app/components/ui/editor/editor.vue?8c4c","webpack:///./app/components/ui/filter/filter-pill.vue?23d4","webpack:///./app/components/ui/filter/filter-pill.vue?5021","webpack:///./app/components/ui/filter/filter-toggle.vue?d879","webpack:///./app/components/ui/filter/filter-toggle.vue?3f64","webpack:///./app/components/ui/folder/folder.vue?7d35","webpack:///./app/components/ui/folder/folder.vue?e217","webpack:///./app/components/ui/form/form.vue?36bc","webpack:///./app/components/ui/form/form.vue?2d34","webpack:///./app/components/ui/form/form-item-label.vue?b4bb","webpack:///./app/components/ui/form/form-item-label.vue?6a2d","webpack:///./app/components/ui/form/form-item-error.vue?4ff9","webpack:///./app/components/ui/form/form-item-error.vue?a31e","webpack:///./app/components/ui/form/form-item-content.vue?06c4","webpack:///./app/components/ui/form/form-item-content.vue?fe72","webpack:///./app/components/ui/form/form-item.vue?a7ea","webpack:///./app/components/ui/form/form-item.vue?e85a","webpack:///./app/components/ui/form/form-row.vue?0e4e","webpack:///./app/components/ui/form/form-row.vue?7e32","webpack:///./app/components/ui/grid/grid.vue?10e3","webpack:///./app/components/ui/grid/grid.vue?04f1","webpack:///./app/components/ui/mass/mass-input.vue?55d1","webpack:///./app/components/ui/mass/mass-input.vue?06ee","webpack:///./app/components/ui/menu-button/menu-button.vue?376e","webpack:///./app/components/ui/menu-button/menu-button.vue?9481","webpack:///./app/components/ui/menu-button/menu-button.vue?c310","webpack:///./app/components/ui/menu-button/menu-button.vue?3de8","webpack:///./app/components/ui/menu-button/menu-button.vue?0b0f","webpack:///./app/components/ui/menu-button/menu-button.vue?0263","webpack:///./app/components/ui/menu/menu.vue?cc73","webpack:///./app/components/ui/menu/menu.vue?fdef","webpack:///./app/components/ui/menu/menu-title.vue?c119","webpack:///./app/components/ui/menu/menu-title.vue?ba73","webpack:///./app/components/ui/menu/menu-item.vue?7067","webpack:///./app/components/ui/menu/menu-item.vue?e4fa","webpack:///./app/components/ui/menu/sub-menu.vue?9efd","webpack:///./app/components/ui/menu/sub-menu.vue?c4f8","webpack:///./app/components/ui/paginator/pagination-summary.vue?44f2","webpack:///./app/components/ui/paginator/pagination-summary.vue?5db8","webpack:///./app/components/ui/progress/progress.vue?08e0","webpack:///./app/components/ui/progress/progress.vue?2b45","webpack:///./app/components/ui/table/table.vue?c1ac","webpack:///./app/components/ui/table/table.vue?dad5","webpack:///./app/components/ui/toolbar/toolbar.vue?945b","webpack:///./app/components/ui/toolbar/toolbar.vue?a2ae","webpack:///./app/components/ui/toolbar/toolbar-button.vue?a80f","webpack:///./app/components/ui/toolbar/toolbar-button.vue?e298","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?373a","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?44f4","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?66b5","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?5f89","webpack:///./app/components/ui/toolbar/toolbar-item.vue?c1ed","webpack:///./app/components/ui/toolbar/toolbar-item.vue?2bcd","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?16e5","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?9adb","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?3b3d","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?660c","webpack:///./app/components/ui/toolbar/toolbar-group.vue?a74e","webpack:///./app/components/ui/toolbar/toolbar-group.vue?a563","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?15d7","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?1e26","webpack:///./app/components/ui/toolbar/toolbar.vue?bd37","webpack:///./app/components/ui/toolbar/toolbar.vue?0f03","webpack:///./app/components/ui/toolbar/toolbar.vue?013e","webpack:///./app/components/ui/toolbar/toolbar.vue","webpack:///./app/components/ui/toolbar/toolbar-button.vue?ef06","webpack:///./app/components/ui/toolbar/toolbar-button.vue?61b5","webpack:///./app/components/ui/toolbar/toolbar-button.vue","webpack:///./app/components/ui/toolbar/toolbar-button.vue?c676","webpack:///./app/components/ui/toolbar/symbols.ts","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?5b0b","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?81e7","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue","webpack:///./app/components/ui/toolbar/toolbar-button-radio.vue?d47c","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?ad89","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?918a","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue","webpack:///./app/components/ui/toolbar/toolbar-button-radio-group.vue?b187","webpack:///./app/components/ui/toolbar/toolbar-item.vue?4984","webpack:///./app/components/ui/toolbar/toolbar-item.vue?0d82","webpack:///./app/components/ui/toolbar/toolbar-item.vue","webpack:///./app/components/ui/toolbar/toolbar-item.vue?a2e3","webpack:///./app/components/ui/toolbar/drawer-animation.ts","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?8727","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?5412","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue","webpack:///./app/components/ui/toolbar/toolbar-drawer.vue?5884","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?14c4","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?79d8","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue","webpack:///./app/components/ui/toolbar/toolbar-dropdown.vue?7cef","webpack:///./app/components/ui/toolbar/toolbar-group.vue?a5b4","webpack:///./app/components/ui/toolbar/toolbar-group.vue?bcb3","webpack:///./app/components/ui/toolbar/toolbar-group.vue","webpack:///./app/components/ui/toolbar/toolbar-group.vue?b22e","webpack:///./app/components/ui/toolbar/toolbar-spacer.vue?2cc6","webpack:///./app/components/ui/toolbar/toolbar-spacer.vue?9bad","webpack:///./app/components/ui/toolbar/toolbar-spacer.vue","webpack:///./app/components/ui/toolbar/toolbar-spacer.vue?caab","webpack:///./app/components/ui/toolbar/index.ts","webpack:///./app/components/ui/transitions/transition-fade.vue?376e","webpack:///./app/components/ui/transitions/transition-fade.vue?9df1","webpack:///./app/components/ui/transitions/transition-fade.vue?ba72","webpack:///./app/components/ui/transitions/transition-fade.vue","webpack:///./app/components/ui/transitions/transition-pop.vue?7d16","webpack:///./app/components/ui/transitions/transition-pop.vue?0855","webpack:///./app/components/ui/transitions/transition-pop.vue","webpack:///./app/components/ui/transitions/transition-pop.vue?ca60","webpack:///./app/components/ui/transitions/transition-roll-up.vue?3d41","webpack:///./app/components/ui/transitions/transition-roll-up.vue?ce6c","webpack:///./app/components/ui/transitions/transition-roll-up.vue","webpack:///./app/components/ui/transitions/transition-roll-up.vue?8946","webpack:///./app/components/ui/transitions/transition-roll-down.vue?dab7","webpack:///./app/components/ui/transitions/transition-roll-down.vue?bf14","webpack:///./app/components/ui/transitions/transition-roll-down.vue","webpack:///./app/components/ui/transitions/transition-roll-down.vue?8b25","webpack:///./app/components/ui/transitions/transition-roll-in-down-out-up.vue?f0cb","webpack:///./app/components/ui/transitions/transition-roll-in-down-out-up.vue?9743","webpack:///./app/components/ui/transitions/transition-roll-in-down-out-up.vue","webpack:///./app/components/ui/transitions/transition-roll-in-down-out-up.vue?116b","webpack:///./app/components/ui/transitions/transition-roll-in-up-out-down.vue?a3a4","webpack:///./app/components/ui/transitions/transition-roll-in-up-out-down.vue?373c","webpack:///./app/components/ui/transitions/transition-roll-in-up-out-down.vue","webpack:///./app/components/ui/transitions/transition-roll-in-up-out-down.vue?d798","webpack:///./app/components/ui/transitions/index.ts","webpack:///./app/components/ui/menu/menu.vue?fae1","webpack:///./app/components/ui/menu/menu.vue?fb77","webpack:///./app/components/ui/menu/menu.vue?6133","webpack:///./app/components/ui/menu/menu.vue","webpack:///./app/components/ui/menu/menu-title.vue?2a90","webpack:///./app/components/ui/menu/menu-title.vue?e2ae","webpack:///./app/components/ui/menu/menu-title.vue","webpack:///./app/components/ui/menu/menu-title.vue?ddd0","webpack:///./app/components/ui/menu/menu-item.vue?cf7f","webpack:///./app/components/ui/menu/menu-item.vue?8127","webpack:///./app/components/ui/menu/menu-item.vue","webpack:///./app/components/ui/menu/menu-item.vue?fd0c","webpack:///./app/components/ui/menu/sub-menu.vue?5de6","webpack:///./app/components/ui/menu/sub-menu.vue?6cf7","webpack:///./app/composables/use-collapsible.ts","webpack:///./app/components/ui/menu/sub-menu.vue","webpack:///./app/components/ui/menu/sub-menu.vue?1c59","webpack:///./app/components/ui/menu/index.ts","webpack:///./app/components/ui/editor/editor.vue?89df","webpack:///./app/components/ui/editor/editor-content.vue?ab68","webpack:///./app/components/ui/editor/editor-content.vue?01ab","webpack:///./app/components/ui/editor/editor-content.vue","webpack:///./app/components/ui/editor/editor-content.vue?0191","webpack:///./app/components/ui/editor/editor-toolbar.vue?2f4a","webpack:///./app/components/ui/editor/editor-toolbar.vue?0cfe","webpack:///./app/components/ui/editor/editor-toolbar.vue","webpack:///./app/components/ui/editor/editor-toolbar.vue?a592","webpack:///./app/components/ui/editor/editor.vue?52c9","webpack:///./app/components/ui/editor/editor.vue?c428","webpack:///./app/components/ui/editor/editor.vue","webpack:///./app/components/ui/editor/index.ts","webpack:///./app/components/ui/filter/filter-pill.vue?39a1","webpack:///./app/components/ui/filter/filter-dropdown.vue?9298","webpack:///./app/components/ui/filter/filter-pill.vue?5b4b","webpack:///./app/components/ui/filter/filter-pill.vue?94af","webpack:///./app/components/ui/filter/filter-pill.vue","webpack:///./app/components/ui/filter/filter-toggle.vue?8081","webpack:///./app/components/ui/filter/filter-toggle.vue?fe89","webpack:///./app/components/ui/filter/filter-toggle.vue","webpack:///./app/components/ui/filter/filter-toggle.vue?c0b7","webpack:///./app/components/ui/filter/filter-dropdown.vue?700a","webpack:///./app/components/ui/filter/filter-dropdown.vue","webpack:///./app/components/ui/filter/filter-dropdown.vue?2fb6","webpack:///./app/components/ui/filter/index.ts","webpack:///./app/components/ui/grid/grid.vue?168e","webpack:///./app/components/ui/grid/use-grid.ts","webpack:///./app/components/ui/grid/symbols.ts","webpack:///./app/components/ui/grid/grid.vue?b93c","webpack:///./app/components/ui/grid/grid.vue?0f0c","webpack:///./app/components/ui/grid/grid.vue","webpack:///./app/components/ui/grid/grid-column.vue?0bf4","webpack:///./app/components/ui/grid/grid-column.vue?e466","webpack:///./app/components/ui/grid/grid-column.vue","webpack:///./app/components/ui/grid/grid-column.vue?2685","webpack:///./app/components/ui/grid/index.ts","webpack:///./app/components/ui/alert/alert.vue?6bc7","webpack:///./app/components/ui/alert/styles.ts","webpack:///./app/components/ui/alert/alert-icon.vue?3ef2","webpack:///./app/components/ui/alert/alert-icon.vue?eaca","webpack:///./app/components/ui/alert/alert-icon.vue","webpack:///./app/components/ui/alert/alert-icon.vue?26db","webpack:///./app/components/ui/alert/alert.vue?9321","webpack:///./app/components/ui/alert/alert.vue?5856","webpack:///./app/components/ui/alert/alert.vue","webpack:///./app/components/ui/alert/index.ts","webpack:///./app/components/ui/paginator/paginator.vue?95ab","webpack:///./app/components/ui/paginator/config.ts","webpack:///./app/components/ui/paginator/paginator.vue?5b74","webpack:///./app/components/ui/paginator/paginator.vue?c4ec","webpack:///./app/components/ui/paginator/paginator.vue","webpack:///./app/components/ui/paginator/pagination-summary.vue?86e3","webpack:///./app/components/ui/paginator/pagination-summary.vue?56b6","webpack:///./app/components/ui/paginator/pagination-summary.vue","webpack:///./app/components/ui/paginator/pagination-summary.vue?1978","webpack:///./app/components/ui/paginator/index.ts","webpack:///./app/components/ui/checklist/checklist.vue?2807","webpack:///./app/components/ui/checklist/checklist-item.vue?4239","webpack:///./app/components/ui/checklist/checklist-item.vue?225c","webpack:///./app/components/ui/checklist/checklist-item.vue","webpack:///./app/components/ui/checklist/checklist-item.vue?1390","webpack:///./app/components/ui/checklist/checklist.vue?e610","webpack:///./app/components/ui/checklist/checklist.vue?73ed","webpack:///./app/components/ui/checklist/checklist.vue","webpack:///./app/components/ui/checklist/index.ts","webpack:///./app/components/ui/delete/delete-confirm.vue?d1d1","webpack:///./app/components/ui/delete/delete-confirm.vue?5f8f","webpack:///./app/components/ui/delete/delete-confirm.vue?2629","webpack:///./app/components/ui/delete/delete-confirm.vue","webpack:///./app/components/ui/delete/delete-popconfirm.vue?fec3","webpack:///./app/components/ui/delete/delete-popconfirm.vue?24e5","webpack:///./app/components/ui/delete/delete-popconfirm.vue","webpack:///./app/components/ui/delete/delete-popconfirm.vue?84e4","webpack:///./app/components/ui/delete/index.ts","webpack:///./app/components/ui/folder/folder.vue?93cf","webpack:///./app/components/ui/folder/folder.vue?93ad","webpack:///./app/components/ui/folder/folder.vue?853c","webpack:///./app/components/ui/folder/folder.vue","webpack:///./app/components/ui/folder/folder-tab.vue?9b0b","webpack:///./app/components/ui/folder/folder-tab.vue?9f19","webpack:///./app/components/ui/folder/folder-tab.vue","webpack:///./app/components/ui/folder/folder-tab.vue?a009","webpack:///./app/components/ui/folder/index.ts","webpack:///./app/components/ui/logo/logo-text.vue?ab10","webpack:///./app/components/ui/logo/logo-text.vue?cd82","webpack:///./app/components/ui/logo/logo-text.vue?999a","webpack:///./app/components/ui/logo/logo-text.vue","webpack:///./app/components/ui/logo/logo-image.vue?88da","webpack:///./app/components/ui/logo/logo-image.vue?fee3","webpack:///./app/components/ui/logo/logo-image.vue","webpack:///./app/components/ui/logo/logo-image.vue?45b4","webpack:///./app/components/ui/logo/index.ts","webpack:///./app/components/ui/progress/progress.vue?95a7","webpack:///./app/components/ui/progress/config.ts","webpack:///./app/components/ui/progress/progress.vue?53b3","webpack:///./app/components/ui/progress/progress.vue?2403","webpack:///./app/components/ui/progress/progress.vue","webpack:///./app/components/ui/progress/index.ts","webpack:///./app/components/ui/table/table.vue?cb35","webpack:///./app/components/ui/table/config.ts","webpack:///./app/components/ui/table/table.vue?fd86","webpack:///./app/components/ui/table/table.vue?80d1","webpack:///./app/components/ui/table/table.vue","webpack:///./app/components/ui/table/index.ts","webpack:///./app/components/ui/overflow/overflow.vue?fe14","webpack:///./app/components/ui/overflow/overflow.vue?0012","webpack:///./app/components/ui/overflow/overflow.vue","webpack:///./app/components/ui/overflow/overflow-menu.vue?a451","webpack:///./app/components/ui/overflow/overflow-menu.vue?8c6c","webpack:///./app/components/ui/overflow/overflow-menu.vue","webpack:///./app/components/ui/overflow/index.ts","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?2fa6","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?cf10","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue?d8f8","webpack:///./app/components/ui/bottom-sheet/bottom-sheet.vue","webpack:///./app/components/ui/bottom-sheet/index.ts","webpack:///./app/components/ui/button/button.vue?a202","webpack:///./app/components/ui/button/button.vue?fc1b","webpack:///./app/components/ui/button/button.vue?8f47","webpack:///./app/components/ui/button/button.vue","webpack:///./app/components/ui/button/index.ts","webpack:///./app/components/ui/card/card.vue?986c","webpack:///./app/components/ui/card/card.vue?2365","webpack:///./app/components/ui/card/card.vue?28a8","webpack:///./app/components/ui/card/card.vue","webpack:///./app/components/ui/card/index.ts","webpack:///./app/components/ui/divider/divider.vue?70e0","webpack:///./app/components/ui/divider/divider.vue?598d","webpack:///./app/components/ui/divider/divider.vue?597b","webpack:///./app/components/ui/divider/divider.vue","webpack:///./app/components/ui/divider/index.ts","webpack:///./app/components/ui/icon/icon.vue?c7f7","webpack:///./app/components/ui/icon/icon.vue?e8f2","webpack:///./app/components/ui/icon/icon.vue?200d","webpack:///./app/components/ui/icon/icon.vue","webpack:///./app/components/ui/icon/index.ts","webpack:///./app/components/ui/menu-button/menu-button-item.vue?b15c","webpack:///./app/components/ui/menu-button/menu-button-item.vue?a2a3","webpack:///./app/components/ui/menu-button/menu-button-item.vue","webpack:///./app/components/ui/menu-button/menu-button-item.vue?6d51","webpack:///./app/components/ui/menu-button/index.ts","webpack:///./app/components/ui/tag/tag.vue?2f42","webpack:///./app/components/ui/tag/tag.vue?9088","webpack:///./app/components/ui/tag/tag.vue?21f9","webpack:///./app/components/ui/tag/tag.vue","webpack:///./app/components/ui/tag/index.ts","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?01f9","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?abf0","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue?0e33","webpack:///./app/components/ui/viewport-observer/viewport-observer.vue","webpack:///./app/components/ui/viewport-observer/index.ts","webpack:///./app/components/ui/data/data.vue?0cf7","webpack:///./app/components/ui/data/data.vue?91d1","webpack:///./app/components/ui/data/data.vue","webpack:///./app/components/ui/data/index.ts","webpack:///./app/core/auth/nuxt/middleware.ts","webpack:///./app/utils/route.ts","webpack:///./middleware/auth.ts","webpack:///./middleware/module-activator.ts","webpack:///./app/core/module-system/middleware/activator.ts"],"names":["AccessScope","action","subject","namespaces","undefined","conditions","fields","inverted","reason","this","Array","isArray","map","AccessScopeDescription","AccessScopeMasterList","case","bodybox","dictionary","user","report","Address","args","streetAddressLine1","streetAddressLine2","city","state","zipCode","AlertSetting","id","name","description","BodyboxWeightAlert","title","minThreshold","minThresholdInclusive","maxThreshold","maxThresholdInclusive","weight","isAboveMinThreshold","isBelowMaxThreshold","isEqualToThreshold","BodyboxBariatricConfiguration","threshold","instructions","BodyboxWeightConfiguration","bariatricConfiguration","alerts","BodyboxStorageConfiguration","storageLabel","locations","Bodybox","capacity","storageConfiguration","weightConfiguration","order","expirationStatusWarningThresholdInDays","expirationStatusCriticalThresholdInDays","BodyboxCapacity","DateOnlyFormatToken","DateTimeFormatToken","Date","date","month","day","hours","minutes","seconds","ms","super","parseDateLoose","format","formatToken","toString","_key","str","parseDateTime","parseDateOnly","parse","isValid","AutopsyType","IsFormatDate","value","IsFormatDateTime","serialize","dateTime","type","House","dateScheduled","dateCompleted","Vendor","vendorId","AutopsyCollection","requirementStatus","inHouse","vendor","autopsy","NoteRecord","author","content","dateTimeAuthored","tagIds","NotesCollection","records","funeralHomeId","dateNotified","authorizedBy","organizationNotifiedBy","details","organBankId","OrganDonationCollection","alias","firstName","middleName","lastName","dateOfBirth","dateOfDeath","genderId","medicalRecordNumber","alternateMedicalRecordNumber","socialSecurityNumber","raceId","ethnicityId","maritalStatusId","countyId","trim","BelongingsCollection","TagsCollection","systemTagIds","userTags","computedTags","createdBy","CheckInEvent","transportedBy","receivedBy","CheckOutEvent","releasedBy","releasedTo","receivingOrganization","receivingOrganizationType","TransferEvent","InternalTransferEvent","originBodybox","destinationBodybox","AutopsyHistoryEvent","dateTimeCompleted","OrganBankNotifiedHistoryEvent","dateTimeNotified","organBank","OrganDonationCompletedHistoryEvent","FuneralHomeHistoryEvent","funeralHome","MedicalExaminerHistoryEvent","medicalExaminer","CaseServiceHistoryEvent","conductingOrganization","CaseServiceNotifiedHistoryEvent","CaseServiceCompletedHistoryEvent","checkInEvents","checkOutEvents","internalTransferEvents","autopsyHistoryEvents","organDonationHistoryEvents","organDonationCompletedHistoryEvents","funeralHomeHistoryEvents","medicalExaminerHistoryEvents","caseServiceNotifiedHistoryEvents","caseServiceCompletedHistoryEvents","sort","a","b","ordered","getSortDate","filter","event","checkInEvent","historyEvents","isHistoryEvent","startOfDayDate","startOfDay","hasNoTimePart","isEventWithNoTimePart","isSameDay","checkInEventIndex","indexOf","eventIndex","splice","DocumentRecord","dateTimeUploaded","srcUrl","sizeInBytes","DocumentCollection","CaseAction","OriginLocationType","medicalExaminerId","InfectiousDisease","diseaseTypeIds","OriginLocation","InternalOriginLocation","locationId","serviceLineId","unit","room","bed","ExternalOriginLocation","contactName","contactPhoneNumber","CaseHold","isActive","CaseNotice","message","relationship","typeId","contactEmailAddress","NextOfKinCollection","Physician","statusId","nationalProviderIdentifier","phoneNumber","emailAddress","DeathCertificate","causeOfDeathId","causeOfDeathOther","signingPhysician","CaseServiceRequirementType","executed","recipient","assignee","conductingOrganizationId","conductingOrganizationCaseId","conductingOrganizationNotification","location","dateTimeScheduled","CaseServiceCollection","requirementId","instances","CaseServiceType","i","DonationProcurementType","Unknown","requested","completedOn","completedBy","cremationViewing","reasonForEngagementId","fluidLocationId","CustodyStatus","isOpen","reportedBy","touches","storageLocationId","bodyboxId","notices","decedent","holds","deathCertificate","autopsies","autopsyServices","tags","property","organDonations","donationProcurements","originLocation","medicolegalInvestigations","infectiousDisease","nextOfKin","notes","transportHistory","documents","Error","info","hold","collection","nextOfKinCollection","Internal","External","TransportPermissionReport","RequirementStatus","AssociateOrganizationType","EventCategory","UserAccess","Integration","CaseGeneral","CaseNote","DecedentTransport","DecedentNextOfKin","DecedentAutopsy","DecedentMedicolegalInvestigation","DecedentDonationProcurement","DecedentFuneralHome","Document","EventType","IntegrationMessageReceived","CaseViewed","CaseDocumentUploaded","CaseDocumentDownloaded","CaseDocumentRemoved","CaseCreated","CaseUpdated","CaseOpened","CaseClosed","CaseTouched","CaseHoldAdded","CaseHoldRemoved","CaseNoteAdded","CaseNoteModified","CaseNoteRemoved","DecedentCheckedIn","DecedentTransferred","DecedentCheckedOut","NextOfKinIdentified","NextOfKinNotified","AutopsyStatusUpdated","AutopsyCompleted","MedicolegalInvestigationStatusUpdated","MedicolegalInvestigationCompleted","DonationProcurementStatusUpdated","DonationProcurementCompleted","FuneralHomeNotified","EventHierarchy","DictionaryItem","externalId","activated","FilterableDictionaryItem","critical","serviceType","requirementType","triggersCaseHold","indicatesCompletion","triggersInsight","address","contactFaxNumber","TagType","TagDisplayOptions","color","colorLevel","DisplayTag","label","displayOptions","Tag","Case","Hold","ComputedTagDictionaryItem","transformLegacyTags","v","CaseSummaryTags","system","length","systemHolds","computed","CaseSummary","decedentName","decedentAlias","ReservationCaseSummary","columnPosition","rowPosition","BodyboxCaseSummary","OutboxCaseSummary","PageResult","ReportTemplateType","ReportFormat","SocialSecurityNumber","ssn","options","delimiter","_ssn","getRawSSN","formatSSN","asteriskLength","masked","raw","slice","padStart","parts","isNumbers","every","part","includes","isLength","TypeError","maskedValue","replace","substring","Tenant","configuration","User","accessScopes","MassUnit","localDateTimeCreated","localDateTimeExpiresAt","globalHandleError","error","Vue","config","errorHandler","interopDefault","promise","then","m","default","hasFetch","vm","$options","fetch","getChildrenComponentInstancesUsingFetch","children","$children","child","$fetch","push","applyAsyncData","Component","asyncData","__hasNuxtData","ComponentData","_originDataFn","data","call","$ssrContext","cid","_Ctor","sanitizeComponent","extendOptions","extend","__file","getMatchedComponents","route","matches","prop","prototype","concat","apply","matched","index","Object","keys","key","getMatchedComponentsInstances","flatMapComponents","fn","components","reduce","promises","resolveRouteComponents","Promise","all","instance","match","window","sessionStorage","timeNow","now","previousReloadTime","parseInt","getItem","setItem","reload","getRouteData","meta","setContext","app","context","isStatic","process","isDev","isHMR","store","payload","base","router","env","req","res","ssrContext","redirect","status","path","query","_redirected","pathType","resolve","fullPath","test","withQuery","next","nuxtState","__NUXT__","currentRouteData","fromRouteData","from","_errored","params","middlewareSeries","appContext","promisify","err","getLocation","mode","hash","decodeURI","pathname","startsWith","search","normalizeURL","compile","tokens","RegExp","pattern","flags","obj","opts","encode","pretty","encodeURIComponentPretty","encodeURIComponent","token","segment","optional","partial","prefix","repeat","JSON","stringify","j","asterisk","encodeAsterisk","tokensToFunction","defaultDelimiter","PATH_REGEXP","exec","escaped","offset","capture","group","modifier","Boolean","escapeGroup","escapeString","substr","getQueryDiff","toQuery","fromQuery","diff","queries","k","String","normalizeError","e","constructor","statusCode","response","onNuxtReadyCbs","onNuxtReady","cb","join","slashAllowed","re","encodeURI","c","charCodeAt","toUpperCase","sensitive","addLifecycleHook","hook","urlJoin","joinURL","isSamePath","withoutTrailingSlash","_isSamePath","setScrollRestoration","newVal","history","scrollRestoration","Mutation","mutations","set","entries","setOrganizations","organizations","autopsyVendor","o","AutopsyVendor","tissueBank","OrganBank","FuneralHome","MedicalExaminer","setAutopsyVendors","vendors","setFuneralHomes","funeralHomes","setGenders","genders","gender","setOrganBanks","organBanks","setMedicalExaminers","medicalExaminers","setPersonalBelongingLocations","personalBelongingLocation","setOriginLocations","setTags","tag","setNextOfKinTypes","types","nextOfKinType","setInfectiousDiseaseTypes","infectiousDiseaseType","setCaseTypes","caseType","reactiveAbility","ability","hasOwnProperty","watcher","on","possibleRulesFor","bind","ABILITY_TOKEN","Symbol","provideAbility","props","I","required","do","Function","an","not","passThrough","field","slots","$props","actionProp","subjectProp","detectSubjectProp","injectAbility","isAllowed","can","canRender","allowed","useGlobalProperties","_context","inject","$ability","mixin","$can","useAbility","isNaN","DateOnly","numberToDate","toDate","momentToDate","setDateParts","year","pad","dateString","ISO_PATTERN","dateOnlyStamp","getDay","partsToDate","NaN","valueOf","toDateString","toISOString","getDate","getMonth","getFullYear","num","numStr","n","s","setHours","moduleName","actions","registeredModules","Map","moduleInstances","activeModules","initModuleSystem","forEach","ModuleCtor","module","activationMethod","activate","getRegisteredModules","modules","values","freeze","getActiveModules","getActiveModulesRef","get","registerModule","useModule","ModuleCtorOrStringName","has","deactivateModule","moduleIndex","isModuleActive","doesModuleInstanceExist","deactivate","SYMBOL_FORM_OBSERVER","SYMBOL_FORM_OBSERVER_RULES","SYMBOL_FORM_VALIDATION_MODE","SYMBOL_FORM_DIRECTION","SYMBOL_FORM_FORM_ITEM_ADD","SYMBOL_FORM_FORM_ITEM_REMOVE","SYMBOL_FORM_PARTIAL_ADD","SYMBOL_FORM_PARTIAL_REMOVE","SYMBOL_FORM_PARTIAL_SELF_MANAGED_ADD","SYMBOL_FORM_PARTIAL_SELF_MANAGED_REMOVE","SYMBOL_FORM_FORCE_TOKEN","AddDictionaryItemRequest","EditDictionaryItemRequest","DeleteDictionaryItemRequest","entryId","AppModule","_isActive","force","hasModule","registerStore","enableDebugLogging","console","debug","tearDownOnPageLeave","unregisterModule","genId","includeChars","radix","Math","random","Getter","init","caseDetails","caseId","identityVerified","reset","setCase","setCaseId","verifyIdentity","verified","sanitizeSection","section","hasValue","financialIdentificationNumber","Action","fetchCase","$api","cases","getAsync","createCase","commit","request","newCase","createAsync","createAndCheckIn","createAndCheckInAsync","createAndCheckout","createAndCheckOutAsync","save","signal","throwIfAborted","updatedCase","updateAsync","delete","deleteRequest","deleteAsync","checkIn","checkInRequest","transport","checkInAsync","checkout","checkoutRequest","checkoutAsync","transferInternal","transferRequest","transferInternalAsync","transferExternal","transferExternalAsync","createCheckoutPermissionReport","createCheckOutPermissionReportAsync","getters","setBodyboxes","boxes","bodyboxes","updateBodybox","findIndex","box","removeBodybox","fetchCaseSummaries","getCaseSummariesAsync","fetchBodyboxes","ignoreCache","fetchCapacities","getCapacitiesAsync","useStoreModule","getter","scopedKey","split","rootStore","typeOrPayloadWithType","payloadOrOptions","payloadWithType","dispatch","toNamespaced","AppAbilitySubject","CaseAbilityAction","BodyboxAbilityAction","DictionaryAbilityAction","UserAbilityAction","ReportAbilityAction","isFullStatic","staticPath","publicPath","globalContext","globalNuxt","PrintError","device","createModule","modulePartial","namespaced","createSubModule","parseISODateTime","parseISODateOnly","parseISODateLoose","parseDate","truncateZeroTime","isZeroTime","getHours","getMinutes","getSeconds","p","time","formatDate","military","timeZone","patterns","numerical","hasTimePart","includeTime","formatPattern","formatted","currentLocale","navigator","language","Intl","DateTimeFormat","resolvedOptions","timeZoneName","formatToParts","find","getTimezone","sleep","setTimeout","DoublingRetryIntervalMultiplier","retry","retriesLeft","interval","intervalMultiplier","ConsoleLogger","log","warn","createToast","_data","open","loggers","Set","logger","add","toast","ui","toastOptions","track","AppInsightsLogger","appInsights","logEvent","trackException","exception","trackEvent","DateTimeInfo","toJSON","addEventListener","emptyFn","use","Router","routerOptions","linkActiveClass","linkExactActiveClass","scrollBehavior","to","savedPosition","position","isRouteChanged","Pages","scrollToTop","some","shouldScrollToTop","x","y","nuxt","$nuxt","$nextTick","$emit","$once","CSS","escape","document","querySelector","selector","routes","component","fallback","createRouter","_app","basePath","originalPush","onComplete","onAbort","current","append","functional","nuxtChildKey","keepAlive","keepAliveProps","render","_","parent","h","$createElement","nuxtChild","_parent","transitions","defaultTransition","depth","$vnode","$parent","nuxtChildDepth","transition","transitionProps","transitionsKeys","listeners","listenersKeys","beforeEnter","el","css","leave","done","routerView","Number","antdDResultStatus","$auth","$config","userEmailAddress","email","isAuthenticated","appBaseUrl","baseUrl","logout","logoutAsync","_vm","_h","_c","_self","staticClass","attrs","_v","_s","_e","tenantId","tenant","version","buildNumber","supportEmail","support","FETCH_USER_PATH","DefaultErrorTemplate","ForbiddenErrorTemplate","ForbiddenTenantErrorTemplate","NotFoundErrorTemplate","layout","url","isUsersFetch","URL","toLowerCase","isUnauthorizedTenantUser","isAuth0Error","NuxtChild","NuxtError","errorCaptured","displayingNuxtError","errorFromNuxtError","$forceUpdate","routerViewKey","$route","matchedRoute","beforeCreate","util","defineReactive","$root","percent","show","canSucceed","reversed","skipTimerCount","rtl","throttle","duration","continuous","clear","methods","clearInterval","_timer","clearTimeout","_throttle","startTimer","min","max","floor","hide","_cut","setInterval","decrease","increase","class","style","width","left","offlineReady","useServiceWorker","needsRefresh","ignoreUpdate","forceReload","CapacityBadge","$language","menuKeys","usePopoverBodyboxMenu","bodyboxItems","allItem","plural","icon","boxItems","capacities","capacityMap","acc","canViewBodyboxes","read","enabled","canViewReporting","scopedSlots","_u","ref","noBoxes","singular","item","tenantState","logoUrl","theme","tenantName","TheAsideNavigation","TheTenantLogo","tenantLogoUrl","visible","isVisible","$event","rootRoute","emits","back","breadcrumbName","isRoot","root","SYMBOL_TAB_BAR_MENU_IS_CHILD","SYMBOL_TAB_BAR_MENU_LEVEL","SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL","SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL","activeLevel","lastLevel","level","_t","orientation","isInMenu","orien","onLinkClick","onButtonClick","_g","_b","nativeOn","$listeners","active","TabBarMenuTrigger","_props","getLevels","setLevels","isLastLevel","newLevel","toggleVisibilty","tabBar","install","vue","MatchAction","TabBar","TabBarItem","TabBarMenu","tenantModule","auth","intercom","SettingsRoute","_l","accountRoot","organizationRoot","variant","pulse","align","iconLeft","iconRight","disabled","input","inputDebounced","scans","icons","right","directives","rawName","expression","domProps","target","composing","TransportProviderEvent","TransportType","CaseCardDetails","summary","validator","canReadCase","canCheckInCase","canCheckOutCase","canTransferCase","View","Transfer","CheckIn","CheckOut","emit","custody","custodyStatus","Expected","Departed","InCustody","storageLocation","goToCase","transferCase","checkInCase","checkOutCase","view","transfer","checkOut","information","$refs","count","complete","setup","isComplete","scan","numToWord","TheCaseCheckInModal","TheCaseCheckoutModal","TheCaseTransferModal","checkInStart","checkInComplete","checkOutStart","checkOutComplete","transferStart","transferComplete","api","currentSessionCase","isOnCaseDetailsPage","workflows","completed","startWorkflow","behaviors","workflow","setActiveCaseAsync","completeWorkflow","resetOnClose","CheckInModalEvent","CheckOutModalEvent","TransferModalEvent","_d","$set","checkoutCase","TickTimer","durationMs","tickMeasureMs","measureMs","tick","remainingTicks","ticks","getTime","ScanError","metrics","scanCode","scanDuration","avgTimeByCharMs","minLength","ScanErrorMessage","noop","startImmediate","domElement","defaults","onStart","onStop","onScan","onScanError","onKeyProcess","onKeyDetect","onPaste","keyCodeMapper","decodeKeyEvent","onScanButtonLongPress","scanButtonKeyCode","scanButtonLongPressTimeMs","timeBeforeScanTestMs","suffixKeyCodes","prefixKeyCodes","ignoreIfFocusOn","stopPropagation","preventDefault","captureEvents","reactToKeydown","reactToPaste","singleScanQuantity","sequenceState","firstCharTime","lastCharTime","accumulatedString","testTimer","longPressTimer","longPressTimeStart","longPressed","defu","scannerDetectionData","stop","start","sessionState","reinitialize","validateScanCode","attachListeners","startTime","dispatchEvent","withTag","removeEventListener","handlePaste","handleKeyUp","handleKeyDown","stopTime","stringOrArray","eventProps","keyCode","KeyboardEvent","hasScanButtonKeyCode","getNormalizedKeyNum","scanFinished","character","isFocusOnIgnoredElement","stopImmediatePropagation","clipboardText","clipboardData","getData","ignoreSelectors","activeElement","dispatchScanError","quantity","eventName","CustomEvent","detail","which","code","isAlphanumeric","isNumpadDigit","isNumpadOperator","isSpecialChar","shiftKey","fromCharCode","IgnoredElementSelectors","SCANNER_SYMBOL","isRunning","onScanFns","onErrorFns","useScanner","onError","createScanner","scanner","focused","isListening","simulate","ScanState","ScanMode","GATHERING_WAIT_MS","CaseMatch","TheScanZone","ScanCounter","TransportModalProvider","features","scansRequired","barcoding","scanning","Multiple","Single","Idle","isIdle","isGathering","Gathering","isValidating","Validating","isMatched","Match","isError","showUI","zoneVariant","errorResetTimer","raiseError","scansCaptured","tickTimer","gatheringPercentRemaining","gatheringCountdownTimer","matchResetTimer","startMatchIdleTimer","stopMatchIdleTimer","unsubscribe","onTimeout","remainingMs","getTimeRemaining","startGatheringCountdown","scanMatches","identification","matchFieldsAsync","checkScan","setupIntersectionObserver","activeItem","updateActiveItem","entry","isIntersecting","getAttribute","observerRef","IntersectionObserver","querySelectorAll","setAttribute","observe","disconnect","transportProvider","isTransportModalActive","transportBehaviors","requestRefresh","emptyImageComponent","PRESENTED_IMAGE_SIMPLE","isEnabled","scrollCarousel","direction","container","scrollAmount","clientWidth","scrollBy","behavior","inactive","proxy","unreadCount","TheAside","TheAppUpdateAlert","TheBarcodeScanner","TheBreadCrumbs","TheBottomBar","TheSupportButton","TheWelcomeMenu","isUpdateAlertVisible","refresh","showHeader","breadCrumbs","isMenuCollapsed","aside","asideWidth","isBarcodingEnabled","isScannerListening","locale","toggleMenu","breadCrumbParts","$log","componentName","getLogger","collapsed","$router","layouts","_6f6c098b","_77430317","_789a33af","loadingEl","layoutEl","templateEl","layoutName","transitionEl","isOnline","nbFetching","created","refreshOnlineStatus","mounted","$loading","loading","watch","isOffline","isFetching","isPreview","previewData","onLine","pages","page","componentInstance","newData","$data","fail","finish","errorChanged","errorLayout","setLayout","loadLayout","NuxtLoading","Vuex","VUEX_PROPERTIES","moduleData","filePath","assign","normalizeModule","normalizeRoot","require","resolveStoreModules","createStore","Store","strict","filename","normalizeState","mergeProperty","getStoreModule","isProperty","pop","storeModule","namespace","shift","globalPlugin","formatComponentName","includeFile","_isVue","_componentTag","file","classify","ctx","runtimeConfig","ApplicationInsights","loadAppInsights","oldErrorHandler","properties","errorInfo","propsData","flush","setupVueErrorHandling","beforeEach","startTrackPage","afterEach","stopTrackPage","setupPageTracking","HTTP","ky","KY","_defaults","hooks","_ky","getBaseURL","prefixUrl","setBaseURL","baseURL","setHeader","headers","setToken","_hook","onRequest","onRetry","onResponse","create","timeout","createHttpInstance","method","hasBody","arg1","arg2","json","body","_options","text","destr","http","browserBaseURL","$http","hasMeta","arr","val","hid","attr","mergeMeta","head","workbox","$workbox","isUpdate","onNeedsRefresh","autoReload","onOfflineReady","registerServiceWorker","ApiClient","client","endpoint","buildURLWithQueryParameters","$get","$post","serializeRequestBody","post","$put","put","getDefaults","FormData","trimURLBackSlashes","isLastElement","isNil","createApiClient","apiOptions","getToken","refreshOnUnauthorized","retryCount","AuthEvent","functionKey","setHeaders","AuthEventBus","emitter","bus","callback","$on","$off","AuthTaskQueueEntry","AuthTaskQueue","events","isProcessing","hasProcessed","_priority","deferralTask","priority","startProcessing","completeProcessing","dispatchEvents","dumpQueue","catch","_processQueue","_dumpQueueEvents","reject","_client","_provider","DEFAULT_REDIRECT_CALLBACK","_appState","replaceState","middleware","afterLogin","eventQueues","eventEmitter","redirectCallback","fnStack","loginWithRedirect","redirect_uri","redirectUrl","appState","Logout","returnTo","returnToUrl","logoutUrl","redirectState","redirectError","tryHandleRedirectAsync","isRedirect","loginError","isLoginRedirect","tryHandleInvitationAsync","newSession","isPostLogin","setAuthStateAsync","dispatchLoginEvent","Login","loginTaskQueue","addEventTaskQueue","middlewareContext","provider","processEventTaskQueue","getTokenAsync","getUser","FetchUser","claimsNamespace","claim","getTokenSilently","scope","audience","TokenRefresh","fnIndex","queue","queues","highest","isDeferred","deferral","handleRedirectCallback","isRedirectFromInvitation","InvitationAccepted","tryParseInvitation","isInvitation","inviteContext","invitation","organization","href","URLSearchParams","organizationName","getUserAsync","useAuth","createProviderAsync","domain","client_id","clientId","organizationId","createClientAsync","auth0","$tenantApi","discover","getForContextAsync","origin","primary","addLogger","extra","Sdk","captureUserFeedback","forceLoad","onLoad","showReportDialog","tracing","browserTracingIntegration","replay","maskAllText","blockAllMedia","integrationMap","sentry","integrations","integration","dsn","environment","release","attachStacktrace","_hint","access","reportDialog","eventId","event_id","ignoreErrors","tracesSampleRate","sampleRate","tracePropagationTargets","propagationTargets","replaysSessionSampleRate","replaysOnErrorSampleRate","appId","_initialized","_isOpened","_unreadCount","_appId","userHash","app_id","user_hash","user_id","displayName","company","space","intercomSettings","_selector","HTMLElement","hide_default_launcher","custom_launcher_selector","service","tenantStore","accessStore","dependenciesLoaded","fetchTenant","fetchUser","unsubscribeActions","subscribeAction","intercomEnabled","getUserIdAsync","once","shutdown","$appInsights","bulkAddEventListener","object","bulkRemoveEventListener","DEFAULT_OPTIONS","idle","tickMeasure","onIdle","onTick","onActivity","onActive","onHide","onShow","keepTracking","startAtIdle","recurIdleCall","IdleTimer","visibilityEvents","isActiveWindow","settings","parseSettings","stopListener","_event","idlenessEventsHandler","resetTimeout","visibilityEventsHandler","hidden","webkitHidden","mozHidden","msHidden","startTimeout","idleInterval","measure","timer","throwOnBadKey","goodKeys","NOTIFICATION_KEY","renderCountdown","close","closeCountdown","remainingSeconds","toFixed","notification","warning","inactivityTimeout","sessions","idleTimeoutMs","durationInMinutes","countDownTickTimer","notificationDisplaySecondsRemaining","tickDiff","addMiddleware","registrationRoute","getUserClaim","setPriority","MAX_SAFE_INTEGER","deferralController","defer","setLoginDeferralController","AppAbility","plugin","unsubscribeStoreActions","after","_state","checkInAction","checkOutAction","lang","messagePrefix","DEFAULT_LANGUAGE","article","reservation","outbox","tissue","medicolegalInvestigation","throwIfNotSet","resolver","grammarRule","replaceGrammarRules","grammar","rule","_ctx","globals","fileName","nodes","BrowserPrintApiUrl","ZebraPrinterHostQuery","ZebraPrinterLabelDefinition","https","isSSLConnection","apiUrl","printer","deviceRaw","cleanUpString","deviceType","connection","uid","manufacturer","writeAsync","isReadyToPrint","result","readAsync","errors","charAt","media","pause","ready","zpl","assertZplIsValidLabelDefinition","ok","endsWith","browserPrint","setMetaPlugin","ClientOnly","NoSsr","_warned","Nuxt","defineProperty","configurable","Meta","createApp","setTransitions","dateErr","App","installKey","beforeRenderFns","enablePreview","nuxt_plugin_plugin_5fb947ad","nuxt_plugin_appinsightsclient_03040a80","nuxt_plugin_http_37b971d5","nuxt_plugin_workbox_bdbda912","nuxt_plugin_metaplugin_1bef0b8a","nuxt_plugin_browser_2063421c","nuxt_plugin_version_08775ebc","nuxt_plugin_update_36e3f134","nuxt_plugin_tenant_15755e35","nuxt_plugin_auth_6a7e4e1e","nuxt_plugin_primary_48e96c52","nuxt_plugin_logging_099401ae","nuxt_plugin_sentry_5e328985","nuxt_plugin_intercom_1516e49b","nuxt_plugin_appinsights_b74e19a6","nuxt_plugin_idletimer_a72e27fc","nuxt_plugin_userregistration_59ab3a76","nuxt_plugin_abilities_5aab66dc","nuxt_plugin_bootstrap_41833b99","nuxt_plugin_language_da2c4e64","nuxt_plugin_zebra_32b78d60","nuxt_plugin_meta_968dac02","_isRouter","unregister","useTenantConfig","useTenantConfigCaseSection","DEFAULT_API_NAME","registeredApis","registerAPI","useAPI","setUser","setAccessScopeMasterList","masterList","accessScopeMasterList","useIntercom","$intercom","useSuccessModal","success","useInfoModal","useErrorModal","useWarningModal","useConfirmModal","confirm","useLoadingMessage","useSuccessMessage","useInfoMessage","useErrorMessage","useWarningMessage","useMessage","differenceInDays","dateLeft","dateRight","ExpirationStatus","good","danger","defaultDurationColor","useExpirationFormatter","expirationDate","statusConfig","expirationDateRef","daysDiffFromNow","formattedDuration","formattedDate","CaseInsightType","CaseSummaryInsightTask","CaseSummaryInsights","tasks","ModalEvent","setTenant","createAlertsApi","putAsync","createBodyboxesApi","_config","summaries","decedentExpirationDate","postAsync","createCasesApi","note","getEventsAsync","templateId","encodedVariable","_request","documentId","ToCamelCase","createDictionariesApi","ctors","associateOrganization","caseServiceRequirement","caseServiceStatus","causeOfDeath","ethnicity","fluidLocation","physicianType","race","reasonForEngagement","serviceLine","signingPhysicianStatus","slug","items","typeKey","createOutboxApi","createReservationsApi","createUserApi","registration","invitations","invitationId","invites","invite","userId","scopes","users","createTenantApi","createTenantDiscoveryApi","HTTPError","createReportingApi","requestAsync","parameters","getCareSiteLocationsAsync","death","$postAsync","morgueCensus","timeToRelease","missedNotifications","createIntercomApi","primaryApiFactory","dictionaries","reservations","reporting","tenantDiscoveryApiFactory","RegistrationRoute","useTripSwitch","source","unwatch","newValue","tripped","themes","$extend","placements","breakpoints","dropdownTriggers","Dropdown","OnClickOutside","placement","bp","triggers","trigger","arrowOffset","height","mobile","focusEl","triggerId","linkedEls","shown","triggerIdResolved","menuId","dropdownRef","triggerEl","getTriggerEl","$el","getElementById","points","bps","currentBreakpoints","greater","syncWithBreakpoint","defaultValue","_breakpoints","reverse","placementComputed","widthComputed","heightComputed","isMobileScreen","isMobile","focusTrigger","focus","onMobileShow","classList","onMobileHide","remove","onTabDown","menuEl","contains","onEscapeDown","onArrowDown","focusableEls","focusedIndex","nextIndex","nextEl","onShown","isHTMLElement","firstItem","onHidden","onClickOutside","popper","isShown","isTrigger","isLinkedElement","$attrs","_k","focusableElSelector","getFocusables","element","keyboardOnly","focusableEl","getComputedStyle","display","addBodybox","newBox","addAsync","deleteBodybox","updatedBox","BreadCrumbBuilder","crumbs","breadCrumb","LayoutModule","breadCrumbBuilder","registerLayoutModule","useStore","COLOR_RED","100","200","300","400","500","600","700","800","900","COLOR_PINK","COLOR_ORANGE","COLOR_YELLOW","COLOR_GREEN","COLOR_BLUE","COLOR_PURPLE","COLOR_BLACK","getColorCodes","colors","levels","aLevel","bLevel","DEFAULT_SWATCHES","DEfAULT_COLOR","ColorPicker","palette","defaultColor","optionEls","tabIndex","select","hex","staticStyle","Palette","red","pink","orange","yellow","green","blue","purple","black","useColorPickerColor","paletteColor","nearestLevel","prev","cur","previous","abs","useColorPickerToken","hexColor","paletteColors","colorName","shades","shadeEntries","_shadeLevel","hasColor","colorPicker","BarcodingEvent","BarcodingModule","_events","RequestingRefresh","registerBarcodingModule","AccessScopeService","actionWithNamespaces","availableSubjects","subjectScopes","CreateCaseRequest","personalProperty","autopsyRequirementStatus","inHouseAutopsies","vendorAutopsies","organDonationRequirementStatus","documentIds","fetchOne","getByIdAsync","newEntry","edit","editedEntry","editAsync","entryIndex","_entries","fetchAssociateOrganizations","orgs","getAssociateOrganizationsAsync","fetchAutopsyVendors","getAutopsyVendorsAsync","fetchAutopsyVendor","getAutopsyVendorAsync","addAutopsyVendor","newVendor","addAutopsyVendorAsync","editAutopsyVendor","editedVendor","editAutopsyVendorAsync","vendorIndex","_vendors","removeAutopsyVendor","deleteAutopsyVendorAsync","fetchFuneralHomes","getFuneralHomesAsync","fetchFuneralHome","getFuneralHomeAsync","addFuneralHome","newFuneralHome","addFuneralHomeAsync","editFuneralHome","editedFuneralHome","editFuneralHomeAsync","funeralHomeIndex","fh","_funeralHomes","removeFuneralHome","deleteFuneralHomeAsync","fetchOrganBanks","getOrganBanksAsync","fetchOrganBank","getOrganBankAsync","addOrganBank","addOrganBankAsync","editOrganBank","updatedOrganBank","editOrganBankAsync","organBankIndex","ob","_organBanks","removeOrganBank","deleteOrganBankAsync","fetchMedicalExaminers","getMedicalExaminersAsync","fetchMedicalExaminer","getMedicalExaminerAsync","addMedicalExaminer","newMedicalExaminer","addMedicalExaminerAsync","editMedicalExaminer","updatedMedicalExaminer","editMedicalExaminerAsync","medicalExaminerIndex","me","_medicalExaminers","removeMedicalExaminer","deleteMedicalExaminerAsync","fetchGenders","getGendersAsync","fetchGender","getGenderAsync","addGender","newGender","addGenderAsync","editGender","editedGender","editGenderAsync","genderIndex","g","_genders","removeGender","deleteGenderAsync","fetchPersonalBelongingLocations","getPersonalBelongingLocationsAsync","fetchPersonalBelongingLocation","getPersonalBelongingLocationAsync","addPersonalBelongingLocation","addPersonalBelongingLocationAsync","editPersonalBelongingLocation","editedLocation","editPersonalBelongingLocationAsync","locationIndex","l","_locations","removePersonalBelongingLocation","deletePersonalBelongingLocationAsync","fetchOriginLocations","getOriginLocationsAsync","fetchOriginLocation","getOriginLocationAsync","addOriginLocation","entity","addOriginLocationAsync","editOriginLocation","editOriginLocationAsync","removeOriginLocation","deleteOriginLocationAsync","fetchSystemTags","getSystemTagsAsync","t","fetchSystemTag","getSystemTagAsync","addSystemTag","newTag","addTagAsync","editSystemTag","editedTag","editTagAsync","tagIndex","_tags","removeSystemTag","deleteTagAsync","fetchComputedTags","getComputedTagsAsync","fetchNextOfKinTypes","getNextOfKinTypesAsync","fetchNextOfKinType","getNextOfKinTypeAsync","addNextOfKinType","newType","addNextOfKinTypeAsync","editNextOfKinType","editedType","editNextOfKinTypeAsync","typeIndex","_types","removeNextOfKinType","deleteNextOfKinTypeAsync","_type","fetchInfectiousDiseaseTypes","getInfectiousDiseaseTypesAsync","fetchInfectiousDiseaseType","getInfectiousDiseaseTypeAsync","addInfectiousDiseaseType","addInfectiousDiseaseTypeAsync","editInfectiousDiseaseType","editInfectiousDiseaseTypeAsync","removeInfectiousDiseaseType","deleteInfectiousDiseaseTypeAsync","fetchCaseTypes","getCaseTypesAsync","fetchCaseType","getCaseTypeAsync","addCaseType","addCaseTypeAsync","editCaseType","editCaseTypeAsync","removeCaseType","deleteCaseTypeAsync","getCurrentAsync","fetchAccessScopesMasterList","getAccessScopeMasterListAsync","parseList","update","useReporting","templateDefinitions","availableReports","reportAction","readReport","useAuthProvider","RegisterUserRequest","controller","authLoginFlowDeferralController","registerAsync","processQueue","registerUserRegistrationModule","requestIdleCallback","didTimeout","timeRemaining","cancelIdleCallback","observer","intersectionRatio","link","__prefetch","extends","prefetch","noPrefetch","handleId","beforeDestroy","__observed","unobserve","shouldPrefetch","prefetchLink","getPrefetchComponents","canPrefetch","conn","effectiveType","saveData","resolved","r","__prefetched","Components","componentOrPromise","updateVisible","loadModal","capitalizeFirstCharacter","capitalizeWords","county","maritalStatus","Workbox","register","documentMode","RequestState","shouldRetryOnError","watchErrors","errorRetryCount","errorDisplayStrategy","pushToastOnError","useSWRV","userConfig","unWatchState","IDLE","VALIDATING","STALE_IF_ERROR","ERROR","SUCCESS","PENDING","useRequestState","retryIteration","unWatchRetryIteration","unWatchErrors","retryLimitReached","displayToast","useToast","reduceErrorMessage","useLogger","orderBy","nils","valueResolver","sorted","_arr","nilCompare","expiration","expirationTagType","tagsList","itemSelector","bindResize","caseConfiguration","labels","form","mrn","expirationDuration","getTagColor","isBodyboxSummary","decedentDateOfBirth","decedentMedicalRecordNumber","EventBus","busGetter","__esModule","locals","exports","validate","valid","computesRequired","notEmpty","validators","_value_","failedValidator","outputMessage","isDate","isFutureDate","inclusive","d","isAfter","isPastDate","isBefore","_field","isMoment","isMobilePhone","isMobilePhoneLocales","userName","canViewOrganization","menu","size","taken","totalCases","available","percentAvailable","badgeType","beforeMount","_hydrated","elm","dataset","fetchKey","_fetchKey","_error","$fetchState","_fetchPromise","$_fetch","pending","delayLeft","_fetchDelay","timestamp","fetchDelay","ValidationObserver","as","model","rules","validationMode","debounce","change","formItems","debounceChangeMs","onFieldChangeDebounced","debounceInputMs","onFieldInputDebounced","onFieldFocus","onFieldBlur","initialModelState","cloneDeep","isDirty","dirty","isChanged","changed","validateAsync","resetValidationStateAsync","pristine","deep","validateWithErrorsAsync","validateWithInfo","resetAsync","_model","findFormItem","formItem","handleSubmit","func","forceEmitChange","forceSubmit","isRequiredCrossField","for","hasErrors","WbFormItemError","errorClass","hasError","_obj","ValidationProvider","WbFormItemLabel","WbFormItemContent","ruleProp","hideLabel","providerProps","addSelfToForm","removeSelfFromForm","setFlags","emitInput","veeOnBlur","$veeOnBlur","FocusEvent","HTMLInputElement","veeOnInput","$veeOnInput","formDirection","directionComputed","observerRules","veeValidateMode","stringRulesToObject","_rules","combineRules","rulesToAdd","rulesObject","rulesToAddObject","computedRules","inheritedRules","required_if_empty","required_if_any_empty","required_if_all_empty","isRequired","silent","validateSilent","nullInjectFunc","injectName","usePartialFormProvider","forms","selfManagedForms","partials","resultPromises","results","resetValidationState","usePartialForm","linkPartialForm","unlinkPartialForm","noopAsync","usePartialSelfManagedForm","initialModel","watchModelForChanges","watchDeep","setDirty","setChanged","isResetting","eventBus","listener","linkPartialSelfManagedForm","unlinkPartialSelfManagedForm","Builder","FormItemLabel","FormItemContent","FormItemError","ContentLoader","equals","isInvalidDate","is24Hour","readonly","clearable","hasProducedValue","touched","hour","minute","ampm","getDatePart","monthInput","dayInput","yearInput","hourInput","minuteInput","ampmInput","timeZoneInput","clearBtn","inputs","handleInput","valueRef","maxLength","setterFn","currentInput","nextInput","computeDate","setTimeZone","focusNextInput","focusInput","setMonth","monthNum","setDay","dayNum","maxDays","setYear","yearNum","setHour","hourNum","maxHour","setMinute","minuteNum","setAmPm","focusNext","old","dateTouched","timeTouched","allTouched","hasFullDate","hasFullTime","isEmpty","resetDateOnly","resetTime","toOutputType","hr","emitDate","ignoreTouches","initialized","setDateTimeParts","touchDateParts","touch","touchTimeParts","hasPrefix","hasSuffix","suffix","getValueText","number","handleFocus","handleClick","handleMonthInput","handleDayInput","handleYearInput","handleHourInput","handleMinuteInput","handleBlur","relatedTarget","$$selectedVal","selected","_value","multiple","passthroughProps","keyboardNavigation","manageFocus","themeComputed","disabledDateProps","minDate","maxDate","disabledDates","CalenderMenu","DateTimePicker","VCalendar","dropdown","calendar","picker","calendarRef","isInComponent","isInCalendar","isInPicker","inClickOutside","hideMenu","move","lastPickerInput","calendarDate","setDate","timeInputs","focusPickerTime","onPickerInput","onPickerFocus","onPickerBlur","clickTarget","waitForClickOutsideAsync","sourceTarget","blurTarget","onCalendarInput","dateOnly","setMinutes","setSeconds","tryMergeDateAndTime","setDateTimeNow","setDateTimeToday","today","getTooltipContainer","highlight","contentClass","dates","attributes","masks","updateLayout","hidePopover","$scopedSlots","convert","mass","massUnits","possibilities","toUnitString","convertUnit","fixedDecimal","inputId","conversion","inverse","antdSize","onChange","parseFloat","trimTrailingZeros","stripNonNumeric","massInput","radioStyle","emitChange","radio","Button","$$v","option","CompositionApi","__nuxt__fetch__mixin__","fetchMixin","NuxtLink","global","_lastPaths","NUXT","__webpack_public_path__","cdnURL","assetsPath","mapTransitions","toComponents","componentTransitions","componentOption","fromComponents","maxDepth","mergedTransitions","toTransitions","loadAsyncComponents","_routeChanged","_paramChanged","_queryChanged","_diffQuery","manual","watchQuery","resolveComponents","_Component","ssrData","serverRendered","applySSRData","callMiddleware","midd","unknownMiddleware","fromMatches","nextCalled","_dateLastError","_hadError","validationError","_path","_dataRefresh","childPathChanged","watchParam","_isMounted","hasAsyncData","loadingIncrease","asyncDataResult","fetchResult","normalizeComponents","___","setLayoutForNextPage","checkForErrors","fixPrepatch","triggerScroll","nextTick","_isDestroyed","nuxtReady","_onNuxtLoaded","__app","mount","$mount","currentRoute","routePath","clientFirstMount","unregisterHook","masterScopeList","updateLanguage","statusText","___CSS_LOADER_EXPORT___","___CSS_LOADER_API_IMPORT___","___CSS_LOADER_GET_URL_IMPORT___","___CSS_LOADER_URL_IMPORT_0___","___CSS_LOADER_URL_IMPORT_1___","___CSS_LOADER_URL_IMPORT_2___","___CSS_LOADER_URL_IMPORT_3___","___CSS_LOADER_URL_IMPORT_4___","___CSS_LOADER_URL_IMPORT_5___","___CSS_LOADER_URL_IMPORT_6___","___CSS_LOADER_URL_IMPORT_7___","___CSS_LOADER_URL_IMPORT_8___","___CSS_LOADER_URL_IMPORT_9___","___CSS_LOADER_URL_IMPORT_10___","___CSS_LOADER_URL_IMPORT_11___","___CSS_LOADER_URL_IMPORT_12___","___CSS_LOADER_URL_IMPORT_13___","___CSS_LOADER_URL_IMPORT_14___","___CSS_LOADER_URL_IMPORT_15___","___CSS_LOADER_URL_IMPORT_16___","___CSS_LOADER_URL_IMPORT_17___","___CSS_LOADER_URL_IMPORT_18___","___CSS_LOADER_URL_IMPORT_19___","___CSS_LOADER_URL_IMPORT_20___","___CSS_LOADER_URL_IMPORT_21___","___CSS_LOADER_URL_IMPORT_22___","___CSS_LOADER_URL_IMPORT_23___","___CSS_LOADER_URL_IMPORT_24___","___CSS_LOADER_URL_IMPORT_25___","___CSS_LOADER_URL_IMPORT_26___","___CSS_LOADER_URL_IMPORT_27___","___CSS_LOADER_URL_IMPORT_28___","___CSS_LOADER_URL_IMPORT_29___","___CSS_LOADER_URL_IMPORT_30___","___CSS_LOADER_URL_IMPORT_31___","___CSS_LOADER_URL_IMPORT_32___","___CSS_LOADER_URL_IMPORT_33___","___CSS_LOADER_URL_IMPORT_34___","___CSS_LOADER_URL_IMPORT_35___","___CSS_LOADER_URL_REPLACEMENT_0___","___CSS_LOADER_URL_REPLACEMENT_1___","___CSS_LOADER_URL_REPLACEMENT_2___","___CSS_LOADER_URL_REPLACEMENT_3___","___CSS_LOADER_URL_REPLACEMENT_4___","___CSS_LOADER_URL_REPLACEMENT_5___","___CSS_LOADER_URL_REPLACEMENT_6___","___CSS_LOADER_URL_REPLACEMENT_7___","___CSS_LOADER_URL_REPLACEMENT_8___","___CSS_LOADER_URL_REPLACEMENT_9___","___CSS_LOADER_URL_REPLACEMENT_10___","___CSS_LOADER_URL_REPLACEMENT_11___","___CSS_LOADER_URL_REPLACEMENT_12___","___CSS_LOADER_URL_REPLACEMENT_13___","___CSS_LOADER_URL_REPLACEMENT_14___","___CSS_LOADER_URL_REPLACEMENT_15___","___CSS_LOADER_URL_REPLACEMENT_16___","___CSS_LOADER_URL_REPLACEMENT_17___","___CSS_LOADER_URL_REPLACEMENT_18___","___CSS_LOADER_URL_REPLACEMENT_19___","___CSS_LOADER_URL_REPLACEMENT_20___","___CSS_LOADER_URL_REPLACEMENT_21___","___CSS_LOADER_URL_REPLACEMENT_22___","___CSS_LOADER_URL_REPLACEMENT_23___","___CSS_LOADER_URL_REPLACEMENT_24___","___CSS_LOADER_URL_REPLACEMENT_25___","___CSS_LOADER_URL_REPLACEMENT_26___","___CSS_LOADER_URL_REPLACEMENT_27___","___CSS_LOADER_URL_REPLACEMENT_28___","___CSS_LOADER_URL_REPLACEMENT_29___","___CSS_LOADER_URL_REPLACEMENT_30___","___CSS_LOADER_URL_REPLACEMENT_31___","___CSS_LOADER_URL_REPLACEMENT_32___","___CSS_LOADER_URL_REPLACEMENT_33___","___CSS_LOADER_URL_REPLACEMENT_34___","___CSS_LOADER_URL_REPLACEMENT_35___","webpackEmptyContext","webpackContext","webpackContextResolve","__webpack_require__","isStuck","stuck","SYMBOL_TOOLBAR_BUTTON_RADIO_GROUP","SYMBOL_TOOLBAR_BUTTON_RADIO_GROUP_VALUE","SYMBOL_TOOLBAR_BUTTON_RADIO_GROUP_NAME","ToolbarButton","radioGroup","groupValue","groupName","isChecked","isFocused","onClick","click","onFocus","onBlur","checked","enterClass","enterActiveClass","enterToClass","leaveClass","leaveActiveClass","leaveToClass","removeEnterTransition","removeLeaveTransition","ToolbarItem","triggerItem","drawer","focusTrap","useFocusTrap","immediate","awaitingHideTransition","animation","arrow","interactive","firstElementChild","maxWidth","onEnd","requestAnimationFrame","applyEnterTransition","TransitionEvent","applyLeaveTransition","destroy","menuTrigger","grow","selectedKey","collapsable","MenuTitle","vnode","isSelected","menuLevel","calcPadding","leftPadding","isActiveRoute","addMenuKey","selectKey","MenuItem","titleId","isCollapsed","isMenuCollapsible","canCollapse","listRef","listEl","collapseSection","expandSection","sectionHeight","scrollHeight","elementTransition","resetHeight","rootAddMenuKey","popoverItems","componentOptions","filteredPopoverItems","toggleCollapsed","menuItem","Props","placeholder","TiptapEditorContent","editor","sanitizedValue","getJSON","html","getHTML","sanitizeHtml","sanitize","USE_PROFILES","editable","extensions","configure","multicolor","openOnClick","defaultProtocol","onUpdate","editorProps","commands","setContent","setEditable","DEFAULT_TOOLS","heading","tools","showHighlight","showColorGroup","showFormatGroup","showHeadingGroup","showLinkGroup","applyColor","chain","setColor","run","formatTypes","toggleFormat","command","toggleBold","toggleItalic","toggleStrike","toggleUnderline","toggleHighlight","headingIcons","1","2","3","4","5","6","headingLevels","toggleHeading","setLink","previousUrl","getAttributes","prompt","extendMarkRange","unsetLink","BubbleMenu","WbEditorContent","WbEditorToolbar","onMenuCreate","onCreate","appendTo","FilterEvent","inheritAttrs","toggle","_i","$$a","$$el","$$c","$$i","FilterPill","FilterToggle","instanceComponents","instanceComponentFactories","createComponentFormatter","renderer","instanceId","_cell","_row","_column","_instanceId","__$wbGridInstanceId","factories","lookupId","useGrid","gridRef","newOptions","grid","updateConfig","forceRender","rows","newRows","columns","newColumns","className","table","trimEnd","componentFactories","stopComponentListener","addedNodes","node","HTMLSpanElement","rowId","columnId","parentElement","replaceChild","factory","childList","subtree","listenForAndApplyComponentFormatters","stopResizeObserver","$destroy","SYMBOL_GRID_INSTANCE_ID","SYMBOL_GRID_ADD_COLUMN","autoWidth","resizable","fixedHeader","pagination","columnsProp","isReady","deferUpdate","componentColumns","column","th","tr","td","footer","onReady","off","addSelfToGrid","createSlotFormatter","cell","row","formatter","styles","multi","ping","AlertIcon","paginatorConfig","wrapper","rounded","activeButton","inactiveButton","firstButton","lastButton","prevButton","nextButton","buttonConfig","font","truncate","block","inline","xs","sm","md","lg","xl","gap","padding","square","brand","solid","ghost","white","gray","outline","soft","loadingIcon","pageSize","total","MAX_VALUE","showFirst","showLast","divider","getButtonClass","firstButtonClasses","lastButtonClasses","prevButtonClasses","nextButtonClasses","activeButtonClasses","inactiveButtonClasses","currentPage","ceil","displayedPages","totalPages","maxDisplayedPages","r1","r2","beforeWrapped","afterWrapped","canGoFirstOrPrev","canGoLastOrNext","onClickPrev","onClickNext","onClickPage","onClickFirst","onClickLast","pageStart","pageEnd","descriptionId","$slots","CheckListItem","hasId","confirmText","cancelText","showConfirm","okText","onOk","onCancel","onConfirm","slot","tabs","tabLabelProp","tabSlant","tab","progressConfig","indicator","progress","steps","step","first","carousel","swing","elastic","indicatorContainerClass","indicatorClass","progressClass","classes","isIndeterminate","stepsClass","stepClass","stepActiveClass","stepFirstClass","realMax","stepClasses","isFirst","isSteps","round","tableConfig","styleRoot","divide","thead","sticky","scrollable","tfoot","tbody","loadingState","emptyState","expand","sortAscIcon","sortDescIcon","sortButton","trailing","expandButton","checkbox","defaultComparator","z","by","columnAttribute","rowClass","isSticky","hasExpand","columnsSchema","row0Props","otherProps","sortable","sortState","rowData","col","sortFn","sortColumnKey","resolveColumnValue","selectedState","indeterminate","emptyStateSchema","valueOrCellConfig","resolvedValue","concreteValue","toType","transform","compare","openedRows","onSelect","cl","headersCells","stickyHeaders","colSticky","dir","colKey","colOrder","colWidths","getBoundingClientRect","bodyCells","stickyCells","stickyHeaderGroup","getOffset","cells","cols","getFooterCellSchema","dataObj","resolveCellClass","toggleOpened","onSort","custom","getSortState","onRowDoubleClick","getRowClass","subIndex","template","rowspan","colspan","clip","additional","slotContent","marginRight","staticRenderFns","alignMenu","menuProps","overflowingNodes","containerRef","maxChildHeight","menuRef","setDataAttr","findNode","nodeId","updateMaxHeight","heights","offsetHeight","marginTop","marginBottom","updateOverflowingNodes","overflowedEls","offsetTop","stopResize","stopMutation","characterData","isOverflowing","normalizeStyle","curr","nodesOutOfView","nodesInView","OverflowContainer","overflow","maxHeight","MenuButton","button","nodeArrangement","Teleport","overlay","overlayColor","transitionDuration","overlayClickClose","swipe","sheetId","showSheet","sheetHeight","translateValue","isDragging","contentScroll","bottomSheet","bottomSheetHeader","bottomSheetMain","bottomSheetFooter","bottomSheetContent","bottomSheetDraggableArea","sheetContentClasses","innerHeight","transitionDurationVar","sheetHeightVar","maxHeightVar","translateValueVar","maxWidthVar","dragHandler","deltaY","pixelToVh","cancelable","isFinal","scrollTop","documentElement","overflowY","overscrollBehavior","pixel","percentage","clientHeight","initHeight","isSheetElementFocused","inputClass","TouchMouseInput","recognizers","Pan","DIRECTION_VERTICAL","clickOnOverlayHandler","sheet","buttonColors","buttonVariants","variantColor","hasContent","growValues","fill","iconClass","menuButton","getRGB","getsRGB","pow","getLuminance","getContrast","foregroundColor","backgroundColor","L1","L2","dynamicStyles","whiteContrast","blackContrast","darkColor","darken","intersect","stickySentinel","isWithinViewport","withinViewport","viewportObserver","clearAndUpper","convertObjToCamelCase","newObj","AuthMiddleware","setupAuthAsync","authState","public","isRoutePublic","rerouteParams","loginAsync","invalidatedRouteModules","modulesToActive"],"mappings":"qtHAIM,MAAOA,EAEX,YAEkBC,EAEAC,GAYe,IAXfC,EAWe,4DAXoBC,EAEnCC,EASe,uCAPfC,EAOe,uCAFfC,EAEe,wDAAfC,EAAe,uCAdf,KAAAP,SAEA,KAAAC,UACA,KAAAC,aAEA,KAAAE,aAEA,KAAAC,SAKA,KAAAC,WAEA,KAAAC,SAGX,WACL,OAAOC,KAAKR,OAMP,eACL,OAAIS,MAAMC,QAAQF,KAAKR,QACdQ,KAAKR,OAAOW,KAChBX,GACC,IAAID,EACFC,EACAQ,KAAKP,QACLO,KAAKN,WACLM,KAAKJ,WACLI,KAAKH,OACLG,KAAKF,SACLE,KAAKD,UAGN,CAACC,O,qWC3CN,MAAOI,GAKP,MAAOC,G,EAEM,IAAkBC,KAAI,EAGtB,IAAkBC,QAAO,EAKzB,IAAkBC,WAAU,EAK5B,IAAkBC,KAAI,EA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AiB,SAAUA,EACtBzkC,EAASykC,EAAcvkC,WAEhC,EAGF,IAAIyxF,EAaJ,KAZmB,MAAf30F,EAAMkD,OAAcyxF,EAAgB,CAAEzxF,KAAMlD,EAAMkD,aAEhDud,EAAMm0E,WAAWD,GAUjB,IAAIx+F,MAAM,0BEpDP,a,0ECAA,UCYuB,IAAoB,IAAnB,KAAE4N,EAAF,MAAQ/D,GAAW,EAMxD,IALsBA,EAAMM,QAAQ4c,MAAK,QAAC,KAAE91B,GAAH,SACvC2c,EAAKzD,QAAQna,KAAKsvE,GAAMA,EAAEruE,OAAM2V,SAAS3V,MAIvB,CAElB,IAMMytG,EANgB,cACa1kG,QAChC0f,IAAU,MAAC,SAAgB,QAAd,EAAAA,EAAO5T,eAAO,eAAE+D,UAIa7P,QAC1C0f,IAAU,MAAC,OAAc,QAAd,EAAAA,EAAO5T,eAAO,eAAE+D,SAAUA,EAAM5Y,QAI9C,IAAK,IAAMyoB,KAAUglF,EACnB,YAAiBhlF,EAAOzoB,MAEpB,IAAUgrB,oBACZC,QAAQC,MAAR,+DAC0DzC,EAAOzoB,KADjE,OAON,IAEM0tG,EAFU,cACa3kG,QAAQ0f,IAAU,MAAC,SAAgB,QAAd,EAAAA,EAAO5T,eAAO,eAAE+D,UAC7B7P,QAClC0f,IACEA,EAAOvd,UACR0N,EAAMM,QAAQ4c,MAAK,IAAa,OAAZ,KAAE91B,GAAU,EAAC,OAAc,QAAd,EAAAyoB,EAAO5T,eAAO,eAAE+D,SAAU5Y,OAI/D,IAAK,IAAM,KAAU0tG,EACnB,YAAU,EAAO1tG,MAEb,IAAUgrB,oBACZC,QAAQC,MAAR,6DACwD,EAAOlrB,KAD/D,U","file":"a06d388.modern.js","sourcesContent":["/* eslint-disable no-useless-constructor */\nimport { SubjectRawRule } from '@casl/ability';\nimport { Action, Subject } from '~/app/core/casl/types';\n\nexport class AccessScope\n implements SubjectRawRule {\n constructor(\n /** * The scope actions ex. 'create', 'update', 'read' */\n public readonly action: Action,\n /** * The scope subject ex. 'user', 'case' */\n public readonly subject: Subject,\n public readonly namespaces: string[] | undefined = undefined,\n /** Access Condition ex. { id: 12345 } -> can access if id is 12345 */\n public readonly conditions?: TCondition,\n /** Specific model fields to apply the rule to */\n public readonly fields?: string[],\n /**\n * Inverts the rules action/conditions\n * @default false\n */\n public readonly inverted: boolean = false,\n /** mainly to specify why user can't do something. See forbidden reasons for details */\n public readonly reason?: string\n ) {}\n\n public toString() {\n return this.action;\n }\n\n /**\n * @deprecated\n * Creates a new array of access scopes where each subject is a string. If the access scope `action` is an array then the spread array will contain one access scope for each item the `action` array. Otherwise the returned array will contain one item, being the calling access scope instance. */\n public spreadAction() {\n if (Array.isArray(this.action))\n return this.action.map(\n (action) =>\n new AccessScope(\n action,\n this.subject,\n this.namespaces,\n this.conditions,\n this.fields,\n this.inverted,\n this.reason\n )\n );\n return [this];\n }\n}\n","import { Type } from 'class-transformer';\nimport { AppAbilitySubject } from '~/app/core/casl';\n\nexport class AccessScopeDescription {\n public readonly scope!: string;\n public readonly description!: string;\n}\n\nexport class AccessScopeMasterList {\n @Type(() => AccessScopeDescription)\n public readonly [AppAbilitySubject.case]!: Readonly;\n\n @Type(() => AccessScopeDescription)\n public readonly [AppAbilitySubject.bodybox]!: Readonly<\n AccessScopeDescription[]\n >;\n\n @Type(() => AccessScopeDescription)\n public readonly [AppAbilitySubject.dictionary]!: Readonly<\n AccessScopeDescription[]\n >;\n\n @Type(() => AccessScopeDescription)\n public readonly [AppAbilitySubject.user]!: Readonly;\n\n @Type(() => AccessScopeDescription)\n public readonly [AppAbilitySubject.report]!: Readonly<\n AccessScopeDescription[]\n >;\n}\n","export class Address {\n public streetAddressLine1?: string;\n public streetAddressLine2?: string;\n public city?: string;\n public state?: string;\n public zipCode?: string;\n\n constructor(args?: Address) {\n this.streetAddressLine1 = args?.streetAddressLine1;\n this.streetAddressLine2 = args?.streetAddressLine2;\n this.city = args?.city;\n this.state = args?.state;\n this.zipCode = args?.zipCode;\n }\n}\n","export class AlertSetting {\n public readonly id!: string;\n public readonly name!: string;\n public readonly description!: string;\n\n constructor(args?: AlertSetting) {\n if (!args) return;\n this.id = args.id;\n this.name = args.name;\n this.description = args.description;\n }\n}\n","export class BodyboxWeightAlert {\n public readonly id!: string;\n public readonly title!: string;\n public readonly description?: string;\n public readonly minThreshold?: number;\n public readonly minThresholdInclusive!: boolean;\n public readonly maxThreshold?: number;\n public readonly maxThresholdInclusive!: boolean;\n\n constructor(\n args: Omit<\n BodyboxWeightAlert,\n | 'isWithinThreshold'\n | 'isAboveMinThreshold'\n | 'isBelowMaxThreshold'\n | 'isEqualToThreshold'\n >\n ) {\n if (!args) return;\n this.id = args.id;\n this.title = args.title;\n this.description = args.description;\n this.minThreshold = args.minThreshold;\n this.minThresholdInclusive = args.minThresholdInclusive;\n this.maxThreshold = args.maxThreshold;\n this.maxThresholdInclusive = args.maxThresholdInclusive;\n }\n\n public isWithinThreshold(weight: number): boolean {\n const isWithin =\n this.isAboveMinThreshold(weight) && this.isBelowMaxThreshold(weight);\n return isWithin && !this.isEqualToThreshold(weight);\n }\n\n public isAboveMinThreshold(weight: number): boolean {\n return (\n (!this.minThreshold && typeof this.minThreshold !== 'number') ||\n (this.minThresholdInclusive\n ? weight >= this.minThreshold\n : weight > this.minThreshold)\n );\n }\n\n public isBelowMaxThreshold(weight: number): boolean {\n return (\n (!this.maxThreshold && typeof this.maxThreshold !== 'number') ||\n (this.maxThresholdInclusive\n ? weight <= this.maxThreshold\n : weight < this.maxThreshold)\n );\n }\n\n public isEqualToThreshold(weight: number): boolean {\n return (\n typeof this.minThreshold === 'number' &&\n typeof this.maxThreshold === 'number' &&\n weight === this.minThreshold &&\n weight === this.maxThreshold\n );\n }\n}\n","export class BodyboxBariatricConfiguration {\n public readonly threshold!: number;\n public readonly instructions?: string;\n\n constructor(args?: BodyboxBariatricConfiguration) {\n if (!args) return;\n this.threshold = args.threshold;\n this.instructions = args.instructions;\n }\n}\n","import { Type } from 'class-transformer';\nimport { BodyboxWeightAlert } from './bodybox-weight-alert';\nimport { BodyboxBariatricConfiguration } from './bodybox-bariatric-configuration';\n\nexport class BodyboxWeightConfiguration {\n @Type(() => BodyboxBariatricConfiguration)\n public readonly bariatricConfiguration?: BodyboxBariatricConfiguration;\n\n @Type(() => BodyboxWeightAlert)\n public readonly alerts!: BodyboxWeightAlert[];\n\n constructor(args?: BodyboxWeightConfiguration) {\n if (!args) return;\n this.bariatricConfiguration = args.bariatricConfiguration;\n this.alerts = args.alerts;\n }\n}\n","export class BodyboxStorageLocation {\n public readonly id!: string;\n public readonly name!: string;\n public readonly columnPosition!: number;\n public readonly rowPosition?: number;\n\n constructor(args?: BodyboxStorageLocation) {\n if (!args) return;\n this.id = args.id;\n this.name = args.name;\n this.columnPosition = args.columnPosition;\n this.rowPosition = args.rowPosition;\n }\n}\n\nexport class BodyboxStorageConfiguration {\n public readonly storageLabel!: string;\n public readonly locations!: BodyboxStorageLocation[];\n\n constructor(args?: BodyboxStorageConfiguration) {\n if (!args) return;\n this.storageLabel = args.storageLabel;\n this.locations = args.locations;\n }\n}\n","import { Type } from 'class-transformer';\nimport { IIdentifiable } from '../interfaces';\nimport { BodyboxWeightConfiguration } from './bodybox-weight-configuration';\nimport { BodyboxStorageConfiguration } from './bodybox-storage-configuration';\n\nexport class Bodybox implements IIdentifiable {\n public readonly id!: string;\n public readonly name!: string;\n public readonly capacity!: number;\n public order!: number;\n public readonly expirationStatusWarningThresholdInDays!: number;\n public readonly expirationStatusCriticalThresholdInDays!: number;\n\n @Type(() => BodyboxStorageConfiguration)\n public readonly storageConfiguration!: BodyboxStorageConfiguration;\n\n @Type(() => BodyboxWeightConfiguration)\n public readonly weightConfiguration?: BodyboxWeightConfiguration;\n\n constructor(args?: Bodybox);\n constructor(args: Bodybox) {\n if (!args) return;\n this.id = args.id;\n this.name = args.name;\n this.capacity = args.capacity;\n this.storageConfiguration = args.storageConfiguration;\n this.weightConfiguration = args.weightConfiguration;\n this.order = args.order;\n this.expirationStatusWarningThresholdInDays =\n args.expirationStatusWarningThresholdInDays;\n this.expirationStatusCriticalThresholdInDays =\n args.expirationStatusCriticalThresholdInDays;\n }\n}\n","import { IIdentifiable } from '../interfaces';\n\nexport class BodyboxCapacity implements IIdentifiable {\n public readonly id!: string;\n public readonly name!: string;\n public readonly capacity!: number;\n public readonly totalCases!: number;\n public readonly hasCapacity!: boolean;\n}\n","export const DateOnlyFormatToken = 'MM/dd/yyyy' as const;\nexport const DateTimeFormatToken = 'MM/dd/yyyy hh:mm:ss aa' as const;\n","import { format, isValid, parse } from 'date-fns';\nimport { DateOnlyFormatToken, DateTimeFormatToken } from './format-tokens';\n\nexport class FormatDate extends Date {\n static readonly formatToken = DateOnlyFormatToken;\n\n constructor(\n date?: string | number | Date,\n month?: number,\n day?: number,\n hours?: number,\n minutes?: number,\n seconds?: number,\n ms?: number\n ) {\n if (!date) super();\n else if (typeof date === 'number' && typeof month === 'number')\n super(date, month, day, hours, minutes, seconds, ms);\n else if (typeof date === 'number') super(date);\n else if (typeof date === 'string') {\n super(FormatDate.parseDateLoose(date) ?? 'Invalid Date');\n } else super(date);\n }\n\n public toString() {\n const formatString = format(this, FormatDate.formatToken) as string;\n return formatString;\n }\n\n public toISOString() {\n return this.toString();\n }\n\n public toJSON(_key?: any) {\n return this.toString();\n }\n\n /**\n * Parse a string into a Date object so long as it can be parsed as either a date (`DateOnlyFormatToken`) or a date/time (`DateTimeFormatToken`).\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateLoose(str: string): Date | null {\n return FormatDate.parseDateTime(str) || FormatDate.parseDateOnly(str);\n }\n\n /**\n * Parse a string into a Date object using the `DateOnlyFormatToken` format token.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateOnly(str: string): Date | null {\n const date = parse(str, DateOnlyFormatToken, new Date());\n return isValid(date) ? date : null;\n }\n\n /**\n * Parse a string into a Date object using the `DateTimeFormatToken` format token.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateTime(str: string): Date | null {\n const date = parse(str, DateTimeFormatToken, new Date());\n return isValid(date) ? date : null;\n }\n}\n","import { format, isValid, parse } from 'date-fns';\nimport { FormatDate } from './format-date';\nimport { DateOnlyFormatToken, DateTimeFormatToken } from './format-tokens';\n\nexport class FormatDateTime extends Date {\n static readonly formatToken: string = DateTimeFormatToken;\n\n constructor();\n constructor(date: string);\n constructor(date: Date);\n constructor(\n date?: number,\n month?: number,\n day?: number,\n hours?: number,\n minutes?: number,\n seconds?: number,\n ms?: number\n );\n\n constructor(\n date?: string | number | Date,\n month?: number,\n day?: number,\n hours?: number,\n minutes?: number,\n seconds?: number,\n ms?: number\n ) {\n if (!date) super();\n else if (typeof date === 'number' && typeof month === 'number')\n super(date, month, day, hours, minutes, seconds, ms);\n else if (typeof date === 'number') super(date);\n else if (typeof date === 'string') {\n super(FormatDateTime.parseDateLoose(date) ?? 'Invalid Date');\n } else super(date);\n }\n\n public get date() {\n return new FormatDate(this);\n }\n\n public toString() {\n const formatString = format(this, FormatDateTime.formatToken) as string;\n return formatString;\n }\n\n public toISOString() {\n return this.toString();\n }\n\n public toJSON(_key?: any) {\n return this.toString();\n }\n\n /**\n * Parse a string into a Date object so long as it can be parsed as either a date (`DateOnlyFormatToken`) or a date/time (`DateTimeFormatToken`).\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateLoose(str: string): Date | null {\n return (\n FormatDateTime.parseDateTime(str) || FormatDateTime.parseDateOnly(str)\n );\n }\n\n /**\n * Parse a string into a Date object using the `DateOnlyFormatToken` format token.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateOnly(str: string): Date | null {\n const date = parse(str, DateOnlyFormatToken, new Date());\n return isValid(date) ? date : null;\n }\n\n /**\n * Parse a string into a Date object using the `DateTimeFormatToken` format token.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\n private static parseDateTime(str: string): Date | null {\n const date = parse(str, DateTimeFormatToken, new Date());\n return isValid(date) ? date : null;\n }\n}\n","import { Transform } from 'class-transformer';\nimport { DateTimeInfo, IsDateTimeInfo } from '../dates';\nimport { RequirementStatus } from './requirement-status';\n\nexport enum AutopsyType {\n unknown,\n House = 'house',\n Vendor = 'vendor',\n}\n\nexport interface IAutopsyRecord {\n readonly id?: string;\n type: AutopsyType;\n dateScheduled?: DateTimeInfo;\n dateCompleted?: DateTimeInfo;\n}\n\nexport class HouseAutopsy implements Partial {\n public readonly id?: string;\n\n public type!: AutopsyType.House;\n\n @IsDateTimeInfo()\n public dateScheduled?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public dateCompleted?: DateTimeInfo;\n\n constructor(args?: HouseAutopsy | Partial) {\n this.id = args?.id;\n this.type = AutopsyType.House;\n this.dateScheduled = args?.dateScheduled\n ? new DateTimeInfo(args.dateScheduled)\n : undefined;\n this.dateCompleted = args?.dateCompleted\n ? new DateTimeInfo(args.dateCompleted)\n : undefined;\n }\n}\n\nexport class VendorAutopsy implements Partial {\n public readonly id?: string;\n\n public type!: AutopsyType.Vendor;\n\n public vendorId?: string;\n\n @IsDateTimeInfo()\n public dateScheduled?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public dateCompleted?: DateTimeInfo;\n\n constructor(args?: VendorAutopsy | Partial) {\n this.id = args?.id;\n this.type = AutopsyType.Vendor;\n this.vendorId = args && 'vendorId' in args ? args?.vendorId : undefined;\n this.dateScheduled = args?.dateScheduled\n ? new DateTimeInfo(args.dateScheduled)\n : undefined;\n this.dateCompleted = args?.dateCompleted\n ? new DateTimeInfo(args.dateCompleted)\n : undefined;\n }\n}\n\nexport class AutopsyCollection {\n public requirementStatus?: RequirementStatus;\n\n @Transform(({ value }) =>\n value?.map((autopsy: any) => new HouseAutopsy(autopsy))\n )\n public inHouse: HouseAutopsy[];\n\n @Transform(({ value }) =>\n value?.map((autopsy: any) => new VendorAutopsy(autopsy))\n )\n public vendor: VendorAutopsy[];\n\n constructor(args?: Partial) {\n this.requirementStatus = args?.requirementStatus;\n this.inHouse = args?.inHouse || [];\n this.vendor = args?.vendor || [];\n }\n}\n","import { plainToInstance, Transform } from 'class-transformer';\nimport { FormatDate } from '../format-date';\nimport { FormatDateTime } from '../format-datetime';\nimport { parseISODateOnly, parseISODateTime } from '../utils';\nimport { DateTimeInfo, DateTimeInfoOptions } from '../date-time-info';\nimport { DateOnly } from '../date-only';\n\n/** Specifies the type of the property as @see FormatDate. Required for use with `class-transformer`. */\nexport const IsFormatDate: PropertyDecorator = Transform(({ value }) =>\n value ? new FormatDate(value) : undefined\n);\n\n/** Specifies the type of the property as @see FormatDateTime. Required for use with `class-transformer`. */\nexport const IsFormatDateTime: PropertyDecorator = Transform(({ value }) =>\n value ? new FormatDateTime(value) : undefined\n);\n\nexport const IsDateTimeInfo: (\n serialize?: DateTimeInfoOptions['serialize']\n) => PropertyDecorator = (serialize = 'dateTime') =>\n Transform(({ value }) => {\n if (!value) return undefined;\n\n if (typeof value === 'string') {\n const date = parseISODateOnly(value);\n if (date) return new DateTimeInfo(new DateOnly(date), { serialize });\n\n const dateTime = parseISODateTime(value);\n if (dateTime) return new DateTimeInfo(dateTime, { serialize });\n }\n\n if (typeof value === 'object' && ('date' in value || 'time' in value))\n return plainToInstance(DateTimeInfo, value);\n\n return undefined;\n });\n","import { Type } from 'class-transformer';\n\nexport class NoteRecord {\n public readonly id?: string;\n\n public author!: string;\n\n public content!: string;\n\n public tagIds?: string[];\n\n @Type(() => Date)\n public dateTimeAuthored!: Date;\n\n constructor(args: NoteRecord) {\n if (!args) return;\n this.id = args.id;\n this.author = args.author;\n this.content = args.content;\n this.dateTimeAuthored = args.dateTimeAuthored;\n this.tagIds = args.tagIds;\n }\n}\n\nexport class NotesCollection {\n @Type(() => NoteRecord)\n public records: NoteRecord[];\n\n constructor(args?: Partial) {\n this.records = args?.records || [];\n }\n}\n","import { DateTimeInfo, IsDateTimeInfo } from '../dates';\n\nexport class FuneralHome {\n public funeralHomeId?: string;\n\n public name?: string;\n\n @IsDateTimeInfo()\n public dateNotified?: DateTimeInfo;\n\n public authorizedBy?: string;\n\n public organizationNotifiedBy?: string;\n\n public details?: string;\n\n constructor(args?: FuneralHome) {\n this.funeralHomeId = args?.funeralHomeId;\n this.name = args?.name;\n this.dateNotified = args?.dateNotified\n ? new DateTimeInfo(args?.dateNotified)\n : undefined;\n this.authorizedBy = args?.authorizedBy;\n this.organizationNotifiedBy = args?.organizationNotifiedBy;\n this.details = args?.details;\n }\n}\n","import { Type } from 'class-transformer';\nimport { DateTimeInfo, IsDateTimeInfo } from '../dates';\nimport { RequirementStatus } from './requirement-status';\n\nexport class OrganDonationRecord {\n public readonly id?: string;\n\n public description?: string;\n\n public organBankId?: string;\n\n @IsDateTimeInfo()\n public dateNotified?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public dateCompleted?: DateTimeInfo;\n\n constructor(args?: OrganDonationRecord) {\n this.id = args?.id;\n this.description = args?.description;\n this.organBankId = args?.organBankId;\n this.dateNotified = args?.dateNotified\n ? new DateTimeInfo(args?.dateNotified)\n : undefined;\n this.dateCompleted = args?.dateCompleted\n ? new DateTimeInfo(args?.dateCompleted)\n : undefined;\n }\n}\n\nexport class OrganDonationCollection {\n public requirementStatus?: RequirementStatus;\n\n @Type(() => OrganDonationRecord)\n public records?: OrganDonationRecord[];\n\n constructor(args?: Partial) {\n this.requirementStatus = args?.requirementStatus;\n this.records = args?.records || [];\n }\n}\n","import { Age } from '../common';\nimport { DateTimeInfo, IsDateTimeInfo } from '../dates';\n\nexport class DecedentInfo {\n public alias?: string;\n\n public firstName?: string;\n\n public middleName?: string;\n\n public lastName?: string;\n\n public readonly age?: Age;\n\n @IsDateTimeInfo()\n public dateOfBirth?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public dateOfDeath?: DateTimeInfo;\n\n public genderId?: string;\n\n public medicalRecordNumber?: string;\n\n public alternateMedicalRecordNumber?: string;\n\n public socialSecurityNumber?: string;\n\n public weight?: number;\n\n public raceId?: string;\n\n public ethnicityId?: string;\n\n public maritalStatusId?: string;\n\n public countyId?: string;\n\n constructor(args?: Partial) {\n this.alias = args?.alias;\n this.firstName = args?.firstName;\n this.middleName = args?.middleName;\n this.lastName = args?.lastName;\n this.dateOfBirth = args?.dateOfBirth\n ? new DateTimeInfo(args.dateOfBirth)\n : undefined;\n this.dateOfDeath = args?.dateOfDeath\n ? new DateTimeInfo(args.dateOfDeath)\n : undefined;\n this.genderId = args?.genderId;\n this.medicalRecordNumber = args?.medicalRecordNumber;\n this.alternateMedicalRecordNumber = args?.alternateMedicalRecordNumber;\n this.socialSecurityNumber = args?.socialSecurityNumber;\n this.weight = args?.weight;\n this.raceId = args?.raceId;\n this.ethnicityId = args?.ethnicityId;\n this.maritalStatusId = args?.maritalStatusId;\n this.countyId = args?.countyId;\n }\n\n public get displayName() {\n return (this.alias || `${this.firstName} ${this.lastName}`).trim();\n }\n}\n","export class BelongingsCollection {\n public locations?: { [locationId: string]: string[] };\n\n constructor(args?: Partial) {\n this.locations = args?.locations || {};\n }\n}\n","export class TagsCollection {\n public systemTagIds: string[];\n public userTags: string[];\n public readonly computedTags: Readonly;\n\n constructor(args?: Partial) {\n this.systemTagIds = args?.systemTagIds || [];\n this.userTags = args?.userTags || [];\n this.computedTags = args?.computedTags || [];\n }\n}\n","import { Type } from 'class-transformer';\nimport { isSameDay, startOfDay } from 'date-fns';\nimport { FormatDateTime, IsFormatDateTime } from '../dates';\nimport { CaseServiceType } from './services';\n\nexport abstract class TransportEvent {\n @IsFormatDateTime\n public readonly dateTime!: FormatDateTime;\n\n public readonly createdBy!: string;\n\n constructor(args: TransportEvent) {\n if (!args) return;\n this.dateTime = new FormatDateTime(args.dateTime);\n this.createdBy = args.createdBy;\n }\n}\n\nexport class CheckInEvent extends TransportEvent {\n public readonly transportedBy!: string;\n\n public readonly receivedBy!: string;\n\n public readonly bodybox?: string;\n\n constructor(args: CheckInEvent) {\n super(args);\n\n if (!args) return;\n this.transportedBy = args.transportedBy;\n this.receivedBy = args.receivedBy;\n this.bodybox = args.bodybox;\n }\n}\n\nexport class CheckOutEvent extends TransportEvent {\n public readonly releasedBy!: string;\n\n public readonly releasedTo!: string;\n\n public readonly bodybox?: string;\n\n public readonly receivingOrganization?: string;\n\n public readonly receivingOrganizationType?: string;\n\n constructor(args: CheckOutEvent) {\n super(args);\n\n if (!args) return;\n this.releasedBy = args.releasedBy;\n this.releasedTo = args.releasedTo;\n this.bodybox = args.bodybox;\n this.receivingOrganization = args.receivingOrganization;\n this.receivingOrganizationType = args.receivingOrganizationType;\n }\n}\n\nexport abstract class TransferEvent extends TransportEvent {\n public readonly receivedBy!: string;\n\n public readonly transportedBy!: string;\n\n constructor(args: TransferEvent) {\n super(args);\n\n if (!args) return;\n this.receivedBy = args.receivedBy;\n this.transportedBy = args.transportedBy;\n }\n}\n\nexport abstract class InternalTransferEvent extends TransferEvent {\n public readonly originBodybox!: string;\n\n public readonly destinationBodybox!: string;\n\n constructor(args: InternalTransferEvent) {\n super(args);\n\n if (!args) return;\n this.originBodybox = args.originBodybox;\n this.destinationBodybox = args.destinationBodybox;\n }\n}\n\nexport class AutopsyHistoryEvent extends TransportEvent {\n @IsFormatDateTime\n public readonly dateTimeScheduled?: FormatDateTime;\n\n @IsFormatDateTime\n public readonly dateTimeCompleted!: FormatDateTime;\n\n public readonly type!: string;\n\n public readonly vendor!: string;\n\n public readonly bodybox?: string;\n\n constructor(args: AutopsyHistoryEvent) {\n super(args);\n\n if (!args) return;\n this.dateTimeCompleted = args.dateTimeCompleted;\n this.type = args.type;\n this.vendor = args.vendor;\n this.bodybox = args.bodybox;\n }\n}\n\nexport class OrganBankNotifiedHistoryEvent extends TransportEvent {\n @IsFormatDateTime\n public readonly dateTimeNotified!: FormatDateTime;\n\n public readonly description!: string;\n\n public readonly organBank!: string;\n\n public readonly bodybox?: string;\n\n constructor(args: OrganBankNotifiedHistoryEvent) {\n super(args);\n\n if (!args) return;\n this.dateTimeNotified = args.dateTimeNotified;\n this.description = args.description;\n this.organBank = args.organBank;\n this.bodybox = args.bodybox;\n }\n}\n\nexport class OrganDonationCompletedHistoryEvent extends TransportEvent {\n @IsFormatDateTime\n public readonly dateTimeCompleted!: FormatDateTime;\n\n public readonly description!: string;\n\n public readonly organBank!: string;\n\n public readonly bodybox?: string;\n\n constructor(args: OrganDonationCompletedHistoryEvent) {\n super(args);\n\n if (!args) return;\n this.dateTimeCompleted = args.dateTimeCompleted;\n this.description = args.description;\n this.organBank = args.organBank;\n this.bodybox = args.bodybox;\n }\n}\n\nexport class FuneralHomeHistoryEvent extends TransportEvent {\n @IsFormatDateTime\n public readonly dateTimeNotified!: FormatDateTime;\n\n public readonly funeralHome!: string;\n\n public readonly bodybox?: string;\n\n public readonly organizationNotifiedBy?: string;\n\n constructor(args: FuneralHomeHistoryEvent) {\n super(args);\n\n if (!args) return;\n this.dateTimeNotified = args.dateTimeNotified;\n this.funeralHome = args.funeralHome;\n this.bodybox = args.bodybox;\n this.organizationNotifiedBy = args.organizationNotifiedBy;\n }\n}\n\nexport class MedicalExaminerHistoryEvent extends TransportEvent {\n @IsFormatDateTime\n public readonly dateTimeNotified!: FormatDateTime;\n\n public readonly medicalExaminer!: string;\n\n public readonly bodybox?: string;\n\n constructor(args: MedicalExaminerHistoryEvent) {\n super(args);\n\n if (!args) return;\n this.dateTimeNotified = args.dateTimeNotified;\n this.medicalExaminer = args.medicalExaminer;\n this.bodybox = args.bodybox;\n }\n}\n\nexport abstract class CaseServiceHistoryEvent extends TransportEvent {\n public readonly type!: CaseServiceType;\n\n public readonly conductingOrganization?: string;\n\n public readonly details?: string;\n\n public readonly bodybox?: string;\n\n constructor(args: CaseServiceHistoryEvent) {\n super(args);\n if (!args) return;\n this.type = args.type;\n this.conductingOrganization = args.conductingOrganization;\n this.details = args.details;\n this.bodybox = args.bodybox;\n }\n}\n\nexport class CaseServiceNotifiedHistoryEvent extends CaseServiceHistoryEvent {\n @IsFormatDateTime\n public readonly dateTimeNotified!: FormatDateTime;\n\n constructor(args: CaseServiceNotifiedHistoryEvent) {\n super(args);\n if (!args) return;\n this.dateTimeNotified = args.dateTimeNotified;\n }\n}\n\nexport class CaseServiceCompletedHistoryEvent extends CaseServiceHistoryEvent {\n @IsFormatDateTime\n public readonly dateTimeCompleted!: FormatDateTime;\n\n constructor(args: CaseServiceCompletedHistoryEvent) {\n super(args);\n if (!args) return;\n this.dateTimeCompleted = args.dateTimeCompleted;\n }\n}\n\nexport class TransportHistory {\n @Type(() => CheckInEvent)\n public readonly checkInEvents: Readonly;\n\n @Type(() => CheckOutEvent)\n public readonly checkOutEvents: Readonly;\n\n @Type(() => InternalTransferEvent)\n public readonly internalTransferEvents: Readonly;\n\n @Type(() => AutopsyHistoryEvent)\n public readonly autopsyHistoryEvents: Readonly;\n\n @Type(() => OrganBankNotifiedHistoryEvent)\n public readonly organDonationHistoryEvents: Readonly<\n OrganBankNotifiedHistoryEvent[]\n >;\n\n @Type(() => OrganDonationCompletedHistoryEvent)\n public readonly organDonationCompletedHistoryEvents: Readonly<\n OrganDonationCompletedHistoryEvent[]\n >;\n\n @Type(() => FuneralHomeHistoryEvent)\n public readonly funeralHomeHistoryEvents: Readonly;\n\n @Type(() => MedicalExaminerHistoryEvent)\n public readonly medicalExaminerHistoryEvents: Readonly<\n MedicalExaminerHistoryEvent[]\n >;\n\n @Type(() => CaseServiceNotifiedHistoryEvent)\n public readonly caseServiceNotifiedHistoryEvents: Readonly<\n CaseServiceNotifiedHistoryEvent[]\n >;\n\n @Type(() => CaseServiceCompletedHistoryEvent)\n public readonly caseServiceCompletedHistoryEvents: Readonly<\n CaseServiceCompletedHistoryEvent[]\n >;\n\n constructor(args?: Partial) {\n this.checkInEvents = args?.checkInEvents || [];\n this.checkOutEvents = args?.checkOutEvents || [];\n this.internalTransferEvents = args?.internalTransferEvents || [];\n this.autopsyHistoryEvents = args?.autopsyHistoryEvents || [];\n this.organDonationHistoryEvents = args?.organDonationHistoryEvents || [];\n this.organDonationCompletedHistoryEvents =\n args?.organDonationCompletedHistoryEvents || [];\n this.funeralHomeHistoryEvents = args?.funeralHomeHistoryEvents || [];\n this.medicalExaminerHistoryEvents =\n args?.medicalExaminerHistoryEvents || [];\n this.caseServiceNotifiedHistoryEvents =\n args?.caseServiceNotifiedHistoryEvents || [];\n this.caseServiceCompletedHistoryEvents =\n args?.caseServiceCompletedHistoryEvents || [];\n }\n\n /** A collection of all transport only events (check-ins/check outs) ordered by date **ascending**. */\n public get transportEvents() {\n const ordered: TransportEvent[] = [\n ...this.checkOutEvents,\n ...this.checkInEvents,\n ...this.internalTransferEvents,\n ].sort((a, b) => (a.dateTime < b.dateTime ? -1 : 1));\n\n return ordered;\n }\n\n /** A collection of all history ordered by date **ascending**. */\n public get orderedEvents() {\n const ordered: TransportEvent[] = [\n ...this.checkOutEvents,\n ...this.checkInEvents,\n ...this.internalTransferEvents,\n ...this.autopsyHistoryEvents,\n ...this.organDonationHistoryEvents,\n ...this.organDonationCompletedHistoryEvents,\n ...this.funeralHomeHistoryEvents,\n ...this.medicalExaminerHistoryEvents,\n ...this.caseServiceNotifiedHistoryEvents,\n ...this.caseServiceCompletedHistoryEvents,\n ].sort((a, b) => (getSortDate(a) < getSortDate(b) ? -1 : 1));\n\n // Check-in events will be sorted after events that don't capture a time\n // Events that fall on the same date as a check-in but have no time should be sorted after the check-in\n\n const checkInEvents = ordered.filter(\n (event) => event instanceof CheckInEvent\n );\n\n for (const checkInEvent of checkInEvents) {\n const historyEvents = ordered.filter(\n (event) =>\n isEventWithNoTimePart(event) &&\n isSameDay(checkInEvent.dateTime, event.dateTime)\n );\n\n const checkInEventIndex = ordered.indexOf(checkInEvent);\n\n for (const event of historyEvents) {\n const eventIndex = ordered.indexOf(event);\n ordered.splice(eventIndex, 1);\n ordered.splice(checkInEventIndex, 0, event);\n }\n }\n\n return ordered;\n }\n}\n\nfunction getSortDate(event: TransportEvent): FormatDateTime {\n if (\n event instanceof AutopsyHistoryEvent ||\n event instanceof OrganDonationCompletedHistoryEvent ||\n event instanceof CaseServiceCompletedHistoryEvent\n )\n return event.dateTimeCompleted;\n if (\n event instanceof OrganBankNotifiedHistoryEvent ||\n event instanceof CaseServiceNotifiedHistoryEvent\n )\n return event.dateTimeNotified;\n if (event instanceof FuneralHomeHistoryEvent) return event.dateTimeNotified;\n if (event instanceof MedicalExaminerHistoryEvent)\n return event.dateTimeNotified;\n return event.dateTime;\n}\n\nfunction isEventWithNoTimePart(event: TransportEvent) {\n const isHistoryEvent =\n event instanceof AutopsyHistoryEvent ||\n event instanceof OrganBankNotifiedHistoryEvent ||\n event instanceof FuneralHomeHistoryEvent;\n\n const date = getSortDate(event);\n const startOfDayDate = startOfDay(date);\n const hasNoTimePart = +date === +startOfDayDate;\n\n return isHistoryEvent && hasNoTimePart;\n}\n","import { Type } from 'class-transformer';\nimport { IIdentifiable } from '../interfaces/identifiable';\n\nexport class DocumentRecord implements Partial> {\n public id?: string;\n\n public type?: string;\n\n public name?: string;\n\n @Type(() => Date)\n public dateTimeUploaded?: Date;\n\n public srcUrl?: string;\n\n public sizeInBytes?: number;\n\n constructor(args?: DocumentRecord) {\n this.id = args?.id;\n this.type = args?.type;\n this.name = args?.name;\n this.dateTimeUploaded = args?.dateTimeUploaded;\n this.srcUrl = args?.srcUrl;\n this.sizeInBytes = args?.sizeInBytes;\n }\n}\n\nexport class DocumentCollection {\n @Type(() => DocumentRecord)\n public records: DocumentRecord[];\n\n constructor(args?: DocumentCollection) {\n this.records = args?.records || [];\n }\n}\n","export class CaseAction {\n public readonly enabled!: boolean;\n public readonly information?: string;\n}\n","export enum OriginLocationType {\n Unknown = 0,\n Internal = 1,\n External = 2,\n}\n\nexport abstract class OriginLocation {\n public readonly type!: OriginLocationType;\n public readonly details?: string;\n\n constructor(args?: OriginLocation) {\n if (!args) return;\n this.type = args.type;\n this.details = args.details;\n }\n}\n\nexport class InternalOriginLocation extends OriginLocation {\n public locationId?: string;\n public serviceLineId?: string;\n public unit?: string;\n public room?: string;\n public bed?: string;\n\n constructor(args?: InternalOriginLocation) {\n super(args);\n this.locationId = args?.locationId || undefined;\n this.serviceLineId = args?.serviceLineId || undefined;\n this.unit = args?.unit || undefined;\n this.room = args?.room || undefined;\n this.bed = args?.bed || undefined;\n }\n}\n\nexport class ExternalOriginLocation extends OriginLocation {\n public locationId!: string;\n public contactName?: string;\n public contactPhoneNumber?: string;\n\n constructor(args?: ExternalOriginLocation) {\n super(args);\n if (!args) return;\n this.locationId = args.locationId;\n this.contactName = args.contactName;\n this.contactPhoneNumber = args.contactPhoneNumber;\n }\n}\n","import { DateTimeInfo, IsDateTimeInfo } from '../dates';\nimport { RequirementStatus } from './requirement-status';\n\nexport class MedicalExaminer {\n public requirementStatus?: RequirementStatus;\n\n public medicalExaminerId?: string;\n\n @IsDateTimeInfo()\n public dateNotified?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public dateCompleted?: DateTimeInfo;\n\n constructor(args?: MedicalExaminer) {\n this.requirementStatus = args?.requirementStatus;\n this.medicalExaminerId = args?.medicalExaminerId;\n this.dateNotified = args?.dateNotified\n ? new DateTimeInfo(args?.dateNotified)\n : undefined;\n this.dateCompleted = args?.dateCompleted\n ? new DateTimeInfo(args?.dateCompleted)\n : undefined;\n }\n}\n","export class InfectiousDisease {\n public description?: string;\n public diseaseTypeIds!: string[];\n\n constructor(args?: InfectiousDisease) {\n if (!args) return;\n this.description = args?.description;\n this.diseaseTypeIds = args?.diseaseTypeIds;\n }\n}\n","export class CaseHold {\n public description?: string;\n public readonly isActive: boolean;\n\n constructor(args?: Partial) {\n this.description = args?.description;\n this.isActive = args?.isActive ?? true;\n }\n}\n","export class CaseNotice {\n public readonly type!: 'success' | 'warning' | 'danger';\n public readonly message!: string;\n public readonly description?: string;\n\n constructor(args?: CaseNotice) {\n if (!args) return;\n this.type = args.type;\n this.message = args.message;\n this.description = args.description;\n }\n}\n","import { Type } from 'class-transformer';\nimport { DateTimeInfo, IsDateTimeInfo } from '../dates';\n\nexport class NextOfKinRecord {\n public readonly id?: string;\n\n public name?: string;\n\n public relationship?: string;\n\n public typeId?: string;\n\n public contactPhoneNumber?: string;\n\n public contactEmailAddress?: string;\n\n @IsDateTimeInfo()\n public dateNotified?: DateTimeInfo;\n\n constructor(args?: NextOfKinRecord) {\n if (!args) return;\n this.id = args.id;\n this.name = args.name?.trim();\n this.relationship = args.relationship?.trim();\n this.typeId = args.typeId;\n this.contactPhoneNumber = args.contactPhoneNumber?.trim();\n this.contactEmailAddress = args.contactEmailAddress?.trim();\n this.dateNotified = args.dateNotified\n ? new DateTimeInfo(args.dateNotified)\n : undefined;\n }\n}\n\nexport class NextOfKinCollection {\n @Type(() => NextOfKinRecord)\n public records?: NextOfKinRecord[];\n\n constructor(args?: Partial) {\n this.records = args?.records || [];\n }\n}\n","export class Physician {\n public readonly name!: string;\n public readonly typeId!: string;\n public readonly statusId?: string;\n public readonly nationalProviderIdentifier?: string;\n public readonly phoneNumber?: string;\n public readonly emailAddress?: string;\n\n constructor(args?: Physician) {\n if (!args) return;\n this.name = args?.name;\n this.typeId = args?.typeId;\n this.statusId = args?.statusId;\n this.nationalProviderIdentifier = args?.nationalProviderIdentifier;\n this.phoneNumber = args?.phoneNumber;\n this.emailAddress = args?.emailAddress;\n }\n}\n\nexport class DeathCertificate {\n public readonly causeOfDeathId?: string;\n public readonly causeOfDeathOther?: string;\n public readonly signingPhysician?: Physician;\n\n constructor(args?: DeathCertificate) {\n if (!args) return;\n this.causeOfDeathId = args?.causeOfDeathId;\n this.causeOfDeathOther = args?.causeOfDeathOther;\n this.signingPhysician = args?.signingPhysician;\n }\n}\n","import { CaseService } from './case-service';\n\nexport enum CaseServiceRequirementType {\n Unknown = 0,\n Required = 1,\n Excluded = 2,\n}\n\nexport class CaseServiceCollection {\n public readonly requirementId?: string;\n\n public readonly instances!: TService[];\n\n constructor(args?: Partial>) {\n this.requirementId = args?.requirementId;\n this.instances = args?.instances ?? [];\n }\n}\n","import { Type } from 'class-transformer';\nimport { DateTimeInfo, IsDateTimeInfo } from '../../dates';\n\nexport class CaseServiceNotification {\n public readonly executed?: boolean;\n\n @IsDateTimeInfo()\n public readonly dateTime?: DateTimeInfo;\n\n public readonly recipient?: string;\n\n constructor(args?: Partial) {\n this.executed = args?.executed;\n this.dateTime = args?.dateTime\n ? new DateTimeInfo(args.dateTime)\n : undefined;\n this.recipient = args?.recipient;\n }\n}\n\nexport abstract class CaseService {\n public readonly id?: string;\n\n public readonly statusId?: string;\n\n public readonly assignee?: string;\n\n public readonly conductingOrganizationId?: string;\n\n public readonly conductingOrganizationCaseId?: string;\n\n @Type(() => CaseServiceNotification)\n public readonly conductingOrganizationNotification?: CaseServiceNotification;\n\n public readonly location?: string;\n\n @IsDateTimeInfo()\n public readonly dateTimeScheduled?: DateTimeInfo;\n\n @IsDateTimeInfo()\n public readonly dateTimeCompleted?: DateTimeInfo;\n\n public readonly details?: string;\n\n constructor(args?: Partial) {\n this.id = args?.id;\n this.statusId = args?.statusId;\n this.assignee = args?.assignee;\n this.conductingOrganizationId = args?.conductingOrganizationId;\n this.conductingOrganizationCaseId = args?.conductingOrganizationCaseId;\n this.conductingOrganizationNotification = args?.conductingOrganizationNotification\n ? new CaseServiceNotification(args.conductingOrganizationNotification)\n : undefined;\n this.location = args?.location;\n this.dateTimeScheduled = args?.dateTimeScheduled\n ? new DateTimeInfo(args.dateTimeScheduled)\n : undefined;\n this.dateTimeCompleted = args?.dateTimeCompleted\n ? new DateTimeInfo(args.dateTimeCompleted)\n : undefined;\n this.details = args?.details;\n }\n}\n","export enum CaseServiceType {\n Unknown = 0,\n Autopsy = 1,\n MedicolegalInvestigation = 2,\n DonationProcurement = 3,\n}\n","import { Type } from 'class-transformer';\nimport { CaseService } from './case-service';\nimport { CaseServiceCollection } from './case-services';\n\nexport class Autopsy extends CaseService {}\n\nexport class AutopsyServiceCollection extends CaseServiceCollection {\n @Type(() => Autopsy)\n public readonly instances!: Autopsy[];\n\n constructor(args?: Partial) {\n super(args);\n this.instances = args?.instances\n ? args.instances.map((i) => new Autopsy(i))\n : [];\n }\n}\n","import { Type } from 'class-transformer';\nimport { CaseService } from './case-service';\nimport { CaseServiceCollection } from './case-services';\n\nexport enum DonationProcurementType {\n Unknown = 0,\n Organ = 1,\n Tissue = 2,\n Eye = 3,\n}\n\nexport class DonationProcurement extends CaseService {\n public readonly type!: DonationProcurementType;\n\n constructor(args?: Partial) {\n super(args);\n this.type = args?.type ?? DonationProcurementType.Unknown;\n }\n}\n\nexport class DonationProcurementCollection extends CaseServiceCollection {\n @Type(() => DonationProcurement)\n public readonly instances!: DonationProcurement[];\n\n constructor(args?: Partial) {\n super(args);\n this.instances = args?.instances\n ? args.instances.map((i) => new DonationProcurement(i))\n : [];\n }\n}\n","import { Type } from 'class-transformer';\nimport { DateTimeInfo, IsDateTimeInfo } from '../../dates';\nimport { CaseService } from './case-service';\nimport { CaseServiceCollection } from './case-services';\n\nexport class Authorization {\n public readonly requested?: boolean;\n\n @IsDateTimeInfo()\n public readonly completedOn?: DateTimeInfo;\n\n public readonly completedBy?: string;\n\n constructor(args: Partial) {\n this.requested = args?.requested;\n this.completedOn = args?.completedOn\n ? new DateTimeInfo(args.completedOn)\n : undefined;\n this.completedBy = args?.completedBy;\n }\n}\n\nexport class MedicolegalInvestigation extends CaseService {\n @Type(() => Authorization)\n public readonly cremationViewing?: Authorization;\n\n public readonly reasonForEngagementId?: string;\n\n public readonly fluidLocationId?: string;\n\n constructor(args: Partial) {\n super(args);\n this.cremationViewing = args?.cremationViewing;\n this.reasonForEngagementId = args?.reasonForEngagementId;\n this.fluidLocationId = args?.fluidLocationId;\n }\n}\n\nexport class MedicolegalInvestigationCollection extends CaseServiceCollection {\n @Type(() => MedicolegalInvestigation)\n public readonly instances!: MedicolegalInvestigation[];\n\n constructor(args?: Partial) {\n super(args);\n this.instances = args?.instances\n ? args.instances.map((i) => new MedicolegalInvestigation(i))\n : [];\n }\n}\n","export enum CustodyStatus {\n Unknown = 0,\n Expected = 1,\n InCustody = 2,\n Departed = 3,\n}\n","import { Transform, Type } from 'class-transformer';\nimport { IIdentifiable } from '../interfaces/identifiable';\nimport { AutopsyCollection } from './autopsy-collection';\nimport { NotesCollection } from './notes-collection';\nimport { FuneralHome } from './funeral-home';\nimport { OrganDonationCollection } from './organ-donation-collection';\nimport { DecedentInfo } from './decedent-info';\nimport { BelongingsCollection } from './personal-belongings-collection';\nimport { TagsCollection } from './tags-collection';\nimport { TransportHistory } from './transport-history';\nimport { DocumentCollection } from './document-collection';\nimport { CaseAction } from './case-action';\nimport { MedicalExaminer } from './medical-examiner';\nimport { InfectiousDisease } from './infectious-disease';\nimport {\n ExternalOriginLocation,\n InternalOriginLocation,\n OriginLocation,\n OriginLocationType,\n} from './origin-location';\nimport { CaseHold } from './hold';\nimport { CaseNotice } from './notice';\nimport { NextOfKinCollection } from './next-of-kin-collection';\nimport { DeathCertificate } from './death-certificate';\nimport {\n AutopsyServiceCollection,\n DonationProcurementCollection,\n MedicolegalInvestigationCollection,\n} from './services';\n\nexport class Case implements Partial> {\n public id?: string;\n\n public isOpen!: boolean;\n\n public typeId?: string;\n\n public reportedBy?: string;\n\n public touches?: number;\n\n public storageLocationId?: string;\n\n public bodyboxId?: string;\n\n public financialIdentificationNumber?: string;\n\n @Type(() => CaseNotice)\n public notices?: CaseNotice[];\n\n @Type(() => DecedentInfo)\n public decedent?: DecedentInfo;\n\n @Type(() => CaseHold)\n public holds?: CaseHold;\n\n @Type(() => DeathCertificate)\n public deathCertificate?: DeathCertificate;\n\n @Type(() => AutopsyCollection)\n public autopsies?: AutopsyCollection;\n\n @Type(() => AutopsyServiceCollection)\n public autopsyServices?: AutopsyServiceCollection;\n\n @Type(() => TagsCollection)\n public tags?: TagsCollection;\n\n @Type(() => BelongingsCollection)\n public property?: BelongingsCollection;\n\n @Type(() => OrganDonationCollection)\n public organDonations?: OrganDonationCollection;\n\n @Type(() => DonationProcurementCollection)\n public donationProcurements?: DonationProcurementCollection;\n\n @Type(() => OriginLocation)\n @Transform(({ value }) => {\n if (!value || !('type' in value)) return value;\n if (value.type === OriginLocationType.Internal)\n return new InternalOriginLocation(value);\n if (value.type === OriginLocationType.External)\n return new ExternalOriginLocation(value);\n throw new Error('Unable to construct OriginLocation - type is invalid.');\n })\n public originLocation?: OriginLocation;\n\n @Type(() => MedicalExaminer)\n public medicalExaminer?: MedicalExaminer;\n\n @Type(() => MedicolegalInvestigationCollection)\n public medicolegalInvestigations?: MedicolegalInvestigationCollection;\n\n @Type(() => FuneralHome)\n public funeralHome?: FuneralHome;\n\n @Type(() => InfectiousDisease)\n public infectiousDisease?: InfectiousDisease;\n\n @Type(() => NextOfKinCollection)\n public nextOfKin?: NextOfKinCollection;\n\n @Type(() => NotesCollection)\n public notes?: NotesCollection;\n\n @Type(() => TransportHistory)\n public transportHistory?: TransportHistory;\n\n @Type(() => DocumentCollection)\n public documents?: DocumentCollection;\n\n @Type(() => CaseAction)\n public readonly checkIn?: Readonly;\n\n @Type(() => CaseAction)\n public readonly checkOut?: Readonly;\n\n constructor(args?: Partial) {\n this.id = args?.id;\n this.isOpen = args?.isOpen || true;\n this.typeId = args?.typeId;\n this.reportedBy = args?.reportedBy;\n this.touches = args?.touches;\n this.storageLocationId = args?.storageLocationId;\n this.bodyboxId = args?.bodyboxId;\n this.notices = args?.notices;\n this.decedent = args?.decedent;\n this.holds = args?.holds;\n this.deathCertificate = args?.deathCertificate;\n this.autopsies = args?.autopsies;\n this.autopsyServices = args?.autopsyServices;\n this.tags = args?.tags;\n this.property = args?.property;\n this.organDonations = args?.organDonations;\n this.donationProcurements = args?.donationProcurements;\n this.originLocation = args?.originLocation;\n this.medicalExaminer = args?.medicalExaminer;\n this.medicolegalInvestigations = args?.medicolegalInvestigations;\n this.funeralHome = args?.funeralHome;\n this.infectiousDisease = args?.infectiousDisease;\n this.nextOfKin = args?.nextOfKin;\n this.notes = args?.notes;\n this.transportHistory = args?.transportHistory;\n this.documents = args?.documents;\n }\n\n public addNotices(notices?: CaseNotice[]) {\n if (this.notices) throw new Error('Notices collection already exists.');\n\n this.notices = notices || [];\n\n return this;\n }\n\n public addDecedentInfo(info?: DecedentInfo) {\n if (this.decedent) throw new Error('Decedent info already exists.');\n\n this.decedent = info || new DecedentInfo();\n\n return this;\n }\n\n public addHolds(hold?: CaseHold) {\n if (this.holds) throw new Error('A hold already exists.');\n\n this.holds = hold || new CaseHold();\n\n return this;\n }\n\n public addDeathCertificate(deathCertificate?: DeathCertificate) {\n if (this.deathCertificate)\n throw new Error('A death certificate already exists.');\n\n this.deathCertificate = deathCertificate || new DeathCertificate();\n\n return this;\n }\n\n public addAutopsyCollection(collection?: AutopsyCollection) {\n if (this.autopsies)\n throw new Error('An autopsy collection already exists.');\n\n this.autopsies = collection || new AutopsyCollection();\n\n return this;\n }\n\n public addAutopsyServiceCollection(collection?: AutopsyServiceCollection) {\n if (this.autopsyServices)\n throw new Error('An autopsy service collection already exists.');\n\n this.autopsyServices = collection || new AutopsyServiceCollection();\n\n return this;\n }\n\n public addTagsCollection(collection?: TagsCollection) {\n if (this.tags) throw new Error('A tags collection already exists.');\n\n this.tags = collection || new TagsCollection();\n\n return this;\n }\n\n public addBelongingsCollection(collection?: BelongingsCollection) {\n if (this.property)\n throw new Error('A personal belongings collection already exists.');\n\n this.property = collection || new BelongingsCollection();\n\n return this;\n }\n\n public addOrganDonationCollection(collection?: OrganDonationCollection) {\n if (this.organDonations)\n throw new Error('An organ donation collection already exists.');\n\n this.organDonations = collection || new OrganDonationCollection();\n\n return this;\n }\n\n public addDonationProcurementCollection(\n collection?: DonationProcurementCollection\n ) {\n if (this.donationProcurements)\n throw new Error('A donation procurement collection already exists.');\n\n this.donationProcurements =\n collection || new DonationProcurementCollection();\n\n return this;\n }\n\n public addOriginLocation(location?: OriginLocation) {\n if (this.originLocation)\n throw new Error('An origin location already exists.');\n\n this.originLocation = location || new InternalOriginLocation();\n\n return this;\n }\n\n public addMedicalExaminerUnit(medicalExaminer?: MedicalExaminer) {\n if (this.medicalExaminer)\n throw new Error('A medical examiner already exists.');\n\n this.medicalExaminer = medicalExaminer || new MedicalExaminer();\n\n return this;\n }\n\n public addMedicolegalInvestigationCollection(\n collection?: MedicolegalInvestigationCollection\n ) {\n if (this.medicolegalInvestigations)\n throw new Error('A medicolegal investigation collection already exists.');\n\n this.medicolegalInvestigations =\n collection || new MedicolegalInvestigationCollection();\n\n return this;\n }\n\n public addFuneralHome(funeralHome?: FuneralHome) {\n if (this.funeralHome) throw new Error('A funeral home already exists.');\n\n this.funeralHome = funeralHome || new FuneralHome();\n\n return this;\n }\n\n public addInfectiousDisease(infectiousDisease?: InfectiousDisease) {\n if (this.infectiousDisease)\n throw new Error('Infectious disease already exists.');\n\n this.infectiousDisease = infectiousDisease || new InfectiousDisease();\n\n return this;\n }\n\n public addNextOfKinCollection(nextOfKinCollection?: NextOfKinCollection) {\n if (this.nextOfKin)\n throw new Error('Next of kin collection already exists.');\n\n this.nextOfKin = nextOfKinCollection || new NextOfKinCollection();\n\n return this;\n }\n\n public addNotesCollection(notes?: NotesCollection) {\n if (this.notes) throw new Error('A notes collection already exists.');\n\n this.notes = notes || new NotesCollection();\n\n return this;\n }\n\n public addDocumentsCollection(collection?: DocumentCollection) {\n if (this.documents)\n throw new Error('A documents collection already exists.');\n\n this.documents = collection || new DocumentCollection();\n\n return this;\n }\n}\n","export class TransportPermissionReport {\n public readonly allowed!: boolean;\n\n public readonly holds!: Readonly;\n}\n","export const EventCategory = {\n UserAccess: 'User Access',\n Integration: 'Integration',\n CaseGeneral: 'General',\n CaseNote: 'Case Notes',\n CaseHold: 'Case Hold',\n DecedentTransport: 'Transport',\n DecedentNextOfKin: 'Next Of Kin',\n DecedentAutopsy: 'Autopsy',\n DecedentMedicolegalInvestigation: 'Investigation',\n DecedentDonationProcurement: 'Donation Procurements',\n DecedentFuneralHome: 'Funeral Home',\n Document: 'Documents',\n} as const;\n\n// eslint-disable-next-line no-redeclare\nexport type EventCategory = typeof EventCategory[keyof typeof EventCategory];\n","export enum RequirementStatus {\n Unknown = 0,\n Required = 1,\n Excluded = 2,\n}\n","import { Address } from '../address';\nimport { FilterableDictionaryItem } from './dictionary-item';\n\nexport enum AssociateOrganizationType {\n Unknown = 0,\n AutopsyVendor = 1,\n FuneralHome = 2,\n OrganBank = 3,\n MedicalExaminer = 4,\n}\n\nexport class OrganizationDictionaryItem extends FilterableDictionaryItem {\n public readonly type!: AssociateOrganizationType;\n public readonly address?: Address;\n public readonly contactPhoneNumber?: string;\n public readonly contactFaxNumber?: string;\n public readonly contactEmailAddress?: string;\n\n public get filterValue() {\n return this.type;\n }\n\n constructor(args?: Omit) {\n super(args);\n this.type = args?.type ?? AssociateOrganizationType.Unknown;\n this.address = args?.address ? new Address(args.address) : undefined;\n this.contactPhoneNumber = args?.contactPhoneNumber;\n this.contactFaxNumber = args?.contactFaxNumber;\n this.contactEmailAddress = args?.contactEmailAddress;\n }\n}\n","export const EventType = {\n IntegrationMessageReceived: 'Message Received',\n CaseViewed: 'Case Viewed',\n CaseDocumentUploaded: 'Document Uploaded',\n CaseDocumentDownloaded: 'Document Downloaded',\n CaseDocumentRemoved: 'Document Removed',\n CaseCreated: 'Case Created',\n CaseUpdated: 'Case Updated',\n CaseOpened: 'Case Opened',\n CaseClosed: 'Case Closed',\n CaseTouched: 'Case Touched',\n CaseHoldAdded: 'Case Hold Added',\n CaseHoldRemoved: 'Case Hold Removed',\n CaseNoteAdded: 'Case Note Added',\n CaseNoteModified: 'Case Note Modified',\n CaseNoteRemoved: 'Case Note Removed',\n DecedentCheckedIn: 'Decedent Checked In',\n DecedentTransferred: 'Decedent Transferred',\n DecedentCheckedOut: 'Decedent Checked Out',\n NextOfKinIdentified: 'Next Of Kin Identified',\n NextOfKinNotified: 'Next Of Kin Notified',\n AutopsyStatusUpdated: 'Autopsy Status Updated',\n AutopsyCompleted: 'Autopsy Completed',\n MedicolegalInvestigationStatusUpdated: 'Investigation Status Updated',\n MedicolegalInvestigationCompleted: 'Investigation Completed',\n DonationProcurementStatusUpdated: 'Donation Procurement Status Updated',\n DonationProcurementCompleted: 'Donation Procurement Completed',\n FuneralHomeNotified: 'Funeral Home Notified',\n} as const;\n\n// eslint-disable-next-line no-redeclare\nexport type EventType = typeof EventType[keyof typeof EventType];\n","import { EventCategory } from './event-category';\nimport { EventType } from './event-type';\n\nexport const EventHierarchy = {\n [EventCategory.UserAccess]: [\n EventType.CaseViewed,\n EventType.CaseDocumentDownloaded,\n ],\n [EventCategory.Integration]: [EventType.IntegrationMessageReceived],\n [EventCategory.CaseGeneral]: [\n EventType.CaseCreated,\n EventType.CaseUpdated,\n EventType.CaseOpened,\n EventType.CaseClosed,\n EventType.CaseTouched,\n ],\n [EventCategory.CaseHold]: [\n EventType.CaseHoldAdded,\n EventType.CaseHoldRemoved,\n ],\n [EventCategory.Document]: [\n EventType.CaseDocumentUploaded,\n EventType.CaseDocumentDownloaded,\n EventType.CaseDocumentRemoved,\n ],\n [EventCategory.CaseNote]: [EventType.CaseNoteAdded],\n [EventCategory.DecedentAutopsy]: [\n EventType.AutopsyStatusUpdated,\n EventType.AutopsyCompleted,\n ],\n [EventCategory.DecedentDonationProcurement]: [\n EventType.DonationProcurementStatusUpdated,\n EventType.DonationProcurementCompleted,\n ],\n [EventCategory.DecedentFuneralHome]: [EventType.FuneralHomeNotified],\n [EventCategory.DecedentNextOfKin]: [\n EventType.NextOfKinIdentified,\n EventType.NextOfKinNotified,\n ],\n [EventCategory.DecedentMedicolegalInvestigation]: [\n EventType.MedicolegalInvestigationStatusUpdated,\n EventType.MedicolegalInvestigationCompleted,\n ],\n [EventCategory.DecedentTransport]: [\n EventType.DecedentCheckedIn,\n EventType.DecedentCheckedOut,\n EventType.DecedentTransferred,\n ],\n} as const;\n","export class DictionaryItem {\n public readonly id!: string;\n public readonly name!: string;\n public readonly externalId?: string;\n public readonly activated?: boolean;\n\n constructor(args?: DictionaryItem) {\n if (args) {\n this.id = args?.id;\n this.name = args?.name;\n this.externalId = args?.externalId;\n this.activated = args?.activated ?? true;\n }\n }\n}\n\nexport abstract class FilterableDictionaryItem extends DictionaryItem {\n abstract get filterValue(): unknown;\n}\n","import { DictionaryItem } from './dictionary-item';\n\nexport class CaseTypeDictionaryItem extends DictionaryItem {\n public readonly critical: boolean;\n\n constructor(args?: CaseTypeDictionaryItem) {\n super(args);\n this.critical = args?.critical ?? false;\n }\n}\n","import { CaseServiceRequirementType, CaseServiceType } from '../case';\nimport { FilterableDictionaryItem } from './dictionary-item';\n\nexport class CaseServiceRequirementDictionaryItem extends FilterableDictionaryItem {\n public readonly serviceType!: CaseServiceType;\n public readonly requirementType!: CaseServiceRequirementType;\n\n constructor(args?: CaseServiceRequirementDictionaryItem) {\n super(args);\n this.serviceType = args?.serviceType ?? CaseServiceType.Unknown;\n this.requirementType =\n args?.requirementType ?? CaseServiceRequirementType.Unknown;\n }\n\n public get filterValue() {\n return this.serviceType;\n }\n}\n","import { CaseServiceType } from '../case';\nimport { FilterableDictionaryItem } from './dictionary-item';\n\nexport class CaseServiceStatusDictionaryItem extends FilterableDictionaryItem {\n public readonly serviceType!: CaseServiceType;\n public readonly triggersCaseHold!: boolean;\n public readonly indicatesCompletion!: boolean;\n\n constructor(args?: CaseServiceStatusDictionaryItem) {\n super(args);\n this.serviceType = args?.serviceType ?? CaseServiceType.Unknown;\n this.triggersCaseHold = args?.triggersCaseHold ?? false;\n this.indicatesCompletion = args?.indicatesCompletion ?? false;\n }\n\n public get filterValue() {\n return this.serviceType;\n }\n}\n","import { DictionaryItem } from './dictionary-item';\n\nexport class FluidLocationDictionaryItem extends DictionaryItem {\n public readonly triggersInsight: boolean;\n\n constructor(args?: FluidLocationDictionaryItem) {\n super(args);\n this.triggersInsight = args?.triggersInsight ?? false;\n }\n}\n","import { DictionaryItem } from './dictionary-item';\n\nexport class NextOfKinTypeDictionaryItem extends DictionaryItem {\n public readonly triggersCaseHold: boolean;\n\n constructor(args?: NextOfKinTypeDictionaryItem) {\n super(args);\n this.triggersCaseHold = args?.triggersCaseHold ?? false;\n }\n}\n","import { OriginLocationType } from '../case';\nimport { FilterableDictionaryItem } from './dictionary-item';\n\nexport class OriginLocationDictionaryItem extends FilterableDictionaryItem {\n public readonly type!: OriginLocationType;\n\n public get filterValue() {\n return this.type;\n }\n\n constructor(args?: Omit) {\n super(args);\n this.type = args?.type ?? OriginLocationType.Unknown;\n }\n}\n","import { DictionaryItem } from './dictionary-item';\n\nexport class SigningPhysicianStatusDictionaryItem extends DictionaryItem {\n public readonly triggersCaseHold!: boolean;\n\n constructor(args?: SigningPhysicianStatusDictionaryItem) {\n super(args);\n this.triggersCaseHold = args?.triggersCaseHold ?? false;\n }\n}\n","import { Type } from 'class-transformer';\nimport { IIdentifiable } from './interfaces';\n\nexport enum TagType {\n Case = 0,\n Hold = 1,\n Note = 2,\n}\n\nexport class TagDisplayOptions {\n public readonly color!: string;\n public readonly colorLevel!: number;\n\n constructor(args?: TagDisplayOptions) {\n if (!args) return;\n this.color = args.color;\n this.colorLevel = args.colorLevel;\n }\n}\n\nexport class DisplayTag {\n public readonly label!: string;\n\n @Type(() => TagDisplayOptions)\n public readonly displayOptions?: TagDisplayOptions;\n\n public get isDefault() {\n return this.displayOptions?.color === 'default';\n }\n\n constructor(args?: Pick) {\n if (!args) return;\n this.label = args.label;\n this.displayOptions = args.displayOptions;\n }\n}\n\nexport class Tag implements IIdentifiable {\n public id!: string;\n public type!: TagType;\n public label!: string;\n public displayOptions?: TagDisplayOptions;\n\n constructor(args: Tag) {\n if (!args) return;\n if (!args.id) throw new Error('property \"id\" is required.');\n if (!args.type) throw new Error('property \"type\" is required.');\n if (!args.label) throw new Error('property \"label\" is required.');\n\n this.id = args.id;\n this.type = args.type;\n this.label = args.label;\n this.displayOptions = args.displayOptions;\n }\n}\n","import { TagDisplayOptions, TagType } from '../tag';\nimport { DictionaryItem } from './dictionary-item';\n\nexport class SystemTagDictionaryItem extends DictionaryItem {\n public readonly type: TagType;\n public readonly triggersCaseHold: boolean;\n public readonly displayOptions?: TagDisplayOptions;\n\n constructor(args?: Omit) {\n super(args);\n this.type = args?.type ?? TagType.Case;\n this.triggersCaseHold = args?.type === TagType.Hold;\n this.displayOptions = args?.displayOptions;\n }\n}\n\nexport class ComputedTagDictionaryItem {\n public readonly name!: string;\n public readonly triggersCaseHold!: boolean;\n public readonly description!: string;\n\n constructor(args?: ComputedTagDictionaryItem) {\n if (!args) return;\n this.name = args.name;\n this.triggersCaseHold = args.triggersCaseHold;\n this.description = args.description;\n }\n}\n","import { Transform, Type } from 'class-transformer';\nimport { DisplayTag } from '../../tag';\n\nconst transformLegacyTags = (value: unknown) =>\n Array.isArray(value)\n ? value.map((v) =>\n typeof v === 'string'\n ? new DisplayTag({ label: v as string })\n : new DisplayTag({\n label: v?.label,\n displayOptions: v?.displayOptions,\n })\n )\n : [];\n\nexport class CaseSummaryTags {\n @Type(() => DisplayTag)\n public readonly system!: DisplayTag[];\n\n @Type(() => DisplayTag)\n public readonly systemHolds!: DisplayTag[];\n\n @Transform(({ value }) => transformLegacyTags(value))\n @Type(() => DisplayTag)\n public readonly user!: DisplayTag[];\n\n @Transform(({ value }) => transformLegacyTags(value))\n @Type(() => DisplayTag)\n public readonly computed!: DisplayTag[];\n\n public get empty() {\n return (\n !this.system.length &&\n !this.systemHolds.length &&\n !this.user.length &&\n !this.computed.length\n );\n }\n}\n","import { Type } from 'class-transformer';\nimport { FormatDate, IsFormatDate } from '../../dates';\nimport { CaseAction } from '../case-action';\nimport { CaseNotice } from '../notice';\nimport { CaseTypeDictionaryItem, DictionaryItem } from '../../dictionaries';\nimport { CustodyStatus } from '../custody-status';\nimport { CaseSummaryTags } from './tags';\nimport { CaseSummaryInsights } from './insights';\nimport { OriginLocationSummary } from './origin-location-summary';\n\nexport class CaseSummary {\n public readonly id!: string;\n\n public readonly isOpen!: boolean;\n\n public readonly custodyStatus!: CustodyStatus;\n\n public readonly decedentName?: string;\n\n public readonly decedentAlias?: string;\n\n public get displayName(): string {\n const { decedentName: name, decedentAlias: alias } = this;\n return name || alias\n ? name + (alias ? ` (${alias})` : '')\n : 'Unidentified Decedent';\n }\n\n public readonly decedentMedicalRecordNumber?: string;\n\n public readonly decedentAlternateMedicalRecordNumbers!: string[];\n\n @IsFormatDate\n public readonly decedentDateOfBirth?: FormatDate;\n\n @IsFormatDate\n public readonly decedentExpirationDate?: FormatDate;\n\n @Type(() => DictionaryItem)\n public readonly gender?: DictionaryItem;\n\n public readonly bodyboxId?: string;\n\n public readonly bodybox?: string;\n\n public readonly storageLabel?: string;\n\n public readonly storageLocation?: string;\n\n public readonly originLocation?: OriginLocationSummary;\n\n @Type(() => CaseTypeDictionaryItem)\n public readonly caseType?: CaseTypeDictionaryItem;\n\n @Type(() => CaseSummaryTags)\n public readonly tags!: CaseSummaryTags;\n\n @Type(() => CaseNotice)\n public readonly notices!: CaseNotice[];\n\n @Type(() => CaseSummaryInsights)\n public readonly insights!: CaseSummaryInsights;\n\n @Type(() => CaseAction)\n public readonly checkIn!: CaseAction;\n\n @Type(() => CaseAction)\n public readonly checkOut!: CaseAction;\n}\n","import { Type } from 'class-transformer';\nimport { FormatDate, IsFormatDate } from '../../dates';\nimport { CaseAction } from '../case-action';\nimport { CaseNotice } from '../notice';\nimport { CaseSummaryTags } from './tags';\nimport { OriginLocationSummary } from './origin-location-summary';\nimport { CaseSummaryInsights } from './insights';\n\nexport interface CaseTypeSummary {\n readonly name: string;\n readonly critical: boolean;\n}\n\nexport class ReservationCaseSummary {\n public readonly id!: string;\n\n public readonly decedentName?: string;\n\n public readonly decedentAlias?: string;\n\n public get displayName(): string {\n const { decedentName: name, decedentAlias: alias } = this;\n return name || alias\n ? name + (alias ? ` (${alias})` : '')\n : 'Unidentified Decedent';\n }\n\n public readonly decedentMedicalRecordNumber?: string;\n\n public readonly decedentAlternateMedicalRecordNumbers!: string[];\n\n @IsFormatDate\n public readonly decedentDateOfBirth?: FormatDate;\n\n @IsFormatDate\n public readonly decedentExpirationDate?: FormatDate;\n\n public readonly caseType?: CaseTypeSummary;\n\n public readonly originLocation?: OriginLocationSummary;\n\n @Type(() => CaseSummaryTags)\n public readonly tags!: CaseSummaryTags;\n\n @Type(() => CaseAction)\n public readonly checkIn!: CaseAction;\n\n @Type(() => CaseNotice)\n public readonly notices!: CaseNotice[];\n\n @Type(() => CaseSummaryInsights)\n public readonly insights!: CaseSummaryInsights;\n}\n","import { Type } from 'class-transformer';\nimport { FormatDate, IsFormatDate } from '../../dates';\nimport { CaseAction } from '../case-action';\nimport { CaseNotice } from '../notice';\nimport { CaseTypeDictionaryItem } from '../../dictionaries';\nimport { BodyboxStorageLocation } from '../../bodybox';\nimport { CaseSummaryTags } from './tags';\nimport { CaseSummaryInsights } from './insights';\n\nexport class BodyboxStorageLocationSummary extends BodyboxStorageLocation {\n public readonly storageType!: string;\n}\n\nexport class BodyboxCaseSummary {\n public readonly id!: string;\n\n public readonly bodyboxId!: string;\n\n public readonly bodybox?: string;\n\n public readonly caseType?: CaseTypeDictionaryItem;\n\n public readonly decedentName?: string;\n\n public readonly decedentAlias?: string;\n\n public get displayName(): string {\n const { decedentName: name, decedentAlias: alias } = this;\n return name || alias\n ? name + (alias ? ` (${alias})` : '')\n : 'Unidentified Decedent';\n }\n\n public readonly decedentMedicalRecordNumber?: string;\n\n public readonly decedentAlternateMedicalRecordNumbers!: string[];\n\n @IsFormatDate\n public readonly decedentDateOfBirth?: FormatDate;\n\n @IsFormatDate\n public readonly decedentExpirationDate?: FormatDate;\n\n @Type(() => BodyboxStorageLocationSummary)\n public readonly storageLocation?: BodyboxStorageLocationSummary;\n\n @Type(() => CaseSummaryTags)\n public readonly tags!: CaseSummaryTags;\n\n @Type(() => CaseAction)\n public readonly checkOut!: CaseAction;\n\n @Type(() => CaseNotice)\n public readonly notices!: CaseNotice[];\n\n @Type(() => CaseSummaryInsights)\n public readonly insights!: CaseSummaryInsights;\n}\n","import { CaseAction } from '../case-action';\nimport {\n FormatDate,\n FormatDateTime,\n IsFormatDate,\n IsFormatDateTime,\n} from '../../dates';\nimport { OriginLocationSummary } from './origin-location-summary';\n\nexport class OutboxCaseSummary {\n public readonly id!: string;\n\n public readonly isOpen!: boolean;\n\n public readonly decedentName?: string;\n\n public readonly decedentAlias?: string;\n\n public get displayName(): string {\n const { decedentName: name, decedentAlias: alias } = this;\n return name || alias\n ? name + (alias ? ` (${alias})` : '')\n : 'Unidentified Decedent';\n }\n\n public readonly decedentMedicalRecordNumber?: string;\n\n public readonly decedentAlternateMedicalRecordNumbers!: string[];\n\n @IsFormatDate\n public readonly decedentDateOfBirth?: FormatDate;\n\n @IsFormatDate\n public readonly decedentExpirationDate!: FormatDate;\n\n @IsFormatDateTime\n public readonly lastCheckoutDate!: FormatDateTime;\n\n public readonly checkedOutBy!: string;\n\n readonly originLocation?: OriginLocationSummary;\n\n public readonly lastBodybox!: string;\n\n public readonly checkIn!: CaseAction;\n}\n","export class PageResult {\n public readonly pageNumber!: number;\n\n public readonly pageSize!: number;\n\n public readonly totalRecords!: number;\n\n public readonly data!: TData[];\n}\n","import { ReportFormat } from './report-format';\n\nexport interface ReportDefinition {\n readonly id: string;\n readonly name: string;\n readonly format: ReportFormat;\n readonly formatLabel: string;\n}\n\nexport enum ReportTemplateType {\n Unknown = 0,\n Table = 1,\n}\n\nexport interface ReportTemplateDefinition {\n readonly id: number;\n readonly name: string;\n readonly types: ReportTemplateType[];\n}\n","export enum ReportFormat {\n Unknown = 0,\n CSV = 1,\n PDF = 2,\n}\n","export class SocialSecurityNumber {\n private _ssn: string;\n private delimiter: string;\n\n constructor(\n ssn: string,\n options: { delimiter: string } = { delimiter: '-' }\n ) {\n this._ssn = this.getRawSSN(ssn);\n this.delimiter = options.delimiter;\n }\n\n /** The formatted/masked value of the SSN. */\n get value() {\n return this.formatSSN(this._ssn);\n }\n\n set value(value: string) {\n this._ssn = this.getRawSSN(this._ssn);\n }\n\n /** The unformatted, numeric only, value of the SSN. */\n public get raw() {\n return this._ssn;\n }\n\n /**\n * Gets a discretely masked version of the social security number, padded with asterisks.\n * @param asteriskLength The length of the asterisks to pad the SSN with.\n * @returns A discretely masked social security number.\n */\n public getDiscreteValue(asteriskLength: number = 5) {\n if (!this.isValid) {\n return this.value;\n }\n\n const raw = this.raw.slice(asteriskLength);\n const masked = raw.padStart(9, '*');\n\n return this.formatSSN(masked);\n }\n\n /** Indicates if the social security number is composed of a valid format. */\n public get isValid() {\n const parts = [...this.raw]; // remove mask\n const nums = '0123456789';\n\n const isNumbers = parts.every((part) => nums.includes(part));\n const isLength = parts.length === 0 || parts.length === 9;\n\n return !!isNumbers && !!isLength;\n }\n\n /**\n * Validates the structure of the social security number. Errors are throw for each structure violation.\n */\n public validate() {\n const parts = [...this.raw]; // remove mask\n const nums = '0123456789';\n\n if (!parts.every((part) => nums.includes(part)))\n throw new Error('Social Security Number must contain only numbers.');\n\n if (parts.length !== 0 && parts.length !== 9)\n throw new Error('Social Security Number must be 9 digits long.');\n }\n\n private formatSSN(value: string): string {\n // https://codepen.io/ashblue/pen/LGeqxx\n\n if (typeof value !== 'string') {\n throw new TypeError('Social Security Number value must be a string.');\n }\n\n let maskedValue = value.replace(/[^0-9|\\\\*]/g, '');\n maskedValue = maskedValue.substring(0, 9);\n\n // Inject dashes\n if (maskedValue.length >= 4) {\n maskedValue =\n maskedValue.slice(0, 3) + this.delimiter + maskedValue.slice(3);\n }\n\n if (maskedValue.length >= 7) {\n maskedValue =\n maskedValue.slice(0, 6) + this.delimiter + maskedValue.slice(6);\n }\n\n return maskedValue;\n }\n\n private getRawSSN(value: string) {\n if (typeof value !== 'string') {\n throw new TypeError('Social Security Number value must be a string.');\n }\n\n return value.replace(/-/g, '');\n }\n}\n","import type { TenantConfiguration } from './configuration';\n\nexport class Tenant {\n public readonly id: string;\n public readonly name: string;\n public readonly configuration: TenantConfiguration;\n public readonly activated: boolean;\n\n constructor(args?: Tenant);\n constructor(args: Tenant) {\n this.id = args?.id;\n this.name = args?.name;\n this.configuration = args?.configuration;\n this.activated = args?.activated;\n }\n}\n","export class User {\n public readonly id!: string;\n\n public readonly firstName?: string;\n\n public readonly lastName?: string;\n\n public readonly emailAddress!: string;\n\n public readonly accessScopes!: string[];\n\n constructor(args?: Omit);\n constructor(args: Omit) {\n if (!args) return;\n this.id = args.id;\n this.firstName = args?.firstName;\n this.lastName = args?.lastName;\n this.emailAddress = args.emailAddress;\n this.accessScopes = args.accessScopes;\n }\n\n public get displayName() {\n return `${this.firstName} ${this.lastName}`.trim();\n }\n}\n","export enum MassUnit {\n Unknown = 0,\n Centigram = 1,\n Decagram = 2,\n Decigram = 3,\n EarthMass = 4,\n Femtogram = 35,\n Grain = 5,\n Gram = 6,\n Hectogram = 7,\n Kilogram = 8,\n Kilopound = 9,\n Kilotonne = 10,\n LongHundredweight = 11,\n LongTon = 12,\n Megapound = 13,\n Megatonne = 14,\n Microgram = 0xf,\n Milligram = 0x10,\n Nanogram = 17,\n Ounce = 18,\n Picogram = 29,\n Pound = 19,\n ShortHundredweight = 20,\n ShortTon = 21,\n Slug = 22,\n SolarMass = 23,\n Stone = 24,\n Tonne = 25,\n}\n","import { FormatDateTime, IsFormatDateTime } from './dates';\n\nexport class UserInvitation {\n public readonly id!: string;\n\n public readonly emailAddress!: string;\n\n @IsFormatDateTime\n public readonly localDateTimeCreated!: FormatDateTime;\n\n @IsFormatDateTime\n public readonly localDateTimeExpiresAt!: FormatDateTime;\n\n public readonly accessScopes!: string[];\n\n constructor(args?: UserInvitation);\n constructor(args: UserInvitation) {\n if (!args) return;\n this.id = args.id;\n this.emailAddress = args.emailAddress;\n this.localDateTimeCreated = new FormatDateTime(args.localDateTimeCreated);\n this.localDateTimeExpiresAt = new FormatDateTime(\n args.localDateTimeExpiresAt\n );\n this.accessScopes = args.accessScopes;\n }\n}\n","import Vue from 'vue'\nimport { isSamePath as _isSamePath, joinURL, normalizeURL, withQuery, withoutTrailingSlash } from 'ufo'\n\n// window.{{globals.loadedCallback}} hook\n// Useful for jsdom testing or plugins (https://github.com/tmpvar/jsdom#dealing-with-asynchronous-script-loading)\nif (process.client) {\n window.onNuxtReadyCbs = []\n window.onNuxtReady = (cb) => {\n window.onNuxtReadyCbs.push(cb)\n }\n}\n\nexport function createGetCounter (counterObject, defaultKey = '') {\n return function getCounter (id = defaultKey) {\n if (counterObject[id] === undefined) {\n counterObject[id] = 0\n }\n return counterObject[id]++\n }\n}\n\nexport function empty () {}\n\nexport function globalHandleError (error) {\n if (Vue.config.errorHandler) {\n Vue.config.errorHandler(error)\n }\n}\n\nexport function interopDefault (promise) {\n return promise.then(m => m.default || m)\n}\n\nexport function hasFetch(vm) {\n return vm.$options && typeof vm.$options.fetch === 'function' && !vm.$options.fetch.length\n}\nexport function purifyData(data) {\n if (process.env.NODE_ENV === 'production') {\n return data\n }\n\n return Object.entries(data).filter(\n ([key, value]) => {\n const valid = !(value instanceof Function) && !(value instanceof Promise)\n if (!valid) {\n console.warn(`${key} is not able to be stringified. This will break in a production environment.`)\n }\n return valid\n }\n ).reduce((obj, [key, value]) => {\n obj[key] = value\n return obj\n }, {})\n}\nexport function getChildrenComponentInstancesUsingFetch(vm, instances = []) {\n const children = vm.$children || []\n for (const child of children) {\n if (child.$fetch) {\n instances.push(child)\n continue; // Don't get the children since it will reload the template\n }\n if (child.$children) {\n getChildrenComponentInstancesUsingFetch(child, instances)\n }\n }\n return instances\n}\n\nexport function applyAsyncData (Component, asyncData) {\n if (\n // For SSR, we once all this function without second param to just apply asyncData\n // Prevent doing this for each SSR request\n !asyncData && Component.options.__hasNuxtData\n ) {\n return\n }\n\n const ComponentData = Component.options._originDataFn || Component.options.data || function () { return {} }\n Component.options._originDataFn = ComponentData\n\n Component.options.data = function () {\n const data = ComponentData.call(this, this)\n if (this.$ssrContext) {\n asyncData = this.$ssrContext.asyncData[Component.cid]\n }\n return { ...data, ...asyncData }\n }\n\n Component.options.__hasNuxtData = true\n\n if (Component._Ctor && Component._Ctor.options) {\n Component._Ctor.options.data = Component.options.data\n }\n}\n\nexport function sanitizeComponent (Component) {\n // If Component already sanitized\n if (Component.options && Component._Ctor === Component) {\n return Component\n }\n if (!Component.options) {\n Component = Vue.extend(Component) // fix issue #6\n Component._Ctor = Component\n } else {\n Component._Ctor = Component\n Component.extendOptions = Component.options\n }\n // If no component name defined, set file path as name, (also fixes #5703)\n if (!Component.options.name && Component.options.__file) {\n Component.options.name = Component.options.__file\n }\n return Component\n}\n\nexport function getMatchedComponents (route, matches = false, prop = 'components') {\n return Array.prototype.concat.apply([], route.matched.map((m, index) => {\n return Object.keys(m[prop]).map((key) => {\n matches && matches.push(index)\n return m[prop][key]\n })\n }))\n}\n\nexport function getMatchedComponentsInstances (route, matches = false) {\n return getMatchedComponents(route, matches, 'instances')\n}\n\nexport function flatMapComponents (route, fn) {\n return Array.prototype.concat.apply([], route.matched.map((m, index) => {\n return Object.keys(m.components).reduce((promises, key) => {\n if (m.components[key]) {\n promises.push(fn(m.components[key], m.instances[key], m, key, index))\n } else {\n delete m.components[key]\n }\n return promises\n }, [])\n }))\n}\n\nexport function resolveRouteComponents (route, fn) {\n return Promise.all(\n flatMapComponents(route, async (Component, instance, match, key) => {\n // If component is a function, resolve it\n if (typeof Component === 'function' && !Component.options) {\n try {\n Component = await Component()\n } catch (error) {\n // Handle webpack chunk loading errors\n // This may be due to a new deployment or a network problem\n if (\n error &&\n error.name === 'ChunkLoadError' &&\n typeof window !== 'undefined' &&\n window.sessionStorage\n ) {\n const timeNow = Date.now()\n const previousReloadTime = parseInt(window.sessionStorage.getItem('nuxt-reload'))\n\n // check for previous reload time not to reload infinitely\n if (!previousReloadTime || previousReloadTime + 60000 < timeNow) {\n window.sessionStorage.setItem('nuxt-reload', timeNow)\n window.location.reload(true /* skip cache */)\n }\n }\n\n throw error\n }\n }\n match.components[key] = Component = sanitizeComponent(Component)\n return typeof fn === 'function' ? fn(Component, instance, match, key) : Component\n })\n )\n}\n\nexport async function getRouteData (route) {\n if (!route) {\n return\n }\n // Make sure the components are resolved (code-splitting)\n await resolveRouteComponents(route)\n // Send back a copy of route with meta based on Component definition\n return {\n ...route,\n meta: getMatchedComponents(route).map((Component, index) => {\n return { ...Component.options.meta, ...(route.matched[index] || {}).meta }\n })\n }\n}\n\nexport async function setContext (app, context) {\n // If context not defined, create it\n if (!app.context) {\n app.context = {\n isStatic: process.static,\n isDev: false,\n isHMR: false,\n app,\n store: app.store,\n payload: context.payload,\n error: context.error,\n base: app.router.options.base,\n env: {}\n }\n // Only set once\n\n if (context.req) {\n app.context.req = context.req\n }\n if (context.res) {\n app.context.res = context.res\n }\n\n if (context.ssrContext) {\n app.context.ssrContext = context.ssrContext\n }\n app.context.redirect = (status, path, query) => {\n if (!status) {\n return\n }\n app.context._redirected = true\n // if only 1 or 2 arguments: redirect('/') or redirect('/', { foo: 'bar' })\n let pathType = typeof path\n if (typeof status !== 'number' && (pathType === 'undefined' || pathType === 'object')) {\n query = path || {}\n path = status\n pathType = typeof path\n status = 302\n }\n if (pathType === 'object') {\n path = app.router.resolve(path).route.fullPath\n }\n // \"/absolute/route\", \"./relative/route\" or \"../relative/route\"\n if (/(^[.]{1,2}\\/)|(^\\/(?!\\/))/.test(path)) {\n app.context.next({\n path,\n query,\n status\n })\n } else {\n path = withQuery(path, query)\n if (process.server) {\n app.context.next({\n path,\n status\n })\n }\n if (process.client) {\n // https://developer.mozilla.org/en-US/docs/Web/API/Location/replace\n window.location.replace(path)\n\n // Throw a redirect error\n throw new Error('ERR_REDIRECT')\n }\n }\n }\n if (process.server) {\n app.context.beforeNuxtRender = fn => context.beforeRenderFns.push(fn)\n }\n if (process.client) {\n app.context.nuxtState = window.__NUXT__\n }\n }\n\n // Dynamic keys\n const [currentRouteData, fromRouteData] = await Promise.all([\n getRouteData(context.route),\n getRouteData(context.from)\n ])\n\n if (context.route) {\n app.context.route = currentRouteData\n }\n\n if (context.from) {\n app.context.from = fromRouteData\n }\n\n app.context.next = context.next\n app.context._redirected = false\n app.context._errored = false\n app.context.isHMR = false\n app.context.params = app.context.route.params || {}\n app.context.query = app.context.route.query || {}\n}\n\nexport function middlewareSeries (promises, appContext) {\n if (!promises.length || appContext._redirected || appContext._errored) {\n return Promise.resolve()\n }\n return promisify(promises[0], appContext)\n .then(() => {\n return middlewareSeries(promises.slice(1), appContext)\n })\n}\n\nexport function promisify (fn, context) {\n let promise\n if (fn.length === 2) {\n // fn(context, callback)\n promise = new Promise((resolve) => {\n fn(context, function (err, data) {\n if (err) {\n context.error(err)\n }\n data = data || {}\n resolve(data)\n })\n })\n } else {\n promise = fn(context)\n }\n\n if (promise && promise instanceof Promise && typeof promise.then === 'function') {\n return promise\n }\n return Promise.resolve(promise)\n}\n\n// Imported from vue-router\nexport function getLocation (base, mode) {\n if (mode === 'hash') {\n return window.location.hash.replace(/^#\\//, '')\n }\n\n base = decodeURI(base).slice(0, -1) // consideration is base is normalized with trailing slash\n let path = decodeURI(window.location.pathname)\n\n if (base && path.startsWith(base)) {\n path = path.slice(base.length)\n }\n\n const fullPath = (path || '/') + window.location.search + window.location.hash\n\n return normalizeURL(fullPath)\n}\n\n// Imported from path-to-regexp\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 */\nexport function compile (str, options) {\n return tokensToFunction(parse(str, options), options)\n}\n\nexport function getQueryDiff (toQuery, fromQuery) {\n const diff = {}\n const queries = { ...toQuery, ...fromQuery }\n for (const k in queries) {\n if (String(toQuery[k]) !== String(fromQuery[k])) {\n diff[k] = true\n }\n }\n return diff\n}\n\nexport function normalizeError (err) {\n let message\n if (!(err.message || typeof err === 'string')) {\n try {\n message = JSON.stringify(err, null, 2)\n } catch (e) {\n message = `[${err.constructor.name}]`\n }\n } else {\n message = err.message || err\n }\n return {\n ...err,\n message,\n statusCode: (err.statusCode || err.status || (err.response && err.response.status) || 500)\n }\n}\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nconst 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+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'\n].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 const tokens = []\n let key = 0\n let index = 0\n let path = ''\n const defaultDelimiter = (options && options.delimiter) || '/'\n let res\n\n while ((res = PATH_REGEXP.exec(str)) != null) {\n const m = res[0]\n const escaped = res[1]\n const 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\n const next = str[index]\n const prefix = res[2]\n const name = res[3]\n const capture = res[4]\n const group = res[5]\n const modifier = res[6]\n const asterisk = res[7]\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path)\n path = ''\n }\n\n const partial = prefix != null && next != null && next !== prefix\n const repeat = modifier === '+' || modifier === '*'\n const optional = modifier === '?' || modifier === '*'\n const delimiter = res[2] || defaultDelimiter\n const pattern = capture || group\n\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter,\n optional,\n repeat,\n partial,\n asterisk: Boolean(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\n return tokens\n}\n\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeURIComponentPretty (str, slashAllowed) {\n const re = slashAllowed ? /[?#]/g : /[/?#]/g\n return encodeURI(str).replace(re, (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 encodeURIComponentPretty(str, true)\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 * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction (tokens, options) {\n // Compile all the tokens into regexps.\n const matches = new Array(tokens.length)\n\n // Compile all the patterns before compilation.\n for (let 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\n return function (obj, opts) {\n let path = ''\n const data = obj || {}\n const options = opts || {}\n const encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent\n\n for (let i = 0; i < tokens.length; i++) {\n const token = tokens[i]\n\n if (typeof token === 'string') {\n path += token\n\n continue\n }\n\n const value = data[token.name || 'pathMatch']\n let segment\n\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix\n }\n\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined')\n }\n }\n\n if (Array.isArray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`')\n }\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\n for (let j = 0; j < value.length; j++) {\n segment = encode(value[j])\n\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\n path += (j === 0 ? token.prefix : token.delimiter) + segment\n }\n\n continue\n }\n\n segment = token.asterisk ? encodeAsterisk(value) : encode(value)\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"')\n }\n\n path += token.prefix + segment\n }\n\n return path\n }\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\nexport function addLifecycleHook(vm, hook, fn) {\n if (!vm.$options[hook]) {\n vm.$options[hook] = []\n }\n if (!vm.$options[hook].includes(fn)) {\n vm.$options[hook].push(fn)\n }\n}\n\nexport const urlJoin = joinURL\n\nexport const stripTrailingSlash = withoutTrailingSlash\n\nexport const isSamePath = _isSamePath\n\nexport function setScrollRestoration (newVal) {\n try {\n window.history.scrollRestoration = newVal;\n } catch(e) {}\n}\n","import { MutationTree } from 'vuex';\nimport { IDictionariesState } from './state';\nimport {\n AssociateOrganizationType,\n DictionaryItem,\n DictionaryType,\n OrganizationDictionaryItem,\n} from '~/app/models';\n\nexport enum Mutation {\n set = 'SET',\n setOrganizations = 'SET_ORGANIZATIONS',\n setAutopsyVendors = 'SET_AUTOPSY_VENDORS',\n setFuneralHomes = 'SET_FUNERAL_HOMES',\n setGenders = 'SET_GENDERS',\n setOrganBanks = 'SET_ORGAN_BANKS',\n setMedicalExaminers = 'SET_MEDICAL_EXAMINERS',\n setPersonalBelongingLocations = 'SET_PERSONAL_BELONGING_LOCATIONS',\n setOriginLocations = 'SET_ORIGIN_LOCATIONS',\n setTags = 'SET_TAGS',\n setNextOfKinTypes = 'SET_NEXT_OF_KIN_TYPES',\n setInfectiousDiseaseTypes = 'SET_INFECTIOUS_DISEASE_TYPES',\n setCaseTypes = 'SET_CASE_TYPES',\n}\n\nexport const mutations: MutationTree = {\n [Mutation.set](\n state,\n { type, entries }: { type: DictionaryType; entries: DictionaryItem[] }\n ) {\n if (!type) throw new Error('Dictionary type is required');\n if (!entries) throw new Error('Dictionary entries are required');\n const key = `${type}s` as keyof IDictionariesState;\n state[key] = entries;\n },\n [Mutation.setOrganizations](\n state,\n organizations: OrganizationDictionaryItem[]\n ) {\n state.autopsyVendor = organizations.filter(\n (o) => o.type === AssociateOrganizationType.AutopsyVendor\n );\n state.tissueBank = organizations.filter(\n (o) => o.type === AssociateOrganizationType.OrganBank\n );\n state.funeralHome = organizations.filter(\n (o) => o.type === AssociateOrganizationType.FuneralHome\n );\n state.medicalExaminer = organizations.filter(\n (o) => o.type === AssociateOrganizationType.MedicalExaminer\n );\n },\n [Mutation.setAutopsyVendors](state, vendors: DictionaryItem[]) {\n state.autopsyVendor = vendors;\n },\n [Mutation.setFuneralHomes](state, funeralHomes: DictionaryItem[]) {\n state.funeralHome = funeralHomes;\n },\n [Mutation.setGenders](state, genders: DictionaryItem[]) {\n state.gender = genders;\n },\n [Mutation.setOrganBanks](state, organBanks: DictionaryItem[]) {\n state.tissueBank = organBanks;\n },\n [Mutation.setMedicalExaminers](state, medicalExaminers: DictionaryItem[]) {\n state.medicalExaminer = medicalExaminers;\n },\n [Mutation.setPersonalBelongingLocations](state, locations: DictionaryItem[]) {\n state.personalBelongingLocation = locations;\n },\n [Mutation.setOriginLocations](state, locations: DictionaryItem[]) {\n state.originLocation = locations;\n },\n [Mutation.setTags](state, tags: DictionaryItem[]) {\n state.tag = tags;\n },\n [Mutation.setNextOfKinTypes](state, types: DictionaryItem[]) {\n state.nextOfKinType = types;\n },\n [Mutation.setInfectiousDiseaseTypes](state, types: DictionaryItem[]) {\n state.infectiousDiseaseType = types;\n },\n [Mutation.setCaseTypes](state, types: DictionaryItem[]) {\n state.caseType = types;\n },\n};\n\nexport default mutations;\n","import { Ability, AnyAbility, SubjectType } from '@casl/ability';\nimport { ref, unref } from '@vue/composition-api';\n\nexport function reactiveAbility(\n ability: TAbility\n) {\n // eslint-disable-next-line no-prototype-builtins\n if (ability.hasOwnProperty('possibleRulesFor')) {\n return ability;\n }\n\n const watcher = ref(true);\n ability.on('updated', () => {\n watcher.value = !watcher.value;\n });\n\n const possibleRulesFor = ability.possibleRulesFor.bind(ability);\n ability.possibleRulesFor = (action: string, subject: SubjectType) => {\n watcher.value = unref(watcher);\n return possibleRulesFor(action, subject);\n };\n\n return ability;\n}\n","import { inject, InjectionKey, provide } from '@vue/composition-api';\nimport type { AnyAbility, Ability } from '@casl/ability';\nimport { reactiveAbility } from './reactive-ability';\n\nexport const ABILITY_TOKEN: InjectionKey = Symbol('ability');\n\nexport function injectAbility<\n TAbility extends AnyAbility = Ability\n>(): TAbility {\n const ability = inject(ABILITY_TOKEN);\n\n if (!ability) {\n throw new Error(\n 'Cannot inject Ability instance because it was not provided'\n );\n }\n\n return ability;\n}\n\nexport function provideAbility(ability: AnyAbility) {\n provide(ABILITY_TOKEN, reactiveAbility(ability));\n}\n","import Vue from 'vue';\nimport { defineComponent, PropType } from '@vue/composition-api';\nimport {\n SubjectType,\n Generics,\n AnyAbility,\n Ability,\n Abilities,\n IfString,\n AbilityTuple,\n} from '@casl/ability';\nimport { injectAbility } from '../inject-ability';\n\ntype AbilityCanProps<\n T extends Abilities,\n Else = IfString\n> = T extends AbilityTuple\n ?\n | { do: T[0]; on: T[1]; field?: string }\n | { I: T[0]; a: Extract; field?: string }\n | { I: T[0]; an: Extract; field?: string }\n | { I: T[0]; this: Exclude; field?: string }\n : Else;\n\nexport type CanProps = AbilityCanProps<\n Generics['abilities']\n> & {\n not?: boolean;\n passThrough?: boolean;\n};\n\ntype VueAbility = Vue['$ability'] extends { $ability: AnyAbility }\n ? Vue['$ability']\n : Ability;\n\nfunction detectSubjectProp(props: Record) {\n if ('a' in props) {\n return 'a';\n }\n\n if ('this' in props) {\n return 'this';\n }\n\n if ('an' in props) {\n return 'an';\n }\n\n return '';\n}\n\nexport const Can = defineComponent>({\n name: 'Can',\n props: {\n // eslint-disable-next-line vue/prop-name-casing\n I: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n do: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n a: {\n type: [String, Function] as PropType,\n required: false,\n default: undefined,\n },\n an: {\n type: [String, Function] as PropType,\n required: false,\n default: undefined,\n },\n this: {\n type: [String, Function] as PropType,\n required: false,\n default: undefined,\n },\n on: {\n type: [String, Function] as PropType,\n required: false,\n default: undefined,\n },\n not: Boolean as PropType,\n passThrough: Boolean as PropType,\n field: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n setup(props, { slots }) {\n const $props = props as Record;\n let actionProp = 'do';\n let subjectProp = 'on';\n\n if (!(actionProp in props)) {\n actionProp = 'I';\n subjectProp = detectSubjectProp(props);\n }\n\n if (!$props[actionProp]) {\n throw new Error('Neither `I` nor `do` prop was passed in ');\n }\n\n if (!slots.default) {\n throw new Error('Expects to receive default slot');\n }\n\n const ability = injectAbility();\n\n return () => {\n const isAllowed = ability.can(\n $props[actionProp],\n $props[subjectProp],\n $props.field\n );\n\n const canRender = props.not ? !isAllowed : isAllowed;\n\n if (!props.passThrough) {\n return canRender ? slots.default!() : null;\n }\n\n return slots.default!({\n allowed: canRender,\n ability,\n }) as any;\n };\n },\n});\n","import Vue from 'vue';\nimport { defineNuxtPlugin, defineComponent } from '@nuxtjs/composition-api';\nimport { Ability, AnyAbility, PureAbility } from '@casl/ability';\nimport { reactiveAbility } from './reactive-ability';\nimport { provideAbility } from './inject-ability';\n\nexport interface AbilityPluginOptions {\n /** @default true */\n useGlobalProperties?: boolean;\n}\n\nexport const createAbilitiesPlugin = (\n ability: TAbility,\n options: AbilityPluginOptions = { useGlobalProperties: true }\n) => {\n if (!ability || !(ability instanceof PureAbility)) {\n throw new Error(\n 'Please provide an Ability instance to abilitiesPlugin plugin'\n );\n }\n\n return defineNuxtPlugin((_context, inject) => {\n const $ability = reactiveAbility(ability);\n\n Vue.mixin(\n defineComponent({\n setup() {\n provideAbility($ability);\n },\n })\n );\n\n Vue.prototype.$ability = $ability;\n Vue.prototype.$can = $ability.can;\n\n if (options?.useGlobalProperties) {\n inject('ability', $ability);\n }\n });\n};\n","import { wrapProperty } from '@nuxtjs/composition-api';\n\nexport { Can } from './components/can';\nexport { createAbilitiesPlugin } from './plugin';\nexport { injectAbility, provideAbility, ABILITY_TOKEN } from './inject-ability';\nexport {\n AppAbilitySubject,\n BodyboxAbilityAction,\n CaseAbilityAction,\n DictionaryAbilityAction,\n UserAbilityAction,\n ReportAbilityAction,\n} from './constants';\n\nexport type { CanProps } from './components/can';\nexport type { AbilityPluginOptions } from './plugin';\n\nexport const useAbility = wrapProperty('$ability');\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\nimport { CaseServiceRequirementType, CaseServiceType } from '~/app/models';\n\nexport class CreateCaseServiceRequirementRequest extends AddDictionaryItemRequest {\n public readonly serviceType: CaseServiceType;\n public readonly requirementType: CaseServiceRequirementType;\n\n constructor(args: CreateCaseServiceRequirementRequest) {\n super(args);\n this.serviceType = args.serviceType;\n this.requirementType = args.requirementType;\n }\n}\n\nexport class EditCaseServiceRequirementRequest extends EditDictionaryItemRequest {\n public readonly serviceType: CaseServiceType;\n public readonly requirementType: CaseServiceRequirementType;\n\n constructor(args: EditCaseServiceRequirementRequest) {\n super(args);\n this.serviceType = args.serviceType;\n this.requirementType = args.requirementType;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\nimport { CaseServiceType } from '~/app/models';\n\nexport class CreateCaseServiceStatusRequest extends AddDictionaryItemRequest {\n public readonly serviceType: CaseServiceType;\n public readonly triggersCaseHold: boolean;\n public readonly indicatesCompletion: boolean;\n\n constructor(args: CreateCaseServiceStatusRequest) {\n super(args);\n this.serviceType = args.serviceType;\n this.triggersCaseHold = args.triggersCaseHold;\n this.indicatesCompletion = args.indicatesCompletion;\n }\n}\n\nexport class EditCaseServiceStatusRequest extends EditDictionaryItemRequest {\n public readonly serviceType: CaseServiceType;\n public readonly triggersCaseHold: boolean;\n public readonly indicatesCompletion: boolean;\n\n constructor(args: EditCaseServiceStatusRequest) {\n super(args);\n this.serviceType = args.serviceType;\n this.triggersCaseHold = args.triggersCaseHold;\n this.indicatesCompletion = args.indicatesCompletion;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\n\nexport class CreateCaseTypeRequest extends AddDictionaryItemRequest {\n public readonly critical: boolean;\n\n constructor(args: CreateCaseTypeRequest) {\n super(args);\n this.critical = args.critical;\n }\n}\n\nexport class EditCaseTypeRequest extends EditDictionaryItemRequest {\n public readonly critical: boolean;\n\n constructor(args: EditCaseTypeRequest) {\n super(args);\n this.critical = args.critical;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\n\nexport class AddNextOfKinTypeRequest extends AddDictionaryItemRequest {\n public readonly triggersCaseHold: boolean;\n\n constructor(args: AddNextOfKinTypeRequest) {\n super(args);\n this.triggersCaseHold = args.triggersCaseHold;\n }\n}\n\nexport class EditNextOfKinTypeRequest extends EditDictionaryItemRequest {\n public readonly triggersCaseHold: boolean;\n\n constructor(args: EditNextOfKinTypeRequest) {\n super(args);\n this.triggersCaseHold = args.triggersCaseHold;\n }\n}\n","import {\n Address,\n OrganizationDictionaryItem,\n AssociateOrganizationType,\n} from '~/app/models';\n\nexport class AddOrganizationDictionaryItemRequest {\n public readonly type: AssociateOrganizationType;\n public readonly name: string;\n public readonly address?: Readonly
;\n public readonly contactPhoneNumber?: string;\n public readonly contactFaxNumber?: string;\n public readonly contactEmailAddress?: string;\n\n constructor(args: OrganizationDictionaryItem) {\n if (!args.type) {\n throw new Error('AssociateOrganizationType is required');\n }\n\n if (!args.name) {\n throw new Error('name is required');\n }\n\n this.type = args.type;\n this.name = args.name;\n this.address = args?.address ? new Address(args.address) : undefined;\n this.contactPhoneNumber = args?.contactPhoneNumber;\n this.contactFaxNumber = args?.contactFaxNumber;\n this.contactEmailAddress = args?.contactEmailAddress;\n }\n}\n\nexport class EditOrganizationDictionaryItemRequest {\n public readonly id: string;\n public readonly type: AssociateOrganizationType;\n public readonly name: string;\n public readonly address?: Readonly
;\n public readonly contactPhoneNumber?: string;\n public readonly contactFaxNumber?: string;\n public readonly contactEmailAddress?: string;\n\n constructor(args: EditOrganizationDictionaryItemRequest) {\n if (!args.id) {\n throw new Error('id is required');\n }\n\n if (!args.type) {\n throw new Error('AssociateOrganizationType is required');\n }\n\n if (!args.name) {\n throw new Error('name is required');\n }\n\n this.id = args.id;\n this.type = args.type;\n this.name = args.name;\n this.address = args?.address ? new Address(args.address) : undefined;\n this.contactPhoneNumber = args.contactPhoneNumber;\n this.contactFaxNumber = args.contactFaxNumber;\n this.contactEmailAddress = args.contactEmailAddress;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\nimport { OriginLocationType } from '~/app/models';\n\nexport class AddOriginLocationRequest extends AddDictionaryItemRequest {\n public readonly type: OriginLocationType;\n public readonly externalId?: string;\n\n constructor(args: AddOriginLocationRequest) {\n super(args);\n this.type = args.type;\n this.externalId = args.externalId;\n }\n}\n\nexport class EditOriginLocationRequest extends EditDictionaryItemRequest {\n public readonly type: OriginLocationType;\n public readonly externalId?: string;\n\n constructor(args: EditOriginLocationRequest) {\n super(args);\n this.type = args.type;\n this.externalId = args.externalId;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\n\nexport class CreateSigningPhysicianStatusRequest extends AddDictionaryItemRequest {\n public readonly triggersCaseHold: boolean;\n\n constructor(args: CreateSigningPhysicianStatusRequest) {\n super(args);\n this.triggersCaseHold = args.triggersCaseHold;\n }\n}\n\nexport class EditSigningPhysicianStatusRequest extends EditDictionaryItemRequest {\n public readonly triggersCaseHold: boolean;\n\n constructor(args: EditSigningPhysicianStatusRequest) {\n super(args);\n this.triggersCaseHold = args.triggersCaseHold;\n }\n}\n","import { AddDictionaryItemRequest, EditDictionaryItemRequest } from './base';\nimport { TagDisplayOptions, TagType } from '~/app/models';\n\nexport class AddSystemTagRequest extends AddDictionaryItemRequest {\n public readonly type: TagType;\n public readonly triggersCaseHold: boolean;\n public readonly displayOptions?: TagDisplayOptions;\n\n constructor(args: Omit) {\n super(args);\n this.type = args.type;\n this.triggersCaseHold = args.type === TagType.Hold;\n this.displayOptions = args.displayOptions;\n }\n}\n\nexport class EditSystemTagRequest extends EditDictionaryItemRequest {\n public readonly type: TagType;\n public readonly triggersCaseHold: boolean;\n public readonly displayOptions?: TagDisplayOptions;\n\n constructor(args: Omit) {\n super(args);\n this.type = args.type;\n this.triggersCaseHold = args.type === TagType.Hold;\n this.displayOptions = args.displayOptions;\n }\n}\n","import type { Moment } from 'moment';\nimport { parse } from 'date-fns';\n\nfunction isNaN(v: any): boolean {\n // eslint-disable-next-line no-self-compare\n return typeof v !== 'number' || v !== v;\n}\n\nexport class DateOnly {\n private date!: number;\n private month!: number;\n private year!: number;\n\n public static readonly ISO_PATTERN = 'yyyy-MM-dd' as const;\n\n constructor(date?: string | number | Date | DateOnly | Moment) {\n let value: Date | null = null;\n\n if (typeof date === 'string') {\n value = new Date(date); // date-fns.parse(date, 'yyyy-MM-dd', new Date());\n } else if (typeof date === 'number') {\n value = DateOnly.numberToDate(date);\n } else if (date instanceof DateOnly) {\n value = date.toDate();\n } else if (date && date.constructor && date.constructor.name === 'Moment') {\n value = DateOnly.momentToDate(date as Moment);\n } else if (date instanceof Date) {\n value = date;\n }\n\n this.setDateParts(value || new Date());\n }\n\n public static from(year: number, month: number, day: number) {\n const pad = DateOnly.pad;\n const dateString = `${pad(year, 4)}-${pad(month, 2)}-${pad(day, 2)}`;\n const date = parse(dateString, this.ISO_PATTERN, new Date());\n return new DateOnly(date);\n }\n\n public static toDate(dateOnlyStamp: number): Date {\n return new DateOnly(dateOnlyStamp).toDate();\n }\n\n public getDate(): number {\n return this.date;\n }\n\n public setDate(date: number): void {\n this.date = date;\n }\n\n public getMonth(): number {\n return this.month;\n }\n\n public setMonth(month: number): void {\n this.month = month;\n }\n\n public getFullYear(): number {\n return this.year;\n }\n\n public setFullYear(year: number): void {\n this.year = year;\n }\n\n public getDay(): number {\n return this.toDate().getDay();\n }\n\n public toDate(): Date {\n return DateOnly.partsToDate(this.year, this.month, this.date);\n }\n\n public valueOf(): number {\n if (isNaN(this.year) || isNaN(this.month) || isNaN(this.date)) {\n return NaN;\n }\n\n const year = DateOnly.pad(this.year, 4);\n const month = DateOnly.pad(this.month, 2);\n const date = DateOnly.pad(this.date, 2);\n\n return parseInt(year + month + date, 10);\n }\n\n public equals(date: DateOnly): boolean {\n return this.valueOf() === date.valueOf();\n }\n\n public toString(): string {\n return this.toDate().toDateString();\n }\n\n public toISOString(): string {\n const year = DateOnly.pad(this.year, 4);\n const month = DateOnly.pad(this.month + 1, 2);\n const date = DateOnly.pad(this.date, 2);\n\n return `${year}-${month}-${date}`;\n }\n\n public toJSON(): string {\n return this.toISOString();\n }\n\n private setDateParts(date: Date): void {\n this.date = date.getDate();\n this.month = date.getMonth();\n this.year = date.getFullYear();\n }\n\n private static pad(num: number, length: number): string {\n let numStr = num.toString();\n while (numStr.length < length) {\n numStr = '0' + numStr;\n }\n return numStr;\n }\n\n private static numberToDate(n: number): Date {\n const s = n.toString();\n\n if (s.length === 8) {\n const year = parseInt(s.slice(0, 4), 10);\n const month = parseInt(s.slice(4, 6), 10) - 1;\n const day = parseInt(s.slice(6, 8), 10);\n\n return DateOnly.partsToDate(year, month, day);\n } else {\n return new Date(n);\n }\n }\n\n private static momentToDate(m: Moment): Date {\n return m.toDate();\n }\n\n private static partsToDate(year: number, month: number, day: number): Date {\n const date = new Date(year, month, day);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n}\n","import { createModule } from '../index';\nimport { state, ITenantState } from './state';\nimport { actions, Action } from './actions';\nimport { mutations, Mutation } from './mutations';\n\nexport type { ITenantState };\nexport { Action, Mutation };\nexport const moduleName = 'tenant';\n\nexport default createModule(moduleName, {\n state,\n mutations,\n actions,\n});\n","import { Context } from '@nuxt/types';\nimport { computed, ref, Ref } from '@nuxtjs/composition-api';\nimport { AppModule, AppModuleOptions } from './module';\n\ndeclare type ModuleClassType = new (\n context: Context,\n options?: AppModuleOptions,\n ...args: any[]\n) => T;\n\ntype RegisterModuleTuple = [\n ModuleClassType>,\n AppModuleOptions | undefined\n];\n\nexport const registeredModules = new Map();\nconst moduleInstances = new Map();\nconst activeModules = ref([]);\n\nexport const initModuleSystem = (context: Context) => {\n // TODO: Support async activation methods .forEach -> for (...)\n registeredModules.forEach(([ModuleCtor, options]) => {\n const module = new ModuleCtor(context, options);\n moduleInstances.set(ModuleCtor.name, module);\n\n if (options?.activationMethod !== 'route-enter') {\n module.activate();\n }\n });\n};\n\nexport const getRegisteredModules = (): Readonly => {\n const modules: Readonly[] = [];\n for (const module of moduleInstances.values()) {\n modules.push(module);\n }\n return Object.freeze(modules) as Readonly;\n};\n\nexport const getActiveModules = (): Readonly => {\n return getActiveModulesRef().value;\n};\n\nexport const getActiveModulesRef = (): Ref> => {\n return computed(() => {\n const modules = activeModules.value\n .map((name) => moduleInstances.get(name))\n .filter((module) => !!module);\n\n return Object.freeze(modules) as Readonly;\n });\n};\n\nexport const registerModule = (\n ModuleCtor: ModuleClassType,\n options?: AppModuleOptions\n) => {\n const name = ModuleCtor.name;\n registeredModules.set(name, [ModuleCtor, options]);\n};\n\nexport const useModule = (\n ModuleCtorOrStringName: ModuleClassType | string\n) => {\n const name =\n typeof ModuleCtorOrStringName === 'string'\n ? ModuleCtorOrStringName\n : ModuleCtorOrStringName.name;\n\n if (moduleInstances.has(name)) {\n const module = moduleInstances.get(name) as AppModule;\n !module.isActive && module.activate();\n\n if (!activeModules.value.includes(name)) {\n activeModules.value.push(name);\n }\n\n return module as TModule;\n }\n\n throw new Error(\n `AppModule with name \"${name}\" could not be found. Ensure this was registering at startup.`\n );\n};\n\nexport const deactivateModule = (\n ModuleCtorOrStringName: ModuleClassType | string\n) => {\n const name =\n typeof ModuleCtorOrStringName === 'string'\n ? ModuleCtorOrStringName\n : ModuleCtorOrStringName.name;\n\n const moduleIndex = activeModules.value.indexOf(name);\n const isModuleActive = moduleIndex > -1;\n const doesModuleInstanceExist = moduleInstances.has(name);\n\n if (isModuleActive) activeModules.value.splice(moduleIndex, 1);\n\n if (!doesModuleInstanceExist)\n throw new Error(\n `AppModule with name \"${name}\" could not be found. Ensure this was registering at startup.`\n );\n\n const module = moduleInstances.get(name) as AppModule;\n\n if (!isModuleActive || !module.isActive)\n throw new Error(\n `AppModule with name \"${name}\" is already in an inactive state.`\n );\n\n module.deactivate();\n};\n","export const SYMBOL_FORM_OBSERVER = Symbol('Form.Observer');\nexport const SYMBOL_FORM_OBSERVER_RULES = Symbol('Form.Observer.Rules');\nexport const SYMBOL_FORM_VALIDATION_MODE = Symbol('Form.ValidationMode');\nexport const SYMBOL_FORM_DIRECTION = Symbol('Form.Direction');\nexport const SYMBOL_FORM_VALIDATOR = Symbol('Form.Validator');\nexport const SYMBOL_FORM_FORM_ITEM_ADD = Symbol('Form.FormItem.Add');\nexport const SYMBOL_FORM_FORM_ITEM_REMOVE = Symbol('Form.FormItem.Remove');\nexport const SYMBOL_FORM_PARTIAL_ADD = Symbol('Form.Partial.AddForm');\nexport const SYMBOL_FORM_PARTIAL_REMOVE = Symbol('Form.Partial.RemoveForm');\nexport const SYMBOL_FORM_PARTIAL_SELF_MANAGED_ADD = Symbol(\n 'Form.Partial.SelfManaged.AddForm'\n);\nexport const SYMBOL_FORM_PARTIAL_SELF_MANAGED_REMOVE = Symbol(\n 'Form.Partial.SelfManaged.RemoveForm'\n);\nexport const SYMBOL_FORM_FORCE_TOKEN = Symbol('Form.Force.Token');\n","export class AddDictionaryItemRequest {\n public readonly name: string;\n public readonly externalId?: string;\n\n constructor(args: AddDictionaryItemRequest) {\n this.name = args.name;\n this.externalId = args.externalId;\n }\n}\n\nexport class EditDictionaryItemRequest {\n public readonly id: string;\n public readonly name: string;\n public readonly externalId?: string;\n\n constructor(args: EditDictionaryItemRequest) {\n this.id = args.id;\n this.name = args.name;\n this.externalId = args.externalId;\n }\n}\n\nexport class DeleteDictionaryItemRequest {\n public readonly entryId: string;\n\n constructor(args: DeleteDictionaryItemRequest) {\n this.entryId = args.entryId;\n }\n}\n","import { Context } from '@nuxt/types';\nimport { Module } from 'vuex';\nimport { RootState } from '~/store';\n\ntype VuexModule = Module;\n\nexport type AppModuleOptions = {\n /**\n * `register` - actives the module when registered with the bootstrapper.\n * `route-enter` - actives the module when the user navigates to this or a child route.\n * @default 'register'\n */\n activationMethod?: 'register' | 'route-enter';\n /**\n * Establishes a dependency between this module an a page route.\n * If @see activationMethod is set to `route-enter` the module will activate when the user navigates to this or a child route. Deactivation will occur when the user navigates to a page that does not fall within this route.\n */\n route?: string;\n store?: {\n /**\n * If a route is configured, destroy the state and unregister the vuex module when the \"AppModule\" is no longer active.\n * @default false\n */\n tearDownOnPageLeave?: boolean;\n /** Vuex module. */\n module: VuexModule;\n /** Module name. @default constructor name */\n moduleName?: string;\n };\n};\n\nexport interface IAppModule {\n readonly name: string;\n readonly isActive: boolean;\n\n /**\n * Activates the module if it has not been activated already.\n * @param force Forces activation even if the module has already been activated.\n */\n activate(force?: boolean): void;\n\n /** Deactivates the module. */\n deactivate(): void;\n}\n\n/**\n * An app module represents an isolated business unit within the application.\n */\nexport abstract class AppModule implements IAppModule {\n private _isActive = false;\n\n protected readonly context: Context;\n\n public abstract name: string;\n public static enableDebugLogging = false;\n public readonly options?: Readonly>;\n\n constructor(context: Context, options?: AppModuleOptions) {\n if (options?.store && !context.store)\n throw new Error(\n '[AppModule] vuex store instance is required to activate module.'\n );\n\n this.context = context;\n this.options = Object.freeze(options);\n\n if (options?.activationMethod === 'register') {\n this.activate();\n }\n }\n\n public get isActive() {\n return this._isActive;\n }\n\n public activate(force: boolean = false) {\n if (this.isActive && !force) return;\n\n if (this.context.store) {\n const doesStoreModuleExist = this.context.store.hasModule(this.name);\n\n if (!doesStoreModuleExist && this.options?.store?.module) {\n this.registerStore(\n this.options.store.module,\n this.options.store.moduleName\n );\n }\n }\n\n this._isActive = true;\n\n if (AppModule.enableDebugLogging)\n console.debug(`[AppModule] Activated module \"${this.name}\".`);\n }\n\n public deactivate() {\n if (this.context.store && this.options?.store?.tearDownOnPageLeave) {\n this.context.store.unregisterModule(this.name);\n }\n\n this._isActive = false;\n\n if (AppModule.enableDebugLogging)\n console.debug(`[AppModule] Deactivated module \"${this.name}\".`);\n }\n\n private registerStore(module: VuexModule, moduleName?: string) {\n this.context.store?.registerModule(moduleName || this.name, module);\n }\n}\n","import { v4 as uuidv4 } from 'uuid';\n\nexport function genId(options?: { length?: number; includeChars?: boolean }) {\n let length = options?.length;\n\n if (length) {\n if (length <= 2) {\n process.env.NODE_ENV === 'development' &&\n console.warn('length should be greater than 2, falling back to *5*');\n length = 5;\n }\n\n const { includeChars } = options || {};\n const radix =\n typeof includeChars === 'boolean'\n ? includeChars\n ? 36\n : undefined\n : undefined;\n\n return Math.random().toString(radix).substr(2, length);\n }\n\n return uuidv4();\n}\n","import { Case } from '~/app/models';\nexport interface ICaseDetailsState {\n caseId: string | null;\n case: Case | null;\n identityVerified: boolean;\n}\n\nexport const state = (): ICaseDetailsState => ({\n caseId: null,\n case: null,\n identityVerified: false,\n});\n","import { GetterTree } from 'vuex';\nimport { ICaseDetailsState } from './state';\nimport { RootState } from '~/store';\n\nexport enum Getter {}\n\nexport const getters: GetterTree = {};\n","import { MutationTree } from 'vuex';\nimport { ICaseDetailsState } from './state';\nimport { Case } from '~/app/models';\n\nexport enum Mutation {\n init = 'INITIALIZE',\n reset = 'RESET',\n setCase = 'SET_CASE',\n setCaseId = 'SET_CASE_ID',\n verifyIdentity = 'VERIFY_IDENTITY',\n}\n\nexport const mutations: MutationTree = {\n [Mutation.init](state, caseDetails: Case) {\n state.case = caseDetails || new Case();\n state.caseId = state.case.id ?? null;\n state.identityVerified = false;\n },\n [Mutation.reset](state) {\n state.case = null;\n state.caseId = null;\n state.identityVerified = false;\n },\n [Mutation.setCase](state, caseDetails: Case) {\n if (!caseDetails) throw new Error('case must have a value.');\n state.case = caseDetails;\n state.caseId = caseDetails.id ?? null;\n },\n [Mutation.setCaseId](state, id: string) {\n if (!id) throw new Error('Case ID must have a value');\n state.caseId = id;\n },\n [Mutation.verifyIdentity](state, verified = true) {\n state.identityVerified = verified;\n },\n};\n","import { DateTimeInfo } from '~/app/models';\nimport {\n AutopsyCollection,\n Case,\n DecedentInfo,\n DocumentCollection,\n FuneralHome,\n NotesCollection,\n OrganDonationCollection,\n BelongingsCollection,\n TagsCollection,\n MedicalExaminer,\n InfectiousDisease,\n OriginLocation,\n CaseHold,\n NextOfKinCollection,\n DeathCertificate,\n AutopsyServiceCollection,\n DonationProcurementCollection,\n MedicolegalInvestigationCollection,\n} from '~/app/models/case';\n\nfunction sanitizeSection(section: TData): TData | undefined {\n if (!section || !(section instanceof Object)) return undefined;\n\n // replace undefined properties with null\n let hasValue = false;\n for (const [key, value] of Object.entries(section)) {\n if (value === undefined || value === null) {\n (section as any)[key] = null;\n } else {\n hasValue = true;\n }\n }\n\n return hasValue ? section : undefined;\n}\n\ntype UpdateDecedentInfo = Omit;\n\nexport class UpdateCaseRequest {\n public readonly caseId: string;\n public readonly typeId?: string;\n public readonly reportedBy?: string;\n public readonly storageLocationId?: string;\n public readonly financialIdentificationNumber?: string;\n public readonly decedent?: UpdateDecedentInfo;\n public readonly holds?: CaseHold;\n public readonly deathCertificate?: DeathCertificate;\n public readonly autopsies?: AutopsyCollection;\n public readonly autopsyServices?: AutopsyServiceCollection;\n public readonly tags?: TagsCollection;\n public readonly property?: BelongingsCollection;\n public readonly organDonations?: OrganDonationCollection;\n public readonly donationProcurements?: DonationProcurementCollection;\n public readonly originLocation?: OriginLocation;\n public readonly medicalExaminer?: MedicalExaminer;\n public readonly medicolegalInvestigations?: MedicolegalInvestigationCollection;\n public readonly funeralHome?: FuneralHome;\n public readonly infectiousDisease?: InfectiousDisease;\n public readonly nextOfKin?: NextOfKinCollection;\n public readonly notes?: NotesCollection;\n public readonly documents?: DocumentCollection;\n\n constructor(args?: Case) {\n if (!args?.id)\n throw new Error('Case must have an ID assigned in order to update.');\n\n const decedent = sanitizeSection(args?.decedent)!;\n if (decedent.dateOfBirth)\n decedent.dateOfBirth = new DateTimeInfo(decedent.dateOfBirth);\n\n if (decedent.dateOfDeath)\n decedent.dateOfDeath = new DateTimeInfo(decedent.dateOfDeath);\n\n this.caseId = args?.id;\n this.typeId = args?.typeId;\n this.reportedBy = args?.reportedBy;\n this.storageLocationId = args?.storageLocationId;\n this.financialIdentificationNumber = args?.financialIdentificationNumber;\n this.decedent = decedent;\n this.holds = sanitizeSection(args?.holds);\n this.deathCertificate = sanitizeSection(args?.deathCertificate);\n this.autopsies = sanitizeSection(args?.autopsies);\n this.autopsyServices = sanitizeSection(args?.autopsyServices);\n this.tags = sanitizeSection(args?.tags);\n this.property = sanitizeSection(args?.property);\n this.organDonations = sanitizeSection(args?.organDonations);\n this.donationProcurements = sanitizeSection(args?.donationProcurements);\n this.originLocation = sanitizeSection(args?.originLocation);\n this.medicalExaminer = sanitizeSection(args?.medicalExaminer);\n this.medicolegalInvestigations = sanitizeSection(\n args?.medicolegalInvestigations\n );\n this.funeralHome = sanitizeSection(args?.funeralHome);\n this.infectiousDisease = sanitizeSection(args?.infectiousDisease);\n this.nextOfKin = sanitizeSection(args?.nextOfKin);\n this.notes = sanitizeSection(args?.notes);\n this.documents = sanitizeSection(args?.documents);\n }\n}\n","import { CreateCaseRequest } from './create-case-request';\n\nexport class CreateCheckoutReportRequest extends CreateCaseRequest {}\n","import type { ActionTree } from 'vuex';\nimport type { ICaseDetailsState } from './state';\nimport { Mutation } from './mutations';\nimport { RootState } from '~/store';\nimport { Case } from '~/app/models';\nimport { CreateCaseRequest } from '~/app/core/api/requests/cases/create-case-request';\nimport { UpdateCaseRequest } from '~/app/core/api/requests/cases/update-case-request';\nimport {\n CheckInCaseRequest,\n CreateAndCheckInCaseRequest,\n CheckoutCaseRequest,\n CreateAndCheckOutCaseRequest,\n} from '~/app/core/api/requests/cases/transport';\nimport { DeleteCaseRequest } from '~/app/core/api/requests/cases/delete-case-request';\nimport {\n TransferCaseExternalRequest,\n TransferCaseInternalRequest,\n} from '~/app/core/api/requests/cases/transfer-case-request';\nimport { CreateCheckoutReportRequest } from '~/app/core/api/requests/cases/create-checkout-report-request';\n\nexport enum Action {\n fetchCase = 'fetchCase',\n createCase = 'createCase',\n createAndCheckIn = 'createAndCheckIn',\n createAndCheckout = 'createAndCheckout',\n save = 'saveCase',\n delete = 'deleteCase',\n checkIn = 'checkInCase',\n checkout = 'checkoutCase',\n transferInternal = 'transferInternal',\n transferExternal = 'transferExternal',\n createCheckoutPermissionReport = 'createCheckoutPermissionReport',\n}\n\nexport const actions: ActionTree = {\n async [Action.fetchCase](_context, caseId: string) {\n const details = await this.$api.cases.getAsync(caseId);\n return details;\n },\n /**\n * Creates a new case\n * @param context ActionContext.\n * @param case Case details being created.\n */\n async [Action.createCase]({ commit }, details: Case) {\n const request = new CreateCaseRequest(details);\n const newCase = await this.$api.cases.createAsync(request);\n\n commit(Mutation.setCase, newCase);\n\n return newCase;\n },\n /**\n * Creates a new case and immediately checks it in.\n * @param context ActionContext.\n * @param case Case details being created and checked in.\n */\n async [Action.createAndCheckIn](\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n { commit },\n request: CreateAndCheckInCaseRequest\n ) {\n const newCase = await this.$api.cases.createAndCheckInAsync(request);\n\n // commit(Mutation.setCase, newCase);\n\n return newCase;\n },\n /**\n * Creates a new case and immediately checks it out.\n * @param context ActionContext.\n * @param case Case details being created and checked out.\n */\n async [Action.createAndCheckout](\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n { commit },\n request: CreateAndCheckOutCaseRequest\n ) {\n const newCase = await this.$api.cases.createAndCheckOutAsync(request);\n\n // commit(Mutation.setCase, newCase);\n\n return newCase;\n },\n /**\n * This action is meant to be subscribed to by other modules who are then responsible for saving their own sections of of the case.\n * @param context ActionContext.\n * @param caseDetails Case details being saved.\n */\n async [Action.save](\n { commit },\n { caseDetails, signal }: { caseDetails: Case; signal?: AbortSignal }\n ) {\n // @ts-ignore\n signal?.throwIfAborted();\n\n const request = new UpdateCaseRequest(caseDetails);\n const updatedCase = await this.$api.cases.updateAsync(request);\n\n // @ts-ignore\n signal?.throwIfAborted();\n commit(Mutation.setCase, updatedCase);\n\n return updatedCase;\n },\n /**\n * Permanently deletes a case or reservation.\n * @param context ActionContext.\n * @param deleteRequest The request containing delete details.\n */\n async [Action.delete](_context, deleteRequest: DeleteCaseRequest) {\n await this.$api.cases.deleteAsync(deleteRequest);\n },\n /**\n * Creates a check-in event on the case.\n * @param context ActionContext.\n * @param checkInRequest The request containing check-in details.\n */\n async [Action.checkIn](_context, checkInRequest: CheckInCaseRequest) {\n const updatedCase = await this.$api.cases.transport.checkInAsync(\n checkInRequest\n );\n return updatedCase;\n },\n /**\n * Creates a checkout event on the case.\n * @param context ActionContext.\n * @param checkInRequest The request containing checkout details.\n */\n async [Action.checkout](_context, checkoutRequest: CheckoutCaseRequest) {\n const updatedCase = await this.$api.cases.transport.checkoutAsync(\n checkoutRequest\n );\n return updatedCase;\n },\n /**\n * Creates an internal transfer event on the case.\n * @param context ActionContext.\n * @param transferRequest The request containing internal transfer details.\n */\n async [Action.transferInternal](\n _context,\n transferRequest: TransferCaseInternalRequest\n ) {\n const updatedCase = await this.$api.cases.transport.transferInternalAsync(\n transferRequest\n );\n return updatedCase;\n },\n /**\n * Creates an external transfer event on the case.\n * @param context ActionContext.\n * @param transferRequest The request containing external transfer details.\n */\n async [Action.transferExternal](\n _context,\n transferRequest: TransferCaseExternalRequest\n ) {\n const updatedCase = await this.$api.cases.transport.transferExternalAsync(\n transferRequest\n );\n return updatedCase;\n },\n /**\n * Creates a transport permission report for a case.\n * @param context ActionContext.\n * @param caseDetails The case details for which the report is being created.\n */\n async [Action.createCheckoutPermissionReport](_context, caseDetails: Case) {\n const request = new CreateCheckoutReportRequest(caseDetails);\n const report = await this.$api.cases.transport.createCheckOutPermissionReportAsync(\n request\n );\n return report;\n },\n};\n","import { state, ICaseDetailsState } from './state';\nimport { getters, Getter } from './getters';\nimport { mutations, Mutation } from './mutations';\nimport { actions, Action } from './actions';\nimport { createModule } from '~/store';\n\nexport { Getter, Mutation, Action };\nexport type { ICaseDetailsState };\n\nexport const moduleName = 'case';\nexport const { module } = createModule(moduleName, {\n state,\n getters,\n mutations,\n actions,\n});\n","import { Bodybox } from '~/app/models';\n\nexport interface IBodyboxState {\n bodyboxes: Readonly[] | null;\n}\n\nexport const state = (): IBodyboxState => ({\n bodyboxes: null,\n});\n","import { GetterTree } from 'vuex';\nimport { IBodyboxState } from './state';\nimport { RootState } from '~/store';\n\nexport enum Getter {}\n\nexport const getters: GetterTree = {};\n","import { MutationTree } from 'vuex';\nimport { IBodyboxState } from './state';\nimport { Bodybox } from '~/app/models';\n\nexport enum Mutation {\n setBodyboxes = 'SET_BODYBOXES',\n updateBodybox = 'UPDATE_BODYBOX',\n removeBodybox = 'REMOVE_BODYBOX',\n}\n\nexport const mutations: MutationTree = {\n [Mutation.setBodyboxes](state, boxes: Bodybox[]) {\n state.bodyboxes = boxes;\n },\n [Mutation.updateBodybox](state, bodybox: Bodybox) {\n const index = state.bodyboxes?.findIndex((box) => box.id === bodybox.id);\n\n if (state.bodyboxes && index) {\n if (index < 0) state.bodyboxes.push(bodybox);\n else state.bodyboxes.splice(index, 1, bodybox);\n } else {\n state.bodyboxes = [bodybox];\n }\n },\n [Mutation.removeBodybox](state, bodybox: Bodybox) {\n const index = state.bodyboxes?.findIndex((box) => box.id === bodybox.id);\n\n if (state.bodyboxes && index) {\n if (index === -1) return;\n state.bodyboxes.splice(index, 1);\n }\n },\n};\n","import type { ActionTree } from 'vuex';\nimport type { IBodyboxState } from './state';\nimport { Mutation } from './mutations';\nimport { RootState } from '~/store';\nimport { Bodybox } from '~/app/models';\n\nexport enum Action {\n fetchCaseSummaries = 'bodybox.fetchCaseSummaries',\n fetchBodyboxes = 'bodybox.fetchBodyboxes',\n fetchCapacities = 'bodybox.fetchCapacities',\n}\n\nexport const actions: ActionTree = {\n async [Action.fetchCaseSummaries](_context, bodyboxId: string) {\n if (!bodyboxId) throw new Error('A bodybox id is required.');\n\n const summaries = await this.$api.bodyboxes.getCaseSummariesAsync(\n bodyboxId\n );\n\n return summaries;\n },\n async [Action.fetchBodyboxes](\n { state, commit },\n options?: { ignoreCache?: boolean }\n ) {\n let boxes = state.bodyboxes;\n\n if (options?.ignoreCache || !boxes) {\n boxes = (await this.$api.bodyboxes.getAsync()) as Bodybox[];\n commit(Mutation.setBodyboxes, boxes);\n }\n\n return boxes;\n },\n async [Action.fetchCapacities]({ commit }) {\n const boxes = await this.$api.bodyboxes.getCapacitiesAsync();\n\n commit(Mutation.setBodyboxes, boxes);\n return boxes;\n },\n};\n","import { state, IBodyboxState } from './state';\nimport { getters, Getter } from './getters';\nimport { mutations, Mutation } from './mutations';\nimport { actions, Action } from './actions';\nimport { createModule } from '~/store';\n\nexport { Getter, Mutation, Action };\nexport type { IBodyboxState };\n\nexport const moduleName = 'bodybox';\nexport const { module } = createModule(moduleName, {\n state,\n getters,\n mutations,\n actions,\n});\n","import { useStore as useRootStore, set } from '@nuxtjs/composition-api';\nimport {\n Commit,\n CommitOptions,\n Dispatch,\n DispatchOptions,\n Payload,\n} from 'vuex';\nimport { AppStore, ModuleState } from '~/store';\n\ntype ModuleKey = keyof ModuleState;\n\nexport function useStoreModule(\n moduleName: ModuleKey\n) {\n const store = useRootStore();\n\n const getters = Object.entries(store.getters).reduce((obj, [key, getter]) => {\n if (!key.startsWith(`${moduleName}/`)) return obj;\n const scopedKey = key.split(`${moduleName}/`)[1];\n set(obj, scopedKey, getter);\n return obj;\n }, {} as { [key: string]: any });\n\n const commit: Commit =

(\n typeOrPayloadWithType: string | P,\n payloadOrOptions: any | CommitOptions,\n options?: CommitOptions\n ) => {\n if (typeof typeOrPayloadWithType === 'string')\n return store.commit(\n `${moduleName}/${typeOrPayloadWithType}`,\n payloadOrOptions,\n options\n );\n\n const payloadWithType: P = {\n ...typeOrPayloadWithType,\n type: `${moduleName}/${typeOrPayloadWithType.type}`,\n };\n return store.commit(payloadWithType, options);\n };\n\n const dispatch: Dispatch =

(\n typeOrPayloadWithType: string | P,\n payloadOrOptions: any | DispatchOptions,\n options?: DispatchOptions\n ) => {\n if (typeof typeOrPayloadWithType === 'string')\n return store.dispatch(\n `${moduleName}/${typeOrPayloadWithType}`,\n payloadOrOptions,\n options\n );\n\n const payloadWithType: P = {\n ...typeOrPayloadWithType,\n type: `${moduleName}/${typeOrPayloadWithType.type}`,\n };\n return store.dispatch(payloadWithType, options);\n };\n\n const toNamespaced = (value: string) => `${moduleName}/${value}`;\n\n return {\n moduleName,\n rootStore: store,\n state: (store.state[moduleName] as unknown) as IState,\n getters,\n commit,\n dispatch,\n toNamespaced,\n };\n}\n","export enum AppAbilitySubject {\n case = 'case',\n bodybox = 'bodybox',\n dictionary = 'dictionary',\n user = 'user',\n report = 'report',\n}\n\n// #region Actions\n\nexport enum CaseAbilityAction {\n create = 'case:create',\n read = 'case:read',\n update = 'case:update',\n delete = 'case:delete',\n checkIn = 'case:checkin',\n checkout = 'case:checkout',\n transferInternal = 'case:internal-transfer',\n transferExternal = 'case:external-transfer',\n open = 'case:open',\n close = 'case:close',\n touch = 'case:touch',\n}\n\nexport enum BodyboxAbilityAction {\n create = 'bodybox:create',\n read = 'bodybox:read',\n update = 'bodybox:update',\n delete = 'bodybox:delete',\n}\n\nexport enum DictionaryAbilityAction {\n create = 'dictionary:create',\n read = 'dictionary:read',\n update = 'dictionary:update',\n delete = 'dictionary:delete',\n}\n\nexport enum UserAbilityAction {\n create = 'user:create',\n read = 'user:read',\n update = 'user:update',\n delete = 'user:delete',\n}\n\nexport enum ReportAbilityAction {\n create = 'report:create',\n readReport = 'report:{id}:read',\n}\n\n// #endregion\n","export const isFullStatic = false\nexport const staticPath = \"/home/vsts/work/1/s/.nuxt/static-json\"\nexport const publicPath = \"/\"\nexport const globalContext = \"__NUXT__\"\nexport const globalNuxt = \"$nuxt\"","import { Device } from './types';\n\nexport class PrintError extends Error {\n public readonly device?: Device;\n\n constructor(message: string, device: Device | undefined = undefined) {\n super(message);\n this.device = device;\n }\n}\n","import { createModule } from '../index';\nimport { state, IAccessState } from './state';\nimport { mutations, Mutation } from './mutations';\nimport { actions, Action } from './actions';\n\nexport type { IAccessState };\nexport { Action, Mutation };\nexport const moduleName = 'access';\n\nexport default createModule(moduleName, {\n state,\n mutations,\n actions,\n});\n","import { Store, Module } from 'vuex';\nimport { IAccessState, moduleName as AccessStoreModuleName } from './access';\nimport {\n IDictionariesState,\n moduleName as DictionariesStoreName,\n} from './dictionaries';\nimport { moduleName as TenantModuleName, ITenantState } from './tenant';\nimport {\n moduleName as CaseDetailsStoreName,\n ICaseDetailsState,\n} from '~mod:case-details/store';\nimport {\n moduleName as BodyboxStoreName,\n IBodyboxState,\n} from '~mod:bodybox/store';\nimport {\n moduleName as SettingsModuleName,\n ISettingsState,\n} from '~mod:settings/store';\n\nexport type ModuleState = {\n [AccessStoreModuleName]: IAccessState;\n [BodyboxStoreName]: IBodyboxState;\n [CaseDetailsStoreName]: ICaseDetailsState;\n [DictionariesStoreName]: IDictionariesState;\n [SettingsModuleName]: ISettingsState;\n [TenantModuleName]: ITenantState;\n};\n\nexport type RootState = {} & ModuleState;\n\nexport type AppStore = Store & ModuleState;\n\nexport function createModule(\n moduleName: keyof ModuleState,\n modulePartial: Omit, 'namespaced'>\n) {\n const module: Module = {\n namespaced: true,\n ...modulePartial,\n };\n\n return { module, moduleName };\n}\n\nexport function createSubModule<\n TState,\n TParentModule = Module['modules']\n>(\n moduleName: keyof TParentModule,\n modulePartial: Omit, 'namespaced'>\n) {\n const module: Module = {\n namespaced: true,\n ...modulePartial,\n };\n\n return { module, moduleName };\n}\n","/* eslint-disable no-redeclare */\nimport { format, parse, isValid, parseISO } from 'date-fns';\nimport { DateTimeInfo } from './date-time-info';\nimport { DateOnly } from './date-only';\n\n/**\n * Parse an ISO 8601 string into a Date object.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\nexport function parseISODateTime(str: string): Date | null {\n const date = parseISO(str);\n return isValid(date) ? date : null;\n}\n\n/**\n * Parse an ISO 8601 (date only) string into a Date object.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\nexport function parseISODateOnly(str: string): Date | null {\n const date = parse(str, 'yyyy-MM-dd', new Date());\n return isValid(date) ? date : null;\n}\n\n/**\n * Parse an ISO 8601 string into a Date object so long as it can be parsed as either an ISO 8601 date only or a date/time.\n * @param str The string to parse.\n * @returns The parsed Date object, or null if the string could not be parsed.\n */\nexport function parseISODateLoose(str: string): Date | null {\n return parseISODateTime(str) || parseISODateOnly(str);\n}\n\n/**\n * Parses a date/time value into a primitive DateOnly or Date object.\n * @param value The date like value to parse. If value is a string it will be parsed as an ISO 8601 date/time.\n * @returns The parsed DateOnly or Date object, or null if the value could not be parsed.\n */\ntype DateLike = Date | DateTimeInfo | string;\nexport function parseDate(\n value?: DateLike,\n options: { truncateZeroTime: boolean } = { truncateZeroTime: false }\n): Date | DateOnly | null {\n const isZeroTime = (date: Date) =>\n options.truncateZeroTime &&\n [date.getHours(), date.getMinutes(), date.getSeconds()].every(\n (p) => p === 0\n );\n\n if (value instanceof DateTimeInfo) {\n if (value.time && isZeroTime(value.time)) return new DateOnly(value.time!);\n return value.time || value.date;\n }\n\n if (value instanceof DateOnly) return value;\n\n if (typeof value === 'string') {\n const date = parseISODateLoose(value);\n if (date && isZeroTime(date)) return new DateOnly(date!);\n return date;\n }\n\n return value ?? null;\n}\n\ntype DateType = 'numerical' | 'pretty';\ntype TimeType = boolean | 'auto';\ninterface FormatDateOptions {\n type?: DateType;\n}\n\ninterface FormatDateTimeOptions extends FormatDateOptions {\n time?: TimeType;\n military?: boolean;\n timeZone?: boolean;\n}\n\nexport function getTimezone(\n date?: Date,\n locale: string | undefined = navigator.language\n) {\n const currentLocale = locale || 'en-US'; // fallback to en-US if not available\n const shortTimeZone = new Intl.DateTimeFormat(currentLocale, {\n timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,\n timeZoneName: 'short',\n })\n .formatToParts(date)\n .find((part) => part.type === 'timeZoneName')?.value;\n\n return shortTimeZone || '--';\n}\n\nexport function formatDate(date: Date, options?: FormatDateTimeOptions): string;\nexport function formatDate(date: DateOnly, options?: FormatDateOptions): string;\nexport function formatDate(\n date: DateTimeInfo,\n options?: FormatDateTimeOptions\n): string;\nexport function formatDate(\n date: Date | DateOnly | DateTimeInfo,\n options?: FormatDateTimeOptions | FormatDateOptions\n): string {\n const { type, time, military, timeZone } = {\n type: 'numerical' as DateType,\n time: false as TimeType,\n military: false,\n timeZone: false,\n ...(options || {}),\n };\n\n const patterns = {\n numerical: {\n date: 'MM/dd/yyyy',\n time: military ? 'HH:mm' : 'h:mm aa',\n },\n pretty: {\n date: 'MMMM do, yyyy',\n time: military ? 'HH:mm' : 'h:mm aa',\n },\n } as const;\n\n const hasTimePart =\n (date instanceof DateTimeInfo && date.time) || date instanceof Date;\n\n const includeTime =\n (typeof time === 'boolean' && time) || (time === 'auto' && hasTimePart);\n\n const value =\n date instanceof DateTimeInfo\n ? date.toDate()\n : date instanceof DateOnly\n ? date.toDate()\n : date;\n\n const pattern = patterns[type];\n const formatPattern = includeTime\n ? `${pattern.date} ${pattern.time}`\n : pattern.date;\n\n const formatted = format(value, formatPattern);\n\n return includeTime && timeZone\n ? `${formatted} ${getTimezone(value)}`.trim()\n : formatted;\n}\n","export function sleep(ms: number) {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\n\ntype RetryIntervalMultiplier = (interval: number) => number;\n\n/**\n * Multiplies the interval by 2 on each retry.\n * @param i The interval to multiply\n * @returns The interval multiplied by 2\n */\nexport const DoublingRetryIntervalMultiplier: RetryIntervalMultiplier = (i) =>\n i * 2;\n\n/**\n * Will keep the interval the same on each retry.\n * @param i The interval\n * @returns The interval\n */\nexport const LinearRetryIntervalMultiplier: RetryIntervalMultiplier = (i) => i;\n\n/**\n * Runs the function `fn` and retries automatically if it fails.\n * @param fn The function to run\n * @param retriesLeft The number of retries left\n * @param interval The interval between retries\n * @param intervalMultiplier The function to calculate the next interval\n * @returns The result of the function\n */\nexport async function retry(\n fn: (...args: any[]) => Promise | TReturn,\n retriesLeft = 3,\n interval = 1000,\n intervalMultiplier: RetryIntervalMultiplier = DoublingRetryIntervalMultiplier\n): Promise {\n try {\n return await fn();\n } catch (error) {\n if (retriesLeft === 0) {\n throw error;\n }\n\n await sleep(interval);\n\n return retry(\n fn,\n retriesLeft - 1,\n intervalMultiplier(interval),\n intervalMultiplier\n );\n }\n}\n","import { ILogger, LoggerArg } from '../ILogger';\n\n// const log = console.log.bind(window.console);\n// const info = console.info.bind(window.console);\n// const warn = console.warn.bind(window.console);\n// const debug = console.debug.bind(window.console);\n// const error = console.error.bind(window.console);\n// const track = console.log.bind(window.console, 'Tracked:');\n\n///\n/// Implementations for printing with correct file names/line numbers\n/// https://github.com/akoidan/lines-logger\n///\n\nexport class ConsoleLogger implements ILogger {\n public log(message: string, data?: LoggerArg) {\n const args = ([message] as any[]).concat(data ? [data] : []);\n console.log.call(window.console, ...args);\n }\n\n public info(message: string, data?: LoggerArg) {\n const args = ([message] as any[]).concat(data ? [data] : []);\n console.info.call(window.console, ...args);\n }\n\n public warn(message: string, data?: LoggerArg) {\n const args = ([message] as any[]).concat(data ? [data] : []);\n console.warn.call(window.console, ...args);\n }\n\n public debug(message: string, data?: LoggerArg) {\n const args = ([message] as any[]).concat(data ? [data] : []);\n console.debug.call(window.console, ...args);\n }\n\n public error(message: string | Error, data?: LoggerArg) {\n const errorInstance =\n message instanceof Error ? message : new Error(message);\n\n const args = ([errorInstance] as any[]).concat(data ? [data] : []);\n console.error.call(window.console, ...args);\n }\n\n public track(event: string, data?: LoggerArg) {\n const args = (['Tracked:', event] as any[]).concat(data ? [data] : []);\n console.log.call(window.console, ...args);\n }\n}\n","import { message as toast } from 'ant-design-vue';\nimport type { MessageOptions as ToastOptions } from 'ant-design-vue/types/message';\nimport { ILogger, LoggerArg } from '../ILogger';\n\nexport type { ToastOptions };\n\nexport interface IToastLogger extends ILogger {\n log(message: string, data?: LoggerArg, options?: ToastOptions): void;\n info(message: string, data?: LoggerArg, options?: ToastOptions): void;\n warn(message: string, data?: LoggerArg, options?: ToastOptions): void;\n debug(message: string, data?: LoggerArg, options?: ToastOptions): void;\n error(\n message: string | Error,\n data?: LoggerArg,\n options?: ToastOptions\n ): void;\n}\n\nexport class ToastLogger implements ILogger {\n public log(message: string, data?: LoggerArg, options?: ToastOptions) {\n this.createToast('info', message, data, options);\n }\n\n public info(message: string, data?: LoggerArg, options?: ToastOptions) {\n this.createToast('info', message, data, options);\n }\n\n public warn(message: string, data?: LoggerArg, options?: ToastOptions) {\n this.createToast('info', message, data, options);\n }\n\n public debug(message: string, data?: LoggerArg, options?: ToastOptions) {\n if (process.env.NODE_ENV === 'development') {\n this.createToast('warning', message, data, options);\n }\n }\n\n public error(\n message: string | Error,\n data?: LoggerArg,\n options?: ToastOptions\n ) {\n const error = message instanceof Error ? message : new Error(message);\n this.createToast('error', error.message, data, options);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n public track(event: string, data?: LoggerArg) {\n // do nothing.\n }\n\n private createToast(\n type: ToastOptions['type'],\n message: string,\n _data?: LoggerArg,\n options?: ToastOptions\n ) {\n if (process.server) return;\n const content = options?.content || message;\n toast.open({ ...(options || {}), content, type });\n }\n}\n","import { ILogger, LoggerArg } from './ILogger';\nimport { ToastLogger, ToastOptions } from './toast/logger';\n\ntype ILoggerImpl = new (...args: any[]) => TLogger;\n\ntype UIToastConfig = {\n /** If a `boolean` value is provided, toggle logging to the UI via a toast notification.\n * If an `object` is provided, it will be used to configure and push a toast notification.\n */\n ui: boolean | ToastOptions;\n};\n\nexport class LogProvider implements ILogger {\n private readonly loggers: Set;\n\n constructor() {\n this.loggers = new Set([new ToastLogger()]);\n }\n\n public addLogger(logger: ILogger): void {\n this.loggers.add(logger);\n }\n\n public removeLogger(logger: ILogger): void {\n this.loggers.delete(logger);\n }\n\n public getLogger(\n type: ILoggerImpl\n ): TLogger | undefined {\n return [...this.loggers].find((logger) => logger instanceof type) as\n | TLogger\n | undefined;\n }\n\n public log(message: string, data?: LoggerArg, toast?: UIToastConfig): void {\n for (const logger of this.loggers) {\n try {\n if (logger instanceof ToastLogger && toast?.ui) {\n const toastOptions =\n typeof toast.ui === 'boolean' ? undefined : toast.ui;\n\n logger.log(message, data, toastOptions);\n } else {\n logger.log(message, data);\n }\n } catch (error) {}\n }\n }\n\n public info(message: string, data?: LoggerArg, toast?: UIToastConfig): void {\n for (const logger of this.loggers) {\n try {\n if (logger instanceof ToastLogger && toast?.ui) {\n const toastOptions =\n typeof toast.ui === 'boolean' ? undefined : toast.ui;\n\n logger.info(message, data, toastOptions);\n } else {\n logger.info(message, data);\n }\n } catch (error) {}\n }\n }\n\n public warn(message: string, data?: LoggerArg, toast?: UIToastConfig): void {\n for (const logger of this.loggers) {\n try {\n if (logger instanceof ToastLogger && toast?.ui) {\n const toastOptions =\n typeof toast.ui === 'boolean' ? undefined : toast.ui;\n\n logger.warn(message, data, toastOptions);\n } else {\n logger.warn(message, data);\n }\n } catch (error) {}\n }\n }\n\n public debug(message: string, data?: LoggerArg, toast?: UIToastConfig): void {\n for (const logger of this.loggers) {\n try {\n if (logger instanceof ToastLogger && toast?.ui) {\n const toastOptions =\n typeof toast.ui === 'boolean' ? undefined : toast.ui;\n\n logger.debug(message, data, toastOptions);\n } else {\n logger.debug(message, data);\n }\n } catch (error) {}\n }\n }\n\n public error(\n message: string | Error,\n data?: LoggerArg,\n toast?: UIToastConfig\n ): void {\n for (const logger of this.loggers) {\n try {\n if (logger instanceof ToastLogger) {\n const useToast = typeof toast?.ui === 'boolean' ? toast.ui : true;\n if (!useToast) continue;\n\n const toastOptions: ToastOptions | undefined =\n typeof toast?.ui === 'boolean' ? undefined : toast?.ui;\n\n logger.error(message, data, toastOptions);\n } else {\n logger.error(message, data);\n }\n } catch (error) {}\n }\n }\n\n public track(event: string, data?: LoggerArg): void {\n for (const logger of this.loggers) {\n try {\n logger.track(event, data);\n } catch (error) {}\n }\n }\n}\n","import { IApplicationInsights } from '@microsoft/applicationinsights-web';\nimport { ILogger, LoggerArg } from '../ILogger';\n\nexport class AppInsightsLogger implements ILogger {\n private readonly appInsights: IApplicationInsights;\n\n constructor(appInsights: IApplicationInsights) {\n if (!appInsights) throw new Error('appInsights instance is required.');\n this.appInsights = appInsights;\n }\n\n public log(message: string, data?: LoggerArg): void {\n this.logEvent('info', message, data);\n }\n\n public info(message: string, data?: LoggerArg): void {\n this.logEvent('info', message, data);\n }\n\n public warn(message: string, data?: LoggerArg): void {\n this.logEvent('warn', message, data);\n }\n\n public debug(message: string, data?: LoggerArg): void {\n this.logEvent('debug', message, data);\n }\n\n public error(message: string | Error, data?: LoggerArg): void {\n const error = message instanceof Error ? message : new Error(message);\n this.appInsights.trackException({ exception: error }, data);\n }\n\n public track(event: string, data?: LoggerArg): void {\n this.appInsights.trackEvent({ name: event }, data);\n }\n\n private logEvent(\n type: 'info' | 'warn' | 'debug',\n message: string,\n data?: LoggerArg\n ): void {\n this.appInsights.trackEvent({ name: type }, { ...(data || {}), message });\n }\n}\n","import { Type } from 'class-transformer';\nimport { DateOnly } from './date-only';\nimport { parseISODateOnly, parseISODateTime } from './utils';\n\nexport interface DateTimeInfoOptions {\n /** Indicates if the date should always be serialized as a DateOnly or Date. */\n serialize?: 'date' | 'dateTime';\n}\n\nfunction isDateTimeInfoStructure(obj: any): obj is DateTimeInfo {\n return (\n obj &&\n typeof obj === 'object' &&\n ('date' in obj || 'time' in obj) &&\n (typeof obj.date === 'string' || obj.date instanceof DateOnly) &&\n (typeof obj.time === 'string' ||\n obj.time instanceof Date ||\n obj.time === undefined)\n );\n}\n\nexport class DateTimeInfo {\n private readonly options?: DateTimeInfoOptions;\n\n @Type(() => DateOnly)\n public readonly date!: DateOnly;\n\n @Type(() => Date)\n public readonly time?: Date;\n\n constructor(\n args: DateOnly | Date | DateTimeInfo | string,\n options?: DateTimeInfoOptions\n ) {\n if (!args) return;\n\n this.options = options;\n\n if (typeof args === 'string') {\n const date = parseISODateOnly(args);\n if (date) {\n this.date = new DateOnly(date);\n this.time = undefined;\n return;\n }\n\n const dateTime = parseISODateTime(args);\n if (dateTime) {\n this.date = new DateOnly(dateTime);\n this.time = dateTime;\n return;\n }\n\n throw new Error('Invalid ISO 8601 date string');\n }\n\n if (args instanceof DateTimeInfo || isDateTimeInfoStructure(args)) {\n this.date =\n args.date instanceof DateOnly ? args.date : new DateOnly(args.date);\n this.time = args.time\n ? args.time instanceof Date\n ? args.time\n : new Date(args.time)\n : undefined;\n return;\n }\n\n if (args instanceof DateOnly) {\n this.date = args;\n return;\n }\n\n this.date = new DateOnly(args);\n this.time = args;\n }\n\n public get value(): Date | DateOnly {\n return this.time || this.date;\n }\n\n public toString() {\n return this.toJSON();\n }\n\n public toDate(): Date {\n return this.time || this.date.toDate();\n }\n\n public toJSON(): string {\n if (this.options?.serialize)\n return this.options?.serialize === 'date'\n ? this.date.toJSON()\n : this.toDate().toISOString();\n\n if (this.time) return this.time.toISOString();\n return this.date.toISOString();\n }\n}\n","import { getMatchedComponents, setScrollRestoration } from './utils'\n\nif (process.client) {\n if ('scrollRestoration' in window.history) {\n setScrollRestoration('manual')\n\n // reset scrollRestoration to auto when leaving page, allowing page reload\n // and back-navigation from other pages to use the browser to restore the\n // scrolling position.\n window.addEventListener('beforeunload', () => {\n setScrollRestoration('auto')\n })\n\n // Setting scrollRestoration to manual again when returning to this page.\n window.addEventListener('load', () => {\n setScrollRestoration('manual')\n })\n }\n}\n\nfunction shouldScrollToTop(route) {\n const Pages = getMatchedComponents(route)\n if (Pages.length === 1) {\n const { options = {} } = Pages[0]\n return options.scrollToTop !== false\n }\n return Pages.some(({ options }) => options && options.scrollToTop)\n}\n\nexport default function (to, from, savedPosition) {\n // If the returned position is falsy or an empty object, will retain current scroll position\n let position = false\n const isRouteChanged = to !== from\n\n // savedPosition is only available for popstate navigations (back button)\n if (savedPosition) {\n position = savedPosition\n } else if (isRouteChanged && shouldScrollToTop(to)) {\n position = { x: 0, y: 0 }\n }\n\n const nuxt = window.$nuxt\n\n if (\n // Initial load (vuejs/vue-router#3199)\n !isRouteChanged ||\n // Route hash changes\n (to.path === from.path && to.hash !== from.hash)\n ) {\n nuxt.$nextTick(() => nuxt.$emit('triggerScroll'))\n }\n\n return new Promise((resolve) => {\n // wait for the out transition to complete (if necessary)\n nuxt.$once('triggerScroll', () => {\n // coords will be used if no selector is provided,\n // or if the selector didn't match any element.\n if (to.hash) {\n let hash = to.hash\n // CSS.escape() is not supported with IE and Edge.\n if (typeof window.CSS !== 'undefined' && typeof window.CSS.escape !== 'undefined') {\n hash = '#' + window.CSS.escape(hash.substr(1))\n }\n try {\n if (document.querySelector(hash)) {\n // scroll to anchor by returning the selector\n position = { selector: hash }\n }\n } catch (e) {\n console.warn('Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).')\n }\n }\n resolve(position)\n })\n })\n}\n","import Vue from 'vue'\nimport Router from 'vue-router'\nimport { normalizeURL, decode } from 'ufo'\nimport { interopDefault } from './utils'\nimport scrollBehavior from './router.scrollBehavior.js'\n\nconst _4bfd5884 = () => interopDefault(import('../pages/account.vue' /* webpackChunkName: \"pages/account\" */))\nconst _48b4177d = () => interopDefault(import('../pages/bodybox/index.vue' /* webpackChunkName: \"pages/bodybox/index\" */))\nconst _2ce55c72 = () => interopDefault(import('../pages/organization.vue' /* webpackChunkName: \"pages/organization\" */))\nconst _e6797516 = () => interopDefault(import('../pages/organization/index.vue' /* webpackChunkName: \"pages/organization/index\" */))\nconst _0a3296e1 = () => interopDefault(import('../pages/organization/dictionaries.vue' /* webpackChunkName: \"pages/organization/dictionaries\" */))\nconst _072ff9ee = () => interopDefault(import('../pages/organization/users/index.vue' /* webpackChunkName: \"pages/organization/users/index\" */))\nconst _075f63c6 = () => interopDefault(import('../pages/organization/users/invite.vue' /* webpackChunkName: \"pages/organization/users/invite\" */))\nconst _dd35d2b4 = () => interopDefault(import('../pages/organization/users/invites.vue' /* webpackChunkName: \"pages/organization/users/invites\" */))\nconst _44af9fd6 = () => interopDefault(import('../pages/organization/users/_id.vue' /* webpackChunkName: \"pages/organization/users/_id\" */))\nconst _0492673c = () => interopDefault(import('../pages/outbox.vue' /* webpackChunkName: \"pages/outbox\" */))\nconst _7c1cdd3c = () => interopDefault(import('../pages/register.vue' /* webpackChunkName: \"pages/register\" */))\nconst _a4f1a602 = () => interopDefault(import('../pages/reporting.vue' /* webpackChunkName: \"pages/reporting\" */))\nconst _715b80e4 = () => interopDefault(import('../pages/reporting/death.vue' /* webpackChunkName: \"pages/reporting/death\" */))\nconst _17683814 = () => interopDefault(import('../pages/reporting/missed-notifications.vue' /* webpackChunkName: \"pages/reporting/missed-notifications\" */))\nconst _b50c844a = () => interopDefault(import('../pages/reporting/morgue-census.vue' /* webpackChunkName: \"pages/reporting/morgue-census\" */))\nconst _4c12a4b6 = () => interopDefault(import('../pages/reporting/time-to-release.vue' /* webpackChunkName: \"pages/reporting/time-to-release\" */))\nconst _2b7e0b66 = () => interopDefault(import('../pages/reservations.vue' /* webpackChunkName: \"pages/reservations\" */))\nconst _47955ee2 = () => interopDefault(import('../pages/settings.vue' /* webpackChunkName: \"pages/settings\" */))\nconst _48a37054 = () => interopDefault(import('../pages/case/active.vue' /* webpackChunkName: \"pages/case/active\" */))\nconst _99130268 = () => interopDefault(import('../pages/case/create.vue' /* webpackChunkName: \"pages/case/create\" */))\nconst _6fac3f55 = () => interopDefault(import('../pages/test/config.ts' /* webpackChunkName: \"pages/test/config\" */))\nconst _56a0dfa1 = () => interopDefault(import('../pages/test/test1.vue' /* webpackChunkName: \"pages/test/test1\" */))\nconst _f72855b6 = () => interopDefault(import('../pages/bodybox/_id.vue' /* webpackChunkName: \"pages/bodybox/_id\" */))\nconst _34b0f91a = () => interopDefault(import('../pages/case/_id.vue' /* webpackChunkName: \"pages/case/_id\" */))\nconst _77002223 = () => interopDefault(import('../pages/index.vue' /* webpackChunkName: \"pages/index\" */))\n\nconst emptyFn = () => {}\n\nVue.use(Router)\n\nexport const routerOptions = {\n mode: 'history',\n base: '/',\n linkActiveClass: 'nuxt-link-active',\n linkExactActiveClass: 'nuxt-link-exact-active',\n scrollBehavior,\n\n routes: [{\n path: \"/account\",\n component: _4bfd5884,\n name: \"account\"\n }, {\n path: \"/bodybox\",\n component: _48b4177d,\n name: \"bodybox\"\n }, {\n path: \"/organization\",\n component: _2ce55c72,\n children: [{\n path: \"\",\n component: _e6797516,\n name: \"organization\"\n }, {\n path: \"dictionaries\",\n component: _0a3296e1,\n name: \"organization-dictionaries\"\n }, {\n path: \"users\",\n component: _072ff9ee,\n name: \"organization-users\"\n }, {\n path: \"users/invite\",\n component: _075f63c6,\n name: \"organization-users-invite\"\n }, {\n path: \"users/invites\",\n component: _dd35d2b4,\n name: \"organization-users-invites\"\n }, {\n path: \"users/:id\",\n component: _44af9fd6,\n name: \"organization-users-id\"\n }]\n }, {\n path: \"/outbox\",\n component: _0492673c,\n name: \"outbox\"\n }, {\n path: \"/register\",\n component: _7c1cdd3c,\n name: \"register\"\n }, {\n path: \"/reporting\",\n component: _a4f1a602,\n name: \"reporting\",\n children: [{\n path: \"death\",\n component: _715b80e4,\n name: \"reporting-death\"\n }, {\n path: \"missed-notifications\",\n component: _17683814,\n name: \"reporting-missed-notifications\"\n }, {\n path: \"morgue-census\",\n component: _b50c844a,\n name: \"reporting-morgue-census\"\n }, {\n path: \"time-to-release\",\n component: _4c12a4b6,\n name: \"reporting-time-to-release\"\n }]\n }, {\n path: \"/reservations\",\n component: _2b7e0b66,\n name: \"reservations\"\n }, {\n path: \"/settings\",\n component: _47955ee2,\n name: \"settings\"\n }, {\n path: \"/case/active\",\n component: _48a37054,\n name: \"case-active\"\n }, {\n path: \"/case/create\",\n component: _99130268,\n name: \"case-create\"\n }, {\n path: \"/test/config\",\n component: _6fac3f55,\n name: \"test-config\"\n }, {\n path: \"/test/test1\",\n component: _56a0dfa1,\n name: \"test-test1\"\n }, {\n path: \"/bodybox/:id\",\n component: _f72855b6,\n name: \"bodybox-id\"\n }, {\n path: \"/case/:id?\",\n component: _34b0f91a,\n name: \"case-id\"\n }, {\n path: \"/\",\n component: _77002223,\n name: \"index\"\n }],\n\n fallback: false\n}\n\nexport function createRouter (ssrContext, config) {\n const base = (config._app && config._app.basePath) || routerOptions.base\n const router = new Router({ ...routerOptions, base })\n\n // TODO: remove in Nuxt 3\n const originalPush = router.push\n router.push = function push (location, onComplete = emptyFn, onAbort) {\n return originalPush.call(this, location, onComplete, onAbort)\n }\n\n const resolve = router.resolve.bind(router)\n router.resolve = (to, current, append) => {\n if (typeof to === 'string') {\n to = normalizeURL(to)\n }\n return resolve(to, current, append)\n }\n\n return router\n}\n","\nexport default {\n name: 'NuxtChild',\n functional: true,\n props: {\n nuxtChildKey: {\n type: String,\n default: ''\n },\n keepAlive: Boolean,\n keepAliveProps: {\n type: Object,\n default: undefined\n }\n },\n render (_, { parent, data, props }) {\n const h = parent.$createElement\n\n data.nuxtChild = true\n const _parent = parent\n const transitions = parent.$nuxt.nuxt.transitions\n const defaultTransition = parent.$nuxt.nuxt.defaultTransition\n\n let depth = 0\n while (parent) {\n if (parent.$vnode && parent.$vnode.data.nuxtChild) {\n depth++\n }\n parent = parent.$parent\n }\n data.nuxtChildDepth = depth\n const transition = transitions[depth] || defaultTransition\n const transitionProps = {}\n transitionsKeys.forEach((key) => {\n if (typeof transition[key] !== 'undefined') {\n transitionProps[key] = transition[key]\n }\n })\n\n const listeners = {}\n listenersKeys.forEach((key) => {\n if (typeof transition[key] === 'function') {\n listeners[key] = transition[key].bind(_parent)\n }\n })\n if (process.client) {\n // Add triggerScroll event on beforeEnter (fix #1376)\n const beforeEnter = listeners.beforeEnter\n listeners.beforeEnter = (el) => {\n // Ensure to trigger scroll event after calling scrollBehavior\n window.$nuxt.$nextTick(() => {\n window.$nuxt.$emit('triggerScroll')\n })\n if (beforeEnter) {\n return beforeEnter.call(_parent, el)\n }\n }\n }\n\n // make sure that leave is called asynchronous (fix #5703)\n if (transition.css === false) {\n const leave = listeners.leave\n\n // only add leave listener when user didnt provide one\n // or when it misses the done argument\n if (!leave || leave.length < 2) {\n listeners.leave = (el, done) => {\n if (leave) {\n leave.call(_parent, el)\n }\n\n _parent.$nextTick(done)\n }\n }\n }\n\n let routerView = h('routerView', data)\n\n if (props.keepAlive) {\n routerView = h('keep-alive', { props: props.keepAliveProps }, [routerView])\n }\n\n return h('transition', {\n props: transitionProps,\n on: listeners\n }, [routerView])\n }\n}\n\nconst transitionsKeys = [\n 'name',\n 'mode',\n 'appear',\n 'css',\n 'type',\n 'duration',\n 'enterClass',\n 'leaveClass',\n 'appearClass',\n 'enterActiveClass',\n 'enterActiveClass',\n 'leaveActiveClass',\n 'appearActiveClass',\n 'enterToClass',\n 'leaveToClass',\n 'appearToClass'\n]\n\nconst listenersKeys = [\n 'beforeEnter',\n 'enter',\n 'afterEnter',\n 'enterCancelled',\n 'beforeLeave',\n 'leave',\n 'afterLeave',\n 'leaveCancelled',\n 'beforeAppear',\n 'appear',\n 'afterAppear',\n 'appearCancelled'\n]\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./default-error-template.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./default-error-template.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n PropType,\n toRef,\n useContext,\n} from '@nuxtjs/composition-api';\n\nexport default defineComponent({\n name: 'DefaultErrorTemplate',\n props: {\n statusCode: {\n type: [Number, String] as PropType,\n required: false,\n default: undefined,\n },\n message: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n setup(props) {\n const status = toRef(props, 'statusCode');\n\n /** While not the actual status code, this converts the status code into what we need to get the appropriate result image of the AntD Result component. */\n const antdDResultStatus = computed(() =>\n status.value?.toString() === '400' ? '403' : '500'\n );\n\n const { $auth, $config } = useContext();\n\n const userEmailAddress = $auth.user.value?.email;\n const logout = () => $auth.logoutAsync();\n\n return {\n antdDResultStatus,\n isAuthenticated: $auth.isAuthenticated,\n appBaseUrl: $config.app.baseUrl,\n userEmailAddress,\n logout,\n };\n },\n});\n","import { render, staticRenderFns } from \"./default-error-template.vue?vue&type=template&id=219c82ac&\"\nimport script from \"./default-error-template.vue?vue&type=script&lang=ts&\"\nexport * from \"./default-error-template.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex h-full flex-col items-center p-8\"},[_c('a-result',{attrs:{\"status\":_vm.antdDResultStatus,\"title\":_vm.message,\"aria-hidden\":\"true\"}}),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col items-center gap-4 text-center\"},[_c('h1',{staticClass:\"sr-only\"},[_vm._v(\"\\n \"+_vm._s(_vm.message)+\"\\n \")]),_vm._v(\" \"),(_vm.statusCode)?_c('p',{staticClass:\"max-w-[500px]\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\"Error Code:\")]),_vm._v(\" \"+_vm._s(_vm.statusCode)+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-col items-center\"},[(_vm.isAuthenticated)?_c('wb-button',{attrs:{\"size\":\"sm\",\"variant-color\":\"neutral\"},on:{\"click\":_vm.logout}},[(_vm.userEmailAddress)?[_vm._v(\"\\n Log out of \"+_vm._s(_vm.userEmailAddress)+\"\\n \")]:[_vm._v(\" Log out \")]],2):_vm._e()],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./403-error-template.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./403-error-template.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, PropType, useContext } from '@nuxtjs/composition-api';\n\nexport default defineComponent({\n name: 'ForbiddenErrorTemplate',\n props: {\n statusCode: {\n type: [Number, String] as PropType,\n required: false,\n default: undefined,\n },\n message: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n setup() {\n const { $auth, $config } = useContext();\n\n const userEmailAddress = $auth.user.value?.email;\n const logout = () => $auth.logoutAsync();\n\n return {\n isAuthenticated: $auth.isAuthenticated,\n appBaseUrl: $config.app.baseUrl,\n userEmailAddress,\n logout,\n };\n },\n});\n","import { render, staticRenderFns } from \"./403-error-template.vue?vue&type=template&id=67b503cd&\"\nimport script from \"./403-error-template.vue?vue&type=script&lang=ts&\"\nexport * from \"./403-error-template.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex h-full flex-col items-center p-8\"},[_c('a-result',{attrs:{\"status\":\"403\",\"title\":\"Sorry, you are not authorized to view this page.\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col items-center gap-4 text-center\"},[_c('h1',{staticClass:\"sr-only\"},[_vm._v(\"Sorry, you are not authorized to view this page.\")]),_vm._v(\" \"),_c('p',{staticClass:\"max-w-[500px]\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\"Error Code:\")]),_vm._v(\" \"+_vm._s(_vm.statusCode)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-col items-center\"},[(_vm.isAuthenticated)?_c('wb-button',{attrs:{\"size\":\"sm\",\"variant-color\":\"neutral\"},on:{\"click\":_vm.logout}},[(_vm.userEmailAddress)?[_vm._v(\"\\n Log out of \"+_vm._s(_vm.userEmailAddress)+\"\\n \")]:[_vm._v(\" Log out \")]],2):_vm._e()],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./403-tenant-error-template.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./403-tenant-error-template.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, PropType, useContext } from '@nuxtjs/composition-api';\n\nexport default defineComponent({\n name: 'ForbiddenTenantErrorTemplate',\n props: {\n statusCode: {\n type: [Number, String] as PropType,\n required: false,\n default: undefined,\n },\n message: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n setup() {\n const { $auth, $config, store } = useContext();\n\n const tenantId: string = store.state.tenant.tenant?.id;\n\n const userEmailAddress = $auth.user.value?.email;\n const logout = () => $auth.logoutAsync();\n\n const version = `${$config.app.version} ${$config.app.buildNumber}`;\n const appBaseUrl = $config.app.baseUrl;\n const supportEmail = $config.app.support.email;\n\n return {\n tenantId,\n isAuthenticated: $auth.isAuthenticated,\n logout,\n appBaseUrl,\n userEmailAddress,\n version,\n supportEmail,\n };\n },\n});\n","import { render, staticRenderFns } from \"./403-tenant-error-template.vue?vue&type=template&id=6ba53798&scoped=true&\"\nimport script from \"./403-tenant-error-template.vue?vue&type=script&lang=ts&\"\nexport * from \"./403-tenant-error-template.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./403-tenant-error-template.vue?vue&type=style&index=0&id=6ba53798&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 \"6ba53798\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex h-full flex-col items-center p-8\"},[_c('nuxt-link',{staticClass:\"mb-6 text-center\",attrs:{\"to\":\"/\",\"aria-label\":\"Go to home page\"}},[_c('span',{staticClass:\"text-xl font-medium text-primary\"},[_c('span',{staticClass:\"font-bold\"},[_vm._v(\"Morgue\")]),_vm._v(\"Board®\\n \")])]),_vm._v(\" \"),_c('a-result',{attrs:{\"status\":\"403\",\"title\":\"You are trying to access an organization you do not belong to.\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col items-center gap-4 text-center\"},[_c('h1',{staticClass:\"sr-only\"},[_vm._v(\"\\n You are trying to access an organization you do not belong to.\\n \")]),_vm._v(\" \"),_c('p',{staticClass:\"max-w-[500px] text-lg font-medium\"},[_vm._v(\"\\n If you feel you have encountered this page in error, please click\\n \"),_c('a',{staticClass:\"font-medium underline\",attrs:{\"href\":(\"mailto:\" + _vm.supportEmail + \"?subject=MorgueBoard® Support Inquiry - (\" + _vm.statusCode + \") \" + (_vm.tenantId || 'Tenant not associated'))}},[_vm._v(\"here\")]),_vm._v(\"\\n to contact support.\\n \")]),_vm._v(\" \"),_c('p',{staticClass:\"max-w-[500px]\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\"Error Code:\")]),_vm._v(\" \"+_vm._s(_vm.statusCode)+\"\\n \"),(_vm.tenantId)?[_vm._v(\"| \"+_vm._s(_vm.tenantId))]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-col items-center gap-4 sm:flex-row\"},[_c('a',{staticClass:\"wb-btn btn btn-sm btn-primary btn-brand\",attrs:{\"href\":_vm.appBaseUrl,\"rel\":\"noopener noreferrer\"}},[_vm._v(\"\\n Return to MorgueBoard®\\n \")]),_vm._v(\" \"),(_vm.isAuthenticated)?_c('wb-button',{attrs:{\"size\":\"sm\",\"variant-color\":\"neutral\"},on:{\"click\":_vm.logout}},[(_vm.userEmailAddress)?[_vm._v(\"\\n Log out of \"+_vm._s(_vm.userEmailAddress)+\"\\n \")]:[_vm._v(\" Log out \")]],2):_vm._e()],1),_vm._v(\" \"),_c('div',{attrs:{\"id\":\"app-version\"}},[_vm._v(\"v\"+_vm._s(_vm.version))])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./404-error-template.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./404-error-template.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, PropType } from '@nuxtjs/composition-api';\n\nexport default defineComponent({\n name: 'NotFoundErrorTemplate',\n props: {\n statusCode: {\n type: [Number, String] as PropType,\n required: false,\n default: undefined,\n },\n message: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n});\n","import { render, staticRenderFns } from \"./404-error-template.vue?vue&type=template&id=7afdac64&\"\nimport script from \"./404-error-template.vue?vue&type=script&lang=ts&\"\nexport * from \"./404-error-template.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex h-full flex-col items-center p-8\"},[_c('a-result',{attrs:{\"status\":\"404\",\"title\":\"Sorry, the resource you attempted to access does not exist.\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col items-center gap-4 text-center\"},[_c('h1',{staticClass:\"sr-only\"},[_vm._v(\"\\n Sorry, the resource you attempted to access does not exist.\\n \")]),_vm._v(\" \"),_c('p',{staticClass:\"max-w-[500px]\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\"Error Code:\")]),_vm._v(\" \"+_vm._s(_vm.statusCode)+\"\\n \")])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n PropType,\n toRef,\n useContext,\n} from '@nuxtjs/composition-api';\nimport { NuxtError } from '@nuxt/types';\nimport DefaultErrorTemplate from '~mod:layout/components/templates/default-error-template.vue';\nimport ForbiddenErrorTemplate from '~mod:layout/components/templates/403-error-template.vue';\nimport ForbiddenTenantErrorTemplate from '~mod:layout/components/templates/403-tenant-error-template.vue';\nimport NotFoundErrorTemplate from '~mod:layout/components/templates/404-error-template.vue';\n\nconst FETCH_USER_PATH = '/Users/Self';\n// const FETCH_TENANT_PATH = '/Tenants/Self';\n\nexport default defineComponent({\n name: 'ErrorLayoutPage',\n components: {\n DefaultErrorTemplate,\n ForbiddenErrorTemplate,\n ForbiddenTenantErrorTemplate,\n NotFoundErrorTemplate,\n },\n layout: ({ app }) => {\n const statusCode = app.nuxt.err?.statusCode;\n const url = (app.nuxt.err?.response as Response | undefined)?.url;\n\n if (statusCode && url) {\n const urlPath = new URL(url).pathname.toLowerCase();\n const isUsersFetch = urlPath === FETCH_USER_PATH.toLowerCase();\n // const isTenantsFetch = urlPath === FETCH_TENANT_PATH.toLowerCase();\n const is403 = statusCode === 403;\n const isUnauthorizedTenantUser = is403 && isUsersFetch;\n\n if (isUnauthorizedTenantUser) {\n return 'empty';\n }\n }\n\n return 'default';\n },\n props: {\n error: {\n type: Object as PropType,\n required: false,\n default: undefined,\n },\n },\n setup(props) {\n const error = toRef(props, 'error');\n const statusCode = computed(() => error.value?.statusCode);\n const message = computed(\n () => error.value?.message || 'Oops.. Something went wrong.'\n );\n\n let isUnauthorizedTenantUser = false;\n\n const { app, route } = useContext();\n const url = (app.nuxt.err?.response as Response | undefined)?.url;\n\n if (url) {\n const urlPath = new URL(url).pathname.toLowerCase();\n const isUsersFetch = urlPath === FETCH_USER_PATH.toLowerCase();\n const is403 = statusCode.value === 403;\n isUnauthorizedTenantUser = is403 && isUsersFetch;\n }\n\n const isAuth0Error =\n 'error' in route.value.query && 'error_description' in route.value.query;\n\n return { statusCode, message, isUnauthorizedTenantUser, isAuth0Error };\n },\n head() {\n return {\n title: (this as any).message || 'An error has occurred.',\n meta: [\n {\n name: 'viewport',\n content: 'width=device-width,initial-scale=1.0,minimum-scale=1.0',\n },\n ],\n };\n },\n});\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./error.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./error.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./error.vue?vue&type=template&id=346d9999&\"\nimport script from \"./error.vue?vue&type=script&lang=ts&\"\nexport * from \"./error.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isUnauthorizedTenantUser || _vm.isAuth0Error)?_c('forbidden-tenant-error-template',{attrs:{\"status-code\":_vm.statusCode,\"message\":_vm.message}}):(_vm.statusCode === 403)?_c('forbidden-error-template',{attrs:{\"status-code\":_vm.statusCode,\"message\":_vm.message}}):(_vm.statusCode === 404)?_c('not-found-error-template',{attrs:{\"status-code\":_vm.statusCode,\"message\":_vm.message}}):_c('default-error-template',{attrs:{\"status-code\":_vm.statusCode,\"message\":_vm.message}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue'\nimport { compile } from '../utils'\n\nimport NuxtError from '../../layouts/error.vue'\n\nimport NuxtChild from './nuxt-child'\n\nexport default {\n name: 'Nuxt',\n components: {\n NuxtChild,\n NuxtError\n },\n props: {\n nuxtChildKey: {\n type: String,\n default: undefined\n },\n keepAlive: Boolean,\n keepAliveProps: {\n type: Object,\n default: undefined\n },\n name: {\n type: String,\n default: 'default'\n }\n },\n errorCaptured (error) {\n // if we receive and error while showing the NuxtError component\n // capture the error and force an immediate update so we re-render\n // without the NuxtError component\n if (this.displayingNuxtError) {\n this.errorFromNuxtError = error\n this.$forceUpdate()\n }\n },\n computed: {\n routerViewKey () {\n // If nuxtChildKey prop is given or current route has children\n if (typeof this.nuxtChildKey !== 'undefined' || this.$route.matched.length > 1) {\n return this.nuxtChildKey || compile(this.$route.matched[0].path)(this.$route.params)\n }\n\n const [matchedRoute] = this.$route.matched\n\n if (!matchedRoute) {\n return this.$route.path\n }\n\n const Component = matchedRoute.components.default\n\n if (Component && Component.options) {\n const { options } = Component\n\n if (options.key) {\n return (typeof options.key === 'function' ? options.key(this.$route) : options.key)\n }\n }\n\n const strict = /\\/$/.test(matchedRoute.path)\n return strict ? this.$route.path : this.$route.path.replace(/\\/$/, '')\n }\n },\n beforeCreate () {\n Vue.util.defineReactive(this, 'nuxt', this.$root.$options.nuxt)\n },\n render (h) {\n // if there is no error\n if (!this.nuxt.err) {\n // Directly return nuxt child\n return h('NuxtChild', {\n key: this.routerViewKey,\n props: this.$props\n })\n }\n\n // if an error occurred within NuxtError show a simple\n // error message instead to prevent looping\n if (this.errorFromNuxtError) {\n this.$nextTick(() => (this.errorFromNuxtError = false))\n\n return h('div', {}, [\n h('h2', 'An error occurred while showing the error page'),\n h('p', 'Unfortunately an error occurred and while showing the error page another error occurred'),\n h('p', `Error details: ${this.errorFromNuxtError.toString()}`),\n h('nuxt-link', { props: { to: '/' } }, 'Go back to home')\n ])\n }\n\n // track if we are showing the NuxtError component\n this.displayingNuxtError = true\n this.$nextTick(() => (this.displayingNuxtError = false))\n\n return h(NuxtError, {\n props: {\n error: this.nuxt.err\n }\n })\n }\n}\n","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--3-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./nuxt-loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--3-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./nuxt-loading.vue?vue&type=script&lang=js&\"","\n\n\n","var render, staticRenderFns\nimport script from \"./nuxt-loading.vue?vue&type=script&lang=js&\"\nexport * from \"./nuxt-loading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./nuxt-loading.vue?vue&type=style&index=0&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 null,\n null\n \n)\n\nexport default component.exports","import { computed, ref } from '@nuxtjs/composition-api';\n\nconst needsRefresh = ref(false);\nconst offlineReady = ref(process.env.NODE_ENV === 'development');\n\nexport async function registerServiceWorker(\n options: {\n autoReload?: boolean;\n onNeedsRefresh?: Function;\n onOfflineReady?: Function;\n } = {}\n) {\n if (process.env.NODE_ENV === 'development') return Promise.resolve();\n\n const workbox = await window.$workbox;\n if (!workbox) throw new Error(\"Workbox couldn't be loaded.\");\n\n workbox.addEventListener('installed', (event) => {\n if (event.isUpdate) {\n needsRefresh.value = true;\n options.onNeedsRefresh?.();\n options.autoReload && forceReload();\n } else {\n offlineReady.value = true;\n options.onOfflineReady?.();\n }\n });\n}\n\nexport function useServiceWorker() {\n const ignoreUpdate = () => {\n if (!needsRefresh.value)\n throw new Error(\n 'Unable to ignore update, the service worker is up to date.'\n );\n\n needsRefresh.value = false;\n offlineReady.value = false;\n };\n\n return {\n needsRefresh: computed(() => needsRefresh.value),\n offlineReady: computed(() => offlineReady.value),\n ignoreUpdate,\n forceReload,\n };\n}\n\nfunction forceReload() {\n if (process.env.NODE_ENV === 'production') {\n // const form = document.createElement('form');\n // form.method = 'POST';\n // form.action = location.href;\n // document.body.appendChild(form);\n // form.submit();\n window.location.reload(true);\n } else {\n window.location.reload(true);\n }\n}\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-aside-navigation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-aside-navigation.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent, useContext } from '@nuxtjs/composition-api';\nimport {\n useAbility,\n AppAbilitySubject,\n BodyboxAbilityAction,\n} from '~/app/core/casl';\nimport { useSWRV } from '~/app/composables/use-swrv';\nimport { BodyboxCapacity } from '~/app/models';\nimport { MenuItemProps } from '~/app/components/ui/menu/sub-menu.vue';\nimport { useStore as useBodyboxStore } from '~mod:bodybox/composables/use-store';\nimport { useReporting } from '~mod:reporting/composables/use-reporting';\nimport CapacityBadge from '~mod:shared/components/molecules/capacity-badge.vue';\n\nexport default defineComponent({\n name: 'TheAsideMenu',\n components: {\n CapacityBadge,\n },\n setup() {\n const { $language } = useContext();\n const { state } = useBodyboxStore();\n const bodyboxes = computed(() => state.bodyboxes || []);\n\n const menuKeys = computed(() => [\n 'cases',\n 'cases.active',\n 'cases.reservations',\n 'cases.bodybox',\n 'cases.bodybox.all',\n ...bodyboxes.value.map((box) => `cases.bodybox.${box.id}`),\n 'outbox',\n 'reporting',\n 'settings',\n ]);\n\n const usePopoverBodyboxMenu = computed(() => bodyboxes.value.length >= 5);\n const bodyboxItems = computed(() => {\n const allItem: MenuItemProps = {\n key: 'cases.bodybox.all',\n title: `All ${$language.get('bodybox').plural}`,\n to: '/bodybox',\n icon: 'arrows-out',\n data: {},\n };\n\n const boxItems = bodyboxes.value.map((box) => ({\n key: `cases.bodybox.${box.id}`,\n title: box.name,\n to: `/bodybox/${box.id}`,\n icon: 'square-half',\n data: { id: box.id },\n })) as MenuItemProps[];\n\n return usePopoverBodyboxMenu.value ? [allItem, ...boxItems] : boxItems;\n });\n\n // #region Bodybox Capacities\n\n const { data: capacities } = useSWRV(\n 'api.bodyboxes.getCapacitiesAsync',\n null // Fetch capacities from cache\n );\n\n const getCapacity = (bodyboxId: string) =>\n capacities.value?.find((capacity) => capacity.id === bodyboxId);\n\n const capacityMap = computed(() =>\n bodyboxes.value.reduce((acc, bodybox) => {\n const capacity = getCapacity(bodybox.id);\n if (!capacity) return acc;\n acc[bodybox.id] = capacity;\n return acc;\n }, {} as Record)\n );\n\n // #endregion\n\n // #region access control\n\n const ability = useAbility();\n\n const canViewBodyboxes = computed(() =>\n ability.value.can(BodyboxAbilityAction.read, AppAbilitySubject.bodybox)\n );\n\n const { enabled: canViewReporting } = useReporting();\n\n // #endregion\n\n return {\n menuKeys,\n bodyboxes,\n usePopoverBodyboxMenu,\n bodyboxItems,\n capacityMap,\n canViewBodyboxes,\n canViewReporting,\n };\n },\n});\n","import { render, staticRenderFns } from \"./the-aside-navigation.vue?vue&type=template&id=9464ebbc&scoped=true&\"\nimport script from \"./the-aside-navigation.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-aside-navigation.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./the-aside-navigation.vue?vue&type=style&index=0&id=9464ebbc&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 \"9464ebbc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',[_c('wb-menu',[_c('wb-sub-menu',{key:\"cases\",attrs:{\"to\":\"/\",\"title\":_vm.$language.get('case').plural,\"icon\":\"folders\"}},[_c('wb-menu-item',{key:\"cases.active\",attrs:{\"to\":\"/case/active\",\"title\":_vm.$language.token('case', 'Active {plural}'),\"icon\":\"folder-simple-star\"}}),_vm._v(\" \"),_c('wb-menu-item',{key:\"cases.reservations\",attrs:{\"to\":\"/reservations\",\"title\":_vm.$language.get('reservation').plural,\"icon\":\"calendar-blank\"}}),_vm._v(\" \"),(_vm.canViewBodyboxes)?[(_vm.bodyboxes.length <= 1)?_c('wb-data',{attrs:{\"no-boxes\":_vm.bodyboxes.length < 1},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar noBoxes = ref.noBoxes;\nreturn [_c('wb-menu-item',{key:noBoxes ? 'cases.bodybox' : (\"cases.bodybox.\" + (_vm.bodyboxes[0].id)),attrs:{\"title\":_vm.$language.get('bodybox').singular,\"icon\":\"square-half\",\"to\":noBoxes ? undefined : (\"/bodybox/\" + (_vm.bodyboxes[0].id)),\"disabled\":noBoxes}})]}}],null,false,2224984674)}):(_vm.usePopoverBodyboxMenu)?_c('wb-sub-menu',{key:\"cases.bodybox\",attrs:{\"title\":_vm.$language.get('bodybox').plural,\"icon\":\"square-half\",\"type\":\"popover\",\"items\":_vm.bodyboxItems},scopedSlots:_vm._u([{key:\"menuItem\",fn:function(item){return [_c('div',{staticClass:\"flex w-full items-center justify-between gap-10\"},[_c('span',{staticClass:\"text-red flex flex-shrink-0 items-baseline gap-1 break-words text-left font-medium\"},[_c('wb-icon',{attrs:{\"name\":item.icon,\"type\":\"bold\"}}),_vm._v(\"\\n \"+_vm._s(item.title)+\"\\n \")],1),_vm._v(\" \"),(_vm.capacityMap[item.data.id])?_c('capacity-badge',{staticClass:\"flex-shrink-0\",attrs:{\"capacity\":_vm.capacityMap[item.data.id]}}):_vm._e()],1)]}}],null,false,1249032091)}):_c('wb-sub-menu',{key:\"cases.bodybox\",attrs:{\"title\":_vm.$language.get('bodybox').plural,\"to\":\"/bodybox\",\"icon\":\"square-half\",\"items\":_vm.bodyboxItems}})]:_vm._e()],2),_vm._v(\" \"),_c('wb-menu-item',{key:\"outbox\",attrs:{\"to\":\"/outbox\",\"title\":_vm.$language.get('outbox').singular,\"icon\":\"share\"}}),_vm._v(\" \"),(_vm.canViewReporting)?_c('wb-menu-item',{key:\"reporting\",attrs:{\"to\":\"/reporting\",\"title\":\"Reporting\",\"icon\":\"presentation-chart\"}}):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-tenant-logo.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-tenant-logo.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent } from '@nuxtjs/composition-api';\nimport { useStoreModule } from '~/app/composables/use-store-module';\nimport { Tenant } from '~/app/models';\nimport { ITenantState, moduleName as TenantModuleName } from '~/store/tenant';\n\nexport default defineComponent({\n name: 'TheTenantLogo',\n setup() {\n const { state: tenantState } = useStoreModule(\n TenantModuleName\n );\n\n const logoUrl = computed(\n () => tenantState.tenant?.configuration.theme.logoUrl\n );\n\n const tenantName = computed(() => {\n const tenant = tenantState.tenant as Tenant;\n return tenant.name;\n });\n\n return { logoUrl, tenantName };\n },\n});\n","import { render, staticRenderFns } from \"./the-tenant-logo.vue?vue&type=template&id=4157563e&\"\nimport script from \"./the-tenant-logo.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-tenant-logo.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.logoUrl)?_c('img',{staticClass:\"h-full w-full object-contain\",attrs:{\"src\":_vm.logoUrl,\"alt\":((_vm.tenantName || 'Tenant') + \" logo\")}}):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-aside.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-aside.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent } from '@nuxtjs/composition-api';\nimport TheAsideNavigation from './the-aside-navigation.vue';\nimport TheTenantLogo from '~/app/modules/layout/components/organisms/the-tenant-logo.vue';\nimport { useStoreModule } from '~/app/composables/use-store-module';\nimport { ITenantState, moduleName as TenantModuleName } from '~/store/tenant';\n\nexport default defineComponent({\n name: 'TheAside',\n components: {\n TheAsideNavigation,\n TheTenantLogo,\n },\n setup() {\n const { state: tenantState } = useStoreModule(\n TenantModuleName\n );\n\n const tenantLogoUrl = computed(\n () => tenantState.tenant?.configuration.theme.logoUrl\n );\n\n return { tenantLogoUrl };\n },\n});\n","import { render, staticRenderFns } from \"./the-aside.vue?vue&type=template&id=53f8e2f5&scoped=true&\"\nimport script from \"./the-aside.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-aside.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./the-aside.vue?vue&type=style&index=0&id=53f8e2f5&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 \"53f8e2f5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:\"the-aside\"},[_c('div',{staticClass:\"the-aside__brand\"},[(_vm.tenantLogoUrl)?_c('nuxt-link',{attrs:{\"id\":\"brand-tenant-logo\",\"to\":\"/\",\"aria-label\":\"Go to home page\",\"title\":\"Go to home page\",\"tabindex\":\"-1\"}},[_c('the-tenant-logo')],1):_vm._e(),_vm._v(\" \"),_c('nuxt-link',{attrs:{\"id\":\"brand-mb-logo\",\"to\":\"/\",\"aria-label\":\"Go to home page\",\"title\":\"Go to home page\"}},[_c('wb-logo-text')],1)],1),_vm._v(\" \"),_c('the-aside-navigation',{staticClass:\"the-aside__navigation\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-update-alert.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-update-alert.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, PropType } from '@nuxtjs/composition-api';\nimport { useVModel } from '@vueuse/core';\nimport { useServiceWorker } from '~/app/composables/use-service-worker';\n\nexport default defineComponent({\n name: 'TheAppUpdateAlert',\n props: {\n visible: {\n type: Boolean as PropType,\n required: true,\n default: false,\n },\n },\n setup(props) {\n const isVisible = useVModel(props, 'visible');\n const { forceReload } = useServiceWorker();\n\n return { isVisible, forceReload };\n },\n});\n","import { render, staticRenderFns } from \"./the-update-alert.vue?vue&type=template&id=0bf89a24&scoped=true&\"\nimport script from \"./the-update-alert.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-update-alert.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./the-update-alert.vue?vue&type=style&index=0&id=0bf89a24&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 \"0bf89a24\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('wb-transition-pop',{attrs:{\"appear\":\"\"}},[(_vm.isVisible)?_c('div',{attrs:{\"id\":\"wb-app-update-alert\",\"role\":\"alert\"}},[_c('p',{attrs:{\"id\":\"wb-app-update-alert__title\"}},[_c('wb-icon',{attrs:{\"name\":\"arrows-clockwise\",\"type\":\"bold\"}}),_vm._v(\"\\n An update is available\\n \")],1),_vm._v(\" \"),_c('p',{attrs:{\"id\":\"wb-app-update-alert__desc\"}},[_vm._v(\"\\n Please refresh to update the app or your experience may be degraded.\\n \")]),_vm._v(\" \"),_c('wb-button',{attrs:{\"size\":\"sm\"},on:{\"click\":function($event){return _vm.forceReload()}}},[_vm._v(\"Refresh Now\")]),_vm._v(\" \"),_c('wb-button',{staticClass:\"ml-2 !text-white\",attrs:{\"size\":\"sm\",\"variant\":\"ghost\"},on:{\"click\":function($event){_vm.isVisible = false}}},[_vm._v(\"Later\")])],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-bread-crumbs.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-bread-crumbs.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n PropType,\n toRefs,\n} from '@nuxtjs/composition-api';\nimport type { Route } from 'vue-router';\nimport type { IBreadCrumbRoute } from '~mod:layout';\n\nexport default defineComponent({\n name: 'TheBreadCrumbs',\n props: {\n current: {\n type: Object as PropType,\n required: true,\n },\n path: {\n type: Array as PropType,\n required: true,\n },\n rootRoute: {\n type: String as PropType,\n required: false,\n default: '/',\n },\n },\n emits: {\n back: null,\n },\n setup(props) {\n const { current, path, rootRoute } = toRefs(props);\n\n const parts = computed(() =>\n (path.value || []).map((part) => ({\n breadcrumbName: part.name,\n path: part.path || '',\n }))\n );\n\n const isRoot = computed(() => current.value.path === rootRoute.value);\n\n return { parts, isRoot };\n },\n});\n","import { render, staticRenderFns } from \"./the-bread-crumbs.vue?vue&type=template&id=dd9710a0&scoped=true&\"\nimport script from \"./the-bread-crumbs.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-bread-crumbs.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./the-bread-crumbs.vue?vue&type=style&index=0&id=dd9710a0&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 \"dd9710a0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"breadcrumbs-container\",class:{ root: _vm.isRoot }},[_c('div',{staticClass:\"back-btn-container\"},[_c('button',{staticClass:\"back-btn\",attrs:{\"aria-label\":\"Go back\"},on:{\"click\":function($event){return _vm.$emit('back')}}},[_c('wb-icon',{attrs:{\"name\":\"caret-left\",\"type\":\"bold\"}})],1)]),_vm._v(\" \"),_c('wb-overflow',{staticClass:\"flex-1\",attrs:{\"clip\":\"left\",\"enabled\":!_vm.isRoot}},[(_vm.parts.length)?_c('a-breadcrumb',{staticClass:\"breadcrumbs\",attrs:{\"routes\":_vm.parts},scopedSlots:_vm._u([{key:\"itemRender\",fn:function(ref){\nvar route = ref.route;\nvar routes = ref.routes;\nreturn [(routes.indexOf(route) === routes.length - 1)?_c('span',{staticClass:\"text-md p-1 font-medium\"},[_vm._v(\"\\n \"+_vm._s(route.breadcrumbName)+\" \"+_vm._s(routes.path)+\"\\n \")]):(route.path)?_c('nuxt-link',{staticClass:\"text-md inline-flex rounded-md p-1 hover:bg-brand-100 focus:bg-brand-100\",attrs:{\"to\":route.path}},[_vm._v(\"\\n \"+_vm._s(route.breadcrumbName)+\" \"+_vm._s(routes.path)+\"\\n \")]):_c('span',{staticClass:\"text-md p-1\"},[_vm._v(_vm._s(route.breadcrumbName))])]}}],null,false,1053606833)}):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const SYMBOL_TAB_BAR_MENU_IS_CHILD = Symbol('TabBar.TabBarMenu.IsChild');\nexport const SYMBOL_TAB_BAR_MENU_LEVEL = Symbol('TabBar.TabBarMenu.Level');\nexport const SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL = Symbol(\n 'TabBar.TabBarMenu.ActiveLevel'\n);\nexport const SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL = Symbol(\n 'TabBar.TabBarMenu.SetLastLevel'\n);\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\nimport { defineComponent, provide, ref } from '@nuxtjs/composition-api';\nimport {\n SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL,\n SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL,\n} from './symbols';\n\nexport default defineComponent({\n name: 'TabBar',\n setup() {\n const activeLevel = ref(0);\n provide(SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL, activeLevel);\n\n const lastLevel = ref(0);\n provide(\n SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL,\n (level: number) => (lastLevel.value = level)\n );\n\n return { activeLevel, lastLevel };\n },\n});\n","import { render, staticRenderFns } from \"./tab-bar.vue?vue&type=template&id=d60850a2&scoped=true&\"\nimport script from \"./tab-bar.vue?vue&type=script&lang=ts&\"\nexport * from \"./tab-bar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./tab-bar.vue?vue&type=style&index=0&id=d60850a2&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 \"d60850a2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"wb-tab-bar\"},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-item.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-item.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n inject,\n PropType,\n Ref,\n toRefs,\n} from '@nuxtjs/composition-api';\nimport {\n SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL,\n SYMBOL_TAB_BAR_MENU_IS_CHILD,\n} from './symbols';\n\nexport default defineComponent({\n name: 'TabBarItem',\n props: {\n label: {\n type: String as PropType,\n required: true,\n },\n icon: {\n type: String as PropType,\n required: true,\n },\n to: {\n type: [String, Function] as PropType<\n string | ((...args: any[]) => any) | undefined\n >,\n required: false,\n default: undefined,\n },\n orientation: {\n type: String as PropType<'horizontal' | 'vertical' | undefined>,\n required: false,\n default: undefined,\n },\n },\n setup(props) {\n const { to, orientation } = toRefs(props);\n\n const isInMenu = inject(SYMBOL_TAB_BAR_MENU_IS_CHILD, false);\n const orien = computed(\n () => orientation.value || (isInMenu ? 'horizontal' : 'vertical')\n );\n\n const attrs = computed(() => (to ? { to: to.value } : {}));\n\n const activeLevel = inject>(SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL);\n\n function onLinkClick() {\n activeLevel!.value = 0; // Hide all menus\n }\n\n function onButtonClick() {\n if (to.value && typeof to.value === 'function') to.value();\n\n onLinkClick();\n }\n\n return { attrs, orien, onLinkClick, onButtonClick };\n },\n});\n","import { render, staticRenderFns } from \"./tab-bar-item.vue?vue&type=template&id=4bba36d4&scoped=true&\"\nimport script from \"./tab-bar-item.vue?vue&type=script&lang=ts&\"\nexport * from \"./tab-bar-item.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./tab-bar-item.vue?vue&type=style&index=0&id=4bba36d4&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 \"4bba36d4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"wb-tab-bar-item\"},[(_vm.to && typeof _vm.to === 'string')?_c('nuxt-link',_vm._g(_vm._b({class:['wb-tab-bar-item__link', _vm.orien],nativeOn:{\"click\":function($event){return _vm.onLinkClick()}}},'nuxt-link',_vm.attrs,false),_vm.$listeners),[_c('wb-icon',{staticClass:\"wb-tab-bar-item__link-icon\",attrs:{\"name\":_vm.icon}}),_vm._v(\" \"),_c('span',{staticClass:\"wb-tab-bar-item__link-text\"},[_vm._v(_vm._s(_vm.label))])],1):_c('button',_vm._g(_vm._b({class:['wb-tab-bar-item__link', _vm.orien],on:{\"click\":function($event){return _vm.onButtonClick()}}},'button',_vm.attrs,false),_vm.$listeners),[_c('wb-icon',{staticClass:\"wb-tab-bar-item__link-icon\",attrs:{\"name\":_vm.icon}}),_vm._v(\" \"),_c('span',{staticClass:\"wb-tab-bar-item__link-text\"},[_vm._v(_vm._s(_vm.label))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-menu-trigger.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-menu-trigger.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n inject,\n PropType,\n toRefs,\n} from '@nuxtjs/composition-api';\nimport { SYMBOL_TAB_BAR_MENU_IS_CHILD } from './symbols';\n\nexport default defineComponent({\n name: 'TabBarMenuTrigger',\n props: {\n label: {\n type: String as PropType,\n required: true,\n },\n icon: {\n type: String as PropType,\n required: true,\n },\n isActive: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n orientation: {\n type: String as PropType<'horizontal' | 'vertical' | undefined>,\n required: false,\n default: undefined,\n },\n },\n setup(props) {\n const { orientation } = toRefs(props);\n\n const isInMenu = inject(SYMBOL_TAB_BAR_MENU_IS_CHILD, false);\n const orien = computed(\n () => orientation.value || (isInMenu ? 'horizontal' : 'vertical')\n );\n\n return { orien };\n },\n});\n","import { render, staticRenderFns } from \"./tab-bar-menu-trigger.vue?vue&type=template&id=40041ae1&scoped=true&\"\nimport script from \"./tab-bar-menu-trigger.vue?vue&type=script&lang=ts&\"\nexport * from \"./tab-bar-menu-trigger.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./tab-bar-menu-trigger.vue?vue&type=style&index=0&id=40041ae1&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 \"40041ae1\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"wb-tab-bar-menu-trigger\"},[_c('button',_vm._g({class:['wb-tab-bar-menu-trigger__link', _vm.orien, { active: _vm.isActive }]},_vm.$listeners),[_c('wb-icon',{staticClass:\"wb-tab-bar-menu-trigger__link-icon\",attrs:{\"name\":_vm.icon}}),_vm._v(\" \"),_c('span',{staticClass:\"wb-tab-bar-menu-trigger__link-text\"},[_vm._v(_vm._s(_vm.label))])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-menu.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./tab-bar-menu.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n inject,\n onDeactivated,\n PropType,\n provide,\n Ref,\n ref,\n watch,\n} from '@nuxtjs/composition-api';\nimport { onClickOutside } from '@vueuse/core';\nimport {\n SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL,\n SYMBOL_TAB_BAR_MENU_IS_CHILD,\n SYMBOL_TAB_BAR_MENU_LEVEL,\n SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL,\n} from './symbols';\nimport TabBarMenuTrigger from './tab-bar-menu-trigger.vue';\n\nexport default defineComponent({\n name: 'TabBarMenu',\n components: { TabBarMenuTrigger },\n props: {\n label: {\n type: String as PropType,\n required: true,\n },\n icon: {\n type: String as PropType,\n required: true,\n },\n },\n setup(_props, _context) {\n const root = ref();\n const isOpen = ref(false);\n onClickOutside(root, () => (isOpen.value = false));\n\n const getLevels = () => inject(SYMBOL_TAB_BAR_MENU_LEVEL, 1);\n const level = getLevels();\n provide(SYMBOL_TAB_BAR_MENU_LEVEL, level + 1);\n provide(SYMBOL_TAB_BAR_MENU_IS_CHILD, true);\n\n const setLevels = inject<(level: number) => void>(\n SYMBOL_TAB_BAR_MENU_SET_LAST_LEVEL\n );\n\n setLevels?.(level);\n onDeactivated(() => setLevels?.(getLevels() - 1));\n\n const activeLevel = inject>(SYMBOL_TAB_BAR_MENU_ACTIVE_LEVEL);\n const isLastLevel = computed(() => activeLevel?.value === level);\n\n watch(activeLevel!, (newLevel) => {\n if (newLevel < level) {\n isOpen.value = false;\n }\n });\n\n const toggleVisibilty = () => {\n isOpen.value = !isOpen.value;\n if (isOpen.value) {\n activeLevel && (activeLevel.value = level);\n } else {\n activeLevel && (activeLevel.value = level - 1);\n }\n };\n\n return { root, level, isOpen, toggleVisibilty, isLastLevel };\n },\n});\n","import { render, staticRenderFns } from \"./tab-bar-menu.vue?vue&type=template&id=7b3c8a70&scoped=true&\"\nimport script from \"./tab-bar-menu.vue?vue&type=script&lang=ts&\"\nexport * from \"./tab-bar-menu.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./tab-bar-menu.vue?vue&type=style&index=0&id=7b3c8a70&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 \"7b3c8a70\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{ref:\"root\",class:['wb-tab-bar-menu', { open: _vm.isOpen }]},[_c('tab-bar-menu-trigger',{attrs:{\"label\":_vm.label,\"icon\":_vm.icon,\"orientation\":_vm.level === 1 ? 'vertical' : 'horizontal',\"is-active\":_vm.isOpen},on:{\"click\":function($event){return _vm.toggleVisibilty()}}}),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"slide\",\"mode\":\"out-in\",\"appear\":\"\"}},[(_vm.isOpen)?_c('ul',{class:['wb-tab-bar-menu__list', { 'rounded-t-lg': _vm.isLastLevel }]},[_vm._t(\"default\")],2):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue, { PluginObject, VueConstructor } from 'vue';\nimport TabBar from './tab-bar.vue';\nimport TabBarItem from './tab-bar-item.vue';\nimport TabBarMenu from './tab-bar-menu.vue';\n\nconst tabBar: VueConstructor & PluginObject = TabBar as any;\n\ntabBar.install = function (vue) {\n vue.component('WbTabBar', TabBar);\n vue.component('WbTabBarItem', TabBarItem);\n vue.component('WbTabBarMenu', TabBarMenu);\n};\n\nexport { TabBar, TabBarItem, TabBarMenu };\nexport default tabBar;\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n PropType,\n reactive,\n} from '@nuxtjs/composition-api';\nimport { CaseSummary, CustodyStatus } from '~/app/models';\nimport CaseCardDetails from '~mod:bodybox/components/molecules/case-card-details.vue';\n\n// TODO: Show current bodybox location\n\nexport enum MatchAction {\n View = 'view',\n Transfer = 'transfer',\n CheckIn = 'checkIn',\n CheckOut = 'checkOut',\n}\n\nexport default defineComponent({\n name: 'CaseScanMatchCard',\n components: {\n CaseCardDetails,\n },\n props: {\n summary: {\n type: Object as PropType,\n required: true,\n validator: (value: unknown) => value instanceof CaseSummary,\n },\n canReadCase: {\n type: Boolean,\n required: false,\n default: true,\n },\n canCheckInCase: {\n type: Boolean,\n required: false,\n default: true,\n },\n canCheckOutCase: {\n type: Boolean,\n required: false,\n default: true,\n },\n canTransferCase: {\n type: Boolean,\n required: false,\n default: true,\n },\n },\n emits: [\n MatchAction.View,\n MatchAction.Transfer,\n MatchAction.CheckIn,\n MatchAction.CheckOut,\n ],\n setup(props, { emit }) {\n const custody = computed(() => {\n const { custodyStatus } = props.summary;\n if (custodyStatus === CustodyStatus.Expected)\n return { type: 'Incoming', class: 'text-success-600' };\n if (custodyStatus === CustodyStatus.Departed)\n return { type: 'Released', class: 'text-warning-600' };\n if (custodyStatus === CustodyStatus.InCustody) {\n const { bodybox, storageLabel, storageLocation } = props.summary;\n if (storageLabel && storageLocation)\n return {\n type: 'In Custody',\n class: 'text-brand-600',\n location: `${bodybox} (${storageLabel} ${storageLocation})`,\n };\n return {\n type: 'In Custody',\n class: 'text-brand-600',\n location: bodybox,\n };\n }\n throw new Error('Invalid custody status');\n });\n\n function goToCase() {\n emit(MatchAction.View, props.summary.id);\n }\n\n function transferCase() {\n emit(MatchAction.Transfer, props.summary.id);\n }\n\n function checkInCase() {\n emit(MatchAction.CheckIn, props.summary.id);\n }\n\n function checkOutCase() {\n emit(MatchAction.CheckOut, props.summary.id);\n }\n\n const actions = reactive({\n view: computed(() => props.canReadCase),\n transfer: computed(\n () =>\n props.canTransferCase &&\n props.summary.custodyStatus === CustodyStatus.InCustody\n ),\n checkIn: computed(\n () =>\n props.canCheckInCase &&\n [CustodyStatus.Expected, CustodyStatus.Departed].includes(\n props.summary.custodyStatus\n )\n ),\n checkOut: computed(\n () =>\n props.canCheckOutCase &&\n props.summary.custodyStatus === CustodyStatus.InCustody\n ),\n });\n\n return {\n custody,\n goToCase,\n transferCase,\n checkInCase,\n checkOutCase,\n actions,\n CustodyStatus,\n };\n },\n});\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-bottom-bar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-bottom-bar.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent, useContext } from '@nuxtjs/composition-api';\nimport { useStoreModule } from '~/app/composables/use-store-module';\nimport { useIntercom } from '~/app/composables/use-intercom';\nimport { useAuthProvider } from '~/app/core/auth';\nimport {\n useAbility,\n AppAbilitySubject,\n BodyboxAbilityAction,\n} from '~/app/core/casl';\nimport { ITenantState, moduleName as tenantStoreName } from '~/store/tenant';\nimport { useStore as useBodyboxStore } from '~mod:bodybox/composables/use-store';\nimport { useReporting } from '~mod:reporting/composables/use-reporting';\nimport {\n TabBar,\n TabBarItem,\n TabBarMenu,\n} from '~mod:layout/components/molecules/tab-bar';\nimport { SettingsRoute } from '~mod:settings/routes';\n\nexport default defineComponent({\n name: 'TheBottomBar',\n components: {\n TabBar,\n TabBarItem,\n TabBarMenu,\n },\n setup() {\n const tenantModule = useStoreModule(tenantStoreName);\n const tenantName = computed(() => tenantModule.state.tenant?.name);\n\n const { state } = useBodyboxStore();\n const bodyboxes = computed(() => state.bodyboxes || []);\n\n const auth = useAuthProvider();\n const logout = () => auth.logoutAsync();\n\n // #region access control\n\n const ability = useAbility();\n\n const canViewBodyboxes = computed(() =>\n ability.value.can(BodyboxAbilityAction.read, AppAbilitySubject.bodybox)\n );\n\n const { enabled: canViewReporting } = useReporting();\n\n // #endregion\n\n const intercom = useIntercom();\n\n const { $config } = useContext();\n const version = `${$config.app.version} ${$config.app.buildNumber}`;\n\n return {\n tenantName,\n bodyboxes,\n canViewBodyboxes,\n canViewReporting,\n SettingsRoute,\n logout,\n intercom,\n version,\n };\n },\n});\n","import { render, staticRenderFns } from \"./the-bottom-bar.vue?vue&type=template&id=47be97e8&scoped=true&\"\nimport script from \"./the-bottom-bar.vue?vue&type=script&lang=ts&\"\nexport * from \"./the-bottom-bar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./the-bottom-bar.vue?vue&type=style&index=0&id=47be97e8&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 \"47be97e8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tab-bar',{staticClass:\"bottom-bar\"},[_c('tab-bar-menu',{attrs:{\"label\":\"Cases\",\"icon\":\"folders\"}},[_c('tab-bar-item',{attrs:{\"label\":_vm.$language.get('reservation').plural,\"icon\":\"calendar-blank\",\"to\":\"/reservations\"}}),_vm._v(\" \"),_c('tab-bar-item',{attrs:{\"label\":_vm.$language.token('case', 'Active {plural}'),\"icon\":\"folder-simple-star\",\"to\":\"/case/active\"}}),_vm._v(\" \"),(_vm.canViewBodyboxes)?[(_vm.bodyboxes.length === 1)?_c('tab-bar-item',{attrs:{\"label\":_vm.$language.get('bodybox').singular,\"icon\":\"square-half\"}}):_c('tab-bar-menu',{attrs:{\"label\":_vm.$language.get('bodybox').plural,\"icon\":\"square-half\"}},[_c('div',{staticClass:\"flex max-h-[50vh] flex-col overflow-auto\"},_vm._l((_vm.bodyboxes),function(bodybox){return _c('tab-bar-item',{key:bodybox.id,attrs:{\"label\":bodybox.name,\"to\":(\"/bodybox/\" + (bodybox.id)),\"icon\":\"square-half\"}})}),1),_vm._v(\" \"),_c('tab-bar-item',{key:\"overview\",attrs:{\"label\":\"View All\",\"to\":\"/bodybox\"}})],1)]:_vm._e(),_vm._v(\" \"),_c('tab-bar-item',{attrs:{\"label\":_vm.$language.get('outbox').singular,\"icon\":\"share\",\"to\":\"/outbox\"}}),_vm._v(\" \"),(_vm.canViewReporting)?_c('tab-bar-item',{attrs:{\"label\":\"Reporting\",\"icon\":\"presentation-chart\",\"to\":\"/reporting\"}}):_vm._e()],2),_vm._v(\" \"),_c('tab-bar-item',{staticClass:\"-mt-1 rounded-lg border border-gray-200 bg-gray-50 px-[5px] pt-1\",attrs:{\"label\":\"Home\",\"icon\":\"house\",\"to\":\"/\"}}),_vm._v(\" \"),_c('tab-bar-menu',{attrs:{\"label\":\"Account\",\"icon\":\"user\",\"to\":_vm.SettingsRoute.accountRoot}},[_c('div',{staticClass:\"-mx-4 -mt-2 mb-4 border-b border-gray-200 px-4 py-2 text-center font-medium text-brand-800\"},[_vm._v(\"\\n \"+_vm._s(_vm.tenantName)+\"\\n \")]),_vm._v(\" \"),_c('tab-bar-item',{attrs:{\"label\":\"My Account\",\"icon\":\"user-circle\",\"to\":_vm.SettingsRoute.accountRoot}}),_vm._v(\" \"),_c('tab-bar-item',{attrs:{\"label\":\"My Organization\",\"icon\":\"buildings\",\"to\":_vm.SettingsRoute.organizationRoot}}),_vm._v(\" \"),(_vm.intercom.enabled)?_c('tab-bar-item',{attrs:{\"label\":\"Get Support\",\"icon\":\"headset\"},on:{\"click\":function () { return _vm.intercom.show(); }}}):_vm._e(),_vm._v(\" \"),_c('tab-bar-item',{attrs:{\"label\":\"Log Out\",\"icon\":\"sign-out\",\"to\":function () { return _vm.logout(); }}}),_vm._v(\" \"),_c('div',{staticClass:\"mt-4 w-full text-center text-xs font-medium text-gray-500\"},[_vm._v(\"\\n v\"+_vm._s(_vm.version)+\"\\n \")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-zone.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-zone.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n PropType,\n ref,\n watch,\n} from '@nuxtjs/composition-api';\nimport { useDebounce } from '@vueuse/core';\n\nexport type ZoneVariant = 'active' | 'success' | 'warning' | 'error';\n\nexport interface IconConfig {\n name: string;\n class?: string;\n}\n\nexport default defineComponent({\n props: {\n variant: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n pulse: {\n type: Boolean,\n required: false,\n default: false,\n },\n align: {\n type: String as PropType<'left' | 'right' | undefined>,\n required: false,\n default: undefined,\n },\n iconLeft: {\n type: [String, Object] as PropType,\n required: false,\n default: undefined,\n },\n iconRight: {\n type: [String, Object] as PropType,\n required: false,\n default: undefined,\n },\n disabled: {\n type: Boolean,\n required: false,\n default: true,\n },\n },\n setup(props) {\n const input = ref('');\n const inputDebounced = useDebounce(input, 30);\n const scans = ref([]);\n\n watch(inputDebounced, (value) => {\n if (value === '') return;\n scans.value.push(value);\n input.value = '';\n });\n\n const icons = computed(() => {\n return {\n left:\n typeof props.iconLeft === 'string'\n ? { name: props.iconLeft }\n : props.iconLeft,\n right:\n typeof props.iconRight === 'string'\n ? { name: props.iconRight }\n : props.iconRight,\n };\n });\n\n return { input, scans, icons };\n },\n});\n","import { render, staticRenderFns } from \"./scan-zone.vue?vue&type=template&id=c72a815c&scoped=true&\"\nimport script from \"./scan-zone.vue?vue&type=script&lang=ts&\"\nexport * from \"./scan-zone.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./scan-zone.vue?vue&type=style&index=0&id=c72a815c&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 \"c72a815c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['scan-zone__wrapper', _vm.variant]},[_c('form',{ref:\"zone\",class:['scan-zone__scanner', { pulse: _vm.pulse }]},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.input),expression:\"input\"}],staticClass:\"scan-zone__input\",attrs:{\"type\":\"text\",\"placeholder\":\"Scan a case\",\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.input)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.input=$event.target.value}}})]),_vm._v(\" \"),_c('div',{class:[\n 'scan-zone__message',\n { 'align-left': _vm.align === 'left' },\n { 'align-right': _vm.align === 'right' } ]},[_c('span',{staticClass:\"spacer\"}),_vm._v(\" \"),_vm._t(\"iconLeft\",[(_vm.icons.left)?_c('span',{staticClass:\"icon\"},[_c('wb-icon',{class:_vm.icons.left.class,attrs:{\"name\":_vm.icons.left.name,\"type\":\"bold\"}})],1):_vm._e()]),_vm._v(\" \"),_c('p',[_vm._t(\"default\")],2),_vm._v(\" \"),_vm._t(\"iconRight\",[(_vm.icons.right)?_c('span',{staticClass:\"icon\"},[_c('wb-icon',{class:_vm.icons.right.class,attrs:{\"name\":_vm.icons.right.name,\"type\":\"bold\"}})],1):_vm._e()]),_vm._v(\" \"),_c('span',{staticClass:\"spacer\"})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, reactive, useRoute } from '@nuxtjs/composition-api';\nimport { useAPI } from '~/app/core/api';\nimport { Case } from '~/app/models';\nimport { useStore as useCaseStore } from '~mod:case-details/composables/use-store';\nimport {\n TheCaseCheckInModal,\n ModalEvent as CheckInModalEvent,\n} from '~mod:shared/components/organisms/case-check-in-modal';\nimport {\n TheCaseTransferModal,\n ModalEvent as TransferModalEvent,\n} from '~mod:shared/components/organisms/case-transfer-modal';\nimport {\n TheCaseCheckoutModal,\n ModalEvent as CheckOutModalEvent,\n} from '~mod:shared/components/organisms/case-checkout-modal';\n\n// TODO: These are currently unused, implement these\nexport enum TransportProviderEvent {\n /** A case was selected to check-in. */\n checkInStart = 'checkIn:start',\n /** A case has been checked in. */\n checkInComplete = 'checkIn:complete',\n /** A case was selected to transfer. */\n transferStart = 'transfer:start',\n /** A case has been transferred. */\n transferComplete = 'transfer:complete',\n /** A case was selected to check-out. */\n checkOutStart = 'checkOut:start',\n /** A case has been checked out. */\n checkOutComplete = 'checkOut:complete',\n}\n\nexport enum TransportType {\n CheckIn = 'checkIn',\n Transfer = 'transfer',\n CheckOut = 'checkOut',\n}\n\nexport interface TransportWorkflowBehaviors {\n identityVerified: boolean;\n onComplete?: () => void;\n}\n\ninterface TransportWorkflow {\n active: boolean;\n onComplete?: (caseId: string) => any;\n}\n\n// TODO: This should be the central authority for all transport workflows\n\nexport default defineComponent({\n name: 'TheTransportModalProvider',\n components: {\n TheCaseCheckInModal,\n TheCaseCheckoutModal,\n TheCaseTransferModal,\n },\n emits: {\n [TransportProviderEvent.checkInStart]: (caseId: string) =>\n typeof caseId === 'string',\n [TransportProviderEvent.checkInComplete]: (caseId: string) =>\n typeof caseId === 'string',\n [TransportProviderEvent.checkOutStart]: (caseId: string) =>\n typeof caseId === 'string',\n [TransportProviderEvent.checkOutComplete]: (caseId: string) =>\n typeof caseId === 'string',\n [TransportProviderEvent.transferStart]: (caseId: string) =>\n typeof caseId === 'string',\n [TransportProviderEvent.transferComplete]: (caseId: string) =>\n typeof caseId === 'string',\n },\n setup(_, { emit }) {\n const api = useAPI();\n const { state, commit, Mutation } = useCaseStore();\n\n let currentSessionCase: Case | null = null;\n\n const route = useRoute();\n function isOnCaseDetailsPage() {\n if (!route.value.name) return false;\n return ['case-create', 'case-id'].includes(route.value.name);\n }\n\n async function setActiveCaseAsync(caseId: string) {\n if (isOnCaseDetailsPage()) {\n // Store the current case as it could be another case.\n currentSessionCase = state.case;\n }\n\n const details = await api.cases.getAsync(caseId);\n commit(Mutation.setCase, details);\n }\n\n const workflows = reactive({\n [TransportType.CheckIn]: {\n active: false,\n completed: undefined,\n } as TransportWorkflow,\n [TransportType.CheckOut]: {\n active: false,\n completed: undefined,\n } as TransportWorkflow,\n [TransportType.Transfer]: {\n active: false,\n completed: undefined,\n } as TransportWorkflow,\n });\n\n async function startWorkflow(\n type: TransportType,\n caseId: string,\n behaviors?: TransportWorkflowBehaviors\n ) {\n const workflow = workflows[type];\n workflow.active = true;\n workflow.onComplete = behaviors?.onComplete;\n emit(`${type}:start` as any, caseId);\n\n behaviors?.identityVerified && commit(Mutation.verifyIdentity);\n await setActiveCaseAsync(caseId);\n }\n\n function completeWorkflow(type: TransportType, caseId: string) {\n const workflow = workflows[type];\n workflow.active = false;\n workflow.onComplete?.(caseId);\n emit(`${type}:complete` as any, caseId);\n }\n\n function resetOnClose(visible: boolean) {\n if (visible) return;\n\n // If we have a stored case from the case details page, restore it\n if (currentSessionCase) {\n commit(Mutation.setCase, currentSessionCase);\n currentSessionCase = null;\n }\n\n // If on the case details page we just want to reset the identity verification while leaving the case intact\n isOnCaseDetailsPage()\n ? commit(Mutation.verifyIdentity, false)\n : commit(Mutation.reset);\n }\n\n return {\n workflows,\n startWorkflow,\n completeWorkflow,\n resetOnClose,\n TransportType,\n\n CheckInModalEvent,\n CheckOutModalEvent,\n TransferModalEvent,\n };\n },\n});\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-match.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-match.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./scan-match.vue?vue&type=template&id=7e6e1af1&\"\nimport script from \"./scan-match.vue?vue&type=script&lang=ts&\"\nexport * from \"./scan-match.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"root\",staticClass:\"pb-1\"},[_c('case-card-details',{staticClass:\"w-full\",attrs:{\"summary\":_vm.summary}}),_vm._v(\" \"),_c('a-divider',{staticClass:\"!my-0 !mb-2 !px-4\",attrs:{\"orientation\":\"left\"}},[_c('span',{staticClass:\"text-sm font-medium text-secondary\"},[_vm._v(\"Location\")])]),_vm._v(\" \"),_c('div',{staticClass:\"flex items-end justify-between px-6 pb-4 pt-0 font-medium\"},[_c('span',{class:['font-medium', _vm.custody.class]},[_vm._v(_vm._s(_vm.custody.type))]),_vm._v(\" \"),(_vm.custody.location)?_c('div',{staticClass:\"flex items-center gap-1\"},[_c('wb-icon',{attrs:{\"name\":\"square-half\",\"type\":\"bold\"}}),_vm._v(_vm._s(_vm.custody.location)+\"\\n \")],1):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col px-4\"},[_c('a-divider',{staticClass:\"!my-0 !mb-2\"}),_vm._v(\" \"),_c('div',{staticClass:\"flex w-full flex-col items-stretch gap-2\"},[(_vm.actions.view)?_c('wb-menu-button-item',{staticClass:\"wb-menu-link w-full !p-2\",on:{\"click\":function($event){return _vm.goToCase()}}},[_c('wb-icon',{attrs:{\"name\":\"eye\",\"type\":\"bold\"}}),_vm._v(\" \"),_c('span',{staticClass:\"ml-2 leading-normal\"},[_vm._v(\"View or modify\")])],1):_vm._e(),_vm._v(\" \"),(_vm.actions.transfer)?_c('wb-menu-button-item',{staticClass:\"wb-menu-link w-full !p-2\",on:{\"click\":function($event){return _vm.transferCase()}}},[_c('wb-icon',{attrs:{\"name\":\"arrows-left-right\",\"type\":\"bold\"}}),_vm._v(\" \"),_c('span',{staticClass:\"ml-2 leading-normal\"},[_vm._v(\"\\n Transfer \"+_vm._s(_vm.$language.get('case').singular)+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),(_vm.actions.checkIn)?_c('a-tooltip',{attrs:{\"title\":_vm.summary.checkIn.information,\"get-popup-container\":function () { return _vm.$refs.root; }}},[_c('wb-menu-button-item',{staticClass:\"wb-menu-link w-full justify-between !p-2\",attrs:{\"disabled\":!_vm.summary.checkIn.enabled},on:{\"click\":function($event){return _vm.checkInCase()}}},[_c('span',{staticClass:\"inline-flex items-center\"},[_c('wb-icon',{attrs:{\"name\":\"download-simple\",\"type\":\"bold\"}}),_vm._v(\" \"),_c('span',{staticClass:\"ml-2 leading-normal\"},[_vm._v(\"\\n Check\\n \"),(_vm.summary.custodyStatus === _vm.CustodyStatus.Departed)?_c('span',[_vm._v(\"back\\n \")]):_vm._e(),_vm._v(\"\\n into \"+_vm._s(_vm.$language.get('bodybox').singular)+\"\\n \")])],1),_vm._v(\" \"),(!_vm.summary.checkIn.enabled)?_c('wb-icon',{attrs:{\"name\":\"unlock-simple\",\"type\":\"bold\"}}):_vm._e()],1)],1):_vm._e(),_vm._v(\" \"),(_vm.actions.checkOut)?_c('a-tooltip',{attrs:{\"title\":_vm.summary.checkOut.information,\"get-popup-container\":function () { return _vm.$refs.root; }}},[_c('wb-menu-button-item',{staticClass:\"wb-menu-link w-full justify-between !p-2\",attrs:{\"disabled\":!_vm.summary.checkOut.enabled},on:{\"click\":function($event){return _vm.checkOutCase()}}},[_c('span',{staticClass:\"inline-flex items-center\"},[_c('wb-icon',{attrs:{\"name\":\"upload-simple\",\"type\":\"bold\"}}),_vm._v(\" \"),_c('span',{staticClass:\"ml-2 leading-normal\"},[_vm._v(\"\\n Check Out \"+_vm._s(_vm.$language.get('case').singular)+\"\\n \")])],1),_vm._v(\" \"),(!_vm.summary.checkOut.enabled)?_c('wb-icon',{attrs:{\"name\":\"lock-simple\",\"type\":\"bold\"}}):_vm._e()],1)],1):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-counter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-counter.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent } from '@vue/composition-api';\n\nexport default defineComponent({\n name: 'ScanCounter',\n props: {\n count: {\n type: Number,\n required: true,\n },\n complete: {\n type: Number,\n required: false,\n default: 0,\n },\n },\n setup(props) {\n function isComplete(scan: number) {\n return scan <= props.complete;\n }\n\n function numToWord(num: number) {\n switch (num) {\n case 1:\n return 'one';\n case 2:\n return 'two';\n case 3:\n return 'three';\n case 4:\n return 'four';\n case 5:\n return 'five';\n case 6:\n return 'six';\n case 7:\n return 'seven';\n case 8:\n return 'eight';\n case 9:\n return 'nine';\n default:\n return 'one';\n }\n }\n\n return { isComplete, numToWord };\n },\n});\n","import { render, staticRenderFns } from \"./scan-counter.vue?vue&type=template&id=454ea17d&\"\nimport script from \"./scan-counter.vue?vue&type=script&lang=ts&\"\nexport * from \"./scan-counter.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"inline-flex items-center gap-1 opacity-75\"},_vm._l((_vm.count),function(scan){return _c('wb-transition-roll-down',{key:scan,attrs:{\"mode\":\"out-in\"}},[_c('wb-icon',{key:_vm.isComplete(scan),staticClass:\"inline-flex items-center\",attrs:{\"name\":_vm.isComplete(scan) ? 'check-circle' : (\"number-circle-\" + (_vm.numToWord(scan))),\"type\":_vm.isComplete(scan) ? 'fill' : 'bold'}})],1)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./transport-modal-provider.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./transport-modal-provider.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./transport-modal-provider.vue?vue&type=template&id=c64908da&\"\nimport script from \"./transport-modal-provider.vue?vue&type=script&lang=ts&\"\nexport * from \"./transport-modal-provider.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('fragment',[_c('the-case-check-in-modal',{attrs:{\"visible\":_vm.workflows.checkIn.active},on:_vm._d({\"update:visible\":[function($event){return _vm.$set(_vm.workflows.checkIn, \"active\", $event)},_vm.resetOnClose]},[_vm.CheckInModalEvent.checkInCase,function($event){return _vm.completeWorkflow(_vm.TransportType.CheckIn, $event)}])}),_vm._v(\" \"),_c('the-case-checkout-modal',{attrs:{\"visible\":_vm.workflows.checkOut.active},on:_vm._d({\"update:visible\":[function($event){return _vm.$set(_vm.workflows.checkOut, \"active\", $event)},_vm.resetOnClose]},[_vm.CheckOutModalEvent.checkoutCase,function($event){return _vm.completeWorkflow(_vm.TransportType.CheckOut, $event)}])}),_vm._v(\" \"),_c('the-case-transfer-modal',{attrs:{\"visible\":_vm.workflows.transfer.active},on:_vm._d({\"update:visible\":[function($event){return _vm.$set(_vm.workflows.transfer, \"active\", $event)},_vm.resetOnClose]},[_vm.TransferModalEvent.transferCase,function($event){return _vm.completeWorkflow(_vm.TransportType.Transfer, $event)}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export type UnitOfTime = 'ms' | 's' | 'm' | 'h';\n\n/** A utility to convert a tick based timer to representative units of time. */\nexport class TickTimer {\n private readonly durationMs: number;\n private readonly measureMs: number;\n\n /**\n * Creates a new instance of `TickTimer`.\n * @param durationMs The total number of milliseconds the timer should last.\n * @param tickMeasureMs The number of milliseconds between each tick. **Default: `1000`**\n */\n constructor(durationMs: number, tickMeasureMs: number = 1000) {\n this.durationMs = durationMs;\n this.measureMs = tickMeasureMs;\n }\n\n /** @returns {number} The total number of ticks that make up the timer's interval. */\n public get ticks() {\n return Math.floor(this.durationMs / this.measureMs);\n }\n\n /**\n * Gets the tick within the interval which corresponds with the provided time in milliseconds.\n * @param {number} ms The number of milliseconds to convert to a tick.\n * @returns {number} The tick within the interval which corresponds with the provided time in milliseconds.\n */\n public getTick(ms: number) {\n return Math.floor(ms / this.measureMs);\n }\n\n /**\n * Gets the time that has elapsed at a specified tick.\n * @param {number} tick The tick to get the time elapsed at.\n * @param {UnitOfTime} unit The unit of time to return. **Default: `'s'`**\n * @returns {number} The time that has elapsed at a specified tick.\n */\n public getTime(tick: number, unit: UnitOfTime = 's') {\n if (tick < 0) return 0;\n\n const seconds = tick / (1000 / this.measureMs);\n\n switch (unit) {\n case 'ms':\n return seconds * 1000;\n case 's':\n return seconds;\n case 'm':\n return seconds / 60;\n case 'h':\n return seconds / 60 / 60;\n default:\n throw new Error('Unsupported unit of time');\n }\n }\n\n /**\n * Gets the time remaining at a specified tick.\n * @param {number} tick The tick to get the time remaining at.\n * @param {UnitOfTime} unit The unit of time to return. **Default: `'s'`**\n * @returns {number} The time remaining at the specified tick.\n */\n public getTimeRemaining(tick: number, unit: UnitOfTime = 's') {\n const remainingTicks = this.ticks - tick;\n return this.getTime(remainingTicks, unit);\n }\n\n /**\n * Gets the time interval the timer was set to.\n * @param {UnitOfTime} unit The unit of time to return. **Default: `'s'`**\n * @returns {number} The time interval the timer was set to.\n */\n public getTotalTime(unit: UnitOfTime = 's') {\n return this.getTime(this.ticks, unit);\n }\n}\n","export interface ScanErrorMetrics {\n scanCode: string;\n scanDuration: number;\n avgTimeByCharMs: number;\n minLength: number;\n}\n\nexport class ScanError extends Error {\n public scanCode: string;\n public scanDuration: number;\n public avgTimeByCharMs: number;\n public minLength: number;\n\n constructor(message: string, metrics: ScanErrorMetrics) {\n super(message);\n this.scanCode = metrics.scanCode;\n this.scanDuration = metrics.scanDuration;\n this.avgTimeByCharMs = metrics.avgTimeByCharMs;\n this.minLength = metrics.minLength;\n }\n}\n\nexport const ScanErrorMessage = {\n SequenceTooShort: 'Received code is shorter than minimal length',\n NotEnteredInTime: 'Received code was not entered in time',\n} as const;\n","/* eslint-disable no-dupe-class-members */\nimport defu from 'defu';\nimport consola from 'consola';\nimport { ScanError, ScanErrorMessage } from './errors';\nimport type {\n ScannerInitOptions,\n ScanOptions,\n ScanResult,\n ScanSessionState,\n} from './types';\n\nfunction noop() {}\n\nexport class ScanService {\n private defaults: ScanOptions = {\n onStart: noop,\n onStop: noop,\n onScan: noop,\n onScanError: noop,\n onKeyProcess: noop,\n onKeyDetect: () => true,\n onPaste: noop,\n keyCodeMapper: (event: KeyboardEvent) => this.decodeKeyEvent(event),\n onScanButtonLongPress: noop,\n scanButtonKeyCode: undefined,\n scanButtonLongPressTimeMs: 500,\n timeBeforeScanTestMs: 100,\n avgTimeByCharMs: 30,\n minLength: 3,\n suffixKeyCodes: [9, 13],\n prefixKeyCodes: [],\n ignoreIfFocusOn: [],\n stopPropagation: false,\n preventDefault: false,\n captureEvents: false,\n reactToKeydown: true,\n reactToPaste: false,\n singleScanQuantity: 1,\n };\n\n private readonly domElement: HTMLElement | Document;\n private readonly options: ScanOptions;\n\n private sequenceState: ScanSessionState = {\n firstCharTime: 0,\n lastCharTime: 0,\n accumulatedString: '',\n testTimer: undefined,\n longPressTimer: undefined,\n longPressTimeStart: 0,\n longPressed: false,\n };\n\n constructor(\n options: Partial = { startImmediate: true },\n domElement: HTMLElement | Document = document\n ) {\n this.options = defu({}, options, this.defaults);\n this.domElement = domElement;\n\n (domElement as any).scannerDetectionData && this.stop();\n\n options.startImmediate && this.start();\n }\n\n public start() {\n if ((this.domElement as any).scannerDetectionData) return;\n\n // TODO: use .dataset instead or .setAttribute('scannerDetectionData', ...);\n (this.domElement as any).scannerDetectionData = {\n options: this.options,\n sessionState: this.sequenceState,\n reinitialize: this.reinitialize.bind(this),\n validateScanCode: this.validateScanCode.bind(this),\n };\n\n this.attachListeners();\n\n const startTime = new Date();\n this.options.onStart.call(this.domElement, startTime);\n this.dispatchEvent('scanner:start', startTime);\n\n consola.withTag('scan').info('🔎 STARTED listening for barcode scans...');\n }\n\n public stop() {\n const el = this.domElement as any;\n\n // detaching all used events\n if (el.scannerDetectionData.options.reactToPaste)\n this.domElement.removeEventListener(\n 'paste',\n this.handlePaste as (e: Event) => void\n );\n\n if (el.scannerDetectionData.options.scanButtonKeyCode)\n el.removeEventListener('keyup', this.handleKeyUp);\n\n el.removeEventListener('keydown', this.handleKeyDown);\n\n // clearing data off DomElement\n el.scannerDetectionData = undefined;\n\n const stopTime = new Date();\n this.options.onStop.call(this.domElement, stopTime);\n this.dispatchEvent('scanner:stop', stopTime);\n\n consola.withTag('scan').info('🛑 STOPPED listening for barcode scans');\n }\n\n // #region Static Utils\n\n /**\n * Indicates if the service is attached to the given DOM element.\n * @param domElement The DOM element to check\n * @returns TRUE if the service is attached to the given DOM element and FALSE otherwise\n */\n public static isAttachedTo(domElement: HTMLElement | Document): boolean {\n return !!(domElement as any).scannerDetectionData;\n }\n\n /**\n * Indicates if the service is currently in the middle of a scan sequence.\n * @param domElement The DOM element to check\n * @returns TRUE if the service is in a scan sequence and FALSE otherwise\n */\n public static isScanInProgressFor(\n domElement: HTMLElement | Document\n ): boolean {\n return (\n (domElement as any).scannerDetectionData.sessionState.firstCharTime > 0\n );\n }\n\n /**\n * Simulates a scan of the provided code.\n *\n * The scan code can be defined as\n * - a string - in this case no keyCode decoding is done and the code is merely validated\n * against constraints like minLength, etc.\n * - an array of keyCodes (e.g. `[70,71,80]`) - will produce `keydown` events with corresponding\n * `keyCode` properties. NOTE: these events will have empty `key` properties, so decoding may\n * yield different results than with native events.\n * - an array of objects (e.g. `[{keyCode: 70, key: \"F\", shiftKey: true}, {keyCode: 71, key: \"g\"}]`) -\n * this way almost any event can be simulated, but it's a lot of work to do.\n *\n * @param domElement The DOM element to simulate with\n * @param string|array stringOrArray\n * @return self\n */\n public static simulate(\n stringOrArray: string | any[],\n domElement: HTMLElement | Document = document\n ): void {\n const instance = (domElement as any).scannerDetectionData;\n instance.reinitialize();\n\n if (Array.isArray(stringOrArray)) {\n stringOrArray.forEach((key) => {\n let eventProps: Partial = {};\n if ((typeof key === 'object' || typeof key === 'function') && !!key) {\n eventProps = key;\n } else {\n // @ts-expect-error - the interface is readonly, our init object is not\n eventProps.keyCode = parseInt(key);\n }\n const event = new KeyboardEvent('keydown', eventProps);\n document.dispatchEvent(event);\n });\n } else {\n instance.validateScanCode(stringOrArray);\n }\n }\n\n // #endregion\n\n private attachListeners(): void {\n if (this.options.reactToPaste) {\n this.domElement.addEventListener(\n 'paste',\n (event) => this.handlePaste(event as ClipboardEvent),\n this.options.captureEvents\n );\n }\n\n const hasScanButtonKeyCode =\n typeof this.options.scanButtonKeyCode === 'number';\n if (hasScanButtonKeyCode) {\n this.domElement.addEventListener(\n 'keyup',\n (event) => this.handleKeyUp(event as KeyboardEvent),\n this.options.captureEvents\n );\n }\n\n if (this.options.reactToKeydown || hasScanButtonKeyCode) {\n this.domElement.addEventListener(\n 'keydown',\n (event) => this.handleKeyDown(event as KeyboardEvent),\n this.options.captureEvents\n );\n }\n }\n\n private handleKeyDown(event: KeyboardEvent): void {\n const keyCode = this.getNormalizedKeyNum(event);\n let scanFinished = false;\n let character: string | null = null;\n\n if (!this.options.onKeyDetect.call(this.domElement, keyCode, event)) return;\n\n if (this.isFocusOnIgnoredElement()) return;\n\n // If it's just the button of the scanner, ignore it and wait for the real input\n const { scanButtonKeyCode } = this.options;\n if (\n typeof scanButtonKeyCode === 'number' &&\n keyCode === scanButtonKeyCode\n ) {\n // If the button was first pressed, start a timeout for the callback, which gets interrupted if the scan button gets released\n if (!this.sequenceState.longPressed) {\n this.sequenceState.longPressTimer = window.setTimeout(\n () => this.options.onScanButtonLongPress.call(this.domElement),\n this.options.scanButtonLongPressTimeMs\n );\n this.sequenceState.longPressTimeStart = Date.now();\n this.sequenceState.longPressed = true;\n }\n\n return;\n }\n\n if (\n this.sequenceState.firstCharTime &&\n this.options.suffixKeyCodes.includes(keyCode)\n ) {\n // If it's not the first character and we encounter a terminating character, trigger scan process\n event.preventDefault();\n event.stopImmediatePropagation();\n scanFinished = true;\n } else if (\n // If it's the first character and we encountered one of the starting characters, don't process the scan\n this.sequenceState.firstCharTime &&\n this.options.prefixKeyCodes.includes(keyCode)\n ) {\n event.preventDefault();\n event.stopImmediatePropagation();\n scanFinished = false;\n } else {\n // Add the character to the scan string we're building\n character = this.options.keyCodeMapper.call(this.domElement, event);\n if (typeof character !== 'string') return;\n\n this.sequenceState.accumulatedString += character;\n\n this.options.preventDefault && event.preventDefault();\n this.options.stopPropagation && event.stopImmediatePropagation();\n\n scanFinished = false;\n }\n\n if (!this.sequenceState.firstCharTime) {\n // Start the timer when the first character is entered\n this.sequenceState.firstCharTime = Date.now();\n }\n\n this.sequenceState.lastCharTime = Date.now();\n\n if (this.sequenceState.testTimer) {\n clearTimeout(this.sequenceState.testTimer);\n }\n\n if (scanFinished) {\n this.validateScanCode(this.sequenceState.accumulatedString);\n this.sequenceState.testTimer = undefined;\n } else {\n this.sequenceState.testTimer = window.setTimeout(\n () => this.validateScanCode(this.sequenceState.accumulatedString),\n this.options.timeBeforeScanTestMs\n );\n }\n\n this.options.onKeyProcess.call(this.domElement, character as string, event);\n }\n\n private handleKeyUp(event: KeyboardEvent): void {\n if (this.isFocusOnIgnoredElement()) return;\n\n const keyCode = this.getNormalizedKeyNum(event);\n\n // If the hardware key is not being pressed anymore stop the timeout and reset\n if (keyCode === this.options.scanButtonKeyCode) {\n window.clearTimeout(this.sequenceState.longPressTimer);\n this.sequenceState.longPressTimeStart = 0;\n this.sequenceState.longPressed = false;\n }\n }\n\n private handlePaste(event: ClipboardEvent): void {\n const clipboardText = event.clipboardData?.getData('text');\n if (!clipboardText) return;\n\n if (this.isFocusOnIgnoredElement()) return;\n\n event.preventDefault();\n this.options.stopPropagation && event.stopImmediatePropagation();\n\n this.options.onPaste.call(this.domElement, clipboardText, event);\n\n this.sequenceState.firstCharTime = 0;\n this.sequenceState.lastCharTime = 0;\n\n this.validateScanCode(clipboardText);\n }\n\n /** Checks if the documents currently focused element is an ignored element */\n private isFocusOnIgnoredElement(): boolean {\n const ignoreSelectors = this.options.ignoreIfFocusOn;\n if (!ignoreSelectors) return false;\n\n if (Array.isArray(ignoreSelectors)) {\n for (const selector of ignoreSelectors) {\n if (document.activeElement?.matches(selector)) return true;\n }\n } else if (document.activeElement?.matches(ignoreSelectors)) {\n return true;\n }\n\n return false;\n }\n\n /** Validates the scan code and dispatches a successful or error scan event */\n private validateScanCode(scanCode: string): boolean {\n const { singleScanQuantity } = this.options;\n const { firstCharTime, lastCharTime } = this.sequenceState;\n\n const dispatchScanError = (message: string) => {\n const { avgTimeByCharMs, minLength } = this.options;\n const scanDuration = lastCharTime - firstCharTime;\n\n const error = new ScanError(message, {\n scanCode,\n scanDuration,\n avgTimeByCharMs,\n minLength,\n });\n\n this.options.onScanError.call(this.domElement, error);\n this.dispatchEvent('scan:error', error);\n };\n\n if (scanCode.length < this.options.minLength) {\n dispatchScanError(ScanErrorMessage.SequenceTooShort);\n this.reinitialize();\n return false;\n }\n\n if (\n lastCharTime - firstCharTime >\n scanCode.length * this.options.avgTimeByCharMs\n ) {\n dispatchScanError(ScanErrorMessage.NotEnteredInTime);\n this.reinitialize();\n return false;\n }\n\n this.options.onScan.call(this.domElement, scanCode, singleScanQuantity);\n this.dispatchEvent('scan', { scanCode, quantity: singleScanQuantity });\n\n this.reinitialize();\n return true;\n }\n\n /** Dispatches a custom event on the DOM element */\n private dispatchEvent(eventName: 'scan', result: ScanResult): void;\n private dispatchEvent(eventName: 'scan:error', error: ScanError): void;\n private dispatchEvent(eventName: 'scanner:start', time: Date): void;\n private dispatchEvent(eventName: 'scanner:stop', time: Date): void;\n private dispatchEvent(eventName: string, data: any = undefined): void {\n const event = new CustomEvent(eventName, { detail: data });\n this.domElement.dispatchEvent(event);\n }\n\n /** Resets the scan session state */\n private reinitialize(): void {\n this.sequenceState.firstCharTime = 0;\n this.sequenceState.lastCharTime = 0;\n this.sequenceState.accumulatedString = '';\n\n if (this.sequenceState.testTimer) {\n window.clearTimeout(this.sequenceState.testTimer);\n this.sequenceState.testTimer = undefined;\n }\n\n if (this.sequenceState.longPressTimer) {\n window.clearTimeout(this.sequenceState.longPressTimer);\n this.sequenceState.longPressTimer = undefined;\n }\n\n this.sequenceState.longPressTimeStart = 0;\n this.sequenceState.longPressed = false;\n }\n\n /** Gets the key code from an event */\n private getNormalizedKeyNum(event: KeyboardEvent): number {\n // const parsed = parseInt(event.code.replace(/\\D/g, ''), 10);\n // console.log('which', event.which);\n // console.log('keyCode', event.keyCode);\n // console.log('parsed', parsed);\n return event.which || event.keyCode;\n }\n\n /**\n * Decodes a keyboard event into a string representation of the key\n *\n * By default on the following key codes are taken into account\n * - 48-90 (0-9, A-Z)\n * - 96-105 (Numpad 0-9)\n * - 106-111 (Numpad operations: Multiply, Add, Subtract, Decimal, Divide)\n * - 186 (Semicolon)\n * - 189 (Minus), 189+Shift (Underscore)\n *\n * All other keys will yield empty strings!\n * The above key codes will be decoded using the KeyboardEvent.key property on modern\n * browsers. On older browsers the method will fall back to String.fromCharCode()\n * putting the result to upper/lower case depending on KeyboardEvent.shiftKey if it is set.\n *\n * @param The keyboard event to decode\n * @returns The decoded key string\n */\n private decodeKeyEvent(event: KeyboardEvent): string {\n // TODO: shouldn't we just use event.key instead?\n const code = this.getNormalizedKeyNum(event);\n\n const isAlphanumeric = code >= 48 && code <= 90;\n const isNumpadDigit = code >= 96 && code <= 105;\n const isNumpadOperator = code >= 106 && code <= 111;\n const isSpecialChar = [186, 189].includes(code);\n\n if (isAlphanumeric || isNumpadOperator || isSpecialChar) {\n if (event.key) return event.key;\n\n const decodedChar = event.shiftKey\n ? String.fromCharCode(code).toUpperCase()\n : String.fromCharCode(code).toLowerCase();\n\n return decodedChar;\n }\n\n // Convert numpad digits to string (subtract 96 to get the correct digit non-numpad key)\n if (isNumpadDigit) return `${0 + (code - 96)}`;\n\n // Unparsable key\n return '';\n }\n}\n","// Ignore scans when a form input is focused\nexport const IgnoredElementSelectors = [\n '[data-ignore-scans]',\n 'form:not(.allow-scans) input',\n 'form:not(.allow-scans) textarea',\n 'form:not(.allow-scans) select',\n 'form:not(.allow-scans) [contenteditable=\"true\"]',\n];\n","import { computed, inject, provide, ref } from '@nuxtjs/composition-api';\nimport { useWindowFocus } from '@vueuse/core';\nimport {\n ScanError,\n ScanErrorMessage,\n ScannerInitOptions,\n ScanService,\n} from '~/app/core/services/barcoding/scanning';\nimport { IgnoredElementSelectors } from '~/app/core/services/barcoding/scanning/ignored-elements';\nimport { sleep } from '~/app/utils/async';\n\nconst SCANNER_SYMBOL = Symbol('useScanner.scanner');\n\nexport type OnScanFunction = (data: string) => void;\nexport type OnScanErrorFunction = (error: ScanError) => void;\n\nconst isRunning = ref(false);\nconst onScanFns: OnScanFunction[] = [];\nconst onErrorFns: OnScanErrorFunction[] = [];\n\n// #region Simulation\nasync function simulate(...data: string[]) {\n for (let i = 0; i < data.length; i++) {\n console.log('Simulating sequence:', data[i]);\n ScanService.simulate(data[i]);\n if (i < data.length - 1) await sleep(500);\n }\n}\n\n// @ts-expect-error - Expose simulate to window for testing\nwindow.scanner = { simulate };\n// #endregion\n\nexport function useScanner(\n options: Partial = { startImmediate: true }\n) {\n function onScan(fn: OnScanFunction) {\n onScanFns.push(fn);\n\n // Unsubscribe\n return () => {\n onScanFns.splice(onScanFns.indexOf(fn), 1);\n };\n }\n\n function onError(fn: OnScanErrorFunction) {\n onErrorFns.push(fn);\n\n // Unsubscribe\n return () => {\n onErrorFns.splice(onErrorFns.indexOf(fn), 1);\n };\n }\n\n function createScanner() {\n return new ScanService({\n ...options,\n ignoreIfFocusOn: IgnoredElementSelectors,\n onStart: () => (isRunning.value = true),\n onStop: () => (isRunning.value = false),\n onScan: (data) => onScanFns.forEach((fn) => fn(data)),\n onScanError: (error) => {\n if (\n error instanceof ScanError &&\n error.message === ScanErrorMessage.SequenceTooShort\n ) {\n // Don't show an error for short sequences\n return;\n }\n\n // TODO: if we are encountering scan errors, show a small toast saying like \"Having trouble, click here?\"\n // This would launch a modal with a text input focused where the scanner would write directly too. The styled should change based on its focus\n // if focused: make it look like it is waiting scans i.e show green \"scanning\"\n // if not focused: make it look like a button that says \"start scanning\" so that when they \"click\" it its actually just focusing the input\n // Possible debounced input event on an input ignore by the scan service (i.e. in form)\n console.error(error.message, error);\n onErrorFns.forEach((fn) => fn(error));\n },\n });\n }\n\n const scanner = inject(SCANNER_SYMBOL, () => createScanner(), true);\n provide(SCANNER_SYMBOL, scanner);\n\n const focused = useWindowFocus();\n const isListening = computed(() => focused.value && isRunning.value);\n\n return { scanner, isListening, onScan, onError };\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component } from 'vue';\nimport {\n computed,\n defineComponent,\n nextTick,\n onMounted,\n onUnmounted,\n ref,\n useRouter,\n} from '@nuxtjs/composition-api';\nimport { Empty } from 'ant-design-vue';\nimport { tryOnScopeDispose } from '@vueuse/core';\nimport TheScanZone, { IconConfig, ZoneVariant } from './scan-zone.vue';\nimport CaseMatch, { MatchAction } from './scan-match.vue';\nimport ScanCounter from './scan-counter.vue';\nimport TransportModalProvider, {\n TransportType,\n TransportWorkflowBehaviors,\n} from './transport-modal-provider.vue';\nimport { useAPI } from '~/app/core/api';\nimport { TickTimer } from '~/app/utils/tick-timer';\nimport { CaseSummary } from '~/app/models';\nimport { useModule } from '~/app/core/module-system';\nimport { BarcodingModule } from '~mod:barcoding';\nimport { useScanner } from '~mod:barcoding/composables/use-scanner';\nimport { useTenantConfig } from '~/app/composables/use-tenant-config';\n\nenum ScanState {\n Idle,\n Gathering,\n Validating,\n Match,\n Error,\n}\n\nenum ScanMode {\n Single,\n Multiple,\n}\n\nconst GATHERING_WAIT_MS = 10000;\nconst UI_RESET_DELAY_MS = 3000;\n\nexport default defineComponent({\n name: 'BarcodeScannerToast',\n components: { CaseMatch, TheScanZone, ScanCounter, TransportModalProvider },\n setup() {\n const { features } = useTenantConfig();\n const { scansRequired } = features.barcoding.scanning;\n\n // #region Process State\n\n const mode = ref(\n scansRequired > 1 ? ScanMode.Multiple : ScanMode.Single\n );\n\n const state = ref(ScanState.Idle);\n const isIdle = computed(() => state.value === ScanState.Idle);\n const isGathering = computed(() => state.value === ScanState.Gathering);\n const isValidating = computed(() => state.value === ScanState.Validating);\n const isMatched = computed(() => state.value === ScanState.Match);\n const isError = computed(() => state.value === ScanState.Error);\n\n const showUI = computed(() => !isIdle.value);\n\n const zoneVariant = computed(() => {\n if (isGathering.value) return 'active';\n if (isValidating.value || (isMatched.value && matches.value.length))\n return 'success';\n if (isError.value || (isMatched.value && !matches.value.length))\n return 'error';\n return 'active';\n });\n\n const iconLeft = computed(() => {\n if (isError.value) return 'warning';\n if (isGathering.value) return undefined;\n if (isMatched.value && matches.value.length) return 'check-circle';\n if (isMatched.value && !matches.value.length) return 'x-circle';\n return { name: 'circle-notch', class: 'animate-spin' };\n });\n\n // #endregion\n\n // #region Error Handling\n\n const error = ref();\n let errorResetTimer: number | null = null;\n\n function raiseError(message: string) {\n state.value = ScanState.Error;\n error.value = message;\n errorResetTimer = window.setTimeout(() => reset(), UI_RESET_DELAY_MS);\n }\n\n function stopErrorResetTimer() {\n if (errorResetTimer === null) return;\n window.clearTimeout(errorResetTimer);\n errorResetTimer = null;\n }\n\n // #endregion\n\n // #region Scan gathering\n\n const scansCaptured = ref([]);\n\n const tickMeasureMs = 10; // The duration in ms to measure a timer \"tick\"\n const tickTimer = new TickTimer(GATHERING_WAIT_MS, tickMeasureMs);\n const gatheringPercentRemaining = ref(100);\n let gatheringCountdownTimer: number | null = null;\n\n function startGatheringCountdown(onTimeout?: () => void) {\n if (typeof gatheringCountdownTimer === 'number') {\n // Reset the countdown timer if it's already running\n window.clearInterval(gatheringCountdownTimer);\n }\n\n let tick = 0;\n gatheringPercentRemaining.value = 100;\n\n gatheringCountdownTimer = window.setInterval(() => {\n const remainingMs = tickTimer.getTimeRemaining(tick + 1, 'ms');\n if (remainingMs <= GATHERING_WAIT_MS) {\n const percent = (remainingMs / GATHERING_WAIT_MS) * 100;\n gatheringPercentRemaining.value = percent;\n }\n\n if (++tick * tickMeasureMs >= GATHERING_WAIT_MS) {\n gatheringPercentRemaining.value = 0;\n window.clearInterval(gatheringCountdownTimer!);\n gatheringCountdownTimer = null;\n onTimeout?.();\n }\n }, tickMeasureMs);\n }\n\n function stopGatheringCountdown() {\n if (typeof gatheringCountdownTimer === 'number')\n window.clearInterval(gatheringCountdownTimer);\n\n gatheringPercentRemaining.value = 100;\n gatheringCountdownTimer = null;\n }\n\n // #endregion\n\n // #region Matching\n\n const matches = ref([]);\n let matchResetTimer: number | null = null;\n\n function startMatchIdleTimer() {\n if (matchResetTimer) clearTimeout(matchResetTimer);\n matchResetTimer = window.setTimeout(() => reset(), UI_RESET_DELAY_MS);\n }\n\n function stopMatchIdleTimer() {\n if (!matchResetTimer) return;\n window.clearTimeout(matchResetTimer);\n matchResetTimer = null;\n }\n\n // #endregion\n\n // #region Scanner Behavior\n\n const { onScan } = useScanner();\n\n const api = useAPI();\n async function checkScan(data: string[]) {\n state.value = ScanState.Validating;\n\n if (mode.value === ScanMode.Multiple) {\n if (data.length < scansRequired) {\n raiseError('Insufficient scans collected. Please try again.');\n return [];\n }\n\n if (data.length > scansRequired) {\n // Truncate the scan values to the required amount\n data.splice(scansRequired);\n }\n }\n\n try {\n const matches = await api.cases.identification.matchFieldsAsync(data);\n state.value = ScanState.Match;\n return matches;\n } catch (error) {\n raiseError('An error occurred while validating the scan.');\n return [];\n }\n }\n\n function reset() {\n state.value = ScanState.Idle;\n matches.value = [];\n scansCaptured.value.splice(0, scansCaptured.value.length);\n stopMatchIdleTimer();\n stopErrorResetTimer();\n }\n\n const unsubscribe = onScan(async (data) => {\n if ([ScanState.Error, ScanState.Match].includes(state.value)) reset();\n\n scansCaptured.value.push(data);\n\n // Deferring the scan check until the required number of scans are collected\n if (\n mode.value === ScanMode.Multiple &&\n scansCaptured.value.length < scansRequired\n ) {\n // Create a timer to update to compute the remaining gathering time left\n startGatheringCountdown(() =>\n raiseError('Scan timeout reached. Please try again.')\n );\n state.value = ScanState.Gathering;\n return;\n }\n\n stopGatheringCountdown();\n\n const scanMatches = await checkScan(scansCaptured.value);\n if (scanMatches.length) {\n matches.value = scanMatches;\n\n await nextTick();\n setupIntersectionObserver();\n\n return;\n }\n\n // Reset UI after a delay\n startMatchIdleTimer();\n });\n\n tryOnScopeDispose(() => {\n unsubscribe();\n reset();\n });\n\n // #endregion\n\n // #region Carousel Navigation\n\n const activeItem = ref(1);\n\n function updateActiveItem(entries: IntersectionObserverEntry[]) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n const index = Number(entry.target.getAttribute('data-index'));\n if (!isNaN(index)) {\n activeItem.value = index + 1;\n }\n }\n });\n }\n\n const observerRef = ref(null);\n\n function setupIntersectionObserver() {\n observerRef.value = new IntersectionObserver(updateActiveItem, {\n root: document.querySelector('.carousel-container'),\n threshold: 0.5, // Consider an item \"active\" when it's 50% visible\n });\n\n const carouselItems = document.querySelectorAll('.carousel-item');\n carouselItems.forEach((item, index) => {\n item.setAttribute('data-index', index.toString());\n observerRef.value?.observe(item);\n });\n }\n\n function cleanupIntersectionObserver() {\n observerRef.value?.disconnect();\n }\n\n onMounted(() => setupIntersectionObserver());\n onUnmounted(() => cleanupIntersectionObserver());\n\n function scrollCarousel(direction: 'left' | 'right') {\n const container = document.querySelector('.carousel-container');\n if (container) {\n const scrollAmount = container.clientWidth;\n container.scrollBy({\n left: direction === 'left' ? -scrollAmount : scrollAmount,\n behavior: 'smooth',\n });\n }\n }\n\n // #endregion\n\n // #region Transport\n\n const transportProvider = ref<\n InstanceType\n >();\n\n const isTransportModalActive = computed(() => {\n if (!transportProvider.value) return false;\n\n const types = [\n TransportType.CheckIn,\n TransportType.CheckOut,\n TransportType.Transfer,\n ];\n\n return types.some(\n (type) => transportProvider.value!.workflows[type].active\n );\n });\n\n const router = useRouter();\n function goToCase(id: string) {\n router.push(`/case/${id}`);\n reset();\n }\n\n // Reset scanner and request a data refresh from any features that may be paired with this module\n const module = useModule(BarcodingModule);\n function resetAndRefresh() {\n reset();\n module.requestRefresh();\n }\n\n const transportBehaviors: TransportWorkflowBehaviors = {\n onComplete: resetAndRefresh,\n identityVerified: true,\n };\n\n async function transferCase(id: string) {\n await transportProvider.value?.startWorkflow(\n TransportType.Transfer,\n id,\n transportBehaviors\n );\n }\n\n async function checkInCase(id: string) {\n await transportProvider.value?.startWorkflow(\n TransportType.CheckIn,\n id,\n transportBehaviors\n );\n }\n\n async function checkOutCase(id: string) {\n await transportProvider.value?.startWorkflow(\n TransportType.CheckOut,\n id,\n transportBehaviors\n );\n }\n\n // #endregion\n\n const emptyImageComponent = (Empty as typeof Empty & {\n PRESENTED_IMAGE_SIMPLE: Component;\n }).PRESENTED_IMAGE_SIMPLE;\n\n return {\n // Process State\n isEnabled: features.barcoding.scanning.enabled,\n mode,\n showUI,\n isIdle,\n isGathering,\n isValidating,\n isMatched,\n isError,\n error,\n zoneVariant,\n iconLeft,\n // Scan gathering\n gatheringPercentRemaining,\n scansCaptured,\n scansRequired,\n // Carousel Navigation\n scrollCarousel,\n activeItem,\n // Matching\n reset,\n matches,\n startMatchIdleTimer,\n stopMatchIdleTimer,\n MatchAction,\n // Transport\n transportProvider,\n isTransportModalActive,\n goToCase,\n transferCase,\n checkInCase,\n checkOutCase,\n // Misc.\n emptyImageComponent,\n };\n },\n});\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-toast.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./scan-toast.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./scan-toast.vue?vue&type=template&id=3913ba98&scoped=true&\"\nimport script from \"./scan-toast.vue?vue&type=script&lang=ts&\"\nexport * from \"./scan-toast.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./scan-toast.vue?vue&type=style&index=0&id=3913ba98&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 \"3913ba98\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isEnabled)?_c('fragment',[(_vm.showUI)?_c('div',{staticClass:\"mask\",attrs:{\"role\":\"alert\",\"aria-live\":\"polite\"}},[_c('div',{class:['island', { inactive: _vm.isTransportModalActive }]},[_c('the-scan-zone',{staticClass:\"w-[400px]\",attrs:{\"variant\":_vm.zoneVariant,\"pulse\":_vm.isGathering,\"icon-left\":_vm.iconLeft},scopedSlots:_vm._u([{key:\"default\",fn:function(){return [(_vm.isError)?_c('span',{staticClass:\"whitespace-nowrap\"},[_vm._v(_vm._s(_vm.error))]):(_vm.isGathering)?_c('span',[_c('span',{staticClass:\"absolute left-6 top-[6px] flex translate-y-1/2 items-center\"},[_c('a-progress',{attrs:{\"type\":\"circle\",\"percent\":_vm.gatheringPercentRemaining,\"width\":25,\"show-info\":false,\"stroke-width\":10,\"stroke-color\":\"#6342ff\",\"trail-color\":\"#d8d0ff\"}})],1),_vm._v(\" \"),_c('span',[_vm._v(\"Scan detected...\")]),_vm._v(\" \"),_c('span',{staticClass:\"flex items-center gap-1 text-sm\"},[_vm._v(\"\\n Collecting additional scans\\n \"),_c('scan-counter',{attrs:{\"count\":_vm.scansRequired,\"complete\":_vm.scansCaptured.length}})],1)]):(_vm.isMatched && _vm.matches.length)?_c('span',{staticClass:\"flex items-baseline gap-2\"},[_vm._v(\"\\n Positive ID\\n \"),(_vm.matches.length > 1)?_c('span',{staticClass:\"rounded-full bg-success-200 px-3 py-1 text-sm\"},[_vm._v(\"\\n \"+_vm._s(_vm.matches.length)+\" matches found\\n \")]):_vm._e()]):(_vm.isMatched && !_vm.matches.length)?_c('span',[_vm._v(\"Negative ID\")]):_c('span',[_vm._v(\"Scan detected, please wait.\")])]},proxy:true}],null,false,3577444533)}),_vm._v(\" \"),_c('wb-transition-pop',{attrs:{\"appear\":\"\"}},[(_vm.isMatched)?_c('div',{staticClass:\"expander sm:w-[400px]\"},[(_vm.matches.length)?_c('div',{staticClass:\"card flex flex-col gap-4 rounded-lg\"},[_c('div',{staticClass:\"relative flex w-full flex-col\"},[(_vm.matches.length > 1)?_c('div',{staticClass:\"carousel-nav p-4 pb-0\"},[_c('button',{staticClass:\"carousel-nav-btn\",attrs:{\"aria-label\":\"Previous case\"},on:{\"click\":function($event){return _vm.scrollCarousel('left')}}},[_c('wb-icon',{attrs:{\"name\":\"caret-left\",\"type\":\"bold\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-col text-sm text-secondary\"},[_c('div',{staticClass:\"carousel-pager\"},_vm._l((_vm.matches.length),function(num){return _c('div',{key:num,staticClass:\"dot\",class:{ active: num === _vm.activeItem }})}),0)]),_vm._v(\" \"),_c('button',{staticClass:\"carousel-nav-btn\",attrs:{\"aria-label\":\"Next case\"},on:{\"click\":function($event){return _vm.scrollCarousel('right')}}},[_c('wb-icon',{attrs:{\"name\":\"caret-right\",\"type\":\"bold\"}})],1)]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"carousel-container\"},[_c('div',{staticClass:\"flex\"},_vm._l((_vm.matches),function(match){return _c('case-match',{key:match.id,staticClass:\"carousel-item flex-shrink-0 sm:w-[400px]\",attrs:{\"summary\":match},on:_vm._d({},[_vm.MatchAction.View,function($event){return _vm.goToCase(match.id)},_vm.MatchAction.Transfer,function($event){return _vm.transferCase(match.id)},_vm.MatchAction.CheckIn,function($event){return _vm.checkInCase(match.id)},_vm.MatchAction.CheckOut,function($event){return _vm.checkOutCase(match.id)}])})}),1)])]),_vm._v(\" \"),_c('div',{staticClass:\"p-4 pt-0\"},[_c('wb-button',{staticClass:\"w-full !p-2\",attrs:{\"variant-color\":\"neutral\"},on:{\"click\":function($event){return _vm.reset()}}},[_vm._v(\"\\n Close\\n \")])],1)]):_c('div',{staticClass:\"card flex w-full flex-col items-center rounded-lg p-4\"},[_c('a-empty',{attrs:{\"image\":_vm.emptyImageComponent,\"description\":false}}),_vm._v(\" \"),_c('span',{staticClass:\"-mt-4 font-medium text-danger-600\"},[_vm._v(\"\\n \"+_vm._s(_vm.$language.token('case', '{singular} not found.'))+\"\\n \")])],1)]):_vm._e()])],1)]):_vm._e(),_vm._v(\" \"),_c('transport-modal-provider',{ref:\"transportProvider\"})],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--3-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-support-button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--3-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./the-support-button.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./the-support-button.vue?vue&type=template&id=48496076&\"\nimport script from \"./the-support-button.vue?vue&type=script&lang=js&\"\nexport * from \"./the-support-button.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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"focus:outline-none relative flex items-center justify-center gap-2 rounded-md border bg-gray-50 px-3 py-2 text-sm font-medium text-comet-500 transition-colors duration-75 ease-linear hover:bg-gray-100 focus-visible:ring focus-visible:ring-black focus-visible:ring-opacity-75\",class:{\n 'border-brand-300 bg-brand-50 !text-brand-500': _vm.isOpen,\n },attrs:{\"type\":\"button\",\"aria-haspopup\":true,\"aria-expanded\":_vm.isOpen},on:{\"click\":function($event){_vm.isOpen ? _vm.hide() : _vm.show()}}},[_c('wb-icon',{attrs:{\"name\":\"headset\",\"type\":\"bold\"}}),_vm._v(\"\\n Get Support\\n \"),(_vm.unreadCount > 0)?_c('span',{staticClass:\"absolute right-2 top-1/2 flex h-[20px] min-w-[20px] -translate-y-1/2 items-center justify-center rounded-full bg-danger-200 px-1 text-xs text-danger-500\"},[_c('span',{staticClass:\"absolute inline-flex h-full w-full animate-ping-slow rounded-full bg-danger-100 opacity-75\"}),_vm._v(\" \"),_c('span',{staticClass:\"relative inline-flex h-full w-full items-center justify-center rounded-full\"},[_vm._v(\"\\n \"+_vm._s(_vm.unreadCount)+\"\\n \")])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./default.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./default.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// @ts-ignore\nimport enUSLocale from 'ant-design-vue/lib/locale-provider/en_US';\nimport {\n computed,\n defineComponent,\n ref,\n watch,\n useContext,\n useRoute,\n} from '@nuxtjs/composition-api';\nimport { useResizeObserver } from '@vueuse/core';\nimport { useModule } from '~/app/core/module-system';\nimport { ConsoleLogger } from '~/app/core/logging';\nimport { useServiceWorker } from '~/app/composables/use-service-worker';\nimport { useIntercom } from '~/app/composables/use-intercom';\nimport { useTenantConfig } from '~/app/composables/use-tenant-config';\nimport { LayoutModule } from '~mod:layout';\nimport TheAside from '~mod:layout/components/organisms/aside/the-aside.vue';\nimport TheAppUpdateAlert from '~/app/modules/layout/components/molecules/the-update-alert.vue';\nimport TheBreadCrumbs from '~/app/modules/layout/components/molecules/the-bread-crumbs.vue';\nimport TheBottomBar from '~mod:layout/components/organisms/the-bottom-bar.vue';\nimport TheWelcomeMenu from '~/app/modules/layout/components/organisms/the-welcome-menu.vue';\nimport TheBarcodeScanner from '~/app/modules/barcoding/components/organisms/scan-toast.vue';\nimport TheSupportButton from '~/app/modules/layout/components/organisms/the-support-button.vue';\nimport { useScanner } from '~/app/modules/barcoding/composables/use-scanner';\n\nexport default defineComponent({\n name: 'DefaultLayout',\n components: {\n TheAside,\n TheAppUpdateAlert,\n TheBarcodeScanner,\n TheBreadCrumbs,\n TheBottomBar,\n TheSupportButton,\n TheWelcomeMenu,\n },\n setup() {\n const { $auth, $config } = useContext();\n const version = `${$config.app.version} ${$config.app.buildNumber}`;\n\n const isAuthenticated = computed(() => $auth.isAuthenticated.value);\n\n const { needsRefresh } = useServiceWorker();\n const isUpdateAlertVisible = ref(needsRefresh.value);\n watch(needsRefresh, (refresh) => (isUpdateAlertVisible.value = refresh));\n\n const { showHeader, breadCrumbs } = useModule(LayoutModule);\n\n const isMenuCollapsed = ref(true);\n const toggleMenu = () => (isMenuCollapsed.value = !isMenuCollapsed.value);\n\n // collapse menu on navigation\n const route = useRoute();\n watch(\n () => route.value.path,\n () => {\n // reset header state on route change\n showHeader.value = true;\n // collapse menu on navigation\n if (isMenuCollapsed.value) return;\n isMenuCollapsed.value = true;\n }\n );\n\n // Compute aside width style variable based on its content\n const aside = ref();\n const asideWidth = ref(250);\n useResizeObserver(aside, ([{ target }]) => {\n asideWidth.value = target.clientWidth;\n });\n\n const { features } = useTenantConfig();\n const isBarcodingEnabled = features.barcoding.scanning.enabled;\n const { isListening: isScannerListening } = useScanner({\n startImmediate: isBarcodingEnabled,\n });\n\n const intercom = useIntercom();\n\n return {\n isAuthenticated,\n version,\n locale: enUSLocale,\n isUpdateAlertVisible,\n showHeader,\n isMenuCollapsed,\n toggleMenu,\n breadCrumbParts: breadCrumbs.parts,\n aside,\n asideWidth,\n isBarcodingEnabled,\n isScannerListening,\n intercom,\n };\n },\n errorCaptured: (err, vm, info) => {\n try {\n vm.$log.error(\n err,\n {\n componentName: vm.$options.name!,\n info,\n },\n { ui: true }\n );\n } finally {\n const hasConsoleLogger = vm.$log.getLogger(ConsoleLogger);\n !hasConsoleLogger && console.error(err);\n }\n\n return false;\n },\n});\n","import { render, staticRenderFns } from \"./default.vue?vue&type=template&id=3c3f4e08&scoped=true&\"\nimport script from \"./default.vue?vue&type=script&lang=ts&\"\nexport * from \"./default.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./default.vue?vue&type=style&index=0&id=3c3f4e08&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 \"3c3f4e08\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-config-provider',{attrs:{\"locale\":_vm.locale}},[_c('div',{staticClass:\"layout-container flex h-full\",style:((\"--aside-w: \" + _vm.asideWidth + \"px\"))},[_c('div',{ref:\"aside\",attrs:{\"id\":\"aside\"}},[_c('the-aside',{class:{ collapsed: _vm.isMenuCollapsed }}),_vm._v(\" \"),_c('div',{attrs:{\"id\":\"widget-stack\"}},[_c('wb-transition-roll-in-up-out-down',{attrs:{\"mode\":\"out-in\",\"appear\":\"\"}},[(_vm.isBarcodingEnabled && !_vm.isScannerListening)?_c('div',{attrs:{\"id\":\"scanner-status\"}},[_c('wb-alert',{staticClass:\"w-full\",attrs:{\"message\":\"Scanner Paused\",\"type\":\"warning\",\"icon\":\"barcode\",\"ping\":\"\"}})],1):_vm._e()]),_vm._v(\" \"),(_vm.intercom.enabled)?_c('the-support-button'):_vm._e(),_vm._v(\" \"),_c('div',{attrs:{\"id\":\"app-version\"}},[_vm._v(\"v\"+_vm._s(_vm.version))])],1)],1),_vm._v(\" \"),_c('a-layout',{attrs:{\"id\":\"main\"}},[(_vm.showHeader)?_c('header',{attrs:{\"id\":\"header\"}},[_c('div',{staticClass:\"w-full border-b border-comet-100 pb-2 text-center sm:hidden\",class:[_vm.$route.path === '/' ? 'inline' : 'hidden', 'sm:hidden']},[_c('wb-logo-text')],1),_vm._v(\" \"),_c('the-bread-crumbs',{class:[{ '!hidden': _vm.$route.path === '/' }, 'sm:!flex'],attrs:{\"id\":\"bread-crumbs\",\"path\":_vm.breadCrumbParts,\"current\":_vm.$route},on:{\"back\":function($event){return _vm.$router.back()}}}),_vm._v(\" \"),_c('div',{staticClass:\"flex-grow\"}),_vm._v(\" \"),(_vm.isAuthenticated)?_c('the-welcome-menu',{attrs:{\"id\":\"welcome-menu\"}}):_vm._e()],1):_vm._e(),_vm._v(\" \"),_c('a-layout-content',{attrs:{\"id\":\"main-content\"}},[_c('nuxt')],1),_vm._v(\" \"),_c('the-bottom-bar',{attrs:{\"id\":\"bottom-bar\"}})],1),_vm._v(\" \"),_c('the-app-update-alert',{attrs:{\"visible\":_vm.isUpdateAlertVisible},on:{\"update:visible\":function($event){_vm.isUpdateAlertVisible=$event}}}),_vm._v(\" \"),(_vm.isBarcodingEnabled)?_c('the-barcode-scanner'):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./empty.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./empty.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n// @ts-ignore\nimport enUSLocale from 'ant-design-vue/lib/locale-provider/en_US';\nimport {\n computed,\n defineComponent,\n ref,\n watch,\n useContext,\n} from '@nuxtjs/composition-api';\nimport { ConsoleLogger } from '~/app/core/logging';\nimport { useServiceWorker } from '~/app/composables/use-service-worker';\n\nexport default defineComponent({\n name: 'EmptyLayout',\n setup() {\n const { $auth, $config } = useContext();\n const version = `${$config.app.version} ${$config.app.buildNumber}`;\n\n const isAuthenticated = computed(() => $auth.isAuthenticated.value);\n\n const { needsRefresh } = useServiceWorker();\n const isUpdateAlertVisible = ref(needsRefresh.value);\n watch(needsRefresh, (refresh) => (isUpdateAlertVisible.value = refresh));\n\n const locale = enUSLocale;\n\n return {\n isAuthenticated,\n version,\n locale,\n isUpdateAlertVisible,\n };\n },\n errorCaptured: (err, vm, info) => {\n try {\n vm.$log.error(\n err,\n {\n componentName: vm.$options.name!,\n info,\n },\n { ui: true }\n );\n } finally {\n const hasConsoleLogger = vm.$log.getLogger(ConsoleLogger);\n !hasConsoleLogger && console.error(err);\n }\n\n return false;\n },\n});\n","import { render, staticRenderFns } from \"./empty.vue?vue&type=template&id=786991f0&\"\nimport script from \"./empty.vue?vue&type=script&lang=ts&\"\nexport * from \"./empty.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('nuxt')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./registration.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--13-0!../node_modules/ts-loader/index.js??ref--13-1!../node_modules/vue-loader/lib/index.js??vue-loader-options!../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./registration.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// @ts-ignore\nimport enUSLocale from 'ant-design-vue/lib/locale-provider/en_US';\nimport { defineComponent, ref, watch } from '@nuxtjs/composition-api';\nimport { ConsoleLogger } from '~/app/core/logging';\nimport { useServiceWorker } from '~/app/composables/use-service-worker';\nimport TheAppUpdateAlert from '~/app/modules/layout/components/molecules/the-update-alert.vue';\n\nexport default defineComponent({\n name: 'DefaultLayout',\n components: {\n TheAppUpdateAlert,\n },\n setup() {\n const { needsRefresh } = useServiceWorker();\n const isUpdateAlertVisible = ref(needsRefresh.value);\n watch(needsRefresh, (refresh) => (isUpdateAlertVisible.value = refresh));\n\n const locale = enUSLocale;\n\n return {\n locale,\n isUpdateAlertVisible,\n };\n },\n errorCaptured: (err, vm, info) => {\n try {\n vm.$log.error(\n err,\n {\n componentName: vm.$options.name!,\n info,\n },\n { ui: true }\n );\n } finally {\n const hasConsoleLogger = vm.$log.getLogger(ConsoleLogger);\n !hasConsoleLogger && console.error(err);\n }\n\n return false;\n },\n});\n","import { render, staticRenderFns } from \"./registration.vue?vue&type=template&id=caff29cc&scoped=true&\"\nimport script from \"./registration.vue?vue&type=script&lang=ts&\"\nexport * from \"./registration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./registration.vue?vue&type=style&index=0&id=caff29cc&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 \"caff29cc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-config-provider',{attrs:{\"locale\":_vm.locale}},[_c('div',{staticClass:\"layout-container flex h-full\"},[_c('a-layout',{attrs:{\"id\":\"main\"}},[_c('a-layout-header',{attrs:{\"id\":\"header\"}},[_c('div',{staticClass:\"m-auto flex items-center\"},[_c('img',{staticClass:\"h-[25px]\",attrs:{\"src\":require(\"assets/images/morgueboard-logo.svg\"),\"alt\":\"MorgueBoard Logo\"}}),_vm._v(\" \"),_c('span',{staticClass:\"ml-2 text-xl font-semibold text-primary\"},[_vm._v(\"MorgueBoard®\")])])]),_vm._v(\" \"),_c('a-layout-content',{attrs:{\"id\":\"main-content\"}},[_c('nuxt')],1)],1),_vm._v(\" \"),_c('the-app-update-alert',{attrs:{\"visible\":_vm.isUpdateAlertVisible},on:{\"update:visible\":function($event){_vm.isUpdateAlertVisible=$event}}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue'\nimport { decode, parsePath, withoutBase, withoutTrailingSlash, normalizeURL } from 'ufo'\n\nimport { getMatchedComponentsInstances, getChildrenComponentInstancesUsingFetch, promisify, globalHandleError, urlJoin, sanitizeComponent } from './utils'\nimport NuxtError from '../layouts/error.vue'\nimport NuxtLoading from './components/nuxt-loading.vue'\n\nimport '../assets/scss/tailwind/tailwind.scss'\n\nimport '../assets/less/antd-ui.less'\n\nimport '../assets/scss/main.scss'\n\nimport '../assets/scss/fonts.scss'\n\nimport '../assets/scss/antd-theme.scss'\n\nimport _6f6c098b from '../layouts/default.vue'\nimport _77430317 from '../layouts/empty.vue'\nimport _789a33af from '../layouts/registration.vue'\n\nconst layouts = { \"_default\": sanitizeComponent(_6f6c098b),\"_empty\": sanitizeComponent(_77430317),\"_registration\": sanitizeComponent(_789a33af) }\n\nexport default {\n render (h, props) {\n const loadingEl = h('NuxtLoading', { ref: 'loading' })\n\n const layoutEl = h(this.layout || 'nuxt')\n const templateEl = h('div', {\n domProps: {\n id: '__layout'\n },\n key: this.layoutName\n }, [layoutEl])\n\n const transitionEl = h('transition', {\n props: {\n name: 'layout',\n mode: 'out-in'\n },\n on: {\n beforeEnter (el) {\n // Ensure to trigger scroll event after calling scrollBehavior\n window.$nuxt.$nextTick(() => {\n window.$nuxt.$emit('triggerScroll')\n })\n }\n }\n }, [templateEl])\n\n return h('div', {\n domProps: {\n id: '__nuxt'\n }\n }, [\n loadingEl,\n\n transitionEl\n ])\n },\n\n data: () => ({\n isOnline: true,\n\n layout: null,\n layoutName: '',\n\n nbFetching: 0\n }),\n\n beforeCreate () {\n Vue.util.defineReactive(this, 'nuxt', this.$options.nuxt)\n },\n created () {\n // Add this.$nuxt in child instances\n this.$root.$options.$nuxt = this\n\n if (process.client) {\n // add to window so we can listen when ready\n window.$nuxt = this\n\n this.refreshOnlineStatus()\n // Setup the listeners\n window.addEventListener('online', this.refreshOnlineStatus)\n window.addEventListener('offline', this.refreshOnlineStatus)\n }\n // Add $nuxt.error()\n this.error = this.nuxt.error\n // Add $nuxt.context\n this.context = this.$options.context\n },\n\n async mounted () {\n this.$loading = this.$refs.loading\n },\n\n watch: {\n 'nuxt.err': 'errorChanged'\n },\n\n computed: {\n isOffline () {\n return !this.isOnline\n },\n\n isFetching () {\n return this.nbFetching > 0\n },\n\n isPreview () {\n return Boolean(this.$options.previewData)\n },\n },\n\n methods: {\n refreshOnlineStatus () {\n if (process.client) {\n if (typeof window.navigator.onLine === 'undefined') {\n // If the browser doesn't support connection status reports\n // assume that we are online because most apps' only react\n // when they now that the connection has been interrupted\n this.isOnline = true\n } else {\n this.isOnline = window.navigator.onLine\n }\n }\n },\n\n async refresh () {\n const pages = getMatchedComponentsInstances(this.$route)\n\n if (!pages.length) {\n return\n }\n this.$loading.start()\n\n const promises = pages.map((page) => {\n const p = []\n\n // Old fetch\n if (page.$options.fetch && page.$options.fetch.length) {\n p.push(promisify(page.$options.fetch, this.context))\n }\n if (page.$fetch) {\n p.push(page.$fetch())\n } else {\n // Get all component instance to call $fetch\n for (const component of getChildrenComponentInstancesUsingFetch(page.$vnode.componentInstance)) {\n p.push(component.$fetch())\n }\n }\n\n if (page.$options.asyncData) {\n p.push(\n promisify(page.$options.asyncData, this.context)\n .then((newData) => {\n for (const key in newData) {\n Vue.set(page.$data, key, newData[key])\n }\n })\n )\n }\n\n return Promise.all(p)\n })\n try {\n await Promise.all(promises)\n } catch (error) {\n this.$loading.fail(error)\n globalHandleError(error)\n this.error(error)\n }\n this.$loading.finish()\n },\n errorChanged () {\n if (this.nuxt.err) {\n if (this.$loading) {\n if (this.$loading.fail) {\n this.$loading.fail(this.nuxt.err)\n }\n if (this.$loading.finish) {\n this.$loading.finish()\n }\n }\n\n let errorLayout = (NuxtError.options || NuxtError).layout;\n\n if (typeof errorLayout === 'function') {\n errorLayout = errorLayout(this.context)\n }\n\n this.setLayout(errorLayout)\n }\n },\n\n setLayout (layout) {\n if (!layout || !layouts['_' + layout]) {\n layout = 'default'\n }\n this.layoutName = layout\n this.layout = layouts['_' + layout]\n return this.layout\n },\n loadLayout (layout) {\n if (!layout || !layouts['_' + layout]) {\n layout = 'default'\n }\n return Promise.resolve(layouts['_' + layout])\n },\n },\n\n components: {\n NuxtLoading\n }\n}\n","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\nconst VUEX_PROPERTIES = ['state', 'getters', 'actions', 'mutations']\n\nlet store = {};\n\n(function updateModules () {\n store = normalizeRoot(require('../store/index.ts'), 'store/index.ts')\n\n // If store is an exported method = classic mode (deprecated)\n\n // Enforce store modules\n store.modules = store.modules || {}\n\n resolveStoreModules(require('../store/tenant/index.ts'), 'tenant/index.ts')\n resolveStoreModules(require('../store/dictionaries/index.ts'), 'dictionaries/index.ts')\n resolveStoreModules(require('../store/access/index.ts'), 'access/index.ts')\n resolveStoreModules(require('../store/access/actions.ts'), 'access/actions.ts')\n resolveStoreModules(require('../store/access/mutations.ts'), 'access/mutations.ts')\n resolveStoreModules(require('../store/access/state.ts'), 'access/state.ts')\n resolveStoreModules(require('../store/dictionaries/actions.ts'), 'dictionaries/actions.ts')\n resolveStoreModules(require('../store/dictionaries/mutations.ts'), 'dictionaries/mutations.ts')\n resolveStoreModules(require('../store/dictionaries/state.ts'), 'dictionaries/state.ts')\n resolveStoreModules(require('../store/tenant/actions.ts'), 'tenant/actions.ts')\n resolveStoreModules(require('../store/tenant/mutations.ts'), 'tenant/mutations.ts')\n resolveStoreModules(require('../store/tenant/state.ts'), 'tenant/state.ts')\n\n // If the environment supports hot reloading...\n})()\n\n// createStore\nexport const createStore = store instanceof Function ? store : () => {\n return new Vuex.Store(Object.assign({\n strict: (process.env.NODE_ENV !== 'production')\n }, store))\n}\n\nfunction normalizeRoot (moduleData, filePath) {\n moduleData = moduleData.default || moduleData\n\n if (moduleData.commit) {\n throw new Error(`[nuxt] ${filePath} should export a method that returns a Vuex instance.`)\n }\n\n if (typeof moduleData !== 'function') {\n // Avoid TypeError: setting a property that has only a getter when overwriting top level keys\n moduleData = Object.assign({}, moduleData)\n }\n return normalizeModule(moduleData, filePath)\n}\n\nfunction normalizeModule (moduleData, filePath) {\n if (moduleData.state && typeof moduleData.state !== 'function') {\n console.warn(`'state' should be a method that returns an object in ${filePath}`)\n\n const state = Object.assign({}, moduleData.state)\n // Avoid TypeError: setting a property that has only a getter when overwriting top level keys\n moduleData = Object.assign({}, moduleData, { state: () => state })\n }\n return moduleData\n}\n\nfunction resolveStoreModules (moduleData, filename) {\n moduleData = moduleData.default || moduleData\n // Remove store src + extension (./foo/index.js -> foo/index)\n const namespace = filename.replace(/\\.(js|mjs|ts)$/, '')\n const namespaces = namespace.split('/')\n let moduleName = namespaces[namespaces.length - 1]\n const filePath = `store/${filename}`\n\n moduleData = moduleName === 'state'\n ? normalizeState(moduleData, filePath)\n : normalizeModule(moduleData, filePath)\n\n // If src is a known Vuex property\n if (VUEX_PROPERTIES.includes(moduleName)) {\n const property = moduleName\n const propertyStoreModule = getStoreModule(store, namespaces, { isProperty: true })\n\n // Replace state since it's a function\n mergeProperty(propertyStoreModule, moduleData, property)\n return\n }\n\n // If file is foo/index.js, it should be saved as foo\n const isIndexModule = (moduleName === 'index')\n if (isIndexModule) {\n namespaces.pop()\n moduleName = namespaces[namespaces.length - 1]\n }\n\n const storeModule = getStoreModule(store, namespaces)\n\n for (const property of VUEX_PROPERTIES) {\n mergeProperty(storeModule, moduleData[property], property)\n }\n\n if (moduleData.namespaced === false) {\n delete storeModule.namespaced\n }\n}\n\nfunction normalizeState (moduleData, filePath) {\n if (typeof moduleData !== 'function') {\n console.warn(`${filePath} should export a method that returns an object`)\n const state = Object.assign({}, moduleData)\n return () => state\n }\n return normalizeModule(moduleData, filePath)\n}\n\nfunction getStoreModule (storeModule, namespaces, { isProperty = false } = {}) {\n // If ./mutations.js\n if (!namespaces.length || (isProperty && namespaces.length === 1)) {\n return storeModule\n }\n\n const namespace = namespaces.shift()\n\n storeModule.modules[namespace] = storeModule.modules[namespace] || {}\n storeModule.modules[namespace].namespaced = true\n storeModule.modules[namespace].modules = storeModule.modules[namespace].modules || {}\n\n return getStoreModule(storeModule.modules[namespace], namespaces, { isProperty })\n}\n\nfunction mergeProperty (storeModule, moduleData, property) {\n if (!moduleData) {\n return\n }\n\n if (property === 'state') {\n storeModule.state = moduleData || storeModule.state\n } else {\n storeModule[property] = Object.assign({}, storeModule[property], moduleData)\n }\n}\n","import { globalPlugin } from '@nuxtjs/composition-api'\n\nexport default globalPlugin\n","// taken from bugsnag sources\nconst formatComponentName = (vm, includeFile) => {\n if (vm.$root === vm) { return '' }\n const options = typeof vm === 'function' && vm.cid != null\n ? vm.options\n : vm._isVue\n ? vm.$options || vm.constructor.options\n : vm || {}\n let name = options.name || options._componentTag\n const file = options.__file\n if (!name && file) {\n const match = file.match(/([^/\\\\]+)\\.vue$/)\n name = match && match[1]\n }\n\n return (\n (name ? ('<' + (classify(name)) + '>') : '') +\n (file && includeFile !== false ? (' at ' + file) : '')\n )\n}\n\nconst classify = str =>\n str.replace(/(?:^|[-_])(\\w)/g, c => c.toUpperCase()).replace(/[-_]/g, '')\n\nexport const setupVueErrorHandling = (vm, appInsights) => {\n const oldErrorHandler = vm.config.errorHandler\n\n vm.config.errorHandler = (err, vm, info) => {\n appInsights.trackException(\n {\n exception: err,\n properties: {\n errorInfo: info,\n component: vm ? formatComponentName(vm, true) : undefined,\n props: vm ? vm.$options.propsData : undefined\n }\n })\n appInsights.flush()\n if (typeof oldErrorHandler === 'function') {\n oldErrorHandler.call(vm, err, vm, info)\n }\n }\n}\n\nexport const setupPageTracking = (router, appInsights) => {\n router.beforeEach((route, from, next) => {\n appInsights.startTrackPage(route.name)\n next()\n })\n\n router.afterEach((route) => {\n appInsights.stopTrackPage(route.name)\n })\n}\n","import { ApplicationInsights } from '@microsoft/applicationinsights-web'\nimport { setupVueErrorHandling, setupPageTracking } from './appinsights-vue'\nimport Vue from 'vue'\n\nexport default function (ctx, inject) {\n const config = {\"instrumentationKey\":\"e1219e21-addd-4e84-98f3-e743add4b7fb\"}\n // runtimeConfig\n const runtimeConfig = ctx.$config && ctx.$config.appInsights || {}\n\n const appInsights = new ApplicationInsights({\n config: {...config, ...runtimeConfig}\n })\n\n inject('appInsights', appInsights)\n\n // Initialize appInsights\n\n // Initialize appInsights\n\n appInsights.loadAppInsights()\n setupVueErrorHandling(Vue, appInsights)\n\n setupPageTracking(ctx.app.router, appInsights)\n}\n","import defu from 'defu'\nimport destr from 'destr'\nimport KY from 'ky'\n\nclass HTTP {\n constructor(defaults, ky = KY) {\n this._defaults = {\n hooks: {},\n ...defaults\n }\n\n this._ky = ky\n }\n\n getBaseURL () {\n return this._defaults.prefixUrl\n }\n\n setBaseURL (baseURL) {\n this._defaults.prefixUrl = baseURL\n }\n\n setHeader(name, value) {\n if (!value) {\n delete this._defaults.headers[name];\n } else {\n this._defaults.headers[name] = value\n }\n }\n\n setToken(token, type) {\n const value = !token ? null : (type ? type + ' ' : '') + token\n this.setHeader('Authorization', value)\n }\n\n _hook(name, fn) {\n if (!this._defaults.hooks[name]) {\n this._defaults.hooks[name] = []\n }\n this._defaults.hooks[name].push(fn)\n }\n\n onRequest(fn) {\n this._hook('beforeRequest', fn)\n }\n\n onRetry(fn) {\n this._hook('beforeRetry', fn)\n }\n\n onResponse(fn) {\n this._hook('afterResponse', fn)\n }\n\n onError(fn) {\n this._hook('onError', fn)\n }\n\n create(options) {\n const { retry, timeout, prefixUrl, headers } = this._defaults\n\n return createHttpInstance(defu(options, { retry, timeout, prefixUrl, headers }))\n }\n}\n\nfor (let method of ['get', 'head', 'delete', 'post', 'put', 'patch']) {\n const hasBody = ['post', 'put', 'patch'].includes(method)\n\n HTTP.prototype[method] = async function (url, arg1, arg2) {\n let options\n\n if (!hasBody) {\n options = arg1\n } else {\n options = arg2 || {}\n if (arg1 !== undefined) {\n if (arg1.constructor === Object || Array.isArray(arg1)) {\n options.json = arg1\n } else {\n options.body = arg1\n }\n }\n }\n\n const _options = { ...this._defaults, ...options }\n\n if (/^https?/.test(url)) {\n delete _options.prefixUrl\n } else if (_options.prefixUrl && typeof url === 'string' && url.startsWith('/')) {\n // Prevents `ky` from throwing \"`input` must not begin with a slash when using `prefixUrl`\"\n url = url.substr(1)\n }\n\n try {\n const response = await this._ky[method](url, _options)\n return response\n } catch (error) {\n // Try to fill error with useful data\n if (error.response) {\n error.statusCode = error.response.status\n try {\n const text = await error.response.text()\n error.response.text = () => Promise.resolve(text)\n const json = destr(text)\n error.response.json = () => Promise.resolve(json)\n error.response.data = json\n } catch (_) { }\n }\n\n // Call onError hook\n if (_options.hooks.onError) {\n for (const fn of _options.hooks.onError) {\n const res = fn(error)\n if (res !== undefined) {\n return res\n }\n }\n }\n\n // Throw error\n throw error\n }\n }\n\n HTTP.prototype['$' + method] = function (url, arg1, arg2) {\n return this[method](url, arg1, arg2)\n .then(response => (response && response.text) ? response.text() : response)\n .then(body => destr(body))\n }\n}\n\nconst createHttpInstance = options => {\n // Create new HTTP instance\n const http = new HTTP(options)\n\n // Setup interceptors\n\n return http\n}\n\nexport default (ctx, inject) => {\n // runtimeConfig\n const runtimeConfig = ctx.$config && ctx.$config.http || {}\n\n // prefixUrl\n const prefixUrl = process.browser\n ? (runtimeConfig.browserBaseURL || 'https://prod.bff.morgueboard.services/')\n : (runtimeConfig.baseURL || process.env._HTTP_BASE_URL_ || 'https://prod.bff.morgueboard.services/')\n\n const headers = {}\n\n // Defaults\n const defaults = {\n retry: 0,\n timeout: process.server ? false : false,\n prefixUrl,\n headers\n }\n\n // Proxy SSR request headers headers\n if (process.server && ctx.req && ctx.req.headers) {\n const reqHeaders = { ...ctx.req.headers }\n for (let h of [\"accept\",\"host\",\"cf-ray\",\"cf-connecting-ip\",\"content-length\",\"content-md5\",\"content-type\"]) {\n delete reqHeaders[h]\n }\n defaults.headers = { ...reqHeaders, ...defaults.headers }\n }\n\n if (process.server) {\n // Don't accept brotli encoding because Node can't parse it\n defaults.headers['accept-encoding'] = 'gzip, deflate'\n }\n\n const http = createHttpInstance(defaults)\n\n // Inject http to the context as $http\n ctx.$http = http\n inject('http', http)\n}\n","export function mergeMeta (to, from) {\n if (typeof to === 'function') {\n // eslint-disable-next-line no-console\n console.warn('Cannot merge meta. Avoid using head as a function!')\n return\n }\n\n for (const key in from) {\n const value = from[key]\n if (Array.isArray(value)) {\n to[key] = to[key] || []\n for (const item of value) {\n // Avoid duplicates\n if (\n (item.hid && hasMeta(to[key], 'hid', item.hid)) ||\n (item.name && hasMeta(to[key], 'name', item.name))\n ) {\n continue\n }\n // Add meta\n to[key].push(item)\n }\n } else if (typeof value === 'object') {\n to[key] = to[key] || {}\n for (const attr in value) {\n to[key][attr] = value[attr]\n }\n } else if (to[key] === undefined) {\n to[key] = value\n }\n }\n}\n\nfunction hasMeta (arr, key, val) {\n return arr.find(obj => val ? obj[key] === val : obj[key])\n}\n","import { mergeMeta } from './meta.utils'\nimport meta from './meta.json'\n\nexport default function ({ app }) {\n mergeMeta(app.head, meta)\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport consola from 'consola';\n\nexport default defineNuxtPlugin(({ $config }) =>\n consola.info(\n `MorgueBoard® v${$config.app.version} ${$config.app.buildNumber}`\n )\n);\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { registerServiceWorker } from '~/app/composables/use-service-worker';\n\nexport default defineNuxtPlugin(async () => {\n await registerServiceWorker({\n onNeedsRefresh() {\n console.debug('There is an update for the PWA, please reload.');\n },\n });\n});\n","import { NuxtHTTPInstance } from '@nuxt/http';\n// eslint-disable-next-line import/named\nimport ky, { BeforeRequestHook, BeforeRetryHook, Options } from 'ky';\n\nexport interface IApiClientRequest {\n params?: { [key: string]: string };\n options?: Omit;\n}\n\nexport type HTTPError = ky.HTTPError;\n\ntype RequestMethod = Uppercase<\n keyof Pick<\n NuxtHTTPInstance,\n 'get' | 'post' | 'put' | 'patch' | 'head' | 'delete'\n >\n>;\n\nexport class ApiClient {\n constructor(private readonly client: NuxtHTTPInstance) {\n client.setHeader('Content-Type', 'application/json');\n }\n\n public async requestAsync(\n endpoint: string,\n request: { method: RequestMethod } & IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const method = request.method.toLowerCase() as Lowercase;\n const response = await this.client[method](url);\n return response;\n }\n\n public async getAsync(\n endpoint: string,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const data = await this.client.$get(url, request?.options);\n return data;\n }\n\n public async $getAsync(\n endpoint: string,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const response = await this.client.get(url, request?.options);\n return response;\n }\n\n public async deleteAsync(\n endpoint: string,\n body?: TBody,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const response = await this.client.delete(url, {\n ...(request?.options || {}),\n json: body,\n });\n\n const text = await response.text();\n return (text ? JSON.parse(text) : null) as TReturn;\n }\n\n public async postAsync(\n endpoint: string,\n body?: TBody,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n\n const data = await this.client.$post(\n url,\n this.serializeRequestBody(body),\n request?.options\n );\n return data;\n }\n\n public async $postAsync(\n endpoint: string,\n body?: any,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n\n const response = await this.client.post(\n url,\n this.serializeRequestBody(body),\n request?.options\n );\n\n return response;\n }\n\n public async putAsync(\n endpoint: string,\n body?: TBody,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const data = await this.client.$put(\n url,\n this.serializeRequestBody(body),\n request?.options\n );\n return data;\n }\n\n public async $putAsync(\n endpoint: string,\n body?: any,\n request?: IApiClientRequest\n ): Promise {\n const url = this.buildURLWithQueryParameters(endpoint, request?.params);\n const response = await this.client.put(\n url,\n this.serializeRequestBody(body),\n request?.options\n );\n return response;\n }\n\n public setHeaders(headers: {\n [key: string]: string | number | Date | Boolean;\n }) {\n Object.entries(headers).forEach(([name, value]) => {\n this.client.setHeader(\n name,\n [null, undefined].includes(value as any) ? false : value.toString()\n );\n });\n }\n\n public getHeaders() {\n return this.getDefaults().headers;\n }\n\n private getDefaults() {\n return (this.client as any)._defaults as {\n headers: Record;\n hooks: {\n beforeRequest?: BeforeRequestHook[];\n beforeRetry?: BeforeRetryHook[];\n };\n prefixUrl: string;\n retry: number;\n timeout: boolean;\n };\n }\n\n private serializeRequestBody(body: any) {\n if (typeof body === 'string') {\n return body;\n }\n\n if (body instanceof FormData) {\n return body;\n }\n\n if (typeof body === 'object') {\n return JSON.stringify(body);\n }\n\n return body?.toString();\n }\n\n private buildURLWithQueryParameters(\n endpoint: string,\n params?: { [key: string]: string }\n ): string {\n let url = this.trimURLBackSlashes(endpoint);\n\n const isNil = (value: any) => [undefined, null].includes(value);\n\n if (params) {\n url += '?';\n Object.entries(params).forEach(([key, value], index, arr) => {\n const isLastElement = index === arr.length - 1;\n\n if (isNil(value)) return;\n\n url += encodeURIComponent(key) + '=' + encodeURIComponent(value);\n !isLastElement && (url += '&');\n });\n }\n\n return url.replace(/&\\s*$/, '').trim(); // trim any trailing '&'\n }\n\n private trimURLBackSlashes(url: string) {\n return url.replace(/^\\/|\\/$/g, '').trim();\n }\n}\n\nexport type GetTokenFunc = () =>\n | string\n | undefined\n | Promise;\n\nexport function createApiClient(\n api: NuxtHTTPInstance,\n apiOptions?: {\n getToken?: GetTokenFunc;\n refreshOnUnauthorized?: boolean;\n }\n) {\n const appendAuthToken: BeforeRequestHook = async (request, _options) => {\n if (!apiOptions?.getToken) return request;\n\n const token = await Promise.resolve(apiOptions.getToken());\n\n if (token) request.headers.set('Authorization', `Bearer ${token}`);\n\n return request;\n };\n\n const tryRefreshToken: BeforeRetryHook = async (options) => {\n if (\n apiOptions?.getToken &&\n options.retryCount === 1 &&\n options.response.status === 401 &&\n apiOptions?.refreshOnUnauthorized\n ) {\n // Attempt to refresh auth token\n const token = await Promise.resolve(apiOptions.getToken());\n\n if (token)\n options.request.headers.set('Authorization', `Bearer ${token}`);\n }\n };\n\n if (apiOptions?.getToken) {\n api.onRequest(appendAuthToken);\n apiOptions?.refreshOnUnauthorized && api.onRetry(tryRefreshToken);\n }\n\n return new ApiClient(api);\n}\n","export enum AuthEvent {\n Login = 'mb.auth.login',\n Logout = 'mb.auth.logout',\n InvitationAccepted = 'mb.auth.invitationAccepted',\n TokenRefresh = 'mb.auth.tokenRefresh',\n FetchUser = 'mb.auth.fetchUser',\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { registerAPI } from '~/app/core/api';\nimport { createApiClient } from '~/app/core/api/client';\nimport { tenantDiscoveryApiFactory } from '~/app/core/api/factory';\n\nexport default defineNuxtPlugin(({ $http, $config }, inject) => {\n if (!$config.api.tenant.baseUrl)\n throw new Error('Nuxt config \"api.tenant.baseUrl\" does not exist.');\n\n if (!$config.api.tenant.headers?.functionKey?.name)\n throw new Error(\n 'Nuxt config \"api.tenant.headers.functionKey.name\" does not exist.'\n );\n\n if (!$config.api.tenant.headers?.functionKey?.value)\n throw new Error(\n 'Nuxt config \"api.tenant.headers.functionKey.value\" does not exist.'\n );\n\n const http = $http.create({ prefixUrl: $config.api.tenant.baseUrl });\n const client = createApiClient(http);\n client.setHeaders({\n 'Content-Type': 'application/json',\n 'x-app-client-version': $config.app.version,\n 'x-app-client-build': !$config.app.buildNumber,\n });\n\n const api = tenantDiscoveryApiFactory(client, $config);\n registerAPI(api, 'tenant');\n\n inject('tenantApi', api);\n});\n","import Vue from 'vue';\nimport { AuthEvent } from './events';\n\nexport class AuthEventBus {\n private readonly bus: Vue;\n\n constructor(emitter: Vue) {\n this.bus = emitter;\n }\n\n public on(event: AuthEvent, callback: Function) {\n this.bus.$on(event, callback);\n }\n\n public once(event: AuthEvent, callback: Function) {\n this.bus.$once(event, callback);\n }\n\n public off(event?: AuthEvent, callback?: Function) {\n this.bus.$off(event, callback);\n }\n}\n","export class AuthTaskQueueEntry {\n public readonly callback: (...args: any[]) => any;\n public readonly args: any[];\n\n constructor(callback: (...args: any[]) => any, ...args: any[]) {\n this.callback = callback;\n this.args = args;\n }\n}\n\nexport type AuthTaskQueueDeferralController = {\n processQueue: Function;\n dumpQueueEvents: Function;\n};\n\nexport class AuthTaskQueue {\n private events: AuthTaskQueueEntry[];\n private dispatchEvents?: Function;\n private deferralTask?: Promise;\n private isProcessing = false;\n private hasProcessed = false;\n private _priority = 3;\n\n constructor(events: AuthTaskQueueEntry[]) {\n this.events = events || [];\n }\n\n public get priority() {\n return this._priority;\n }\n\n public get isDeferred() {\n return !!this.deferralTask;\n }\n\n public get deferral() {\n return this.deferralTask;\n }\n\n public setPriority(priority: number) {\n this._priority = priority;\n }\n\n public process() {\n if (this.hasProcessed)\n throw new Error(\n 'The queue has already processed its events. This object can now be disposed.'\n );\n\n if (this.isProcessing)\n throw new Error('The queue is currently processing events.');\n\n const startProcessing = () => (this.isProcessing = true);\n const completeProcessing = () => {\n this.deferralTask = undefined;\n this.events = [];\n this.isProcessing = false;\n this.hasProcessed = true;\n };\n\n this.dispatchEvents = function () {\n startProcessing();\n\n this.events.forEach(function (this: any, { callback, args }) {\n try {\n callback(...args);\n } catch (error) {\n console.error(error);\n }\n });\n\n completeProcessing();\n };\n\n const dumpQueue = () => {\n this.events = [];\n this.isProcessing = false;\n this.hasProcessed = true;\n };\n\n if (this.deferralTask) {\n this.deferralTask\n .then(() => this.dispatchEvents?.()) // process queue\n .catch(() => dumpQueue()); // dump queue\n } else {\n this.dispatchEvents();\n }\n }\n\n public defer() {\n let _processQueue: Function | undefined;\n let _dumpQueueEvents: Function | undefined;\n\n this.deferralTask = new Promise((resolve, reject) => {\n _processQueue = resolve;\n _dumpQueueEvents = reject;\n });\n\n const controller: AuthTaskQueueDeferralController = {\n processQueue() {\n _processQueue?.();\n },\n dumpQueueEvents() {\n _dumpQueueEvents?.();\n },\n };\n\n return controller;\n }\n}\n","import Vue from 'vue';\nimport { computed, reactive } from '@vue/composition-api';\nimport createAuth0Client, {\n Auth0Client,\n User as Auth0User,\n} from '@auth0/auth0-spa-js';\nimport { AuthEvent, AuthEventBus } from './events';\nimport { AuthTaskQueue, AuthTaskQueueEntry } from './events/task-queue';\nimport {\n AuthProviderLoginMiddlewareFunction,\n AuthProviderMiddlewareFunction,\n IAuthProviderMiddleware,\n IAuthProviderOptions,\n ICreateAuthClientOptions,\n GetTokenOptions,\n GetUserOptions,\n AuthProviderMiddlewareContext,\n InvitationContext,\n} from './types/service';\n\nasync function createClientAsync(config: ICreateAuthClientOptions) {\n const client = await createAuth0Client({\n domain: config.domain,\n audience: config.audience,\n client_id: config.clientId,\n redirect_uri: config.redirectUrl,\n organization: config.organizationId,\n });\n\n return client;\n}\n\n/** Define a default action to perform after authentication */\nconst DEFAULT_REDIRECT_CALLBACK = (_appState?: any) =>\n // Remove redirect params from url to maintain a cleaner history\n window.history.replaceState({}, document.title, window.location.pathname);\n\nexport class AuthProvider {\n private readonly client: Auth0Client;\n private readonly options: IAuthProviderOptions;\n private readonly middleware: Required = {\n afterLogin: [],\n };\n\n private state = reactive<{ isAuthenticated: boolean; user?: Auth0User }>({\n isAuthenticated: false,\n user: undefined,\n });\n\n private readonly eventQueues: {\n [eventName in AuthEvent]?: AuthTaskQueue[];\n } = {};\n\n private readonly eventEmitter = new Vue();\n public readonly events = new AuthEventBus(this.eventEmitter);\n\n constructor(client: Auth0Client, options: IAuthProviderOptions) {\n if (!client) throw new Error('Auth0Client is required.');\n if (!options) throw new Error('AuthProvider options is required.');\n this.client = client;\n this.options = {\n ...options,\n redirectCallback: options.redirectCallback || DEFAULT_REDIRECT_CALLBACK,\n };\n\n // Add any pre-registered middleware.\n if (this.options.middleware) {\n const middlewares = Object.entries(this.options.middleware) as [\n keyof IAuthProviderMiddleware,\n Function[] | undefined\n ][];\n\n middlewares.forEach(([event, fnStack]) => {\n if (!fnStack?.length) return;\n (this.middleware[event] as unknown) = fnStack;\n });\n }\n }\n\n public get isAuthenticated() {\n return computed(() => this.state.isAuthenticated);\n }\n\n public get user() {\n return computed(() => this.state.user);\n }\n\n /**\n * Logs the user in creating a session on the Auth0 server.\n * @param state And optional state object to be persisted across session creation and passed to the redirect callback.\n */\n public async loginAsync(state?: TState) {\n try {\n await this.client.loginWithRedirect({\n redirect_uri: this.options.redirectUrl,\n appState: state,\n });\n this.state.isAuthenticated = true;\n } catch (error) {\n this.state.isAuthenticated = false;\n }\n }\n\n /**\n * Logs the user out of the application and removes their session from the Auth0 server.\n * @param options Logout options.\n */\n public logoutAsync(options?: { returnToUrl?: string }) {\n this.eventEmitter.$emit(AuthEvent.Logout, this.state.user);\n this.client.logout({\n returnTo: options?.returnToUrl || this.options.logoutUrl,\n });\n this.state.isAuthenticated = false;\n }\n\n /**\n * Core function which executes the authentication pipeline ensuring a managed authenticated session is created.\n */\n public async setupAuthAsync() {\n const {\n state: redirectState,\n error: redirectError,\n } = await this.tryHandleRedirectAsync();\n\n const error: string | undefined = redirectError?.message;\n\n const { isRedirect, error: loginError } = this.isLoginRedirect();\n\n if (redirectError || loginError) {\n return {\n redirectState: undefined,\n error: redirectError?.message || loginError,\n };\n }\n\n if (await this.tryHandleInvitationAsync()) {\n // never resolve, wait for login redirect\n return new Promise<{\n redirectState: TRedirectState;\n error: string | undefined;\n }>(() => ({ redirectState, error }));\n }\n\n // Indicates if the user is either returning from login or has an existing session that needs to be be reinitialized.\n const newSession = !this.state.isAuthenticated;\n const isPostLogin = isRedirect || newSession;\n\n // Set internal state from session.\n const { isAuthenticated } = await this.setAuthStateAsync();\n\n if (isPostLogin && isAuthenticated) {\n const dispatchLoginEvent = new AuthTaskQueueEntry(() =>\n this.eventEmitter.$emit(AuthEvent.Login, this.state.user, redirectState)\n );\n\n const loginTaskQueue = new AuthTaskQueue([dispatchLoginEvent]);\n this.addEventTaskQueue(AuthEvent.Login, loginTaskQueue);\n\n const middlewareContext: AuthProviderMiddlewareContext = {\n provider: this,\n events: loginTaskQueue,\n };\n\n for (const middleware of this.middleware.afterLogin) {\n await Promise.resolve(\n middleware(middlewareContext, this.state.user as Auth0User)\n );\n }\n\n this.processEventTaskQueue(AuthEvent.Login);\n }\n\n return { redirectState, error };\n }\n\n /**\n * Retrieves the current user from the Auth0 server.\n * @returns A promise that resolves to an Auth0 user object.\n */\n public async getUserAsync(options: GetUserOptions = { ignoreCache: false }) {\n try {\n if (options.ignoreCache) await this.getTokenAsync({ ignoreCache: true });\n\n const user = await this.client.getUser();\n this.state.user = user;\n\n this.eventEmitter.$emit(AuthEvent.FetchUser, user);\n\n return user;\n } catch (error) {\n this.state.user = undefined;\n throw error;\n }\n }\n\n public getUserClaim(name: string) {\n if (!this.state.user)\n throw new Error(\n 'A user does not exist. A login session must first be created.'\n );\n\n const namespace = this.options.claimsNamespace;\n const claim = namespace ? `${namespace}/${name}` : name;\n\n return this.state.user[claim];\n }\n\n /**\n * Retrieves an authentication token from the current session.\n * @param force Force retrieve token from server, ignoring local cache.\n * @returns A promise that resolves to a JWT token.\n */\n public async getTokenAsync(\n options: GetTokenOptions = { ignoreCache: false }\n ) {\n try {\n const token = await this.client.getTokenSilently({\n scope: this.options.scope,\n audience: this.options.audience,\n ignoreCache: options.ignoreCache,\n });\n\n this.eventEmitter.$emit(AuthEvent.TokenRefresh, token);\n\n return token;\n } catch (error) {\n console.error(error);\n return undefined;\n }\n }\n\n /* eslint-disable no-dupe-class-members */\n /**\n * Registers a function to be executed at a specified event. Returning a promise will block process execution until the promise is resolved.\n * @param name The name of the middleware event to add middleware to.\n * @param fn The middleware function to be executed.\n * @param index Optional, index within the middleware queue to insert the middleware at.\n */\n public addMiddleware(\n name: keyof Pick,\n fn: AuthProviderLoginMiddlewareFunction,\n index?: number\n ): void;\n\n public addMiddleware(\n name: keyof IAuthProviderMiddleware,\n fn: AuthProviderMiddlewareFunction,\n index?: number\n ) {\n if (!(name in this.middleware))\n throw new Error(`Middleware does not exist for \"${name}\".`);\n\n if (typeof index === 'number') {\n (this.middleware[name] as unknown[]).splice(index, 0, fn);\n } else {\n (this.middleware[name] as unknown[]).push(fn);\n }\n }\n /* eslint-enable no-dupe-class-members */\n\n /**\n * Remove a registered middleware function from the specified event.\n * @param name The name of the middleware event to remove middleware from.\n * @param fn The middleware function to be removed.\n */\n public removeMiddleware(name: keyof IAuthProviderMiddleware, fn: Function) {\n if (!(name in this.middleware))\n throw new Error(`Middleware does not exist for \"${name}\".`);\n\n const fnIndex = (this.middleware[name] as unknown[]).indexOf(fn);\n this.middleware[name]!.splice(fnIndex, 1);\n }\n\n private addEventTaskQueue(event: AuthEvent, queue: AuthTaskQueue) {\n if (!this.eventQueues[event]) this.eventQueues[event] = [queue];\n else this.eventQueues[event]!.push();\n }\n\n private processEventTaskQueue(event: AuthEvent) {\n const queues = this.eventQueues[event];\n\n if (!queues?.length)\n throw new Error(`AuthEventQueue for event \"${event}\" does not exist.`);\n\n // Retrieve highest priority queue\n const queue = queues.reduce((highest, current) => {\n if (current.priority > highest.priority) return current;\n return highest;\n }, queues[0]);\n\n queue.process();\n\n if (queue.isDeferred) {\n queue.deferral?.then(() => delete this.eventQueues[event]);\n return;\n }\n\n delete this.eventQueues[event];\n }\n\n /**\n * Attempts to process the redirect workflow while executing user callbacks and notifying event subscribers of relevant events that occur within.\n * @returns Redirect state object if determined a redirect occurred, otherwise undefined.\n */\n private async tryHandleRedirectAsync() {\n const { isRedirect } = this.isLoginRedirect();\n if (!isRedirect) return { state: undefined, error: undefined };\n\n try {\n const redirectResult = await this.client.handleRedirectCallback();\n const redirectState: TRedirectState | undefined = redirectResult.appState;\n\n if (this.isRedirectFromInvitation(redirectState)) {\n this.eventEmitter.$emit(AuthEvent.InvitationAccepted, redirectState);\n }\n\n if (this.options.redirectCallback) {\n await Promise.resolve(this.options.redirectCallback(redirectState));\n }\n\n return { state: redirectState, error: undefined };\n } catch (error) {\n return {\n state: undefined,\n error: error instanceof Error ? error : new Error(error as any),\n };\n }\n }\n\n /**\n * Attempts to process the invitation workflow, logging the user in if an invite is found.\n * @returns A flag indicating if an invitation was parsed from the URL.\n */\n private async tryHandleInvitationAsync() {\n const { isInvitation, ...inviteContext } = this.tryParseInvitation();\n\n if (isInvitation) {\n const ctx = inviteContext as InvitationContext;\n await this.client.loginWithRedirect({\n invitation: ctx.invitation,\n organization: ctx.organization,\n appState: ctx,\n });\n }\n\n return isInvitation;\n }\n\n private isLoginRedirect() {\n const url = new URL(window.location.href);\n const params = new URLSearchParams(url.search);\n\n const isRedirect = params.has('code') && params.has('state');\n\n let error: string | undefined;\n if (params.has('error')) {\n error = params.get('error') || 'Unexpected login error';\n params.has('error_description') &&\n (error += `: ${params.get('error_description')}`);\n }\n\n return { isRedirect, error };\n }\n\n private isRedirectFromInvitation(redirectState: any) {\n if (typeof redirectState !== 'object') return false;\n return 'invitation' in redirectState && 'organization' in redirectState;\n }\n\n private tryParseInvitation() {\n const url = new URL(window.location.href);\n const params = new URLSearchParams(url.search);\n const invitation = params.get('invitation');\n const organization = params.get('organization');\n const organizationName = params.get('organization_name');\n\n const isInvitation = !!invitation && !!organization;\n return { isInvitation, invitation, organization, organizationName };\n }\n\n private async setAuthStateAsync() {\n const isAuthenticated = await this.client.isAuthenticated();\n\n this.state.isAuthenticated = isAuthenticated;\n\n if (isAuthenticated) {\n !this.state.user && (await this.getUserAsync());\n }\n\n return this.state;\n }\n}\n\nlet _client: Auth0Client;\nlet _provider: AuthProvider;\n\nexport function useAuth(options: IAuthProviderOptions) {\n const client = () => _client;\n const provider = () => _provider;\n\n const createProviderAsync = async () => {\n _client = await createClientAsync(options);\n _provider = new AuthProvider(_client, options);\n return provider();\n };\n\n return {\n createProviderAsync,\n client,\n provider,\n };\n}\n","import { AuthPlugin } from '~/app/core/auth/nuxt/plugin';\nexport default AuthPlugin;\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { useAuth } from '../service';\nimport { IAuthProviderOptions } from '../types/service';\n\nexport const AuthPlugin = defineNuxtPlugin(async (context, inject) => {\n const { auth0 } = context.$config;\n if (!auth0.domain) throw new Error('Auth domain is required.');\n if (!auth0.clientId) throw new Error('Auth client id is required.');\n\n const tenant = await context.$tenantApi.discover.getForContextAsync();\n const organizationId = tenant?.organizationId;\n\n const options: IAuthProviderOptions = {\n domain: auth0.domain,\n clientId: auth0.clientId,\n redirectUrl: location.origin,\n logoutUrl: location.origin,\n audience: auth0.audience,\n claimsNamespace: auth0.claimsNamespace,\n scope: auth0.scope,\n organizationId,\n };\n\n const { createProviderAsync } = useAuth(options);\n const provider = await createProviderAsync();\n inject('auth', provider);\n});\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { registerAPI } from '~/app/core/api';\nimport { createApiClient } from '~/app/core/api/client';\nimport { primaryApiFactory } from '~/app/core/api/factory';\n\nexport default defineNuxtPlugin(({ $auth, $http, $config }, inject) => {\n if (!$config.api.primary.headers?.version?.name)\n throw new Error(\n 'Nuxt config \"api.primary.headers.version.name\" does not exist.'\n );\n\n if (!$config.api.primary.headers?.version?.value)\n throw new Error(\n 'Nuxt config \"api.primary.headers.version.value\" does not exist.'\n );\n\n const getToken = () => {\n if (!$auth.isAuthenticated.value) return Promise.resolve(undefined);\n return $auth.getTokenAsync();\n };\n\n const { version, buildNumber } = $config.app;\n const { headers } = $config.api.primary;\n const client = createApiClient($http, { getToken });\n client.setHeaders({\n [headers!.version!.name]: headers!.version!.value,\n 'Content-Type': 'application/json',\n 'x-app-client-version': version,\n 'x-app-client-build': !buildNumber,\n });\n\n const api = primaryApiFactory(client, $config);\n registerAPI(api);\n\n inject('api', api);\n});\n","import Vue from 'vue';\nimport { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { ConsoleLogger, LogProvider } from '~/app/core/logging';\n\nexport default defineNuxtPlugin(({ isDev }, inject) => {\n const provider = new LogProvider();\n\n isDev && provider.addLogger(new ConsoleLogger());\n\n Vue.prototype.$log = provider;\n inject('log', provider);\n});\n","import * as sentry from '@sentry/core';\nimport { ILogger, LoggerArg } from '../ILogger';\n\nexport class SentryLogger implements ILogger {\n constructor() {\n if (!sentry) throw new Error('Sentry instance is required.');\n }\n\n public log(message: string, data?: LoggerArg): void {\n sentry.captureMessage(message, {\n level: 'log',\n extra: data,\n });\n }\n\n public info(message: string, data?: LoggerArg): void {\n sentry.captureMessage(message, {\n level: 'info',\n extra: data,\n });\n }\n\n public warn(message: string, data?: LoggerArg): void {\n sentry.captureMessage(message, {\n level: 'warning',\n extra: data,\n });\n }\n\n public debug(message: string, data?: LoggerArg): void {\n sentry.captureMessage(message, {\n level: 'debug',\n extra: data,\n });\n }\n\n public error(message: string | Error, data?: LoggerArg): void {\n sentry.captureException(message, { extra: data });\n }\n\n public track(event: string, data?: LoggerArg): void {\n console.info('SentryLogger.track', event, data);\n }\n}\n","import Vue from 'vue';\nimport { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport consola from 'consola';\nimport {\n init as initSentry,\n browserTracingIntegration,\n replayIntegration,\n captureUserFeedback,\n forceLoad,\n onLoad,\n showReportDialog,\n} from '@sentry/vue';\nimport * as CoreSdk from '@sentry/core';\nimport type { Integration } from '@sentry/types';\nimport { SentryLogger } from '~/app/core/logging/sentry/logger';\nimport { IAccessState } from '~/store/access';\nimport { ITenantState } from '~/store/tenant';\n\nconst Sdk = {\n ...CoreSdk,\n ...{ captureUserFeedback, forceLoad, onLoad, showReportDialog },\n} as const;\n\nexport type SentrySdk = typeof Sdk;\n\ntype IntegrationKey = 'replay' | 'tracing';\n\nconst integrations: Record = {\n tracing: browserTracingIntegration(),\n replay: replayIntegration({\n maskAllText: true,\n blockAllMedia: true,\n }),\n};\n\nconst integrationMap = Object.entries(integrations) as Array<\n [IntegrationKey, Integration]\n>;\n\nexport default defineNuxtPlugin(({ $log, $config, store }, inject) => {\n const { sentry } = $config;\n\n const integrations = integrationMap\n .filter(([key, module]) => sentry.integrations?.[key].enabled && module)\n .map(([, integration]) => integration);\n\n for (const [key, module] of integrationMap) {\n if (sentry.integrations?.[key].enabled && module) {\n consola.info(`🛠️ Sentry \"${key}\" integration enabled`);\n }\n }\n\n initSentry({\n Vue,\n dsn: sentry.dsn,\n environment: sentry.environment ?? process.env.NODE_ENV,\n release: `v${$config.app.version} ${$config.app.buildNumber}`,\n attachStacktrace: true,\n integrations,\n beforeSend(event, _hint) {\n const { user } = store.state.access as IAccessState;\n if (user)\n event.user = {\n id: user.id,\n email: user.emailAddress,\n firstName: user.firstName,\n lastName: user.lastName,\n };\n\n const { tenant } = store.state.tenant as ITenantState;\n if (tenant)\n event.tags = {\n ...(event.tags || {}),\n tenantId: tenant.id,\n tenant: tenant.name,\n };\n\n if (sentry.reportDialog?.enabled && event.exception) {\n showReportDialog({ eventId: event.event_id as string });\n }\n\n return event;\n },\n ignoreErrors: [\n 'ResizeObserver loop completed with undelivered notifications.',\n 'Warning: the children of `Select` should be `Select.Option` or `Select.OptGroup`, instead of `VNodes`.',\n ],\n\n // #region Performance Monitoring\n tracesSampleRate: sentry.integrations?.tracing.sampleRate ?? 1.0, // Capture 100% of the transactions\n // Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled\n tracePropagationTargets: sentry.integrations?.tracing.propagationTargets,\n // #endregion\n\n // #region Session Replay\n replaysSessionSampleRate:\n // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.\n // prettier-ignore\n sentry.integrations?.replay.sampleRate ?? process.env.NODE_ENV === 'development' ? 1.0 : 0.1,\n // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.\n replaysOnErrorSampleRate: 1.0,\n // #endregion\n });\n\n $log.addLogger(new SentryLogger());\n\n inject('sentry', Sdk);\n});\n","import Intercom, {\n hide,\n onShow,\n onHide,\n onUnreadCountChange,\n shutdown,\n show,\n showSpace,\n // update,\n} from '@intercom/messenger-js-sdk';\nimport { computed, ref } from '@nuxtjs/composition-api';\nimport { Tenant, User } from '~/app/models';\n\nexport interface IntercomInit {\n readonly appId: string;\n}\n\nexport type IntercomSpace =\n | 'home'\n | 'messages'\n | 'help'\n | 'news'\n | 'ticket'\n | 'tasks'\n | 'new';\n\nexport class IntercomService {\n private readonly _appId: string;\n\n private _initialized = false;\n\n private readonly _isOpened = ref(false);\n\n private readonly _unreadCount = ref(0);\n\n public readonly isOpen = computed(() => this._isOpened.value);\n\n public readonly unreadCount = computed(() => this._unreadCount.value);\n\n constructor({ appId }: IntercomInit) {\n this._appId = appId;\n }\n\n public init(userHash: string, user: User, tenant: Tenant) {\n try {\n Intercom({\n app_id: this._appId,\n user_hash: userHash,\n user_id: user.id,\n name: user.displayName,\n email: user.emailAddress,\n company: { id: tenant.id, name: tenant.name },\n // created_at: // IMPORTANT: Replace \"user.createdAt\" with the variable you use to capture the user's sign-up date in a Unix timestamp (in seconds) e.g. 1704067200\n });\n\n this._initialized = true;\n\n onShow(() => (this._isOpened.value = true));\n onHide(() => (this._isOpened.value = false));\n onUnreadCountChange((count: number) => (this._unreadCount.value = count));\n } catch (error) {\n console.error('Intercom init error:', error);\n this._initialized = false;\n }\n }\n\n public show(space?: IntercomSpace) {\n if (!this._initialized) return;\n space ? showSpace(space) : show();\n }\n\n public hide() {\n if (!this._initialized) return;\n hide();\n }\n\n public shutdown() {\n if (!this._initialized) return;\n shutdown();\n }\n\n public setLauncher(selector: string | HTMLElement) {\n if (!this._initialized || !window.intercomSettings) return;\n\n const _selector = selector instanceof HTMLElement ? selector.id : selector;\n if (!_selector) throw new Error('Invalid Launcher Element selector');\n\n window.intercomSettings.hide_default_launcher = true;\n window.intercomSettings.custom_launcher_selector = _selector;\n }\n\n public onUnreadCountChange(callback: (unreadCount: number) => void) {\n onUnreadCountChange(callback);\n }\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport consola from 'consola';\nimport { RootState } from '~/store';\nimport {\n moduleName as TenantModule,\n Action as TenantAction,\n} from '~/store/tenant';\nimport {\n moduleName as AccessModule,\n Action as AccessAction,\n} from '~/store/access';\nimport { IntercomService } from '~/app/core/services/intercom';\nimport { AuthEvent } from '~/app/core/auth/events';\n\nexport default defineNuxtPlugin(\n ({ $api, $auth, $config, $log, store }, inject) => {\n if (!$config.intercom.enabled) return;\n\n const { appId } = $config.intercom;\n if (!appId) {\n $log.error(\n 'Intercom: Unable to initialize, appId was not found.',\n undefined,\n { ui: false }\n );\n return;\n }\n\n const service = new IntercomService({ appId });\n\n const tenantStore = store.state.tenant as RootState['tenant'];\n const accessStore = store.state.access as RootState['access'];\n\n const dependenciesLoaded = {\n [`${TenantModule}/${TenantAction.fetchTenant}`]: !!tenantStore.tenant,\n [`${AccessModule}/${AccessAction.fetchUser}`]: !!accessStore.user,\n };\n\n type DependencyType = keyof typeof dependenciesLoaded;\n\n const unsubscribeActions = store.subscribeAction({\n async after(action, { access: { user }, tenant: { tenant } }: RootState) {\n if (action.type in dependenciesLoaded) {\n dependenciesLoaded[action.type as DependencyType] = true;\n if (Object.values(dependenciesLoaded).some((v) => !v)) return;\n if (!tenant?.configuration.features.intercomEnabled) return;\n\n unsubscribeActions();\n consola.info('📡 Intercom integration enabled');\n\n const userHash = await $api.intercom.getUserIdAsync();\n if (!userHash) {\n $log.error(\n 'Intercom: Unable to initialize, failed to generate user hash.',\n undefined,\n { ui: false }\n );\n return;\n }\n\n service.init(userHash, user!, tenant!);\n consola.info('📡 Intercom integration initialized');\n }\n },\n });\n\n $auth.events.once(AuthEvent.Logout, () => service.shutdown());\n\n inject('intercom', service);\n }\n);\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { IApplicationInsights } from '@microsoft/applicationinsights-web';\nimport { AppInsightsLogger, LogProvider } from '~/app/core/logging';\n\nexport default defineNuxtPlugin(({ $appInsights, $log, isDev }) => {\n if (isDev) return;\n\n ($log as LogProvider).addLogger(\n new AppInsightsLogger($appInsights as IApplicationInsights)\n );\n});\n","import type { IdleTimerOptions } from './options';\n\ntype EventObject = typeof window | typeof document | HTMLElement;\n\nconst bulkAddEventListener = (\n object: EventObject,\n events: string[],\n callback: (event: Event) => void\n) => {\n events.forEach((event) => {\n object.addEventListener(event, callback);\n });\n};\n\nconst bulkRemoveEventListener = (\n object: EventObject,\n events: string[],\n callback: (event: Event) => void\n) => {\n events.forEach((event) => {\n object.removeEventListener(event, callback);\n });\n};\n\ntype BaseOptions = Omit<\n IdleTimerOptions,\n 'onIdle' | 'onTick' | 'onActivity' | 'onActive' | 'onHide' | 'onShow'\n>;\n\nconst DEFAULT_OPTIONS: IdleTimerOptions & Required = {\n idle: 60000,\n events: ['mousemove', 'scroll', 'keydown', 'mousedown', 'touchstart'],\n tickMeasure: 1000,\n onIdle: undefined,\n onTick: undefined,\n onActivity: undefined,\n onActive: undefined,\n onHide: undefined,\n onShow: undefined,\n keepTracking: true,\n startAtIdle: false,\n recurIdleCall: false,\n};\n\nexport class IdleTimer {\n private readonly settings: IdleTimerOptions & Required;\n private readonly idlenessEventsHandler: (event: Event) => void;\n private readonly visibilityEventsHandler: (event: Event) => void;\n private readonly visibilityEvents = [\n 'visibilitychange',\n 'webkitvisibilitychange',\n 'mozvisibilitychange',\n 'msvisibilitychange',\n ];\n\n private stopListener: (event: Event) => void;\n\n private clearTimeout: (() => void) | null = null;\n private isIdle: boolean = false;\n private isActiveWindow = true;\n\n constructor(options: IdleTimerOptions = {}) {\n this.settings = this.parseSettings(options);\n\n this.reset();\n\n this.stopListener = (_event: Event) => this.stop();\n\n this.idlenessEventsHandler = (_: Event) => {\n this.settings.onActivity?.();\n\n if (this.isIdle) {\n this.isIdle = false;\n this.settings.onActive?.();\n }\n\n this.resetTimeout();\n };\n this.visibilityEventsHandler = (_: Event) => {\n if (\n document.hidden ||\n (document as any).webkitHidden ||\n (document as any).mozHidden ||\n (document as any).msHidden\n ) {\n if (this.isActiveWindow) {\n this.isActiveWindow = false;\n this.settings.onHide?.();\n }\n } else if (!this.isActiveWindow) {\n this.isActiveWindow = true;\n this.settings.onShow?.();\n }\n };\n }\n\n /** Start idle tracking. */\n public start() {\n if (this.clearTimeout) {\n throw new Error('Timer is already running');\n }\n\n window.addEventListener('idle:stop', this.stopListener);\n this.startTimeout();\n\n bulkAddEventListener(\n window,\n this.settings.events || DEFAULT_OPTIONS.events,\n this.idlenessEventsHandler\n );\n\n if (this.settings.onShow || this.settings.onHide) {\n bulkAddEventListener(\n document,\n this.visibilityEvents,\n this.visibilityEventsHandler\n );\n }\n\n return this;\n }\n\n /** Stop idle tracking. */\n public stop() {\n if (!this.clearTimeout) {\n throw new Error('Timer is not running');\n }\n\n window.removeEventListener('idle:stop', this.stopListener);\n\n bulkRemoveEventListener(\n window,\n this.settings.events || DEFAULT_OPTIONS.events,\n this.idlenessEventsHandler\n );\n this.resetTimeout(false);\n\n if (this.settings.onShow || this.settings.onHide) {\n bulkRemoveEventListener(\n document,\n this.visibilityEvents,\n this.visibilityEventsHandler\n );\n }\n\n return this;\n }\n\n /** Reset the idle tracking state. */\n public reset({\n idle = this.settings.startAtIdle,\n visible = !this.settings.startAtIdle,\n } = {}) {\n this.isIdle = idle as boolean;\n this.isActiveWindow = visible;\n\n return this;\n }\n\n private resetTimeout(keepTracking = this.settings.keepTracking) {\n if (this.clearTimeout) {\n this.clearTimeout();\n this.clearTimeout = null;\n }\n\n if (keepTracking) {\n this.startTimeout();\n }\n }\n\n private startTimeout() {\n const onIdle = () => {\n this.isIdle = true;\n this.settings?.onIdle?.();\n };\n\n if (this.settings.onTick) {\n let tick = 0;\n const idleInterval = this.settings.idle;\n const measure = this.settings.tickMeasure;\n const id = window.setInterval(() => {\n this.settings.onTick?.(tick + 1, idleInterval, measure);\n\n if (++tick * measure >= idleInterval) {\n window.clearInterval(id); // stop the timeout\n onIdle();\n }\n }, measure);\n\n this.clearTimeout = () => window.clearInterval(id);\n return;\n }\n\n // TODO: Isn't this redundant if also using the keepTracking option?\n const timer = this.settings.recurIdleCall\n ? {\n set: window.setInterval.bind(window),\n clear: window.clearInterval.bind(window),\n }\n : {\n set: window.setTimeout.bind(window),\n clear: window.clearTimeout.bind(window),\n };\n\n const id = timer.set(onIdle, this.settings.idle);\n this.clearTimeout = () => timer.clear(id);\n }\n\n private parseSettings(options: IdleTimerOptions) {\n this.throwOnBadKey(Object.keys(options), Object.keys(DEFAULT_OPTIONS));\n return { ...DEFAULT_OPTIONS, ...options };\n }\n\n private throwOnBadKey(keys: string[], goodKeys: string[]) {\n keys.forEach(function (key) {\n if (!goodKeys.includes(key)) {\n throw new Error(`set: Unknown key ${key}`);\n }\n });\n }\n}\n","import { notification, Progress } from 'ant-design-vue';\nimport { TickTimer } from '~/app/utils/tick-timer';\n\nconst NOTIFICATION_KEY = 'inactivity-notification';\n\nexport function useInactivityCountdown() {\n const render = (tick: number, durationMs: number, tickMeasureMs: number) => {\n const tickTimer = new TickTimer(durationMs, tickMeasureMs);\n const remainingSeconds = tickTimer.getTimeRemaining(tick).toFixed(0);\n const percent = (tick / tickTimer.ticks) * 100;\n\n notification.warning({\n key: NOTIFICATION_KEY,\n message: 'It looks like you are away',\n description: `You will be logged out in ${remainingSeconds} seconds.`,\n duration: durationMs,\n icon: (\n \n ),\n });\n };\n\n const close = () => notification.close(NOTIFICATION_KEY);\n\n return { render, close };\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { IdleTimer } from '~/app/core/services/idle-timer';\nimport { RootState } from '~/store';\nimport { moduleName as TenantStoreName, Action } from '~/store/tenant';\nimport { TickTimer } from '~/app/utils/tick-timer';\nimport { useInactivityCountdown } from '~mod:shared/composables/use-inactivity-countdown';\n\n// Display UI notification when the idle timeout is within the following range from completion\nconst notificationDisplaySecondsRemaining = 60;\n\nexport default defineNuxtPlugin(({ $auth, store }) => {\n const {\n render: renderCountdown,\n close: closeCountdown,\n } = useInactivityCountdown();\n\n const unsubscribe = store.subscribeAction({\n after(action, { tenant: { tenant } }: RootState) {\n if (action.type !== `${TenantStoreName}/${Action.fetchTenant}` || !tenant)\n return;\n\n unsubscribe();\n\n const { inactivityTimeout } = tenant.configuration.sessions;\n if (!inactivityTimeout.enabled) return;\n\n const idleTimeoutMs = inactivityTimeout.durationInMinutes\n ? inactivityTimeout.durationInMinutes * 60 * 1000\n : 1000 * 60 * 5; /* default to 5 minutes */\n const tickMeasureMs = 100;\n const tickTimer = new TickTimer(idleTimeoutMs, tickMeasureMs);\n\n const timer = new IdleTimer({\n idle: idleTimeoutMs,\n tickMeasure: tickMeasureMs,\n onTick(tick) {\n const remainingSeconds = tickTimer.getTimeRemaining(tick);\n\n // Display the countdown notification when threshold is reached\n if (remainingSeconds <= notificationDisplaySecondsRemaining) {\n const secondsInMs = notificationDisplaySecondsRemaining * 1000;\n const countDownTickTimer = new TickTimer(\n secondsInMs,\n tickMeasureMs\n );\n const tickDiff = tickTimer.ticks - countDownTickTimer.ticks;\n const subTick = tick - tickDiff;\n renderCountdown(subTick, secondsInMs, tickMeasureMs);\n }\n },\n async onIdle() {\n closeCountdown();\n\n timer.stop();\n await $auth.logoutAsync();\n },\n onActivity() {\n closeCountdown();\n },\n });\n\n timer.start();\n },\n });\n});\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { AuthEvent } from '~/app/core/auth/events';\nimport { InvitationContext } from '~/app/core/auth/types/service';\nimport { useModule } from '~/app/core/module-system';\nimport { UserRegistrationModule } from '~/app/modules/registration';\nimport { RegistrationRoute } from '~mod:registration/routes';\n\nexport default defineNuxtPlugin(({ $auth, $log, route, redirect }) => {\n $auth.addMiddleware('afterLogin', ({ events }) => {\n const registrationRoute = `/${RegistrationRoute.root}`;\n const isUnregistered = !$auth.getUserClaim('user_registered');\n if (isUnregistered) {\n // set highest priority so that other login event queues will not overwrite this one\n events.setPriority(Number.MAX_SAFE_INTEGER);\n const deferralController = events.defer();\n\n const module = useModule(UserRegistrationModule);\n module.setLoginDeferralController(deferralController);\n\n if (route.path !== registrationRoute) return redirect(registrationRoute);\n } else if (route.path === registrationRoute) return redirect('/');\n });\n\n $auth.events.on(AuthEvent.InvitationAccepted, (ctx: InvitationContext) => {\n $log.track('InviteAccepted', ctx);\n });\n});\n","import { Ability, AbilityClass } from '@casl/ability';\nimport { Action } from './app-action';\nimport { Subject } from './app-subject';\n\nexport type AppAbilityInstance = Ability<[Action, Subject]>;\nexport const AppAbility = Ability as AbilityClass;\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { createAbilitiesPlugin } from '~/app/core/casl';\nimport { AppAbility } from '~/app/core/casl/types';\n\nexport default defineNuxtPlugin((context, inject) => {\n const ability = new AppAbility();\n const plugin = createAbilitiesPlugin(ability);\n return plugin(context, inject);\n});\n","import { AppModule } from '~/app/core/module-system/module';\n\nexport class ReservationsModule extends AppModule {\n public readonly name = ReservationsModule.name;\n\n public activate() {\n super.activate();\n // call activation steps here\n }\n}\n\nexport const ModuleName = ReservationsModule.name;\n","import {\n module as StoreModule,\n moduleName as StoreModuleName,\n Action,\n} from './store';\nimport { RootState } from '~/store';\nimport { AuthEvent } from '~/app/core/auth/events';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\nimport {\n moduleName as caseModuleName,\n Action as CaseAction,\n} from '~mod:case-details/store';\n\nexport class BodyboxModule extends AppModule {\n public readonly name = BodyboxModule.name;\n private unsubscribeStoreActions?: Function;\n\n public activate() {\n super.activate();\n\n const { $auth, $log, store } = this.context;\n\n $auth.events.once(AuthEvent.Login, async () => {\n try {\n await store?.dispatch(`${StoreModuleName}/${Action.fetchBodyboxes}`);\n } catch (error) {\n $log.error(error as Error, undefined, { ui: false });\n }\n });\n\n this.unsubscribeStoreActions = store?.subscribeAction({\n after: (action, _state: RootState) => {\n const caseCheckInAction = `${caseModuleName}/${CaseAction.checkIn}`;\n const caseCheckoutAction = `${caseModuleName}/${CaseAction.checkout}`;\n const caseDeleteAction = `${caseModuleName}/${CaseAction.delete}`;\n const refreshActions = [\n caseCheckInAction,\n caseCheckoutAction,\n caseDeleteAction,\n ];\n\n if (refreshActions.includes(action.type)) {\n // this.store?.dispatch(\n // `${StoreModuleName}/${Action.fetchCaseSummaries}`\n // );\n }\n },\n });\n }\n\n public deactivate() {\n super.deactivate();\n this.unsubscribeStoreActions?.();\n }\n}\n\nexport const ModuleName = BodyboxModule.name;\nexport { StoreModuleName };\n\nexport const registerBodyboxModule = () =>\n registerModule(BodyboxModule, {\n route: 'bodybox',\n store: {\n moduleName: StoreModuleName,\n module: StoreModule,\n },\n });\n","import { AppModule } from '~/app/core/module-system/module';\n\nexport class OutboxModule extends AppModule {\n public readonly name = OutboxModule.name;\n\n public activate() {\n super.activate();\n // call activation steps here\n }\n}\n\nexport const ModuleName = OutboxModule.name;\n","import { module as StoreModule, moduleName } from './store';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\n\nexport class SettingsModule extends AppModule {\n public readonly name = SettingsModule.name;\n\n public activate() {\n super.activate();\n // call activation steps here\n }\n}\n\nexport const ModuleName = SettingsModule.name;\nexport { moduleName as StoreModuleName };\n\nexport const registerSettingsModule = () =>\n registerModule(SettingsModule, {\n route: 'settings',\n store: {\n moduleName,\n module: StoreModule,\n },\n });\n","import { module as StoreModule, moduleName, Action } from './store';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\nimport { useSuccessMessage } from '~/app/components/ui/modal';\nimport { Case } from '~/app/models';\n\nexport class CaseDetailsModule extends AppModule {\n public readonly name = CaseDetailsModule.name;\n private unsubscribeStoreActions?: Function;\n\n public activate() {\n super.activate();\n\n this.unsubscribeStoreActions = this.context.store?.subscribeAction({\n after: (action, _state) => {\n const checkInAction = `${moduleName}/${Action.checkIn}`;\n const checkOutAction = `${moduleName}/${Action.checkout}`;\n\n let decedentName: string | undefined;\n if (action.payload instanceof Case) {\n decedentName = action.payload.decedent?.displayName;\n }\n\n const lang = this.context.$language;\n const messagePrefix = () =>\n lang.token(\n 'case',\n `The {singular} ${decedentName ? 'for ' + decedentName : ''}` as any\n );\n\n if (action.type === checkInAction) {\n const message = useSuccessMessage();\n message({\n duration: 5,\n content: `${messagePrefix()} was successfully checked in. It can now be viewed from the ${\n lang.get('bodybox').singular\n }.`,\n });\n }\n\n if (action.type === checkOutAction) {\n const message = useSuccessMessage();\n message({\n duration: 5,\n content: `${messagePrefix()} was successfully checked out. It can now be viewed from the ${\n lang.get('outbox').singular\n }.`,\n });\n }\n },\n });\n }\n\n public deactivate() {\n super.deactivate();\n this.unsubscribeStoreActions?.();\n }\n}\n\nexport const ModuleName = CaseDetailsModule.name;\nexport { moduleName as StoreModuleName };\n\nexport const registerCaseDetailsModule = () =>\n registerModule(CaseDetailsModule, {\n route: 'case',\n store: {\n moduleName,\n module: StoreModule,\n },\n });\n","import { Plugin } from '@nuxt/types';\nimport {\n registerModule,\n initModuleSystem,\n} from '~/app/core/module-system/use-module';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerBarcodingModule } from '~mod:barcoding';\nimport { registerLayoutModule } from '~mod:layout';\nimport { ReservationsModule } from '~mod:reservations';\nimport { registerBodyboxModule } from '~mod:bodybox';\nimport { OutboxModule } from '~mod:outbox';\nimport { registerSettingsModule } from '~mod:settings';\nimport { registerCaseDetailsModule } from '~mod:case-details';\nimport { registerUserRegistrationModule } from '~mod:registration';\n\nconst plugin: Plugin = (context) => {\n AppModule.enableDebugLogging = process.env.NODE_ENV === 'development';\n\n // Register *All* application modules below\n registerModule(ReservationsModule, { route: 'reservations' });\n registerModule(OutboxModule, { route: 'outbox' });\n registerBarcodingModule();\n registerBodyboxModule();\n registerCaseDetailsModule();\n registerLayoutModule();\n registerUserRegistrationModule();\n registerSettingsModule();\n\n // Create module instances\n initModuleSystem(context);\n};\n\nexport default plugin;\n","import { Language } from '~/app/models';\n\nexport const DEFAULT_LANGUAGE = Object.freeze({\n bodybox: {\n singular: 'Bodybox',\n plural: 'Bodyboxes',\n article: 'a',\n },\n reservation: {\n singular: 'Incoming Case',\n plural: 'Incoming Cases',\n article: 'an',\n },\n case: {\n singular: 'Case',\n plural: 'Cases',\n article: 'a',\n },\n outbox: {\n singular: 'Outbox',\n plural: 'Outboxes',\n article: 'an',\n },\n decedent: {\n singular: 'Decedent',\n plural: 'Decedents',\n article: 'the',\n },\n autopsy: {\n singular: 'Autopsy',\n plural: 'Autopsies',\n article: 'an',\n },\n tissue: {\n singular: 'Tissue',\n plural: 'Tissues',\n article: 'a',\n },\n funeralHome: {\n singular: 'Funeral Home',\n plural: 'Funeral Homes',\n article: 'a',\n },\n medicalExaminer: {\n singular: 'Medical Examiner',\n plural: 'Medical Examiners',\n article: 'the',\n },\n medicolegalInvestigation: {\n singular: 'Medicolegal Investigation',\n plural: 'Medicolegal Investigations',\n article: 'a',\n },\n nextOfKin: {\n singular: 'Next of Kin',\n plural: 'Next of Kin',\n article: 'a',\n },\n});\n","/* eslint-disable no-dupe-class-members */\nimport { DEFAULT_LANGUAGE } from './defaults';\nimport { GrammarRuleForm, Language } from '~/app/models';\n\ntype LanguageConceptResolver = (lang: Language) => GrammarRuleForm;\ntype LanguageGrammarRule = keyof GrammarRuleForm;\ntype LanguageToken<\n TGrammarRule extends LanguageGrammarRule\n> = `${string}{${TGrammarRule}}${string}`;\n\ntype LanguageScope = {\n token: (token: LanguageToken) => string;\n grammar: GrammarRuleForm;\n};\n\nexport class LanguageService {\n private language?: Readonly;\n private readonly throwIfNotSet: boolean;\n\n constructor(language?: Readonly, throwIfNotSet = false) {\n this.language = language;\n this.throwIfNotSet = throwIfNotSet;\n }\n\n public updateLanguage(language: Readonly) {\n if (!language) {\n throw new Error('language is required.');\n }\n\n this.language = language;\n }\n\n public get(resolver: keyof Language): GrammarRuleForm;\n public get(resolver: LanguageConceptResolver): GrammarRuleForm;\n public get(\n resolver: keyof Language | LanguageConceptResolver\n ): GrammarRuleForm {\n if (!this.language && this.throwIfNotSet) {\n throw new Error('language has not been set.');\n }\n\n const language = this.language || DEFAULT_LANGUAGE;\n\n if (typeof resolver === 'string') {\n return language[resolver as keyof Language];\n }\n\n return resolver(language);\n }\n\n public token(\n resolver: keyof Language,\n token: LanguageToken\n ): string;\n\n public token(\n resolver: LanguageConceptResolver,\n token: LanguageToken\n ): string;\n\n public token(\n resolver: keyof Language | LanguageConceptResolver,\n token: LanguageToken\n ) {\n if (!this.language && this.throwIfNotSet) {\n throw new Error('language has not been set.');\n }\n\n const language = this.language || DEFAULT_LANGUAGE;\n\n const grammarRule =\n typeof resolver === 'string'\n ? language[resolver as keyof Language]\n : resolver(language);\n\n return this.replaceGrammarRules(grammarRule, token);\n }\n\n public createScope(resolver: keyof Language): LanguageScope;\n public createScope(resolver: LanguageConceptResolver): LanguageScope;\n public createScope(resolver: keyof Language | LanguageConceptResolver) {\n if (!this.language && this.throwIfNotSet) {\n throw new Error('language has not been set.');\n }\n\n const language = this.language || DEFAULT_LANGUAGE;\n\n const grammarRule =\n typeof resolver === 'string'\n ? language[resolver as keyof Language]\n : resolver(language);\n\n return {\n token: (token: LanguageToken) => {\n return this.replaceGrammarRules(grammarRule, token);\n },\n grammar: grammarRule,\n };\n }\n\n private replaceGrammarRules(\n rule: GrammarRuleForm,\n token: LanguageToken\n ) {\n return token\n .replace('{singular}', rule.singular)\n .replace('{plural}', rule.plural)\n .replace('{article}', rule.article);\n }\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { LanguageService } from '~/app/core/services/language/language-service';\n\nexport default defineNuxtPlugin((_ctx, inject) => {\n inject('language', new LanguageService());\n});\n","import Vue from 'vue';\nimport {\n AutoComplete,\n Badge,\n Breadcrumb,\n Button,\n Calendar,\n Checkbox,\n Col,\n Collapse,\n ConfigProvider,\n DatePicker,\n Divider,\n Dropdown,\n Empty,\n Icon,\n Input,\n InputNumber,\n Form,\n FormModel,\n Layout,\n Menu,\n Modal,\n Popconfirm,\n Popover,\n Progress,\n Result,\n Radio,\n Row,\n Select,\n Spin,\n Statistic,\n Switch,\n Tabs,\n Timeline,\n Tooltip,\n Upload,\n} from 'ant-design-vue';\n\nVue.use(AutoComplete);\nVue.use(Badge);\nVue.use(Breadcrumb);\nVue.use(Button);\nVue.use(Calendar);\nVue.use(Checkbox);\nVue.use(Col);\nVue.use(Collapse);\nVue.use(ConfigProvider);\nVue.use(DatePicker);\nVue.use(Dropdown);\nVue.use(Divider);\nVue.use(Empty);\nVue.use(Icon);\nVue.use(Input);\nVue.use(InputNumber);\nVue.use(Form);\nVue.use(FormModel);\nVue.use(Layout);\nVue.use(Menu);\nVue.use(Modal);\nVue.use(Popconfirm);\nVue.use(Popover);\nVue.use(Progress);\nVue.use(Result);\nVue.use(Radio);\nVue.use(Row);\nVue.use(Select);\nVue.use(Spin);\nVue.use(Statistic);\nVue.use(Switch);\nVue.use(Tabs);\nVue.use(Timeline);\nVue.use(Tooltip);\nVue.use(Upload);\n","import Vue, { ComponentOptions, PluginObject, VNode } from 'vue';\nimport { PropType } from '@vue/composition-api';\nimport { Fragment } from 'vue-frag';\n\nVue.component('Fragment', Fragment as ComponentOptions);\n\n/** Automatically register all CureConnect UI kit components as globals. */\nconst globals = require.context('~/app/components/ui', true, /index\\.ts/);\n\nglobals.keys().forEach((fileName: string) => {\n const component = globals>(fileName);\n Vue.use(component.default || component);\n});\n\n/** Component to accept VNode's and renders HTML/Component counterparts */\nVue.component('VNodes', {\n functional: true,\n props: {\n nodes: {\n required: false,\n type: [Object, Array] as PropType,\n default: undefined,\n },\n },\n render: (h, ctx) => ctx.props.nodes ?? h(),\n});\n","export const BrowserPrintApiUrl = {\n Http: 'http://localhost:9100',\n Https: 'https://localhost:9101',\n} as const;\n","// See: https://gist.github.com/metafloor/773bc61480d1d05a976184d45099ef56\nexport const ZebraPrinterHostQuery = {\n CheckStatus: '~HQES',\n GetHardwareAddress: '~HQHA',\n GetPrintHeadSummary: '~HQJT',\n GetCurrentSettings: '~HQMA',\n GetSerialNumber: '~HQSN',\n GetProductIdAndVersion: '~HQUI',\n} as const;\n\nexport const ZebraPrinterLabelDefinition = {\n DefinitionStart: '^XA',\n DefinitionEnd: '^XZ',\n} as const;\n","import { CheckAvailablePrintersResponse } from './client-response';\nimport { BrowserPrintApiUrl } from './constants/api-url';\nimport {\n ZebraPrinterHostQuery,\n ZebraPrinterLabelDefinition,\n} from './constants/commands';\nimport { PrintError } from './errors';\nimport type { Device, PrintInit } from './types';\n\nexport class ZebraPrintService {\n private readonly apiUrl: string;\n\n /** The target printer to send commands to. */\n private device?: Device;\n\n /** Indicates if the connection is to BrowserPrint is served over HTTPS. */\n public readonly isSSLConnection: boolean;\n\n constructor(options: PrintInit = { https: true }) {\n this.isSSLConnection = options.https;\n this.apiUrl = options.https\n ? BrowserPrintApiUrl.Https\n : BrowserPrintApiUrl.Http;\n }\n\n /** Gets a list of available Zebra printers. */\n public async getAvailablePrintersAsync() {\n const endpoint = this.apiUrl + '/available';\n\n try {\n const res = await fetch(endpoint, {\n method: 'GET',\n headers: {\n 'Content-Type': 'text/plain;charset=UTF-8',\n },\n });\n\n const data: CheckAvailablePrintersResponse = await res.json();\n return data.printer || [];\n } catch (error) {\n if (error instanceof PrintError) throw error;\n throw new PrintError(error as any, this.device);\n }\n }\n\n /** Gets the default printer configured in the Zebra Browser Client app. */\n public async getDefaultPrinterAsync(): Promise {\n const endpoint = this.apiUrl + '/default';\n\n try {\n const res = await fetch(endpoint, {\n method: 'GET',\n headers: {\n 'Content-Type': 'text/plain;charset=UTF-8',\n },\n });\n\n const data = await res.text();\n\n if (data && typeof data !== 'object' && data.split('\\n\\t').length === 7) {\n const deviceRaw = data.split('\\n\\t');\n\n const name = this.cleanUpString(deviceRaw[1]);\n const deviceType = this.cleanUpString(deviceRaw[2]);\n const connection = this.cleanUpString(deviceRaw[3]);\n const uid = this.cleanUpString(deviceRaw[4]);\n const provider = this.cleanUpString(deviceRaw[5]);\n const manufacturer = this.cleanUpString(deviceRaw[6]);\n\n return {\n connection,\n deviceType,\n manufacturer,\n name,\n provider,\n uid,\n version: 0,\n };\n }\n\n return null;\n } catch (error) {\n if (error instanceof PrintError) throw error;\n throw new PrintError(error as any, this.device);\n }\n }\n\n /** Sets the target printer to send commands to. */\n public setTargetPrinter(device?: Device): void {\n this.device = device;\n }\n\n /** Gets the target printer the service is configured to send commands to. */\n public getTargetPrinter(): Device | null {\n return this.device || null;\n }\n\n /** Checks the status of the printer. */\n public async checkStatusAsync() {\n await this.writeAsync(ZebraPrinterHostQuery.CheckStatus);\n const result = await this.readAsync();\n\n const errors: string[] = [];\n let isReadyToPrint = false;\n\n const isError = result.charAt(70);\n const media = result.charAt(88);\n const head = result.charAt(87);\n const pause = result.charAt(84);\n\n isReadyToPrint = isError === '0';\n\n switch (media) {\n case '1':\n errors.push('Paper out');\n break;\n case '2':\n errors.push('Ribbon Out');\n break;\n case '4':\n errors.push('Media Door Open');\n break;\n case '8':\n errors.push('Cutter Fault');\n break;\n default:\n break;\n }\n\n switch (head) {\n case '1':\n errors.push('Printhead Overheating');\n break;\n case '2':\n errors.push('Motor Overheating');\n break;\n case '4':\n errors.push('Printhead Fault');\n break;\n case '8':\n errors.push('Incorrect Printhead');\n break;\n default:\n break;\n }\n\n if (pause === '1') errors.push('Printer Paused');\n\n if (!isReadyToPrint && errors.length === 0)\n errors.push('Error: Unknown Error');\n\n return {\n ready: isReadyToPrint,\n errors: errors.join(),\n };\n }\n\n /** Sends a ZPL command to the printer for label printing. **/\n public async printAsync(zpl: string): Promise {\n this.assertZplIsValidLabelDefinition(zpl);\n\n try {\n await this.writeAsync(zpl);\n } catch (error) {\n if (error instanceof PrintError) throw error;\n throw new PrintError(error as any, this.device);\n }\n }\n\n /**\n * Validates the SSL certificate of the BrowserPrint connection by opening a new tab to the endpoint.\n */\n public validateSslCertificate(): void {\n const endpoint = `${this.apiUrl}/ssl_support`;\n window.open(endpoint, '_blank');\n }\n\n /**\n * Validates the SSL certificate of the BrowserPrint connection.\n * @returns True if the SSL certificate is valid, false otherwise.\n */\n public async validateSslCertificateSilentlyAsync(): Promise {\n const endpoint = `${this.apiUrl}/ssl_support`;\n const successMessage = 'SSL Certificate Has been accepted. Retry connection.' as const;\n\n const res = await fetch(endpoint, {\n method: 'GET',\n headers: {\n 'Content-Type': 'text/plain;charset=UTF-8',\n },\n });\n\n if (!res.ok) return false;\n\n const data = await res.text();\n return data === successMessage;\n }\n\n /**\n * Reads the response from the printer.\n * @returns The response from the printer.\n */\n private async readAsync(): Promise {\n try {\n const endpoint = this.apiUrl + '/read';\n\n if (!this.device) throw new PrintError('Target printer is not set');\n\n // TODO: create a type for this\n const body = { device: this.device };\n\n const res = await fetch(endpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'text/plain;charset=UTF-8',\n },\n body: JSON.stringify(body),\n });\n const data = await res.text();\n return data;\n } catch (error) {\n if (error instanceof PrintError) throw error;\n throw new PrintError(error as any, this.device);\n }\n }\n\n /** Sends the ZPL command to the printer. */\n private async writeAsync(zpl: string): Promise {\n try {\n const endpoint = this.apiUrl + '/write';\n\n // this.assertZplIsValid(zpl);\n\n if (!this.device) throw new PrintError('Target printer is not set');\n\n // TODO: create a type for this\n const body = {\n device: this.device,\n data: zpl,\n };\n\n await fetch(endpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'text/plain;charset=UTF-8',\n },\n body: JSON.stringify(body),\n });\n } catch (error) {\n if (error instanceof PrintError) throw error;\n throw new PrintError(error as any, this.device);\n }\n }\n\n /** Asserts that the ZPL command is valid. */\n private assertZplIsValid(zpl: string) {\n const labelStart = '^';\n const commandStart = '~';\n if ([labelStart, commandStart].includes(zpl.trim().charAt(0))) return;\n\n throw new PrintError(\n `Invalid ZPL command. ZPL command must start with ^ or ~\n ${zpl}`,\n this.device\n );\n }\n\n /** Asserts that the ZPL label definition is valid. */\n private assertZplIsValidLabelDefinition(zpl: string): void {\n if (\n !zpl.trim().startsWith(ZebraPrinterLabelDefinition.DefinitionStart) ||\n !zpl.trim().endsWith(ZebraPrinterLabelDefinition.DefinitionEnd)\n )\n throw new PrintError('Invalid ZPL label definition', this.device);\n }\n\n private cleanUpString(str: string): string {\n const arr = str.split(':');\n const result = arr[1].trim();\n return result;\n }\n}\n","import { defineNuxtPlugin } from '@nuxtjs/composition-api';\nimport { ZebraPrintService } from '~/app/core/services/barcoding/printing';\n// import { ITenantState } from '~/store/tenant';\n\nexport default defineNuxtPlugin((_, inject) => {\n // const { tenant } = store.state.tenant as ITenantState;\n // if (!tenant!.configuration.features.barcoding.printing.enabled) return;\n\n const service = new ZebraPrintService({ https: false });\n // @ts-expect-error\n window.browserPrint = service;\n\n inject('browserPrint', service);\n});\n","import { setMetaPlugin } from '@nuxtjs/composition-api'\n\nexport default setMetaPlugin\n","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport Meta from 'vue-meta'\nimport ClientOnly from 'vue-client-only'\nimport NoSsr from 'vue-no-ssr'\nimport { createRouter } from './router.js'\nimport NuxtChild from './components/nuxt-child.js'\nimport NuxtError from '../layouts/error.vue'\nimport Nuxt from './components/nuxt.js'\nimport App from './App.js'\nimport { setContext, getLocation, getRouteData, normalizeError } from './utils'\nimport { createStore } from './store.js'\n\n/* Plugins */\n\nimport nuxt_plugin_plugin_5fb947ad from 'nuxt_plugin_plugin_5fb947ad' // Source: ./composition-api/plugin.mjs (mode: 'all')\nimport nuxt_plugin_appinsightsserver_64376c48 from 'nuxt_plugin_appinsightsserver_64376c48' // Source: ./appinsights.server.js (mode: 'server')\nimport nuxt_plugin_appinsightsclient_03040a80 from 'nuxt_plugin_appinsightsclient_03040a80' // Source: ./appinsights.client.js (mode: 'client')\nimport nuxt_plugin_httpserver_0f0d45c8 from 'nuxt_plugin_httpserver_0f0d45c8' // Source: ./http.server.js (mode: 'server')\nimport nuxt_plugin_http_37b971d5 from 'nuxt_plugin_http_37b971d5' // Source: ./http.js (mode: 'all')\nimport nuxt_plugin_workbox_bdbda912 from 'nuxt_plugin_workbox_bdbda912' // Source: ./workbox.js (mode: 'client')\nimport nuxt_plugin_metaplugin_1bef0b8a from 'nuxt_plugin_metaplugin_1bef0b8a' // Source: ./pwa/meta.plugin.js (mode: 'all')\nimport nuxt_plugin_browser_2063421c from 'nuxt_plugin_browser_2063421c' // Source: ../plugins/browser (mode: 'all')\nimport nuxt_plugin_version_08775ebc from 'nuxt_plugin_version_08775ebc' // Source: ../plugins/version (mode: 'all')\nimport nuxt_plugin_update_36e3f134 from 'nuxt_plugin_update_36e3f134' // Source: ../plugins/pwa/update (mode: 'client')\nimport nuxt_plugin_tenant_15755e35 from 'nuxt_plugin_tenant_15755e35' // Source: ../plugins/api/tenant (mode: 'all')\nimport nuxt_plugin_auth_6a7e4e1e from 'nuxt_plugin_auth_6a7e4e1e' // Source: ../plugins/auth (mode: 'client')\nimport nuxt_plugin_primary_48e96c52 from 'nuxt_plugin_primary_48e96c52' // Source: ../plugins/api/primary (mode: 'all')\nimport nuxt_plugin_logging_099401ae from 'nuxt_plugin_logging_099401ae' // Source: ../plugins/logging (mode: 'client')\nimport nuxt_plugin_sentry_5e328985 from 'nuxt_plugin_sentry_5e328985' // Source: ../plugins/logging/sentry (mode: 'client')\nimport nuxt_plugin_intercom_1516e49b from 'nuxt_plugin_intercom_1516e49b' // Source: ../plugins/intercom (mode: 'client')\nimport nuxt_plugin_appinsights_b74e19a6 from 'nuxt_plugin_appinsights_b74e19a6' // Source: ../plugins/logging/app-insights (mode: 'client')\nimport nuxt_plugin_idletimer_a72e27fc from 'nuxt_plugin_idletimer_a72e27fc' // Source: ../plugins/idle-timer (mode: 'client')\nimport nuxt_plugin_userregistration_59ab3a76 from 'nuxt_plugin_userregistration_59ab3a76' // Source: ../plugins/user-registration (mode: 'client')\nimport nuxt_plugin_abilities_5aab66dc from 'nuxt_plugin_abilities_5aab66dc' // Source: ../plugins/abilities (mode: 'client')\nimport nuxt_plugin_bootstrap_41833b99 from 'nuxt_plugin_bootstrap_41833b99' // Source: ../plugins/module-system/bootstrap (mode: 'all')\nimport nuxt_plugin_language_da2c4e64 from 'nuxt_plugin_language_da2c4e64' // Source: ../plugins/language (mode: 'all')\nimport nuxt_plugin_index_7b59f844 from 'nuxt_plugin_index_7b59f844' // Source: ../plugins/components/antd-ui/index (mode: 'all')\nimport nuxt_plugin_global_786b47f4 from 'nuxt_plugin_global_786b47f4' // Source: ../plugins/components/global (mode: 'all')\nimport nuxt_plugin_zebra_32b78d60 from 'nuxt_plugin_zebra_32b78d60' // Source: ../plugins/zebra (mode: 'client')\nimport nuxt_plugin_meta_968dac02 from 'nuxt_plugin_meta_968dac02' // Source: ./composition-api/meta.mjs (mode: 'all')\n\n// Component: \nVue.component(ClientOnly.name, ClientOnly)\n\n// TODO: Remove in Nuxt 3: \nVue.component(NoSsr.name, {\n ...NoSsr,\n render (h, ctx) {\n if (process.client && !NoSsr._warned) {\n NoSsr._warned = true\n\n console.warn(' has been deprecated and will be removed in Nuxt 3, please use instead')\n }\n return NoSsr.render(h, ctx)\n }\n})\n\n// Component: \nVue.component(NuxtChild.name, NuxtChild)\nVue.component('NChild', NuxtChild)\n\n// Component NuxtLink is imported in server.js or client.js\n\n// Component: \nVue.component(Nuxt.name, Nuxt)\n\nObject.defineProperty(Vue.prototype, '$nuxt', {\n get() {\n const globalNuxt = this.$root.$options.$nuxt\n if (process.client && !globalNuxt && typeof window !== 'undefined') {\n return window.$nuxt\n }\n return globalNuxt\n },\n configurable: true\n})\n\nVue.use(Meta, {\"keyName\":\"head\",\"attribute\":\"data-n-head\",\"ssrAttribute\":\"data-n-head-ssr\",\"tagIDKeyName\":\"hid\"})\n\nconst defaultTransition = {\"enterActiveClass\":\"transition ease-out duration-200 transform origin-left\",\"enterClass\":\"opacity-0 scale-95\",\"enterToClass\":\"opacity-100 scale-100\",\"leaveActiveClass\":\"transition ease-in duration-150 transform origin-left\",\"leaveClass\":\"opacity-100 scale-100\",\"leaveToClass\":\"opacity-0 scale-95\",\"name\":\"page\",\"mode\":\"out-in\",\"appear\":true,\"appearClass\":\"appear\",\"appearActiveClass\":\"appear-active\",\"appearToClass\":\"appear-to\"}\n\nconst originalRegisterModule = Vuex.Store.prototype.registerModule\n\nfunction registerModule (path, rawModule, options = {}) {\n const preserveState = process.client && (\n Array.isArray(path)\n ? !!path.reduce((namespacedState, path) => namespacedState && namespacedState[path], this.state)\n : path in this.state\n )\n return originalRegisterModule.call(this, path, rawModule, { preserveState, ...options })\n}\n\nasync function createApp(ssrContext, config = {}) {\n const router = await createRouter(ssrContext, config)\n\n const store = createStore(ssrContext)\n // Add this.$router into store actions/mutations\n store.$router = router\n\n // Create Root instance\n\n // here we inject the router and store to all child components,\n // making them available everywhere as `this.$router` and `this.$store`.\n const app = {\n head: {\"title\":\"MorgueBoard® | Decedent Tracking & Morgue Management\",\"htmlAttrs\":{\"lang\":\"en\"},\"meta\":[{\"charset\":\"utf-8\"},{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, viewport-fit=cover\"},{\"hid\":\"description\",\"name\":\"description\",\"content\":\"MorgueBoard® is a revolutionary and reliable solution for decedent tracking throughout all care-after-death and morgue procedures. HIPAA-compliant cloud application, offers a clear and up-to-date status and location of all deceased patients within any healthcare institution.\"},{\"name\":\"msapplication-TileColor\",\"content\":\"#212121\"},{\"name\":\"msapplication-TileImage\",\"content\":\"\\u002Fmstile-144x144.png\"},{\"name\":\"theme-color\",\"content\":\"#212121\"},{\"hid\":\"og:title\",\"property\":\"og:title\",\"content\":\"MorgueBoard® | Decedent Tracking & Morgue Management\"},{\"hid\":\"og:site_name\",\"property\":\"og:site_name\",\"content\":\"MorgueBoard® | Decedent Tracking & Morgue Management\"},{\"hid\":\"og:description\",\"property\":\"og:description\",\"content\":\"MorgueBoard® is a revolutionary and reliable solution for decedent tracking throughout all care-after-death and morgue procedures. HIPAA-compliant cloud application, offers a clear and up-to-date status and location of all deceased patients within any healthcare institution.\"},{\"hid\":\"og:type\",\"property\":\"og:type\",\"content\":\"website\"},{\"hid\":\"og:url\",\"property\":\"og:url\",\"content\":\"https:\\u002F\\u002Fmorgueboard.com\"},{\"hid\":\"og:image\",\"property\":\"og:image\",\"content\":\"https:\\u002F\\u002Fmorgueboard.app\\u002Fsocial-image.png\"},{\"hid\":\"og:image:secure_url\",\"property\":\"og:image:secure_url\",\"content\":\"https:\\u002F\\u002Fmorgueboard.app\\u002Fsocial-image.png\"},{\"hid\":\"og:image:width\",\"property\":\"og:image:width\",\"content\":\"1200\"},{\"hid\":\"og:image:height\",\"property\":\"og:image:height\",\"content\":\"630\"},{\"hid\":\"og:image:type\",\"property\":\"og:image:type\",\"content\":\"image\\u002Fpng\"},{\"hid\":\"og:image:alt\",\"property\":\"og:image:alt\",\"content\":\"MorgueBoard® application displayed on the screens of a desktop computer, a mobile phone, and a tablet.\"},{\"hid\":\"twitter:card\",\"name\":\"twitter:card\",\"content\":\"app\"},{\"hid\":\"twitter:site\",\"name\":\"twitter:site\",\"content\":\"@whytespace\"},{\"hid\":\"twitter:image:alt\",\"name\":\"twitter:image:alt\",\"content\":\"MorgueBoard® application displayed on the screens of a desktop computer, a mobile phone, and a tablet.\"}],\"link\":[{\"rel\":\"icon\",\"type\":\"image\\u002Fx-icon\",\"href\":\"\\u002Ffavicon.ico\"},{\"rel\":\"apple-touch-icon\",\"sizes\":\"180x180\",\"href\":\"\\u002Fapple-touch-icon.png\"},{\"rel\":\"icon\",\"type\":\"image\\u002Fpng\",\"sizes\":\"32x32\",\"href\":\"\\u002Ffavicon-32x32.png\"},{\"rel\":\"icon\",\"type\":\"image\\u002Fpng\",\"sizes\":\"16x16\",\"href\":\"\\u002Ffavicon-16x16.png\"},{\"rel\":\"mask-icon\",\"href\":\"\\u002Fsafari-pinned-tab.svg\",\"color\":\"#212121\"}],\"style\":[],\"script\":[]},\n\n store,\n router,\n nuxt: {\n defaultTransition,\n transitions: [defaultTransition],\n setTransitions (transitions) {\n if (!Array.isArray(transitions)) {\n transitions = [transitions]\n }\n transitions = transitions.map((transition) => {\n if (!transition) {\n transition = defaultTransition\n } else if (typeof transition === 'string') {\n transition = Object.assign({}, defaultTransition, { name: transition })\n } else {\n transition = Object.assign({}, defaultTransition, transition)\n }\n return transition\n })\n this.$options.nuxt.transitions = transitions\n return transitions\n },\n\n err: null,\n dateErr: null,\n error (err) {\n err = err || null\n app.context._errored = Boolean(err)\n err = err ? normalizeError(err) : null\n let nuxt = app.nuxt // to work with @vue/composition-api, see https://github.com/nuxt/nuxt.js/issues/6517#issuecomment-573280207\n if (this) {\n nuxt = this.nuxt || this.$options.nuxt\n }\n nuxt.dateErr = Date.now()\n nuxt.err = err\n // Used in src/server.js\n if (ssrContext) {\n ssrContext.nuxt.error = err\n }\n return err\n }\n },\n ...App\n }\n\n // Make app available into store via this.app\n store.app = app\n\n const next = ssrContext ? ssrContext.next : location => app.router.push(location)\n // Resolve route\n let route\n if (ssrContext) {\n route = router.resolve(ssrContext.url).route\n } else {\n const path = getLocation(router.options.base, router.options.mode)\n route = router.resolve(path).route\n }\n\n // Set context to app.context\n await setContext(app, {\n store,\n route,\n next,\n error: app.nuxt.error.bind(app),\n payload: ssrContext ? ssrContext.payload : undefined,\n req: ssrContext ? ssrContext.req : undefined,\n res: ssrContext ? ssrContext.res : undefined,\n beforeRenderFns: ssrContext ? ssrContext.beforeRenderFns : undefined,\n ssrContext\n })\n\n function inject(key, value) {\n if (!key) {\n throw new Error('inject(key, value) has no key provided')\n }\n if (value === undefined) {\n throw new Error(`inject('${key}', value) has no value provided`)\n }\n\n key = '$' + key\n // Add into app\n app[key] = value\n // Add into context\n if (!app.context[key]) {\n app.context[key] = value\n }\n\n // Add into store\n store[key] = app[key]\n\n // Check if plugin not already installed\n const installKey = '__nuxt_' + key + '_installed__'\n if (Vue[installKey]) {\n return\n }\n Vue[installKey] = true\n // Call Vue.use() to install the plugin into vm\n Vue.use(() => {\n if (!Object.prototype.hasOwnProperty.call(Vue.prototype, key)) {\n Object.defineProperty(Vue.prototype, key, {\n get () {\n return this.$root.$options[key]\n }\n })\n }\n })\n }\n\n // Inject runtime config as $config\n inject('config', config)\n\n if (process.client) {\n // Replace store state before plugins execution\n if (window.__NUXT__ && window.__NUXT__.state) {\n store.replaceState(window.__NUXT__.state)\n }\n }\n\n // Add enablePreview(previewData = {}) in context for plugins\n if (process.static && process.client) {\n app.context.enablePreview = function (previewData = {}) {\n app.previewData = Object.assign({}, previewData)\n inject('preview', previewData)\n }\n }\n // Plugin execution\n\n if (typeof nuxt_plugin_plugin_5fb947ad === 'function') {\n await nuxt_plugin_plugin_5fb947ad(app.context, inject)\n }\n\n if (process.server && typeof nuxt_plugin_appinsightsserver_64376c48 === 'function') {\n await nuxt_plugin_appinsightsserver_64376c48(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_appinsightsclient_03040a80 === 'function') {\n await nuxt_plugin_appinsightsclient_03040a80(app.context, inject)\n }\n\n if (process.server && typeof nuxt_plugin_httpserver_0f0d45c8 === 'function') {\n await nuxt_plugin_httpserver_0f0d45c8(app.context, inject)\n }\n\n if (typeof nuxt_plugin_http_37b971d5 === 'function') {\n await nuxt_plugin_http_37b971d5(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_workbox_bdbda912 === 'function') {\n await nuxt_plugin_workbox_bdbda912(app.context, inject)\n }\n\n if (typeof nuxt_plugin_metaplugin_1bef0b8a === 'function') {\n await nuxt_plugin_metaplugin_1bef0b8a(app.context, inject)\n }\n\n if (typeof nuxt_plugin_browser_2063421c === 'function') {\n await nuxt_plugin_browser_2063421c(app.context, inject)\n }\n\n if (typeof nuxt_plugin_version_08775ebc === 'function') {\n await nuxt_plugin_version_08775ebc(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_update_36e3f134 === 'function') {\n await nuxt_plugin_update_36e3f134(app.context, inject)\n }\n\n if (typeof nuxt_plugin_tenant_15755e35 === 'function') {\n await nuxt_plugin_tenant_15755e35(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_auth_6a7e4e1e === 'function') {\n await nuxt_plugin_auth_6a7e4e1e(app.context, inject)\n }\n\n if (typeof nuxt_plugin_primary_48e96c52 === 'function') {\n await nuxt_plugin_primary_48e96c52(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_logging_099401ae === 'function') {\n await nuxt_plugin_logging_099401ae(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_sentry_5e328985 === 'function') {\n await nuxt_plugin_sentry_5e328985(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_intercom_1516e49b === 'function') {\n await nuxt_plugin_intercom_1516e49b(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_appinsights_b74e19a6 === 'function') {\n await nuxt_plugin_appinsights_b74e19a6(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_idletimer_a72e27fc === 'function') {\n await nuxt_plugin_idletimer_a72e27fc(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_userregistration_59ab3a76 === 'function') {\n await nuxt_plugin_userregistration_59ab3a76(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_abilities_5aab66dc === 'function') {\n await nuxt_plugin_abilities_5aab66dc(app.context, inject)\n }\n\n if (typeof nuxt_plugin_bootstrap_41833b99 === 'function') {\n await nuxt_plugin_bootstrap_41833b99(app.context, inject)\n }\n\n if (typeof nuxt_plugin_language_da2c4e64 === 'function') {\n await nuxt_plugin_language_da2c4e64(app.context, inject)\n }\n\n if (typeof nuxt_plugin_index_7b59f844 === 'function') {\n await nuxt_plugin_index_7b59f844(app.context, inject)\n }\n\n if (typeof nuxt_plugin_global_786b47f4 === 'function') {\n await nuxt_plugin_global_786b47f4(app.context, inject)\n }\n\n if (process.client && typeof nuxt_plugin_zebra_32b78d60 === 'function') {\n await nuxt_plugin_zebra_32b78d60(app.context, inject)\n }\n\n if (typeof nuxt_plugin_meta_968dac02 === 'function') {\n await nuxt_plugin_meta_968dac02(app.context, inject)\n }\n\n // Lock enablePreview in context\n if (process.static && process.client) {\n app.context.enablePreview = function () {\n console.warn('You cannot call enablePreview() outside a plugin.')\n }\n }\n\n // Wait for async component to be resolved first\n await new Promise((resolve, reject) => {\n // Ignore 404s rather than blindly replacing URL in browser\n if (process.client) {\n const { route } = router.resolve(app.context.route.fullPath)\n if (!route.matched.length) {\n return resolve()\n }\n }\n router.replace(app.context.route.fullPath, resolve, (err) => {\n // https://github.com/vuejs/vue-router/blob/v3.4.3/src/util/errors.js\n if (!err._isRouter) return reject(err)\n if (err.type !== 2 /* NavigationFailureType.redirected */) return resolve()\n\n // navigated to a different route in router guard\n const unregister = router.afterEach(async (to, from) => {\n if (process.server && ssrContext && ssrContext.url) {\n ssrContext.url = to.fullPath\n }\n app.context.route = await getRouteData(to)\n app.context.params = to.params || {}\n app.context.query = to.query || {}\n unregister()\n resolve()\n })\n })\n })\n\n return {\n store,\n app,\n router\n }\n}\n\nexport { createApp, NuxtError }\n","import { useStoreModule } from './use-store-module';\nimport { ITenantState, moduleName as TenantModuleName } from '~/store/tenant';\nimport { Tenant, TenantConfiguration } from '~/app/models';\n\nexport function useTenantConfig() {\n const tenantStore = useStoreModule(TenantModuleName);\n const tenant = tenantStore.state.tenant as Tenant;\n const config: TenantConfiguration = tenant.configuration;\n return config;\n}\n\nexport function useTenantConfigCaseSection<\n K extends keyof TenantConfiguration['cases']\n>(section: K) {\n const tenantStore = useStoreModule(TenantModuleName);\n const tenant = tenantStore.state.tenant as Tenant;\n const config = tenant.configuration.cases;\n return config[section];\n}\n","import { IApiFactory } from './IApiFactory';\n\nconst DEFAULT_API_NAME = '__default';\nconst registeredApis: { [name: string]: any } = {};\n\nexport function registerAPI(\n instance: API,\n name: string = DEFAULT_API_NAME\n) {\n if (name in registeredApis && process.env.NODE_ENV === 'development')\n throw new Error(\n `An API instance has already been registered under the name \"${name}\".`\n );\n\n registeredApis[name] = instance;\n return registeredApis[name] as API;\n}\n\nexport function useAPI(options?: { name: string }) {\n const name = options?.name ?? DEFAULT_API_NAME;\n\n if (!(name in registeredApis))\n throw new Error(\n `An application API instance does not exist under the name \"${name}\".`\n );\n\n return registeredApis[name] as API;\n}\n","import { MutationTree } from 'vuex';\nimport { IAccessState } from './state';\nimport { AccessScopeMasterList, User } from '~/app/models';\n\nexport enum Mutation {\n /** @deprecated use Action.setUser instead. */\n setUser = 'SET_USER',\n setAccessScopeMasterList = 'SET_ACCESS_SCOPE_MASTER_LIST',\n}\n\nexport const mutations: MutationTree = {\n [Mutation.setUser](state, user: Readonly) {\n state.user = user;\n },\n [Mutation.setAccessScopeMasterList](\n state,\n masterList: Readonly\n ) {\n state.accessScopeMasterList = masterList;\n },\n};\n\nexport default mutations;\n","import { computed, useContext } from '@nuxtjs/composition-api';\nimport { IntercomSpace } from '../core/services/intercom';\nimport { useTenantConfig } from './use-tenant-config';\n\nexport function useIntercom() {\n const { $config, $intercom } = useContext();\n const { features } = useTenantConfig();\n\n const isOpen = computed(() => $intercom?.isOpen.value ?? false);\n const unreadCount = computed(() => $intercom.unreadCount.value || 0);\n\n return {\n enabled: $config.intercom.enabled && features.intercomEnabled,\n show: (space?: IntercomSpace) => $intercom?.show(space),\n hide: () => $intercom?.hide(),\n isOpen,\n unreadCount,\n };\n}\n","export { getActiveModules, getActiveModulesRef, useModule } from './use-module';\n","import { message, Modal } from 'ant-design-vue';\n\nexport const useSuccessModal = () => Modal.success;\nexport const useInfoModal = () => Modal.info;\nexport const useErrorModal = () => Modal.error;\nexport const useWarningModal = () => Modal.warning;\nexport const useConfirmModal = () => Modal.confirm;\n\nexport const useLoadingMessage = () => message.loading;\nexport const useSuccessMessage = () => message.success;\nexport const useInfoMessage = () => message.info;\nexport const useErrorMessage = () => message.error;\nexport const useWarningMessage = () => message.warning;\nexport const useMessage = () => message.open;\n","import { computed, isRef, ref } from '@vue/composition-api';\nimport { formatDate } from '~/app/models/dates/utils';\n\nfunction differenceInDays(dateLeft: Date, dateRight: Date): number {\n const left = new Date(\n dateLeft.getFullYear(),\n dateLeft.getMonth(),\n dateLeft.getDate()\n );\n const right = new Date(\n dateRight.getFullYear(),\n dateRight.getMonth(),\n dateRight.getDate()\n );\n const msPerDay = 1000 * 60 * 60 * 24;\n return Math.floor((left.getTime() - right.getTime()) / msPerDay);\n}\n\nexport const ExpirationStatus = Object.freeze({\n good: 'good',\n warning: 'warning',\n danger: 'danger',\n});\n\nexport type ExpirationStatusConfig = {\n [status in keyof Omit]: number;\n};\n\nconst defaultDurationColor: ExpirationStatusConfig = {\n warning: 2,\n danger: 3,\n};\n\nexport function useExpirationFormatter(\n expirationDate: MaybeRef,\n statusConfig: ExpirationStatusConfig = defaultDurationColor\n) {\n if (statusConfig.warning >= statusConfig.danger)\n throw new Error(\n 'The warning configuration can not be greater than or equal to the danger configuration.'\n );\n\n const expirationDateRef = isRef(expirationDate)\n ? expirationDate\n : ref(expirationDate);\n\n const daysDiffFromNow = computed(() =>\n expirationDateRef.value\n ? differenceInDays(new Date(), expirationDateRef.value as Date)\n : undefined\n );\n\n const formattedDuration = computed(() => {\n const diff = differenceInDays(new Date(), expirationDateRef.value as Date);\n if (diff < 1) return 'Today';\n return `${diff} day${diff > 1 ? 's' : ''}`;\n });\n\n const formattedDate = computed(() =>\n formatDate(expirationDateRef.value as Date, { type: 'pretty' })\n );\n\n const status = computed(() => {\n if (daysDiffFromNow.value === undefined) return undefined;\n\n const { warning, danger } = statusConfig;\n if (daysDiffFromNow.value >= danger) return ExpirationStatus.danger;\n\n if (daysDiffFromNow.value >= warning && daysDiffFromNow.value < danger)\n return ExpirationStatus.warning;\n\n return ExpirationStatus.good;\n });\n\n return {\n formattedDate,\n formattedDuration,\n daysDiffFromNow,\n status,\n };\n}\n","import { Type } from 'class-transformer';\n\nexport enum CaseInsightType {\n Unknown = 0,\n Autopsy = 1,\n DonationProcurement = 2,\n MedicolegalInvestigation = 3,\n FuneralHome = 4,\n PersonalBelongings = 5,\n FluidLocation = 6,\n}\n\nexport class CaseSummaryInsightTask {\n public readonly type!: CaseInsightType;\n public readonly name!: string;\n public readonly isCompleted!: boolean;\n}\n\nexport class CaseSummaryInsights {\n @Type(() => CaseSummaryInsightTask)\n public readonly tasks!: CaseSummaryInsightTask[];\n\n constructor(args?: Partial) {\n this.tasks = args?.tasks || [];\n }\n}\n","export enum ModalEvent {\n /** The modal visibility was changed. */\n updateVisible = 'update:visible',\n /** The case was checked in. */\n checkInCase = 'checkIn:case',\n /** The checkout modal was closed. */\n closed = 'closed',\n}\n","export enum ModalEvent {\n /** The modal visibility was changed. */\n updateVisible = 'update:visible',\n /** The case was transferred. */\n transferCase = 'transfer:case',\n /** The modal was closed. */\n closed = 'closed',\n}\n","export enum ModalEvent {\n /** The modal visibility was changed. */\n updateVisible = 'update:visible',\n /** The case was checked out. */\n checkoutCase = 'checkout:case',\n /** The checkout modal was closed. */\n closed = 'closed',\n}\n","import { MutationTree } from 'vuex';\nimport { ITenantState } from './state';\nimport { Tenant } from '~/app/models';\n\nexport enum Mutation {\n setTenant = 'SET_TENANT',\n}\n\nexport const mutations: MutationTree = {\n [Mutation.setTenant](state, tenant: Readonly) {\n state.tenant = tenant;\n },\n};\n\nexport default mutations;\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { AlertSetting } from '~/app/models';\n\nexport const createAlertsApi: PartialApiFactory = (\n api\n) => {\n return {\n async getAsync() {\n const alerts = await api.getAsync('Alerts');\n return plainToInstance(AlertSetting, alerts);\n },\n async updateSubscriptionAsync(request) {\n await api.putAsync('Alerts', request);\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { Bodybox, BodyboxCapacity, BodyboxCaseSummary } from '~/app/models';\n\nexport const createBodyboxesApi: PartialApiFactory = (\n api,\n _config\n) => {\n return {\n async getAsync() {\n const boxes = await api.getAsync('Bodyboxes');\n return plainToInstance(Bodybox, boxes);\n },\n async getCaseSummariesAsync(bodyboxId: string) {\n const summaries = await api.getAsync(\n `Bodyboxes/${bodyboxId}/Cases`\n );\n\n summaries.sort((a, b) => {\n if (!a.decedentExpirationDate && !b.decedentExpirationDate) {\n return 0;\n }\n\n if (a.decedentExpirationDate && !b.decedentExpirationDate) {\n return 1;\n }\n\n if (!a.decedentExpirationDate && b.decedentExpirationDate) {\n return -1;\n }\n\n return a.decedentExpirationDate! < b.decedentExpirationDate! ? -1 : 1;\n });\n\n return plainToInstance(BodyboxCaseSummary, summaries);\n },\n async getCapacitiesAsync() {\n const capacities = await api.getAsync(\n 'Bodyboxes/Capacities'\n );\n return plainToInstance(BodyboxCapacity, capacities);\n },\n async addAsync(request) {\n const bodybox = await api.postAsync('Bodyboxes', request);\n return plainToInstance(Bodybox, bodybox);\n },\n async updateAsync(request) {\n const bodybox = await api.putAsync(\n `Bodyboxes/${request.bodyboxId}`,\n request\n );\n return plainToInstance(Bodybox, bodybox);\n },\n async deleteAsync(bodyboxId) {\n await api.deleteAsync(`Bodyboxes/${bodyboxId}`);\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { CreateCaseRequest } from '../../requests/cases/create-case-request';\nimport {\n Age,\n Case,\n CaseEvent,\n CaseSummary,\n TransportPermissionReport,\n} from '~/app/models';\n\nexport const createCasesApi: PartialApiFactory = (\n api\n) => {\n return {\n async getAsync(caseId) {\n const details = await api.getAsync(`UI/Cases/${caseId}`);\n return plainToInstance(Case, details);\n },\n async getSummaryAsync(caseId) {\n const summary = await api.getAsync(`Cases/${caseId}`);\n return plainToInstance(CaseSummary, summary);\n },\n async getOpenAsync() {\n const summaries = await api.getAsync('Cases/Open');\n return Object.freeze(plainToInstance(CaseSummary, summaries));\n },\n async createAsync(request: CreateCaseRequest) {\n const details = await api.postAsync('Cases', request);\n return plainToInstance(Case, details);\n },\n async createAndCheckInAsync(request) {\n const details = await api.postAsync('Cases/CheckIn', request);\n return plainToInstance(Case, details);\n },\n async createAndCheckOutAsync(request) {\n const details = await api.postAsync('Cases/CheckOut', request);\n return plainToInstance(Case, details);\n },\n async updateAsync(request) {\n const details = await api.putAsync(\n `Cases/${request.caseId}`,\n request\n );\n return plainToInstance(Case, details);\n },\n async deleteAsync(request) {\n const details = await api.deleteAsync(`Cases/${request.caseId}`);\n return plainToInstance(Case, details);\n },\n async openAsync(caseId) {\n const details = await api.putAsync(`Cases/${caseId}/open`);\n return plainToInstance(Case, details);\n },\n async closeAsync(caseId) {\n const details = await api.putAsync(`Cases/${caseId}/close`);\n return plainToInstance(Case, details);\n },\n async touchAsync(caseId) {\n const details = await api.putAsync(`Cases/${caseId}/touch`);\n return plainToInstance(Case, details);\n },\n async addNoteAsync(request) {\n const details = await api.postAsync(\n `Cases/${request.caseId}/Note`,\n { note: request.note, tagIds: request.tagIds }\n );\n return plainToInstance(Case, details);\n },\n async getAgeAsync(caseId, dateOfBirth) {\n let endpoint = `UI/Cases/${caseId}/Age`;\n if (dateOfBirth)\n endpoint += `?dateOfBirth=${encodeURIComponent(\n dateOfBirth.toISOString()\n )}`;\n\n return await api.getAsync(endpoint);\n },\n getEventsAsync(caseId) {\n return api.getAsync(`Cases/${caseId}/Events`);\n },\n identification: {\n async matchFieldsAsync(values) {\n const params = new URLSearchParams();\n values.forEach((value) => params.append('values', value));\n\n const summaries = await api.getAsync(\n `CaseIdentification?${params.toString()}`\n );\n\n return Object.freeze(plainToInstance(CaseSummary, summaries));\n },\n async generateBarcodeAsync(request) {\n let endpoint = `CaseIdentification/${request.caseId}/Barcode/${request.templateId}`;\n if (request.encodedVariable)\n endpoint += `?encodedVariable=${request.encodedVariable}`;\n\n const zpl = await api.getAsync(endpoint);\n return zpl;\n },\n },\n transport: {\n async checkInAsync(request) {\n const details = await api.putAsync(\n `Cases/${request.caseId}/CheckIn`,\n request\n );\n return plainToInstance(Case, details);\n },\n async checkoutAsync(request) {\n const details = await api.putAsync(\n `Cases/${request.caseId}/CheckOut`,\n request\n );\n return plainToInstance(Case, details);\n },\n async transferInternalAsync(request) {\n const details = await api.putAsync(\n `Cases/${request.caseId}/Transfer`,\n request\n );\n return plainToInstance(Case, details);\n },\n transferExternalAsync(_request) {\n throw new Error('Not implemented');\n // const details = await api.putAsync(\n // `Cases/${request.caseId}/Transfer`,\n // request\n // );\n // return plainToInstance(Case, details);\n },\n async createCheckOutPermissionReportAsync(request) {\n const report = await api.postAsync(\n 'Cases/CheckOut/Permission',\n request\n );\n return plainToInstance(TransportPermissionReport, report);\n },\n },\n documents: {\n async uploadAsync(request) {\n const fileIds = await api.postAsync(\n 'Cases/Documents',\n request,\n {\n options: {\n // let the browser decide the content type\n headers: { 'Content-Type': undefined },\n },\n }\n );\n\n return fileIds;\n },\n async getAsync(request) {\n const { caseId, documentId } = request;\n const file = await api.getAsync(\n `Cases/${caseId}/Documents/${documentId}`\n );\n return file;\n },\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport {\n AddDictionaryItemRequest,\n EditDictionaryItemRequest,\n DeleteDictionaryItemRequest,\n} from '../../requests/dictionaries';\nimport {\n DictionaryItem,\n OrganizationDictionaryItem,\n AssociateOrganizationType,\n SystemTagDictionaryItem,\n ComputedTagDictionaryItem,\n NextOfKinTypeDictionaryItem,\n OriginLocationDictionaryItem,\n DictionaryType,\n CaseTypeDictionaryItem,\n CaseServiceRequirementDictionaryItem,\n CaseServiceStatusDictionaryItem,\n FluidLocationDictionaryItem,\n SigningPhysicianStatusDictionaryItem,\n} from '~/app/models';\n\ntype DictionaryConstructorType = DictionaryType | 'associateOrganization';\n\nfunction ToCamelCase(input: string) {\n return input.length === 0\n ? ''\n : input.charAt(0).toLowerCase() + input.slice(1);\n}\n\nexport const createDictionariesApi: PartialApiFactory<\n IApiFactory,\n 'dictionaries'\n> = (api) => {\n const ctors: {\n [slug in DictionaryConstructorType]?: Constructor;\n } = {\n associateOrganization: OrganizationDictionaryItem,\n autopsyVendor: OrganizationDictionaryItem,\n caseServiceRequirement: CaseServiceRequirementDictionaryItem,\n caseServiceStatus: CaseServiceStatusDictionaryItem,\n caseType: CaseTypeDictionaryItem,\n causeOfDeath: DictionaryItem,\n ethnicity: DictionaryItem,\n fluidLocation: FluidLocationDictionaryItem,\n funeralHome: OrganizationDictionaryItem,\n gender: DictionaryItem,\n infectiousDiseaseType: DictionaryItem,\n medicalExaminer: OrganizationDictionaryItem,\n nextOfKinType: NextOfKinTypeDictionaryItem,\n originLocation: OriginLocationDictionaryItem,\n personalBelongingLocation: DictionaryItem,\n physicianType: DictionaryItem,\n race: DictionaryItem,\n reasonForEngagement: DictionaryItem,\n serviceLine: DictionaryItem,\n signingPhysicianStatus: SigningPhysicianStatusDictionaryItem,\n tag: SystemTagDictionaryItem,\n tissueBank: OrganizationDictionaryItem,\n };\n\n return {\n async getAsync(\n slug: DictionaryType\n ) {\n const items = await api.getAsync(`Dictionaries/${slug}`);\n\n const typeKey = ToCamelCase(slug) as DictionaryType;\n\n return items.map((item) =>\n plainToInstance(ctors[typeKey] || DictionaryItem, item)\n ) as TReturn[];\n },\n async getByIdAsync(\n slug: DictionaryType,\n id: string\n ) {\n if (!slug) throw new Error('slug is required');\n if (!id) throw new Error('id is required');\n\n const item = await api.getAsync(`Dictionaries/${slug}/${id}`);\n\n const typeKey = ToCamelCase(slug) as DictionaryType;\n\n return plainToInstance(ctors[typeKey] || DictionaryItem, item) as TReturn;\n },\n async addAsync<\n TReturn extends DictionaryItem = DictionaryItem,\n TRequest extends AddDictionaryItemRequest = AddDictionaryItemRequest\n >(slug: DictionaryType, request: TRequest) {\n const vendor = await api.postAsync(\n `Dictionaries/${slug}`,\n request\n );\n\n const typeKey = ToCamelCase(slug) as DictionaryType;\n\n return plainToInstance(\n ctors[typeKey] || DictionaryItem,\n vendor\n ) as TReturn;\n },\n async editAsync<\n TReturn extends DictionaryItem = DictionaryItem,\n TRequest extends EditDictionaryItemRequest = EditDictionaryItemRequest\n >(slug: DictionaryType, request: TRequest) {\n const vendor = await api.putAsync(\n `Dictionaries/${slug}/${request.id}`,\n request\n );\n\n const typeKey = ToCamelCase(slug) as DictionaryType;\n\n return plainToInstance(\n ctors[typeKey] || DictionaryItem,\n vendor\n ) as TReturn;\n },\n async deleteAsync<\n TRequest extends DeleteDictionaryItemRequest = DeleteDictionaryItemRequest\n >(slug: string, { entryId }: TRequest) {\n await api.deleteAsync(`Dictionaries/${slug}/${entryId}`);\n },\n\n async getGendersAsync() {\n const items = await api.getAsync('Dictionaries/Gender');\n return plainToInstance(DictionaryItem, items);\n },\n async getGenderAsync(entryId) {\n const gender = await api.getAsync(\n `Dictionaries/Gender/${entryId}`\n );\n return plainToInstance(DictionaryItem, gender);\n },\n async getSystemTagsAsync() {\n const items = await api.getAsync(\n 'Dictionaries/Tag'\n );\n return plainToInstance(SystemTagDictionaryItem, items);\n },\n async getSystemTagAsync(entryId) {\n const tag = await api.getAsync(\n `Dictionaries/Tag/${entryId}`\n );\n return plainToInstance(SystemTagDictionaryItem, tag);\n },\n async getComputedTagsAsync() {\n const items = await api.getAsync(\n 'Dictionaries/Tag/Computed'\n );\n return plainToInstance(ComputedTagDictionaryItem, items);\n },\n async getPersonalBelongingLocationsAsync() {\n const items = await api.getAsync(\n 'Dictionaries/DecedentPropertyLocation'\n );\n return plainToInstance(DictionaryItem, items);\n },\n async getPersonalBelongingLocationAsync(entryId) {\n const location = await api.getAsync(\n `Dictionaries/DecedentPropertyLocation/${entryId}`\n );\n return plainToInstance(DictionaryItem, location);\n },\n async getOriginLocationsAsync() {\n const items = await api.getAsync(\n 'Dictionaries/OriginLocation'\n );\n return plainToInstance(OriginLocationDictionaryItem, items);\n },\n async getOriginLocationAsync(entryId) {\n const location = await api.getAsync(\n `Dictionaries/OriginLocation/${entryId}`\n );\n return plainToInstance(OriginLocationDictionaryItem, location);\n },\n async getAssociateOrganizationsAsync() {\n const items = await api.getAsync(\n 'Dictionaries/AssociateOrganization'\n );\n return plainToInstance(OrganizationDictionaryItem, items);\n },\n async getOrganBanksAsync() {\n const items = await api\n .getAsync(\n 'Dictionaries/AssociateOrganization'\n )\n .then((data) =>\n data.filter(\n (item) => item.type === AssociateOrganizationType.OrganBank\n )\n );\n\n return plainToInstance(OrganizationDictionaryItem, items);\n },\n async getOrganBankAsync(entryId) {\n const organBank = await api.getAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n\n return plainToInstance(OrganizationDictionaryItem, organBank);\n },\n async getMedicalExaminersAsync() {\n const items = await api\n .getAsync(\n 'Dictionaries/AssociateOrganization'\n )\n .then((data) =>\n data.filter(\n (item) => item.type === AssociateOrganizationType.MedicalExaminer\n )\n );\n\n return plainToInstance(OrganizationDictionaryItem, items);\n },\n async getMedicalExaminerAsync(entryId) {\n const medicalExaminer = await api.getAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n\n return plainToInstance(OrganizationDictionaryItem, medicalExaminer);\n },\n async getFuneralHomesAsync() {\n const items = await api\n .getAsync(\n 'Dictionaries/AssociateOrganization'\n )\n .then((data) =>\n data.filter(\n (item) => item.type === AssociateOrganizationType.FuneralHome\n )\n );\n return plainToInstance(OrganizationDictionaryItem, items);\n },\n async getFuneralHomeAsync(entryId) {\n const funeralHome = await api.getAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n return plainToInstance(OrganizationDictionaryItem, funeralHome);\n },\n async getAutopsyVendorsAsync() {\n const items = await api\n .getAsync(\n 'Dictionaries/AssociateOrganization'\n )\n .then((data) =>\n data.filter(\n (item) => item.type === AssociateOrganizationType.AutopsyVendor\n )\n );\n return plainToInstance(OrganizationDictionaryItem, items);\n },\n async getAutopsyVendorAsync(entryId) {\n const vendor = await api.getAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n return plainToInstance(OrganizationDictionaryItem, vendor);\n },\n async getNextOfKinTypesAsync() {\n const items = await api.getAsync(\n 'Dictionaries/NextOfKinType'\n );\n\n return plainToInstance(NextOfKinTypeDictionaryItem, items);\n },\n async getInfectiousDiseaseTypesAsync() {\n const items = await api.getAsync(\n 'Dictionaries/InfectiousDiseaseType'\n );\n\n return plainToInstance(DictionaryItem, items);\n },\n async getInfectiousDiseaseTypeAsync(entryId) {\n const type = await api.getAsync(\n `Dictionaries/InfectiousDiseaseType/${entryId}`\n );\n\n return plainToInstance(DictionaryItem, type);\n },\n async getNextOfKinTypeAsync(entryId) {\n const type = await api.getAsync(\n `Dictionaries/NextOfKinType/${entryId}`\n );\n\n return plainToInstance(NextOfKinTypeDictionaryItem, type);\n },\n async getCaseTypesAsync() {\n const items = await api.getAsync(\n 'Dictionaries/CaseType'\n );\n\n return plainToInstance(CaseTypeDictionaryItem, items);\n },\n async getCaseTypeAsync(entryId: string) {\n const type = await api.getAsync(\n `Dictionaries/CaseType/${entryId}`\n );\n\n return plainToInstance(CaseTypeDictionaryItem, type);\n },\n\n async addAutopsyVendorAsync(request) {\n const vendor = await api.postAsync(\n 'Dictionaries/AssociateOrganization',\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, vendor);\n },\n async editAutopsyVendorAsync(request) {\n const vendor = await api.putAsync(\n `Dictionaries/AssociateOrganization/${request.id}`,\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, vendor);\n },\n async deleteAutopsyVendorAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n },\n async addFuneralHomeAsync(request) {\n const funeralHome = await api.postAsync(\n 'Dictionaries/AssociateOrganization',\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, funeralHome);\n },\n async editFuneralHomeAsync(request) {\n const funeralHome = await api.putAsync(\n `Dictionaries/AssociateOrganization/${request.id}`,\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, funeralHome);\n },\n async deleteFuneralHomeAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n },\n async addGenderAsync(request) {\n const gender = await api.postAsync(\n 'Dictionaries/Gender',\n request\n );\n\n return plainToInstance(DictionaryItem, gender);\n },\n async editGenderAsync(request) {\n const gender = await api.putAsync(\n `Dictionaries/Gender/${request.id}`,\n request\n );\n\n return plainToInstance(DictionaryItem, gender);\n },\n async deleteGenderAsync({ entryId }) {\n await api.deleteAsync(`Dictionaries/Gender/${entryId}`);\n },\n async addOrganBankAsync(request) {\n const organBank = await api.postAsync(\n 'Dictionaries/AssociateOrganization',\n request\n );\n\n return plainToInstance(DictionaryItem, organBank);\n },\n async editOrganBankAsync(request) {\n const organBank = await api.putAsync(\n `Dictionaries/AssociateOrganization/${request.id}`,\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, organBank);\n },\n async deleteOrganBankAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n },\n async addMedicalExaminerAsync(request) {\n const medicalExaminer = await api.postAsync(\n 'Dictionaries/AssociateOrganization',\n request\n );\n\n return plainToInstance(DictionaryItem, medicalExaminer);\n },\n async editMedicalExaminerAsync(request) {\n const organBank = await api.putAsync(\n `Dictionaries/AssociateOrganization/${request.id}`,\n request\n );\n\n return plainToInstance(OrganizationDictionaryItem, organBank);\n },\n async deleteMedicalExaminerAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/AssociateOrganization/${entryId}`\n );\n },\n async addPersonalBelongingLocationAsync(request) {\n const location = await api.postAsync(\n 'Dictionaries/DecedentPropertyLocation',\n request\n );\n\n return plainToInstance(DictionaryItem, location);\n },\n async editPersonalBelongingLocationAsync(request) {\n const location = await api.putAsync(\n `Dictionaries/DecedentPropertyLocation/${request.id}`,\n request\n );\n\n return plainToInstance(DictionaryItem, location);\n },\n async deletePersonalBelongingLocationAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/DecedentPropertyLocation/${entryId}`\n );\n },\n async addOriginLocationAsync(request) {\n const location = await api.postAsync(\n 'Dictionaries/OriginLocation',\n request\n );\n\n return plainToInstance(OriginLocationDictionaryItem, location);\n },\n async editOriginLocationAsync(request) {\n const location = await api.putAsync(\n `Dictionaries/OriginLocation/${request.id}`,\n request\n );\n\n return plainToInstance(OriginLocationDictionaryItem, location);\n },\n async deleteOriginLocationAsync({ entryId }) {\n await api.deleteAsync(\n `Dictionaries/OriginLocation/${entryId}`\n );\n },\n async addTagAsync(request) {\n const tag = await api.postAsync(\n 'Dictionaries/Tag',\n request\n );\n\n return plainToInstance(SystemTagDictionaryItem, tag);\n },\n async editTagAsync(request) {\n const tag = await api.putAsync(\n `Dictionaries/Tag/${request.id}`,\n request\n );\n\n return plainToInstance(SystemTagDictionaryItem, tag);\n },\n async deleteTagAsync({ entryId }) {\n await api.deleteAsync(`Dictionaries/Tag/${entryId}`);\n },\n async addNextOfKinTypeAsync(request) {\n const type = await api.postAsync(\n 'Dictionaries/NextOfKinType',\n request\n );\n\n return plainToInstance(NextOfKinTypeDictionaryItem, type);\n },\n async editNextOfKinTypeAsync(request) {\n const type = await api.putAsync(\n `Dictionaries/NextOfKinType/${request.id}`,\n request\n );\n\n return plainToInstance(NextOfKinTypeDictionaryItem, type);\n },\n async deleteNextOfKinTypeAsync({ entryId }) {\n await api.deleteAsync(`Dictionaries/NextOfKinType/${entryId}`);\n },\n async addInfectiousDiseaseTypeAsync(request) {\n const type = await api.postAsync(\n 'Dictionaries/InfectiousDiseaseType',\n request\n );\n\n return plainToInstance(DictionaryItem, type);\n },\n async editInfectiousDiseaseTypeAsync(request) {\n const type = await api.putAsync(\n `Dictionaries/InfectiousDiseaseType/${request.id}`,\n request\n );\n\n return plainToInstance(DictionaryItem, type);\n },\n async deleteInfectiousDiseaseTypeAsync({ entryId }) {\n await api.deleteAsync(`Dictionaries/InfectiousDiseaseType/${entryId}`);\n },\n async addCaseTypeAsync(request) {\n const type = await api.postAsync(\n 'Dictionaries/CaseType',\n request\n );\n\n return plainToInstance(DictionaryItem, type);\n },\n async editCaseTypeAsync(request) {\n const type = await api.putAsync(\n `Dictionaries/CaseType/${request.id}`,\n request\n );\n\n return plainToInstance(DictionaryItem, type);\n },\n async deleteCaseTypeAsync({ entryId }) {\n await api.deleteAsync(`Dictionaries/CaseType/${entryId}`);\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { OutboxCaseSummary, PageResult } from '~/app/models';\n\nexport const createOutboxApi: PartialApiFactory = (\n api\n) => {\n return {\n async getSummariesAsync(request) {\n const result = await api.getAsync>(\n 'Outbox/V2',\n { params: request as Indexable }\n );\n\n return plainToInstance(PageResult, {\n ...result,\n data: plainToInstance(OutboxCaseSummary, result.data),\n }) as PageResult;\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { ReservationCaseSummary } from '~/app/models';\n\nexport const createReservationsApi: PartialApiFactory<\n IApiFactory,\n 'reservations'\n> = (api, _config) => {\n return {\n async getCaseSummariesAsync() {\n const summaries = await api.getAsync(\n 'Reservations'\n );\n\n return plainToInstance(ReservationCaseSummary, summaries);\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { AccessScopeMasterList, User, UserInvitation } from '~/app/models';\n\nexport const createUserApi: PartialApiFactory = (api) => {\n return {\n registration: {\n async registerAsync(request) {\n const user = await api.postAsync('Users/Self', request);\n return plainToInstance(User, user);\n },\n },\n invitations: {\n // This now gets called on the server as part of /register and is not longer needed\n async acceptAsync(request) {\n await api.putAsync(\n `Users/Invitation/${request.invitationId}/Accept`\n );\n },\n async getAllAsync() {\n const invites = await api.getAsync(\n 'Users/Invitation'\n );\n return plainToInstance(UserInvitation, invites);\n },\n async createAsync(request) {\n await api.postAsync('Users/Invitation', request);\n },\n async resendAsync(request) {\n const invite = await api.postAsync(\n `Users/Invitation/${request.invitationId}`\n );\n return plainToInstance(UserInvitation, invite);\n },\n async revokeAsync(request) {\n await api.deleteAsync(`Users/Invitation/${request.invitationId}`);\n },\n },\n async resetPasswordAsync(request) {\n await api.postAsync(`Users/${request.userId}/ResetPassword`);\n },\n async getAccessScopeMasterListAsync() {\n const scopes = await api.getAsync('Users/Scopes');\n return plainToInstance(AccessScopeMasterList, scopes);\n },\n async getCurrentAsync() {\n const user = await api.getAsync('Users/Self');\n return plainToInstance(User, user);\n },\n async getAsync(userId) {\n const user = await api.getAsync(`Users/${userId}`);\n return plainToInstance(User, user);\n },\n async getAllAsync() {\n const users = await api.getAsync('Users');\n return plainToInstance(User, users);\n },\n async updateAsync(request) {\n const user = await api.putAsync(`Users/${request.userId}`, request);\n return plainToInstance(User, user);\n },\n async createAsync(request) {\n const user = await api.postAsync('Users', request);\n return plainToInstance(User, user);\n },\n async deleteAsync(userId) {\n await api.deleteAsync(`Users/${userId}`);\n },\n };\n};\n","import { plainToInstance } from 'class-transformer';\nimport { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { Tenant } from '~/app/models';\n\nexport const createTenantApi: PartialApiFactory = (\n api\n) => {\n return {\n async getAsync() {\n const tenant = await api.getAsync('Tenants/Self');\n return plainToInstance(Tenant, tenant);\n },\n };\n};\n","import ky from 'ky';\nimport { PartialApiFactory } from '../partial-factory';\nimport {\n ITenantDiscoveryApiFactory,\n TenantContext,\n} from '../../ITenantDiscoveryApiFactory';\n\nexport const createTenantDiscoveryApi: PartialApiFactory<\n ITenantDiscoveryApiFactory,\n 'discover'\n> = (api, config) => {\n return {\n async getForContextAsync() {\n try {\n const { headers } = config.api.tenant;\n const tenant = await api.getAsync(`TenantDiscovery`, {\n options: {\n headers: {\n [headers!.functionKey!.name]: headers!.functionKey!.value!,\n },\n },\n });\n\n return Object.freeze(tenant) as TenantContext;\n } catch (error) {\n if (error instanceof ky.HTTPError && error.response.status === 404)\n return null;\n throw error;\n }\n },\n };\n};\n","import { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\nimport { TableReport } from '~/app/modules/reporting/components/report-viewers/table/types';\n\nexport const createReportingApi: PartialApiFactory = (\n api\n) => {\n return {\n async createAsync(request) {\n const response = await api.requestAsync('/Outbox/Report', {\n method: 'GET',\n params: request as Indexable,\n });\n\n return response;\n },\n async createCustomAsync(id, request) {\n const query = request\n ? `?${new URLSearchParams(request as Indexable).toString()}`\n : '';\n\n const response = await api.requestAsync(`/Reports/${id}${query}`, {\n method: 'GET',\n });\n\n return response;\n },\n parameters: {\n getCareSiteLocationsAsync() {\n return api.getAsync('/Reports/Parameters/CareSites');\n },\n },\n death: {\n async getAsync(request) {\n return await api.postAsync('/Reports/Death', request);\n },\n async downloadAsync(request) {\n const response = await api.$postAsync(\n '/Reports/Death/Download',\n request\n );\n\n return response;\n },\n getCareSiteLocationsAsync() {\n return api.getAsync('/Reports/Death/Parameters/CareSites');\n },\n },\n morgueCensus: {\n async getAsync() {\n return await api.postAsync(`/Reports/MorgueCensus`);\n },\n async downloadAsync() {\n const response = await api.requestAsync(\n `/Reports/MorgueCensus/Download`,\n { method: 'POST' }\n );\n\n return response;\n },\n getCareSiteLocationsAsync() {\n return api.getAsync('/Reports/MorgueCensus/Parameters/CareSites');\n },\n },\n timeToRelease: {\n async getAsync(request) {\n return await api.postAsync(\n '/Reports/TimeToRelease',\n request\n );\n },\n async downloadAsync(request) {\n const response = await api.$postAsync(\n '/Reports/TimeToRelease/Download',\n request\n );\n\n return response;\n },\n getCareSiteLocationsAsync() {\n return api.getAsync('/Reports/TimeToRelease/Parameters/CareSites');\n },\n },\n missedNotifications: {\n async getAsync(request) {\n return await api.postAsync(\n '/Reports/MissedNotifications',\n request\n );\n },\n async downloadAsync(request) {\n const response = await api.$postAsync(\n '/Reports/MissedNotifications/Download',\n request\n );\n\n return response;\n },\n getCareSiteLocationsAsync() {\n return api.getAsync(\n '/Reports/MissedNotifications/Parameters/CareSites'\n );\n },\n },\n };\n};\n","import { PartialApiFactory } from '../partial-factory';\nimport { IApiFactory } from '../../IApiFactory';\n\nexport const createIntercomApi: PartialApiFactory = (\n api\n) => {\n return {\n getUserIdAsync() {\n return api.getAsync('Intercom/Self');\n },\n };\n};\n","import { NuxtRuntimeConfig } from '@nuxt/types/config/runtime';\nimport { ApiClient } from '../client';\nimport { IApiFactory } from '../IApiFactory';\nimport { ITenantDiscoveryApiFactory } from '../ITenantDiscoveryApiFactory';\nimport { createAlertsApi } from './partials/alerts';\nimport { createBodyboxesApi } from './partials/bodyboxes';\nimport { createCasesApi } from './partials/cases';\nimport { createDictionariesApi } from './partials/dictionaries';\nimport { createOutboxApi } from './partials/outbox';\nimport { createReservationsApi } from './partials/reservations';\nimport { createUserApi } from './partials/user';\nimport { createTenantApi } from './partials/tenant';\nimport { createTenantDiscoveryApi } from './partials/tenant-discovery';\nimport { createReportingApi } from './partials/reporting';\nimport { createIntercomApi } from './partials/intercom';\n\nexport const primaryApiFactory = (\n api: ApiClient,\n config: NuxtRuntimeConfig\n): IApiFactory => {\n return {\n client: api,\n alerts: createAlertsApi(api, config),\n bodyboxes: createBodyboxesApi(api, config),\n cases: createCasesApi(api, config),\n dictionaries: createDictionariesApi(api, config),\n outbox: createOutboxApi(api, config),\n reservations: createReservationsApi(api, config),\n reporting: createReportingApi(api, config),\n tenant: createTenantApi(api, config),\n user: createUserApi(api, config),\n intercom: createIntercomApi(api, config),\n };\n};\n\nexport const tenantDiscoveryApiFactory = (\n api: ApiClient,\n config: NuxtRuntimeConfig\n): ITenantDiscoveryApiFactory => {\n return {\n discover: createTenantDiscoveryApi(api, config),\n };\n};\n","export enum RegistrationRoute {\n root = 'register',\n}\n","import {\n watch,\n WatchCallback,\n WatchOptions,\n WatchSource,\n} from '@nuxtjs/composition-api';\n\n/** Executes a callback once, after the watch source evaluates to `true`. */\nexport function useTripSwitch(\n source: Readonly>,\n cb: WatchCallback<\n Readonly>,\n Readonly> | undefined\n >,\n options?: WatchOptions\n) {\n const unwatch = watch(\n source,\n (...args) => {\n const [newValue] = args;\n const tripped = typeof newValue === 'boolean' ? newValue : false;\n tripped && unwatch();\n return cb(...args);\n },\n options\n );\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{ref:\"dropdownRef\",attrs:{\"theme\":(_vm.theme.includes('light') ? 'mb-menu' : 'mb-menu--dark') +\n (_vm.theme.includes('compact') ? '_compact' : ''),\"shown\":_vm.isOpen,\"placement\":_vm.placementComputed,\"triggers\":_vm.triggers,\"positioning-disabled\":_vm.isMobile,\"distance\":_vm.arrowOffset,\"auto-hide\":false,\"handle-resize\":true,\"compute-transform-origin\":\"\",\"auto-boundary-max-size\":\"\"},on:{\"apply-show\":_vm.onShown,\"apply-hide\":_vm.onHidden,\"update:shown\":_vm.onShow},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var shown = ref.shown;\n var show = ref.show;\n var hide = ref.hide;\nreturn [_vm._t(\"trigger\",[_c('wb-button',_vm._g(_vm._b({ref:_vm.triggerIdResolved,staticClass:\"z-10\",attrs:{\"id\":_vm.triggerIdResolved,\"size\":\"sm\",\"aria-label\":shown ? 'Close menu' : 'Open menu',\"role\":\"button\",\"aria-haspopup\":\"menu\",\"aria-controls\":_vm.menuId,\"aria-expanded\":shown}},'wb-button',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:\"flex items-center justify-center\"},[_vm._v(\"\\n \"+_vm._s(_vm.label)+\"\\n \"),_c('wb-icon',{staticClass:\"ml-2 text-xl\",attrs:{\"name\":shown ? 'caret-up' : 'caret-down',\"type\":\"bold\",\"inline\":\"\"}})],1)])],{\"triggerId\":_vm.triggerIdResolved,\"menuId\":_vm.menuId,\"shown\":shown,\"show\":show,\"hide\":hide,\"toggleMenu\":function () { return (shown ? hide() : show()); },\"isOpen\":shown})]}},{key:\"popper\",fn:function(ref){\n var shown = ref.shown;\n var hide = ref.hide;\nreturn [_c('div',{directives:[{name:\"on-click-outside\",rawName:\"v-on-click-outside\",value:(_vm.onClickOutside),expression:\"onClickOutside\"}],staticClass:\"wb-menu-btn__popover max-w-full\",style:({ height: _vm.heightComputed, width: _vm.widthComputed }),attrs:{\"id\":_vm.menuId,\"role\":\"menu\",\"aria-labelledby\":_vm.triggerIdResolved},on:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.onEscapeDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"tab\",9,$event.key,\"Tab\")){ return null; }return _vm.onTabDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"])&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"])){ return null; }return _vm.onArrowDown($event)}]}},[_vm._t(\"default\",null,{\"shown\":shown,\"hide\":hide})],2)]}}],null,true)})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport {\n computed,\n defineComponent,\n getCurrentInstance,\n nextTick,\n onMounted,\n PropType,\n ref,\n toRefs,\n} from '@nuxtjs/composition-api';\nimport FloatingVue, { Dropdown, Placement } from 'floating-vue';\nimport 'floating-vue/dist/style.css';\nimport { breakpointsTailwind, useBreakpoints } from '@vueuse/core';\nimport { vOnClickOutside as OnClickOutside } from '@vueuse/components';\nimport { genId } from '~/app/utils/id';\nimport { getFocusables } from '~/app/utils/dom';\nimport { sleep } from '~/app/utils/async';\n\nVue.use(FloatingVue, {\n themes: {\n 'mb-menu': {\n $extend: 'dropdown',\n },\n 'mb-menu_compact': {\n $extend: 'dropdown',\n },\n 'mb-menu--dark': {\n $extend: 'dropdown',\n },\n 'mb-menu--dark_compact': {\n $extend: 'dropdown',\n },\n },\n});\n\nconst placements: Readonly> = [\n 'top',\n 'top-start',\n 'top-end',\n 'right',\n 'right-start',\n 'right-end',\n 'bottom',\n 'bottom-start',\n 'bottom-end',\n 'left',\n 'left-start',\n 'left-end',\n] as const;\ntype WindowBreakPoint = 'mobile' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\nconst breakpoints: Readonly> = [\n 'mobile',\n 'sm',\n 'md',\n 'lg',\n 'xl',\n '2xl',\n] as const;\n\nexport type DropdownTrigger = 'click' | 'hover' | 'focus' | 'touch';\nconst dropdownTriggers: Readonly> = [\n 'click',\n 'hover',\n 'focus',\n 'touch',\n] as const;\n\nexport default defineComponent({\n name: 'MenuButton',\n components: { Dropdown },\n directives: { OnClickOutside: OnClickOutside as any },\n props: {\n /** Optional label to use as the reference trigger buttons text when using the default style. */\n label: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n /** Controls whether the menu is open. */\n isOpen: {\n type: Boolean as PropType,\n required: false,\n default: undefined,\n },\n /** Menu placement. Use object syntax to control placement across window breakpoints. */\n placement: {\n type: [String, Object] as PropType<\n Placement | Record\n >,\n required: false,\n default: 'bottom',\n validator: (placement: Placement | object) =>\n typeof placement === 'string'\n ? placements.includes(placement)\n : Object.keys(placement).every((bp) =>\n breakpoints.includes(bp as WindowBreakPoint)\n ) && Object.values(placement).every((p) => placements.includes(p)),\n },\n /** Triggers used to activate the menu. */\n triggers: {\n type: Array as PropType,\n required: false,\n default: undefined,\n validator: (triggers: DropdownTrigger[] | unknown) =>\n Array.isArray(triggers)\n ? triggers.every((trigger) => dropdownTriggers.includes(trigger))\n : false,\n },\n /** Padding between the arrow and trigger. */\n arrowOffset: {\n type: Number as PropType,\n required: false,\n default: undefined,\n },\n /** Menu height. */\n height: {\n type: [String, Object] as PropType<\n string | Record\n >,\n required: false,\n default: 'max-content',\n validator: (height: string | object) =>\n typeof height === 'string'\n ? true\n : Object.keys(height).every((bp) =>\n breakpoints.includes(bp as WindowBreakPoint)\n ),\n },\n /** Menu width. */\n width: {\n type: [String, Object] as PropType<\n string | Record\n >,\n required: false,\n default: 'max-content',\n validator: (width: string | object) =>\n typeof width === 'string'\n ? true\n : Object.keys(width).every((bp) =>\n breakpoints.includes(bp as WindowBreakPoint)\n ),\n },\n /** Use a drawer to display menu content on mobile screens. */\n mobile: {\n type: Boolean as PropType,\n required: false,\n default: false,\n },\n /** Optional element that will receive focus when the menu opens. */\n focusEl: {\n type: HTMLElement as PropType,\n required: false,\n default: null,\n },\n theme: {\n type: String as PropType<\n 'light' | 'dark' | 'light-compact' | 'dark-compact'\n >,\n required: false,\n default: 'light',\n },\n /** Unique ID for the trigger element. */\n triggerId: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n /** Elements to link to the menu. Values can be HTMLElements or CSS selectors.\n * Linked elements are elements not children of the menu but will not trigger a menu close.\n */\n linkedEls: {\n type: Array as PropType>,\n required: false,\n default: () => [],\n },\n },\n emits: {\n open: (shown: any) => typeof shown === 'boolean',\n 'update:isOpen': (shown: any) => typeof shown === 'boolean',\n },\n setup(props, { emit }) {\n const triggerIdResolved =\n props.triggerId || `wb-menu-btn_trigger-${genId({ length: 7 })}`;\n const menuId = `wb-menu-btn_menu-${genId({ length: 7 })}`;\n\n const dropdownRef = ref>();\n const triggerEl = ref();\n\n const instance = getCurrentInstance();\n function getTriggerEl() {\n return (\n instance?.proxy.$el.querySelector(\n `#${triggerIdResolved}`\n ) ?? document.getElementById(triggerIdResolved)\n );\n }\n\n function getMenuEl() {\n return (\n instance?.proxy.$el.querySelector(`#${menuId}`) ??\n document.getElementById(menuId)\n );\n }\n\n onMounted(() => (triggerEl.value = getTriggerEl()));\n\n // #region Position\n const bps = useBreakpoints(breakpointsTailwind);\n const getCurrentBreakpoints = () => {\n const points = Object.keys(breakpointsTailwind).map(\n (bp) =>\n [bp, bps.greater(bp as keyof typeof breakpointsTailwind)] as const\n );\n return computed(() => points.filter(([, v]) => v.value).map(([k]) => k));\n };\n const currentBreakpoints = getCurrentBreakpoints();\n const syncWithBreakpoint = (\n value: T | Record,\n defaultValue: T\n ) => {\n if (typeof value === 'string') return value;\n\n const _breakpoints = Object.keys(value).sort(\n (a, b) =>\n breakpoints.indexOf(a as WindowBreakPoint) -\n breakpoints.indexOf(b as WindowBreakPoint)\n );\n\n for (const bp of [...currentBreakpoints.value].reverse()) {\n if (_breakpoints.includes(bp)) return value[bp as WindowBreakPoint];\n }\n\n return value.mobile || defaultValue;\n };\n\n const placementComputed = computed(() =>\n syncWithBreakpoint(props.placement, 'bottom')\n );\n // #endregion\n\n const widthComputed = computed(() =>\n syncWithBreakpoint(props.width, 'max-content')\n );\n\n const heightComputed = computed(() =>\n syncWithBreakpoint(props.height, 'max-content')\n );\n\n // #region Mobile\n const { mobile, focusEl } = toRefs(props);\n const isMobileScreen = computed(() => !currentBreakpoints.value.length);\n const isMobile = computed(() => mobile.value && isMobileScreen.value);\n // #endregion\n\n function onArrowDown(e: KeyboardEvent) {\n e.preventDefault();\n e.stopImmediatePropagation();\n\n const menuEl = document.querySelector(`#${menuId}`);\n if (!menuEl) return;\n\n const focusableEls = getFocusables(menuEl, true);\n const focusedIndex = focusableEls.findIndex((el) => el === e.target);\n\n if (focusedIndex === -1) return;\n\n let nextIndex =\n e.key === 'ArrowDown'\n ? focusedIndex + 1\n : e.key === 'ArrowUp'\n ? focusedIndex - 1\n : focusedIndex;\n\n // Cycle back to the beginning if we reach the end\n if (e.key === 'ArrowDown' && nextIndex > focusableEls.length - 1)\n nextIndex = 0;\n\n // Cycle to the end if we reach the beginning\n if (e.key === 'ArrowUp' && nextIndex < 0)\n nextIndex = focusableEls.length - 1;\n\n const nextEl = focusableEls[nextIndex];\n if (nextEl) nextEl.focus();\n }\n\n function onTabDown(e: KeyboardEvent) {\n const triggerEl = getTriggerEl();\n if (document.activeElement === triggerEl) return;\n\n e.preventDefault();\n e.stopImmediatePropagation();\n\n // Return focus to the trigger if tabbing out of the menu\n\n const menuEl = document.querySelector(`#${menuId}`);\n if (!menuEl) return;\n\n const isMenuFocused = menuEl.contains(document.activeElement);\n\n if (isMenuFocused) return hide(true);\n }\n\n function onEscapeDown(e: KeyboardEvent) {\n e.stopImmediatePropagation();\n console.log('onEscapeDown');\n\n // Close the menu and return focus to the trigger\n hide(true);\n }\n\n function show() {\n try {\n dropdownRef.value?.show();\n } catch {\n /* floating-vue sometimes throws an undefined error accessing its internal `popper` ref. Suppress this. */\n }\n }\n\n function hide(focusTrigger = false) {\n try {\n dropdownRef.value?.hide();\n } catch {\n /* floating-vue sometimes throws an undefined error accessing its internal `popper` ref. Suppress this. */\n }\n focusTrigger && getTriggerEl()?.focus();\n }\n\n function onShow(shown: boolean) {\n emit('open', shown);\n emit('update:isOpen', shown);\n }\n\n function onMobileShow() {\n document.body.classList.add('popper-no-scroll');\n }\n\n function onMobileHide() {\n document.body.classList.remove('popper-no-scroll');\n }\n\n async function onShown() {\n if (isMobile.value) onMobileShow();\n\n const isHTMLElement = focusEl.value instanceof HTMLElement;\n if (focusEl.value && isHTMLElement) {\n // Delay 100ms to account for opening transition\n await nextTick();\n await sleep(100);\n\n focusEl.value.focus();\n return;\n }\n\n // If no focus element is provided, focus the first focusable element in the menu\n const menuEl = getMenuEl();\n if (menuEl) {\n const focusableEls = getFocusables(menuEl, true);\n\n // If no focusable elements are found, re-focus the trigger itself\n if (!focusableEls.length) {\n const triggerEl = getTriggerEl();\n\n // Delay 100ms to account for opening transition\n await nextTick();\n await sleep(100);\n return triggerEl?.focus();\n }\n\n const firstItem = focusableEls[0];\n\n // Delay 100ms to account for opening transition\n await nextTick();\n await sleep(100);\n firstItem?.focus();\n }\n }\n\n function onHidden() {\n isMobile.value && onMobileHide();\n }\n\n function onClickOutside(event: PointerEvent) {\n const isOpen = dropdownRef.value?.$refs?.popper?.isShown ?? false;\n if (!isOpen) return;\n\n if (event.target instanceof HTMLElement) {\n const target = event.target as HTMLElement;\n const triggerEl = getTriggerEl();\n const isTrigger =\n event.target === triggerEl || triggerEl?.contains(event.target);\n\n const isLinkedElement = props.linkedEls.some((el) =>\n el instanceof HTMLElement\n ? el.contains(target)\n : document.querySelector(el)?.contains(target) || false\n );\n\n if (isTrigger || !isLinkedElement) {\n isTrigger && event.stopPropagation(); // Prevent the click event from propagating and immediately opening the menu\n hide(true);\n }\n }\n }\n\n return {\n triggerIdResolved,\n menuId,\n dropdownRef,\n placementComputed,\n widthComputed,\n heightComputed,\n isMobile,\n show,\n hide,\n onTabDown,\n onEscapeDown,\n onArrowDown,\n onShow,\n onMobileShow,\n onMobileHide,\n onShown,\n onHidden,\n onClickOutside,\n };\n },\n});\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./menu-button.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./menu-button.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./menu-button.vue?vue&type=template&id=3de9fb40&scoped=true&\"\nimport script from \"./menu-button.vue?vue&type=script&lang=ts&\"\nexport * from \"./menu-button.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./menu-button.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./menu-button.vue?vue&type=style&index=1&lang=scss&\"\nimport style2 from \"./menu-button.vue?vue&type=style&index=2&id=3de9fb40&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 \"3de9fb40\",\n null\n \n)\n\nexport default component.exports","export const focusableElList = [\n 'a[href]',\n 'area[href]',\n 'button:not([disabled])',\n 'embed',\n 'iframe',\n 'input:not([disabled])',\n 'object',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n '*[tabindex]:not([aria-disabled])',\n '*[contenteditable]',\n];\n\nconst focusableElSelector = focusableElList.join();\n\n/**\n * Get a NodeList of all focusable DOM nodes within an element\n * @param {HTMLElement} element HTML element to get focusable list of DOM nodes from.\n * @param {Boolean} keyboardOnly Should get only keyboard accessible nodes?\n * @returns {NodeList} List of all focusable DOM nodes\n */\nexport function getFocusables(\n element: HTMLElement,\n keyboardOnly: boolean = false\n) {\n let focusableEls = Array.from(element.querySelectorAll(focusableElSelector));\n\n // filter out elements with display: none\n focusableEls = focusableEls.filter(\n (focusableEl) => window.getComputedStyle(focusableEl).display !== 'none'\n );\n\n if (keyboardOnly === true) {\n focusableEls = focusableEls.filter(\n (focusableEl) => focusableEl.getAttribute('tabindex') !== '-1'\n );\n }\n return focusableEls as HTMLElement[];\n}\n","export interface ISettingsState {}\n\nexport const state = (): ISettingsState => ({});\n","import type { ActionTree } from 'vuex';\nimport { ISettingsState } from './state';\nimport { RootState } from '~/store';\nimport { Bodybox } from '~/app/models';\nimport {\n moduleName as bodyboxModuleName,\n Mutation as BodyboxMutation,\n} from '~mod:bodybox/store';\nimport { CreateBodyboxRequest } from '~/app/core/api/requests/bodybox/create-bodybox-request';\nimport { UpdateBodyboxRequest } from '~/app/core/api/requests/bodybox/update-bodybox-request';\n\nexport enum Action {\n updateBodybox = 'updateBodybox',\n addBodybox = 'addBodybox',\n deleteBodybox = 'deleteBodybox',\n}\n\nexport const actions: ActionTree = {\n async [Action.addBodybox]({ commit }, request: CreateBodyboxRequest) {\n const newBox = await this.$api.bodyboxes.addAsync(request);\n\n commit(`${bodyboxModuleName}/${BodyboxMutation.updateBodybox}`, newBox, {\n root: true,\n });\n\n return newBox;\n },\n async [Action.deleteBodybox]({ commit }, bodybox: Bodybox) {\n await this.$api.bodyboxes.deleteAsync(bodybox.id);\n\n commit(`${bodyboxModuleName}/${BodyboxMutation.removeBodybox}`, bodybox, {\n root: true,\n });\n },\n async [Action.updateBodybox]({ commit }, request: UpdateBodyboxRequest) {\n const updatedBox = await this.$api.bodyboxes.updateAsync(request);\n\n commit(\n `${bodyboxModuleName}/${BodyboxMutation.updateBodybox}`,\n updatedBox,\n { root: true }\n );\n\n return updatedBox;\n },\n};\n","import { state, ISettingsState } from './state';\nimport { actions, Action } from './actions';\nimport { createModule } from '~/store';\n\nexport { Action };\nexport type { ISettingsState };\n\nexport const moduleName = 'settings';\nexport const { module } = createModule(moduleName, {\n state,\n actions,\n});\n","import { computed, ref } from '@nuxtjs/composition-api';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\n\nexport interface IBreadCrumbRoute {\n name: string;\n path?: string;\n}\n\nclass BreadCrumbBuilder {\n private breadCrumbParts = ref([]);\n\n public get parts() {\n return computed(() => Array.from(this.breadCrumbParts.value));\n }\n\n public setBreadCrumbs(crumbs: IBreadCrumbRoute | IBreadCrumbRoute[]) {\n if (Array.isArray(crumbs)) this.breadCrumbParts.value = crumbs;\n else this.breadCrumbParts.value = [crumbs];\n }\n\n public push(breadCrumb: IBreadCrumbRoute) {\n this.breadCrumbParts.value.push(breadCrumb);\n }\n}\n\nexport class LayoutModule extends AppModule {\n private readonly breadCrumbBuilder = new BreadCrumbBuilder();\n\n public readonly name = LayoutModule.name;\n\n public readonly showHeader = ref(true);\n\n public get breadCrumbs() {\n return this.breadCrumbBuilder;\n }\n\n public activate() {\n super.activate();\n }\n}\n\nexport const ModuleName = LayoutModule.name;\n\nexport const registerLayoutModule = () => registerModule(LayoutModule);\n","export enum SettingsRoute {\n accountRoot = '/account',\n organizationRoot = '/organization',\n organizationDictionaries = '/organization/dictionaries',\n organizationUsers = '/organization/users',\n organizationUsersAdd = '/organization/users/invite',\n organizationUserInvites = '/organization/users/invites',\n}\n","import { useStoreModule } from '~/app/composables/use-store-module';\nimport {\n Action,\n Mutation,\n Getter,\n moduleName,\n IBodyboxState,\n} from '~/app/modules/bodybox/store';\n\nexport function useStore() {\n const scope = useStoreModule(moduleName);\n\n return {\n ...scope,\n Action,\n Mutation,\n Getter,\n };\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._g(_vm._b({staticClass:\"wb-color-swatch-picker\"},'div',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:\"wb-color-swatch-picker__default-checkbox\",style:({ 'background-color': _vm.defaultColor }),attrs:{\"tabindex\":\"0\",\"role\":\"checkbox\",\"aria-checked\":_vm.value === _vm.defaultColor},on:{\"click\":function($event){return _vm.select(_vm.defaultColor)}}},[_c('span',{staticClass:\"relative\"},[_c('svg',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.value === _vm.defaultColor),expression:\"value === defaultColor\"}],staticClass:\"absolute left-[-30px] -top-1/4 mr-2 scale-75 transform fill-[white]\",staticStyle:{\"width\":\"24px\",\"height\":\"24px\"},attrs:{\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"stroke-width\":\"10\",\"d\":\"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z\"}})]),_vm._v(\"\\n Default\\n \")])]),_vm._v(\" \"),_c('color-picker',{staticClass:\"!h-auto !w-auto !p-0 !shadow-none\",attrs:{\"value\":_vm.value,\"palette\":_vm.palette},on:{\"input\":_vm.select}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/* eslint-disable camelcase */\nexport const COLOR_RED = {\n 100: '#fee2e2',\n 200: '#fecaca',\n 300: '#fca5a5',\n 400: '#f87171',\n 500: '#ef4444',\n 600: '#dc2626',\n 700: '#b91c1c',\n 800: '#991b1b',\n 900: '#7f1d1d',\n};\n\nexport const COLOR_PINK = {\n 100: '#fce7f3',\n 200: '#fbcfe8',\n 300: '#f9a8d4',\n 400: '#f472b6',\n 500: '#ec4899',\n 600: '#db2777',\n 700: '#be185d',\n 800: '#9d174d',\n 900: '#831843',\n};\n\nexport const COLOR_ORANGE = {\n 100: '#ffebd4',\n 200: '#ffd3a8',\n 300: '#ffb371',\n 400: '#ff8938',\n 500: '#fe6711',\n 600: '#ef4c07',\n 700: '#c63608',\n 800: '#9d2c0f',\n 900: '#7e2710',\n};\n\nexport const COLOR_YELLOW = {\n 100: '#fff8c2',\n 200: '#fff089',\n 300: '#ffdf45',\n 400: '#fccb13',\n 500: '#ecb206',\n 600: '#cc8902',\n 700: '#a26106',\n 800: '#864c0d',\n 900: '#723e11',\n};\n\nexport const COLOR_GREEN = {\n 100: '#e8faf2',\n 200: '#c6f3dd',\n 300: '#a4ebc9',\n 400: '#60dca1',\n 500: '#1ccd78',\n 600: '#19b96c',\n 700: '#159a5a',\n 800: '#117b48',\n 900: '#0e643b',\n};\n\nexport const COLOR_BLUE = {\n 100: '#dbeafe',\n 200: '#bfdbfe',\n 300: '#93c5fd',\n 400: '#60a5fa',\n 500: '#3b82f6',\n 600: '#2563eb',\n 700: '#1d4ed8',\n 800: '#1e40af',\n 900: '#1e3a8a',\n};\n\nexport const COLOR_PURPLE = {\n 100: '#ede9fe',\n 200: '#ddd6fe',\n 300: '#c4b5fd',\n 400: '#a78bfa',\n 500: '#8b5cf6',\n 600: '#7c3aed',\n 700: '#6d28d9',\n 800: '#5b21b6',\n 900: '#4c1d95',\n};\n\nexport const COLOR_BLACK = {\n 100: '#f3f4f6',\n 200: '#e5e7eb',\n 300: '#d1d5db',\n 400: '#9ca3af',\n 500: '#6b7280',\n 600: '#4b5563',\n 700: '#374151',\n 800: '#1f2937',\n 900: '#111827',\n};\n\nconst getColorCodes = (\n colors: TColors,\n levels: Array\n) => {\n return Object.entries(colors)\n .filter(([level]) => levels.includes(parseInt(level, 10) as keyof TColors))\n .sort(\n ([aLevel], [bLevel]) => levels.indexOf(+aLevel) - levels.indexOf(+bLevel)\n )\n .map(([, color]) => color);\n};\n\nexport const DEFAULT_SWATCHES = [\n getColorCodes(COLOR_RED, [300, 400, 500, 600]),\n getColorCodes(COLOR_PINK, [300, 400, 500, 600]),\n getColorCodes(COLOR_ORANGE, [300, 400, 500, 600]),\n getColorCodes(COLOR_YELLOW, [300, 400, 500, 600]),\n getColorCodes(COLOR_GREEN, [300, 400, 500, 600]),\n getColorCodes(COLOR_BLUE, [300, 400, 500, 600]),\n getColorCodes(COLOR_PURPLE, [300, 400, 500, 600]),\n getColorCodes(COLOR_BLACK, [300, 400, 500, 600]),\n] as const;\n\n// export const DEFAULT_SWATCHES = [\n// ['#991b1b', '#dc2626', '#ef4444', '#f87171'],\n// ['#9d174d', '#db2777', '#ec4899', '#f472b6'],\n// ['#9d2c0f', '#ef4c07', '#fe6711', '#ffb371'],\n// ['#92400e', '#b45309', '#ecb206', '#ffdc2e'],\n// ['#117b48', '#19b96c', '#1ccd78', '#60dca1'],\n// ['#1e40af', '#2563eb', '#3b82f6', '#60a5fa'],\n// ['#5b21b6', '#7c3aed', '#8b5cf6', '#a78bfa'],\n// ['#1f2937', '#4b5563', '#6b7280', '#9ca3af'],\n// ] as const;\n\nexport const DEfAULT_COLOR = '#606884' as const;\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./color-swatch-picker.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./color-swatch-picker.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* eslint-disable camelcase */\nimport {\n defineComponent,\n getCurrentInstance,\n onMounted,\n PropType,\n} from '@nuxtjs/composition-api';\nimport { Swatches } from 'vue-color';\nimport { DEfAULT_COLOR, DEFAULT_SWATCHES } from './constants';\n\nexport default defineComponent({\n name: 'ColorSwatchPicker',\n components: {\n ColorPicker: Swatches,\n },\n props: {\n value: {\n type: [String, Object] as PropType,\n required: true,\n },\n palette: {\n type: Array as PropType>,\n required: false,\n default: () => DEFAULT_SWATCHES,\n },\n defaultColor: {\n type: String as PropType,\n required: false,\n default: () => DEfAULT_COLOR,\n },\n },\n emits: {\n input: null, // (value: unknown) => typeof value === 'string',\n },\n setup(_, { emit }) {\n onMounted(() => {\n const instance = getCurrentInstance();\n const optionEls = instance?.proxy.$el.querySelectorAll('[role=\"option\"]');\n optionEls?.forEach((el) => ((el as HTMLElement).tabIndex = 0));\n });\n\n const select = (color: string | { hex: string }) => {\n emit('input', typeof color === 'object' ? color.hex : color);\n };\n\n return { select };\n },\n});\n","import { render, staticRenderFns } from \"./color-swatch-picker.vue?vue&type=template&id=103bb0cc&scoped=true&\"\nimport script from \"./color-swatch-picker.vue?vue&type=script&lang=ts&\"\nexport * from \"./color-swatch-picker.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./color-swatch-picker.vue?vue&type=style&index=0&id=103bb0cc&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 \"103bb0cc\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable camelcase */\nimport {\n DEfAULT_COLOR,\n COLOR_RED,\n COLOR_PINK,\n COLOR_ORANGE,\n COLOR_YELLOW,\n COLOR_GREEN,\n COLOR_BLUE,\n COLOR_PURPLE,\n COLOR_BLACK,\n} from '~/app/components/ui/color-picker';\n\nconst Palette = {\n default: DEfAULT_COLOR,\n red: COLOR_RED,\n pink: COLOR_PINK,\n orange: COLOR_ORANGE,\n yellow: COLOR_YELLOW,\n green: COLOR_GREEN,\n blue: COLOR_BLUE,\n purple: COLOR_PURPLE,\n black: COLOR_BLACK,\n} as const;\n\nexport type PaletteColor = keyof typeof Palette;\n\nexport type ColorLevel =\n | 50\n | 100\n | 200\n | 300\n | 400\n | 500\n | 600\n | 700\n | 800\n | 900;\n\nexport function useColorPickerColor(\n color: PaletteColor | string,\n level: ColorLevel | number,\n palette:\n | typeof Palette\n | Record = Palette\n) {\n const paletteColor = palette[color as keyof typeof palette];\n\n if (typeof paletteColor === 'string') return paletteColor;\n\n if (level in paletteColor)\n return (paletteColor as Record)[level];\n\n const nearestLevel = Object.keys(palette[color as keyof typeof palette])\n // .reverse() // higher levels take precedence\n .reduce((prev, cur) => {\n const previous = parseInt(prev.toString(), 10);\n const current = parseInt(cur.toString(), 10);\n return Math.abs(current - level) < Math.abs(previous - level)\n ? current\n : previous;\n }, 0);\n\n return (paletteColor as Record)[nearestLevel];\n}\n\nexport type ColorToken = { color: string; level: number };\nexport function useColorPickerToken(\n hexColor: string,\n palette:\n | typeof Palette\n | Record = Palette\n): ColorToken | null {\n const paletteColors = Object.entries(palette);\n\n for (const [colorName, shades] of paletteColors) {\n const shadeEntries = Object.entries(shades);\n const entry = shadeEntries.find(\n ([_shadeLevel, hex]) => hex.toLowerCase() === hexColor.toLowerCase()\n );\n\n if (entry) return { color: colorName, level: parseInt(entry[0], 10) };\n }\n\n return null;\n}\n\nexport function hasColor(\n color: PaletteColor,\n level: ColorLevel,\n palette:\n | typeof Palette\n | Record = Palette\n) {\n const paletteColor = palette[color];\n\n if (typeof paletteColor === 'string') return true;\n\n return level in paletteColor;\n}\n","/* eslint-disable camelcase */\nimport Vue, { VueConstructor, PluginObject } from 'vue';\nimport WbColorSwatchPicker from './color-swatch-picker.vue';\n\nconst colorPicker: VueConstructor &\n PluginObject = WbColorSwatchPicker as any;\ncolorPicker.install = function (vue) {\n vue.component('WbColorSwatchPicker', WbColorSwatchPicker);\n};\n\nexport { WbColorSwatchPicker };\nexport * from './constants';\nexport * from './useColorPicker';\nexport default colorPicker;\n","import Vue from 'vue';\nimport { EventBus } from '~/app/core/services/event-bus';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\n\nexport enum BarcodingEvent {\n RequestingRefresh = 'mb.barcoding.requestingRefresh',\n}\n\nexport class BarcodingModule extends AppModule {\n private readonly _events = new Vue();\n\n public readonly name = BarcodingModule.name;\n public readonly events = new EventBus(this._events);\n\n public requestRefresh() {\n this._events.$emit(BarcodingEvent.RequestingRefresh);\n }\n}\n\nexport const ModuleName = BarcodingModule.name;\n\nexport const registerBarcodingModule = () => registerModule(BarcodingModule);\n","import { AppAbilitySubject } from '~/app/core/casl';\nimport type { Action, Subject } from '~/app/core/casl/types';\nimport { LogProvider } from '~/app/core/logging';\nimport {\n AccessScope,\n AccessScopeDescription,\n AccessScopeMasterList,\n} from '~/app/models';\n\nexport class AccessScopeService {\n private readonly masterList: AccessScopeMasterList;\n private readonly logger?: LogProvider;\n\n constructor(masterList: AccessScopeMasterList, logger?: LogProvider) {\n this.masterList = masterList;\n this.logger = logger;\n }\n\n public parse(scope: string): AccessScope {\n const parts = scope.split(':');\n\n if (parts.length < 2)\n throw new Error('Invalid Access scope string format.');\n\n const [subject, ...actionWithNamespaces] = parts;\n\n const availableSubjects = Object.keys(this.masterList);\n const isValidSubject = availableSubjects.includes(subject);\n\n if (!isValidSubject)\n this.logger?.error(\n new Error(\n `Invalid subject. Subject \"${subject}\" must be one of the following ${availableSubjects}`\n ),\n { subject, availableSubjects },\n { ui: false }\n );\n\n const scopes = (this.masterList as unknown) as {\n [sub: string]: AccessScopeDescription[];\n };\n\n const subjectScopes = scopes[subject].map((s) => s.scope);\n const isValidSubjectScope = subjectScopes.includes(scope);\n\n if (!isValidSubjectScope)\n this.logger?.error(\n new Error(\n `Invalid scope. Scope \"${scope}\" must be one of the following ${subjectScopes}`\n ),\n { scope, subjectScopes },\n { ui: false }\n );\n\n if (actionWithNamespaces.length > 1) {\n // const action = actionWithNamespaces[actionWithNamespaces.length - 1];\n const namespaces = actionWithNamespaces.slice(0, -1);\n return new AccessScope(scope as Action, subject as Subject, namespaces);\n }\n\n return new AccessScope(scope as Action, subject as Subject);\n }\n\n public parseList(scopes: string[]): AccessScope[] {\n return scopes.map((scope) => this.parse(scope));\n }\n\n public getSubjectScopes(subject: AppAbilitySubject): AccessScope[] {\n const doesMasterListContainSubject = subject in this.masterList;\n\n if (!doesMasterListContainSubject)\n this.logger?.error(\n new Error(\n `Invalid subject. Subject \"${subject}\" must be one of the following ${Object.keys(\n this.masterList\n )}`\n ),\n { subject, availableSubjects: Object.keys(this.masterList) }\n );\n\n const scopes = this.masterList as {\n [sub in AppAbilitySubject]: AccessScopeDescription[];\n };\n\n return scopes[subject].map(({ scope }) => this.parse(scope));\n }\n}\n","import {\n AutopsyServiceCollection,\n Case,\n CaseHold,\n DateTimeInfo,\n DeathCertificate,\n DonationProcurementCollection,\n FuneralHome,\n HouseAutopsy,\n InfectiousDisease,\n MedicalExaminer,\n MedicolegalInvestigationCollection,\n NextOfKinRecord,\n NoteRecord,\n OrganDonationRecord,\n OriginLocation,\n RequirementStatus,\n VendorAutopsy,\n} from '~/app/models';\n\nexport class CreateCaseRequest {\n public readonly typeId?: string;\n\n public readonly reportedBy?: string;\n\n public readonly storageLocationId?: string;\n\n public readonly holds?: Readonly;\n\n public readonly deathCertificate?: DeathCertificate;\n\n public readonly alias?: string;\n\n public readonly firstName?: string;\n\n public readonly middleName?: string;\n\n public readonly lastName?: string;\n\n public readonly genderId?: string;\n\n public readonly dateOfBirth?: DateTimeInfo;\n\n public readonly dateOfDeath?: DateTimeInfo;\n\n public readonly medicalRecordNumber?: string;\n\n public readonly socialSecurityNumber?: string;\n\n public readonly financialIdentificationNumber?: string;\n\n public readonly weight?: number;\n\n public readonly raceId?: string;\n\n public readonly ethnicityId?: string;\n\n public readonly maritalStatusId?: string;\n\n public readonly countyId?: string;\n\n public readonly systemTagIds?: string[];\n\n public readonly userTags?: string[];\n\n public readonly personalProperty?: Readonly<{\n [locationId: string]: string[];\n }>;\n\n public readonly autopsyRequirementStatus?: RequirementStatus;\n\n public readonly inHouseAutopsies?: Array>;\n\n public readonly vendorAutopsies?: Array>;\n\n public autopsies?: AutopsyServiceCollection;\n\n public readonly organDonationRequirementStatus?: RequirementStatus;\n\n public readonly organDonations?: Array>;\n\n public donationProcurements?: DonationProcurementCollection;\n\n public readonly funeralHome?: Readonly;\n\n public readonly originLocation?: Readonly;\n\n public readonly medicalExaminer?: Readonly;\n\n public readonly medicolegalInvestigations?: MedicolegalInvestigationCollection;\n\n public readonly infectiousDisease?: Readonly;\n\n public readonly nextOfKin?: Array>;\n\n public readonly notes?: Pick[];\n\n public readonly documentIds?: string[];\n\n constructor(details: Case) {\n this.typeId = details.typeId;\n this.reportedBy = details.reportedBy;\n this.storageLocationId = details.storageLocationId;\n this.holds = details.holds;\n this.deathCertificate = details.deathCertificate;\n this.alias = details.decedent?.alias;\n this.firstName = details.decedent?.firstName;\n this.middleName = details.decedent?.middleName;\n this.lastName = details.decedent?.lastName;\n this.genderId = details.decedent?.genderId;\n this.dateOfBirth = details.decedent?.dateOfBirth\n ? new DateTimeInfo(details.decedent.dateOfBirth)\n : undefined;\n this.dateOfDeath = details.decedent?.dateOfDeath\n ? new DateTimeInfo(details.decedent.dateOfDeath)\n : undefined;\n this.medicalRecordNumber = details.decedent?.medicalRecordNumber;\n this.socialSecurityNumber = details.decedent?.socialSecurityNumber;\n this.financialIdentificationNumber = details.financialIdentificationNumber;\n this.weight = details.decedent?.weight;\n this.raceId = details.decedent?.raceId;\n this.ethnicityId = details.decedent?.ethnicityId;\n this.maritalStatusId = details.decedent?.maritalStatusId;\n this.countyId = details.decedent?.countyId;\n this.systemTagIds = details.tags?.systemTagIds;\n this.userTags = details.tags?.userTags;\n this.personalProperty = details.property?.locations;\n this.autopsyRequirementStatus = details.autopsies?.requirementStatus;\n this.inHouseAutopsies = details.autopsies?.inHouse;\n this.vendorAutopsies = details.autopsies?.vendor;\n this.autopsies = details.autopsyServices;\n this.organDonationRequirementStatus =\n details.organDonations?.requirementStatus;\n this.organDonations = details.organDonations?.records;\n this.donationProcurements = details.donationProcurements;\n this.funeralHome = details.funeralHome;\n this.originLocation = details.originLocation;\n this.medicalExaminer = details.medicalExaminer;\n this.medicolegalInvestigations = details.medicolegalInvestigations;\n this.infectiousDisease = details.infectiousDisease;\n this.nextOfKin = details.nextOfKin?.records;\n this.notes = details.notes?.records.map(({ content, tagIds }) => ({\n content,\n tagIds,\n }));\n this.documentIds = details.documents?.records.map((c) => c.id!);\n }\n}\n","import type { ActionTree } from 'vuex';\nimport type { IDictionariesState } from './state';\nimport { Mutation } from './mutations';\nimport type { RootState } from '~/store';\nimport {\n CaseTypeDictionaryItem,\n DictionaryItem,\n DictionaryType,\n NextOfKinTypeDictionaryItem,\n OrganizationDictionaryItem,\n OriginLocationDictionaryItem,\n SystemTagDictionaryItem,\n TagType,\n} from '~/app/models';\nimport {\n AddDictionaryItemRequest,\n AddNextOfKinTypeRequest,\n AddOrganizationDictionaryItemRequest,\n AddOriginLocationRequest,\n AddSystemTagRequest,\n CreateCaseTypeRequest,\n DeleteDictionaryItemRequest,\n EditCaseTypeRequest,\n EditDictionaryItemRequest,\n EditNextOfKinTypeRequest,\n EditOrganizationDictionaryItemRequest,\n EditOriginLocationRequest,\n EditSystemTagRequest,\n} from '~/app/core/api/requests/dictionaries';\n\nexport enum Action {\n fetch = 'fetch',\n fetchOne = 'fetchOne',\n add = 'add',\n edit = 'edit',\n remove = 'remove',\n\n fetchAssociateOrganizations = 'fetchAssociateOrganizations',\n\n fetchAutopsyVendors = 'fetchAutopsyVendors',\n fetchAutopsyVendor = 'fetchAutopsyVendorById',\n addAutopsyVendor = 'addAutopsyVendor',\n editAutopsyVendor = 'editAutopsyVendor',\n removeAutopsyVendor = 'removeAutopsyVendor',\n\n fetchFuneralHomes = 'fetchFuneralHomes',\n fetchFuneralHome = 'fetchFuneralHomeById',\n addFuneralHome = 'addFuneralHome',\n editFuneralHome = 'editFuneralHome',\n removeFuneralHome = 'removeFuneralHome',\n\n fetchGenders = 'fetchGenders',\n fetchGender = 'fetchGenderById',\n addGender = 'addGender',\n editGender = 'editGender',\n removeGender = 'removeGender',\n\n fetchOrganBanks = 'fetchOrganBanks',\n fetchOrganBank = 'fetchOrganBankById',\n addOrganBank = 'addOrganBank',\n editOrganBank = 'editOrganBank',\n removeOrganBank = 'removeOrganBank',\n\n fetchMedicalExaminers = 'fetchMedicalExaminers',\n fetchMedicalExaminer = 'fetchMedicalExaminerById',\n addMedicalExaminer = 'addMedicalExaminer',\n editMedicalExaminer = 'editMedicalExaminer',\n removeMedicalExaminer = 'removeMedicalExaminer',\n\n fetchPersonalBelongingLocations = 'fetchPersonalBelongingLocations',\n fetchPersonalBelongingLocation = 'fetchPersonalBelongingLocationById',\n addPersonalBelongingLocation = 'addPersonalBelongingLocation',\n editPersonalBelongingLocation = 'editPersonalBelongingLocation',\n removePersonalBelongingLocation = 'removePersonalBelongingLocation',\n\n fetchOriginLocations = 'fetchOriginLocations',\n fetchOriginLocation = 'fetchOriginLocationById',\n addOriginLocation = 'addOriginLocation',\n editOriginLocation = 'editOriginLocation',\n removeOriginLocation = 'removeOriginLocation',\n\n fetchSystemTags = 'fetchSystemTags',\n fetchSystemTag = 'fetchSystemTagById',\n addSystemTag = 'addSystemTag',\n editSystemTag = 'editSystemTag',\n removeSystemTag = 'removeSystemTag',\n fetchComputedTags = 'fetchComputedTags',\n\n fetchNextOfKinTypes = 'fetchNextOfKinTypes',\n fetchNextOfKinType = 'fetchNextOfKinTypeById',\n addNextOfKinType = 'addNextOfKinType',\n editNextOfKinType = 'editNextOfKinType',\n removeNextOfKinType = 'removeNextOfKinType',\n\n fetchInfectiousDiseaseTypes = 'fetchInfectiousDiseaseTypes',\n fetchInfectiousDiseaseType = 'fetchInfectiousDiseaseTypeById',\n addInfectiousDiseaseType = 'addInfectiousDiseaseType',\n editInfectiousDiseaseType = 'editInfectiousDiseaseType',\n removeInfectiousDiseaseType = 'removeInfectiousDiseaseType',\n\n fetchCaseTypes = 'fetchCaseTypes',\n fetchCaseType = 'fetchCaseTypeById',\n addCaseType = 'addCaseType',\n editCaseType = 'editCaseType',\n removeCaseType = 'removeCaseType',\n}\n\nexport interface AddEntryPayload {\n type: DictionaryType;\n request: AddDictionaryItemRequest;\n}\n\nexport interface EditEntryPayload {\n type: DictionaryType;\n request: EditDictionaryItemRequest;\n}\n\nexport interface RemoveEntryPayload {\n type: DictionaryType;\n request: DeleteDictionaryItemRequest;\n}\n\nexport const actions: ActionTree = {\n async [Action.fetch]({ commit }, type: DictionaryType) {\n const entries = await this.$api.dictionaries.getAsync(type);\n\n commit(Mutation.set, { type, entries });\n\n return [...entries].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchOne](_context, { slug, entryId }) {\n const entry = await this.$api.dictionaries.getByIdAsync(slug, entryId);\n return entry;\n },\n async [Action.add]({ state, commit }, { type, request }: AddEntryPayload) {\n const newEntry = await this.$api.dictionaries.addAsync(type, request);\n\n const key = `${type}s` as keyof IDictionariesState;\n commit(Mutation.set, {\n type,\n entries: [...(state[key] || []), newEntry],\n });\n\n return newEntry;\n },\n async [Action.edit]({ state, commit }, { type, request }: EditEntryPayload) {\n const editedEntry = await this.$api.dictionaries.editAsync(type, request);\n\n const key = `${type}s` as keyof IDictionariesState;\n const entryIndex = state[key]?.findIndex((e) => e.id === editedEntry.id);\n const _entries = [...(state[key] || [])];\n entryIndex !== undefined && _entries.splice(entryIndex, 1, editedEntry);\n commit(Mutation.set, { type, entries: _entries });\n\n return editedEntry;\n },\n async [Action.remove](\n { state, commit },\n { type, request }: RemoveEntryPayload\n ) {\n await this.$api.dictionaries.deleteAsync(type, request);\n\n const key = `${type}s` as keyof IDictionariesState;\n const entryIndex = state[key]?.findIndex((e) => e.id === request.entryId);\n const _entries = [...(state[key] || [])];\n entryIndex !== undefined && _entries.splice(entryIndex, 1);\n commit(Mutation.set, { type, entries: _entries });\n },\n\n async [Action.fetchAssociateOrganizations]({ commit }) {\n const orgs = await this.$api.dictionaries.getAssociateOrganizationsAsync();\n commit(Mutation.setAutopsyVendors, orgs);\n\n return orgs;\n },\n // #region Autopsy Vendors\n async [Action.fetchAutopsyVendors]({ commit }) {\n const vendors = await this.$api.dictionaries.getAutopsyVendorsAsync();\n\n commit(Mutation.setAutopsyVendors, vendors);\n\n return [...vendors].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchAutopsyVendor](_context, entryId: string) {\n const vendor = await this.$api.dictionaries.getAutopsyVendorAsync(entryId);\n return vendor;\n },\n async [Action.addAutopsyVendor](\n { state, commit },\n vendor: OrganizationDictionaryItem\n ) {\n const request = new AddOrganizationDictionaryItemRequest(vendor);\n const newVendor = await this.$api.dictionaries.addAutopsyVendorAsync(\n request\n );\n\n commit(Mutation.setAutopsyVendors, [\n ...(state.autopsyVendor || []),\n newVendor,\n ]);\n\n return newVendor;\n },\n async [Action.editAutopsyVendor](\n { state, commit },\n vendor: OrganizationDictionaryItem\n ) {\n const request = new EditOrganizationDictionaryItemRequest(vendor);\n const editedVendor = await this.$api.dictionaries.editAutopsyVendorAsync(\n request\n );\n\n const vendorIndex = state.autopsyVendor?.findIndex(\n (v) => v.id === vendor.id\n );\n const _vendors = [...(state.autopsyVendor || [])];\n vendorIndex !== undefined && _vendors.splice(vendorIndex, 1, editedVendor);\n commit(Mutation.setAutopsyVendors, _vendors);\n\n return editedVendor;\n },\n async [Action.removeAutopsyVendor](\n { state, commit },\n vendor: DictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({ entryId: vendor.id });\n await this.$api.dictionaries.deleteAutopsyVendorAsync(request);\n\n const vendorIndex = state.autopsyVendor?.findIndex(\n (v) => v.id === vendor.id\n );\n const _vendors = [...(state.autopsyVendor || [])];\n vendorIndex !== undefined && _vendors.splice(vendorIndex, 1);\n commit(Mutation.setAutopsyVendors, _vendors);\n },\n // #endregion Autopsy Vendors\n // #region Funeral Homes\n async [Action.fetchFuneralHomes]({ commit }) {\n const funeralHomes = await this.$api.dictionaries.getFuneralHomesAsync();\n\n commit(Mutation.setFuneralHomes, funeralHomes);\n\n return [...funeralHomes].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchFuneralHome](_context, entryId: string) {\n const funeralHome = await this.$api.dictionaries.getFuneralHomeAsync(\n entryId\n );\n return funeralHome;\n },\n async [Action.addFuneralHome](\n { state, commit },\n funeralHome: OrganizationDictionaryItem\n ) {\n const request = new AddOrganizationDictionaryItemRequest(funeralHome);\n const newFuneralHome = await this.$api.dictionaries.addFuneralHomeAsync(\n request\n );\n\n commit(Mutation.setFuneralHomes, [\n ...(state.funeralHome || []),\n newFuneralHome,\n ]);\n\n return newFuneralHome;\n },\n async [Action.editFuneralHome](\n { state, commit },\n funeralHome: OrganizationDictionaryItem\n ) {\n const request = new EditOrganizationDictionaryItemRequest(funeralHome);\n const editedFuneralHome = await this.$api.dictionaries.editFuneralHomeAsync(\n request\n );\n\n const funeralHomeIndex = state.funeralHome?.findIndex(\n (fh) => fh.id === funeralHome.id\n );\n const _funeralHomes = [...(state.funeralHome || [])];\n funeralHomeIndex !== undefined &&\n _funeralHomes.splice(funeralHomeIndex, 1, editedFuneralHome);\n commit(Mutation.setFuneralHomes, _funeralHomes);\n\n return editedFuneralHome;\n },\n async [Action.removeFuneralHome](\n { state, commit },\n funeralHome: OrganizationDictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: funeralHome.id,\n });\n await this.$api.dictionaries.deleteFuneralHomeAsync(request);\n\n const funeralHomeIndex = state.funeralHome?.findIndex(\n (fh) => fh.id === funeralHome.id\n );\n const _funeralHomes = [...(state.funeralHome || [])];\n funeralHomeIndex !== undefined && _funeralHomes.splice(funeralHomeIndex, 1);\n commit(Mutation.setFuneralHomes, _funeralHomes);\n },\n // #endregion Funeral Home\n // #region Organ Banks\n async [Action.fetchOrganBanks]({ commit }) {\n const organBanks = await this.$api.dictionaries.getOrganBanksAsync();\n\n commit(Mutation.setOrganBanks, organBanks);\n\n return [...organBanks].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchOrganBank](_context, entryId: string) {\n const organBank = await this.$api.dictionaries.getOrganBankAsync(entryId);\n return organBank;\n },\n async [Action.addOrganBank](\n { state, commit },\n organBank: OrganizationDictionaryItem\n ) {\n const request = new AddOrganizationDictionaryItemRequest(organBank);\n const organBanks = await this.$api.dictionaries.addOrganBankAsync(request);\n\n commit(Mutation.setOrganBanks, [...(state.tissueBank || []), organBanks]);\n\n return organBanks;\n },\n async [Action.editOrganBank](\n { state, commit },\n organBank: OrganizationDictionaryItem\n ) {\n const request = new EditOrganizationDictionaryItemRequest(organBank);\n const updatedOrganBank = await this.$api.dictionaries.editOrganBankAsync(\n request\n );\n\n const organBankIndex = state.tissueBank?.findIndex(\n (ob) => ob.id === organBank.id\n );\n const _organBanks = [...(state.tissueBank || [])];\n organBankIndex !== undefined &&\n _organBanks.splice(organBankIndex, 1, updatedOrganBank);\n commit(Mutation.setOrganBanks, _organBanks);\n\n return updatedOrganBank;\n },\n async [Action.removeOrganBank](\n { state, commit },\n organBank: OrganizationDictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: organBank.id,\n });\n await this.$api.dictionaries.deleteOrganBankAsync(request);\n\n const organBankIndex = state.tissueBank?.findIndex(\n (fh) => fh.id === organBank.id\n );\n const _organBanks = [...(state.tissueBank || [])];\n organBankIndex !== undefined && _organBanks.splice(organBankIndex, 1);\n commit(Mutation.setOrganBanks, _organBanks);\n },\n // #endregion Organ Banks\n // #region Medical Examiners\n async [Action.fetchMedicalExaminers]({ commit }) {\n const medicalExaminers = await this.$api.dictionaries.getMedicalExaminersAsync();\n\n commit(Mutation.setMedicalExaminers, medicalExaminers);\n\n return [...medicalExaminers].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchMedicalExaminer](_context, entryId: string) {\n const medicalExaminer = await this.$api.dictionaries.getMedicalExaminerAsync(\n entryId\n );\n return medicalExaminer;\n },\n async [Action.addMedicalExaminer](\n { state, commit },\n medicalExaminer: OrganizationDictionaryItem\n ) {\n const request = new AddOrganizationDictionaryItemRequest(medicalExaminer);\n const newMedicalExaminer = await this.$api.dictionaries.addMedicalExaminerAsync(\n request\n );\n\n commit(Mutation.setMedicalExaminers, [\n ...(state.medicalExaminer || []),\n newMedicalExaminer,\n ]);\n\n return newMedicalExaminer;\n },\n async [Action.editMedicalExaminer](\n { state, commit },\n medicalExaminer: OrganizationDictionaryItem\n ) {\n const request = new EditOrganizationDictionaryItemRequest(medicalExaminer);\n const updatedMedicalExaminer = await this.$api.dictionaries.editMedicalExaminerAsync(\n request\n );\n\n const medicalExaminerIndex = state.medicalExaminer?.findIndex(\n (me) => me.id === medicalExaminer.id\n );\n const _medicalExaminers = [...(state.medicalExaminer || [])];\n medicalExaminerIndex !== undefined &&\n _medicalExaminers.splice(medicalExaminerIndex, 1, updatedMedicalExaminer);\n commit(Mutation.setMedicalExaminers, _medicalExaminers);\n\n return updatedMedicalExaminer;\n },\n async [Action.removeMedicalExaminer](\n { state, commit },\n medicalExaminer: OrganizationDictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: medicalExaminer.id,\n });\n await this.$api.dictionaries.deleteMedicalExaminerAsync(request);\n\n const medicalExaminerIndex = state.medicalExaminer?.findIndex(\n (me) => me.id === medicalExaminer.id\n );\n const _medicalExaminers = [...(state.medicalExaminer || [])];\n medicalExaminerIndex !== undefined &&\n _medicalExaminers.splice(medicalExaminerIndex, 1);\n commit(Mutation.setOrganBanks, _medicalExaminers);\n },\n // #endregion Medical Examiners\n // #region Gender\n async [Action.fetchGenders]({ commit }) {\n const genders = await this.$api.dictionaries.getGendersAsync();\n\n commit(Mutation.setGenders, genders);\n\n return [...genders].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchGender](_context, entryId: string) {\n const gender = await this.$api.dictionaries.getGenderAsync(entryId);\n return gender;\n },\n async [Action.addGender](\n { state, commit },\n gender: DictionaryItem & { externalId: string }\n ) {\n const request = new AddDictionaryItemRequest(gender);\n const newGender = await this.$api.dictionaries.addGenderAsync(request);\n\n commit(Mutation.setGenders, [...(state.gender || []), newGender]);\n\n return newGender;\n },\n async [Action.editGender](\n { state, commit },\n gender: DictionaryItem & { externalId: string }\n ) {\n const request = new EditDictionaryItemRequest(gender);\n const editedGender = await this.$api.dictionaries.editGenderAsync(request);\n\n const genderIndex = state.gender?.findIndex((g) => g.id === gender.id);\n const _genders = [...(state.gender || [])];\n genderIndex !== undefined && _genders.splice(genderIndex, 1, editedGender);\n commit(Mutation.setGenders, _genders);\n\n return editedGender;\n },\n async [Action.removeGender]({ state, commit }, gender: DictionaryItem) {\n const request = new DeleteDictionaryItemRequest({ entryId: gender.id });\n await this.$api.dictionaries.deleteGenderAsync(request);\n\n const genderIndex = state.gender?.findIndex((g) => g.id === gender.id);\n const _genders = [...(state.gender || [])];\n genderIndex !== undefined && _genders.splice(genderIndex, 1);\n commit(Mutation.setGenders, _genders);\n },\n // #endregion Gender\n // #region Personal Belonging Locations\n async [Action.fetchPersonalBelongingLocations]({ commit }) {\n const locations = await this.$api.dictionaries.getPersonalBelongingLocationsAsync();\n\n commit(Mutation.setPersonalBelongingLocations, locations);\n\n return [...locations].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchPersonalBelongingLocation](_context, entryId: string) {\n const location = await this.$api.dictionaries.getPersonalBelongingLocationAsync(\n entryId\n );\n return location;\n },\n async [Action.addPersonalBelongingLocation]({ state, commit }, name: string) {\n const request = new AddDictionaryItemRequest({ name });\n const location = await this.$api.dictionaries.addPersonalBelongingLocationAsync(\n request\n );\n\n commit(Mutation.setPersonalBelongingLocations, [\n ...(state.personalBelongingLocation || []),\n location,\n ]);\n\n return location;\n },\n async [Action.editPersonalBelongingLocation](\n { state, commit },\n location: DictionaryItem\n ) {\n const request = new EditDictionaryItemRequest(location);\n const editedLocation = await this.$api.dictionaries.editPersonalBelongingLocationAsync(\n request\n );\n\n const locationIndex = state.personalBelongingLocation?.findIndex(\n (l) => l.id === location.id\n );\n const _locations = [...(state.personalBelongingLocation || [])];\n locationIndex !== undefined &&\n _locations.splice(locationIndex, 1, editedLocation);\n commit(Mutation.setPersonalBelongingLocations, _locations);\n\n return editedLocation;\n },\n async [Action.removePersonalBelongingLocation](\n { state, commit },\n location: DictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: location.id,\n });\n await this.$api.dictionaries.deletePersonalBelongingLocationAsync(request);\n\n const locationIndex = state.personalBelongingLocation?.findIndex(\n (l) => l.id === location.id\n );\n const _locations = [...(state.personalBelongingLocation || [])];\n locationIndex !== undefined && _locations.splice(locationIndex, 1);\n commit(Mutation.setPersonalBelongingLocations, _locations);\n },\n // #endregion Personal Belonging Locations\n // #region Origin Locations\n async [Action.fetchOriginLocations]({ commit }) {\n const locations = await this.$api.dictionaries.getOriginLocationsAsync();\n\n commit(Mutation.setOriginLocations, locations);\n\n return [...locations].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchOriginLocation](_context, entryId: string) {\n const location = await this.$api.dictionaries.getOriginLocationAsync(\n entryId\n );\n return location;\n },\n async [Action.addOriginLocation](\n { state, commit },\n entity: Omit<\n OriginLocationDictionaryItem,\n 'id' | 'activated' | 'filterValue'\n >\n ) {\n const request = new AddOriginLocationRequest(entity);\n const location = await this.$api.dictionaries.addOriginLocationAsync(\n request\n );\n\n commit(Mutation.setOriginLocations, [\n ...(state.originLocation || []),\n location,\n ]);\n\n return location;\n },\n async [Action.editOriginLocation](\n { state, commit },\n entity: Omit\n ) {\n const request = new EditOriginLocationRequest(entity);\n const editedLocation = await this.$api.dictionaries.editOriginLocationAsync(\n request\n );\n\n const locationIndex = state.originLocation?.findIndex(\n (l) => l.id === request.id\n );\n const _locations = [...(state.originLocation || [])];\n locationIndex !== undefined &&\n _locations.splice(locationIndex, 1, editedLocation);\n commit(Mutation.setOriginLocations, _locations);\n\n return editedLocation;\n },\n async [Action.removeOriginLocation](\n { state, commit },\n location: DictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: location.id,\n });\n await this.$api.dictionaries.deleteOriginLocationAsync(request);\n\n const locationIndex = state.originLocation?.findIndex(\n (l) => l.id === location.id\n );\n const _locations = [...(state.originLocation || [])];\n locationIndex !== undefined && _locations.splice(locationIndex, 1);\n commit(Mutation.setOriginLocations, _locations);\n },\n // #endregion Origin Locations\n // #region Tags\n async [Action.fetchSystemTags]({ commit }, types?: TagType[]) {\n const tags = await this.$api.dictionaries.getSystemTagsAsync();\n\n commit(Mutation.setTags, tags);\n\n return [...tags]\n .filter((t) => (types ? types?.includes(t.type) : true))\n .sort((a, b) => (a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1));\n },\n async [Action.fetchSystemTag](_context, entryId) {\n const tag = await this.$api.dictionaries.getSystemTagAsync(entryId);\n return tag;\n },\n async [Action.addSystemTag]({ state, commit }, tag: SystemTagDictionaryItem) {\n const request = new AddSystemTagRequest(tag);\n const newTag = await this.$api.dictionaries.addTagAsync(request);\n\n commit(Mutation.setTags, [...(state.tag || []), newTag]);\n\n return newTag;\n },\n async [Action.editSystemTag](\n { state, commit },\n tag: SystemTagDictionaryItem\n ) {\n const request = new EditSystemTagRequest(tag);\n const editedTag = await this.$api.dictionaries.editTagAsync(request);\n\n const tagIndex = state.tag?.findIndex((t) => t.id === tag.id);\n const _tags = [...(state.tag || [])];\n tagIndex !== undefined && _tags.splice(tagIndex, 1, editedTag);\n commit(Mutation.setTags, _tags);\n\n return editedTag;\n },\n async [Action.removeSystemTag](\n { state, commit },\n tag: SystemTagDictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: tag.id,\n });\n await this.$api.dictionaries.deleteTagAsync(request);\n\n const tagIndex = state.tag?.findIndex((t) => t.id === tag.id);\n const _tags = [...(state.tag || [])];\n tagIndex !== undefined && _tags.splice(tagIndex, 1);\n commit(Mutation.setTags, _tags);\n },\n async [Action.fetchComputedTags]() {\n const tags = await this.$api.dictionaries.getComputedTagsAsync();\n return tags;\n // return [...tags].sort((a, b) => (a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1));\n },\n // #endregion Tags\n // #region Next of Kin Types\n async [Action.fetchNextOfKinTypes]({ commit }) {\n const types = await this.$api.dictionaries.getNextOfKinTypesAsync();\n\n commit(Mutation.setNextOfKinTypes, types);\n\n return [...types].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchNextOfKinType](_context, entryId) {\n const type = await this.$api.dictionaries.getNextOfKinTypeAsync(entryId);\n return type;\n },\n async [Action.addNextOfKinType](\n { state, commit },\n type: NextOfKinTypeDictionaryItem\n ) {\n const request = new AddNextOfKinTypeRequest(type);\n const newType = await this.$api.dictionaries.addNextOfKinTypeAsync(request);\n\n commit(Mutation.setNextOfKinTypes, [\n ...(state.nextOfKinType || []),\n newType,\n ]);\n\n return newType;\n },\n async [Action.editNextOfKinType](\n { state, commit },\n type: NextOfKinTypeDictionaryItem\n ) {\n const request = new EditNextOfKinTypeRequest(type);\n const editedType = await this.$api.dictionaries.editNextOfKinTypeAsync(\n request\n );\n\n const typeIndex = state.nextOfKinType?.findIndex(\n (t) => t.id === editedType.id\n );\n const _types = [...(state.nextOfKinType || [])];\n typeIndex !== undefined && _types.splice(typeIndex, 1, editedType);\n commit(Mutation.setNextOfKinTypes, _types);\n\n return editedType;\n },\n async [Action.removeNextOfKinType](\n { state, commit },\n type: NextOfKinTypeDictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: type.id,\n });\n await this.$api.dictionaries.deleteNextOfKinTypeAsync(request);\n\n const typeIndex = state.nextOfKinType?.findIndex((t) => t.id === type.id);\n const _type = [...(state.nextOfKinType || [])];\n typeIndex !== undefined && _type.splice(typeIndex, 1);\n commit(Mutation.setNextOfKinTypes, _type);\n },\n // #endregion Next of Kin\n // #region Infectious Disease Types\n async [Action.fetchInfectiousDiseaseTypes]({ commit }) {\n const types = await this.$api.dictionaries.getInfectiousDiseaseTypesAsync();\n\n commit(Mutation.setInfectiousDiseaseTypes, types);\n\n return [...types].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchInfectiousDiseaseType](_context, entryId) {\n const type = await this.$api.dictionaries.getInfectiousDiseaseTypeAsync(\n entryId\n );\n return type;\n },\n async [Action.addInfectiousDiseaseType](\n { state, commit },\n type: DictionaryItem\n ) {\n const request = new AddDictionaryItemRequest(type);\n const newType = await this.$api.dictionaries.addInfectiousDiseaseTypeAsync(\n request\n );\n\n commit(Mutation.setInfectiousDiseaseTypes, [\n ...(state.infectiousDiseaseType || []),\n newType,\n ]);\n\n return newType;\n },\n async [Action.editInfectiousDiseaseType](\n { state, commit },\n type: DictionaryItem\n ) {\n const request = new EditDictionaryItemRequest(type);\n const editedType = await this.$api.dictionaries.editInfectiousDiseaseTypeAsync(\n request\n );\n\n const typeIndex = state.infectiousDiseaseType?.findIndex(\n (t) => t.id === editedType.id\n );\n const _types = [...(state.infectiousDiseaseType || [])];\n typeIndex !== undefined && _types.splice(typeIndex, 1, editedType);\n commit(Mutation.setInfectiousDiseaseTypes, _types);\n\n return editedType;\n },\n async [Action.removeInfectiousDiseaseType](\n { state, commit },\n type: DictionaryItem\n ) {\n const request = new DeleteDictionaryItemRequest({\n entryId: type.id,\n });\n await this.$api.dictionaries.deleteInfectiousDiseaseTypeAsync(request);\n\n const typeIndex = state.infectiousDiseaseType?.findIndex(\n (t) => t.id === type.id\n );\n const _type = [...(state.infectiousDiseaseType || [])];\n typeIndex !== undefined && _type.splice(typeIndex, 1);\n commit(Mutation.setInfectiousDiseaseTypes, _type);\n },\n // #endregion Infectious Disease Types\n // #region Case Types\n async [Action.fetchCaseTypes]({ commit }) {\n const types = await this.$api.dictionaries.getCaseTypesAsync();\n\n commit(Mutation.setCaseTypes, types);\n\n return [...types].sort((a, b) =>\n a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1\n );\n },\n async [Action.fetchCaseType](_context, entryId) {\n const type = await this.$api.dictionaries.getCaseTypeAsync(entryId);\n return type;\n },\n async [Action.addCaseType]({ state, commit }, type: CaseTypeDictionaryItem) {\n const request = new CreateCaseTypeRequest(type);\n const newType = await this.$api.dictionaries.addCaseTypeAsync(request);\n\n commit(Mutation.setCaseTypes, [...(state.caseType || []), newType]);\n\n return newType;\n },\n async [Action.editCaseType]({ state, commit }, type: CaseTypeDictionaryItem) {\n const request = new EditCaseTypeRequest(type);\n const editedType = await this.$api.dictionaries.editCaseTypeAsync(request);\n\n const typeIndex = state.caseType?.findIndex((t) => t.id === editedType.id);\n const _types = [...(state.caseType || [])];\n typeIndex !== undefined && _types.splice(typeIndex, 1, editedType);\n commit(Mutation.setCaseTypes, _types);\n\n return editedType;\n },\n async [Action.removeCaseType]({ state, commit }, type: DictionaryItem) {\n const request = new DeleteDictionaryItemRequest({\n entryId: type.id,\n });\n await this.$api.dictionaries.deleteCaseTypeAsync(request);\n\n const typeIndex = state.caseType?.findIndex((t) => t.id === type.id);\n const _type = [...(state.caseType || [])];\n typeIndex !== undefined && _type.splice(typeIndex, 1);\n commit(Mutation.setCaseTypes, _type);\n },\n // #endregion Case Types\n};\n\nexport default actions;\n","import type { ActionTree } from 'vuex';\nimport { RootState } from '../index';\nimport { ITenantState } from './state';\nimport { Mutation } from './mutations';\n\nexport enum Action {\n fetchTenant = 'tenant.fetchTenant',\n}\n\nexport const actions: ActionTree = {\n async [Action.fetchTenant](context, options?: { ignoreCache?: boolean }) {\n let tenant = context.state.tenant;\n\n if (options?.ignoreCache || !tenant) {\n tenant = await this.$api.tenant.getAsync();\n context.commit(Mutation.setTenant, tenant);\n }\n\n return tenant;\n },\n};\n\nexport default actions;\n","import type { ActionTree } from 'vuex';\nimport { RootState } from '../index';\nimport { IAccessState } from './state';\nimport { Mutation } from './mutations';\nimport { AccessScopeMasterList, User } from '~/app/models';\nimport { AccessScopeService } from '~/app/core/services/access-scope-service';\n\nexport enum Action {\n setUser = 'access.setUser',\n fetchUser = 'access.fetchUser',\n fetchAccessScopesMasterList = 'access.fetchAccessScopesMasterList',\n}\n\nexport const actions: ActionTree = {\n async [Action.fetchUser](context, options?: { ignoreCache?: boolean }) {\n let user = context.state.user;\n\n if (options?.ignoreCache || !user) {\n user = await this.$api.user.getCurrentAsync();\n context.commit(Mutation.setUser, user);\n }\n\n return user;\n },\n async [Action.fetchAccessScopesMasterList](\n context,\n options?: { ignoreCache?: boolean }\n ) {\n let accessScopes = context.state.accessScopeMasterList;\n\n if (options?.ignoreCache || !accessScopes) {\n accessScopes = await this.$api.user.getAccessScopeMasterListAsync();\n context.commit(Mutation.setAccessScopeMasterList, accessScopes);\n }\n\n return accessScopes;\n },\n async [Action.setUser](context, user: User) {\n context.commit(Mutation.setUser, user);\n\n const masterList: AccessScopeMasterList = await context.dispatch(\n Action.fetchAccessScopesMasterList\n );\n\n const accessScopeService = new AccessScopeService(masterList, this.$log);\n const scopes = accessScopeService.parseList(user.accessScopes);\n this.$ability.update(scopes);\n },\n};\n\nexport default actions;\n","import { useContext } from '@nuxtjs/composition-api';\nimport { useTenantConfig } from '~/app/composables/use-tenant-config';\nimport { AppAbilitySubject, ReportAbilityAction } from '~/app/core/casl';\nimport type { Action } from '~/app/core/casl/types';\n\nexport function useReporting() {\n const { enabled, templateDefinitions } = useTenantConfig().reporting;\n const { $ability } = useContext();\n\n const availableReports = templateDefinitions.filter(({ id }) => {\n const reportAction = ReportAbilityAction.readReport.replace(\n '{id}',\n id.toString()\n ) as Action;\n return $ability.can(reportAction, AppAbilitySubject.report);\n });\n\n return {\n enabled: enabled && availableReports.length > 0,\n availableReports,\n templateDefinitions,\n };\n}\n","import { wrapProperty } from '@nuxtjs/composition-api';\n\nexport const useAuthProvider = wrapProperty('$auth', false);\n","export class RegisterUserRequest {\n public readonly emailAddress: string;\n public readonly firstName: string;\n public readonly lastName: string;\n\n constructor(args: RegisterUserRequest) {\n if (!args.emailAddress) throw new Error('emailAddress is required.');\n if (!args.firstName) throw new Error('firstName is required.');\n if (!args.lastName) throw new Error('lastName is required.');\n\n this.emailAddress = args.emailAddress;\n this.firstName = args.firstName;\n this.lastName = args.lastName;\n }\n}\n","import { RegistrationRoute } from './routes';\nimport { AppModule } from '~/app/core/module-system/module';\nimport { registerModule } from '~/app/core/module-system/use-module';\nimport { AuthTaskQueueDeferralController } from '~/app/core/auth/events/task-queue';\nimport { RegisterUserRequest } from '~/app/core/api/requests/user/register-user-request';\nimport {\n moduleName as AccessModuleName,\n Action as AccessAction,\n} from '~/store/access';\n\nexport class UserRegistrationModule extends AppModule {\n public readonly name = UserRegistrationModule.name;\n\n private authLoginFlowDeferralController?: AuthTaskQueueDeferralController;\n\n public activate() {\n super.activate();\n }\n\n public setLoginDeferralController(\n controller: AuthTaskQueueDeferralController\n ) {\n this.authLoginFlowDeferralController = controller;\n }\n\n public async registerUserAsync(\n emailAddress: string,\n firstName: string,\n lastName: string\n ) {\n const request = new RegisterUserRequest({\n emailAddress,\n firstName,\n lastName,\n });\n\n const user = await this.context.$api.user.registration.registerAsync(\n request\n );\n\n await this.context.store.dispatch(\n `${AccessModuleName}/${AccessAction.setUser}`,\n user\n );\n\n // Process the login events queue to notify subscribers that login is complete\n this.authLoginFlowDeferralController?.processQueue();\n }\n}\n\nexport const ModuleName = UserRegistrationModule.name;\n\nexport const registerUserRegistrationModule = () =>\n registerModule(UserRegistrationModule, {\n route: RegistrationRoute.root,\n activationMethod: 'route-enter',\n });\n","/**\n * Reduce bundle size by only including the icons needed by components\n * See: https://github.com/HeskeyBaozi/reduce-antd-icons-bundle-demo\n */\n\n// export what you need\n/** Add own icon imports here */\n\n// export what antd other components need\nexport { default as CloseOutline } from '@ant-design/icons/lib/outline/CloseOutline';\nexport { default as CheckOutline } from '@ant-design/icons/lib/outline/CheckOutline';\nexport { default as LoadingOutline } from '@ant-design/icons/lib/outline/LoadingOutline';\nexport { default as CheckCircleOutline } from '@ant-design/icons/lib/outline/CheckCircleOutline';\nexport { default as InfoCircleOutline } from '@ant-design/icons/lib/outline/InfoCircleOutline';\nexport { default as CloseCircleOutline } from '@ant-design/icons/lib/outline/CloseCircleOutline';\nexport { default as QuestionCircleOutline } from '@ant-design/icons/lib/outline/QuestionCircleOutline';\nexport { default as ExclamationCircleOutline } from '@ant-design/icons/lib/outline/ExclamationCircleOutline';\nexport { default as CheckCircleFill } from '@ant-design/icons/lib/fill/CheckCircleFill';\nexport { default as InfoCircleFill } from '@ant-design/icons/lib/fill/InfoCircleFill';\nexport { default as CloseCircleFill } from '@ant-design/icons/lib/fill/CloseCircleFill';\nexport { default as ExclamationCircleFill } from '@ant-design/icons/lib/fill/ExclamationCircleFill';\nexport { default as UpOutline } from '@ant-design/icons/lib/outline/UpOutline';\nexport { default as DownOutline } from '@ant-design/icons/lib/outline/DownOutline';\nexport { default as LeftOutline } from '@ant-design/icons/lib/outline/LeftOutline';\nexport { default as RightOutline } from '@ant-design/icons/lib/outline/RightOutline';\nexport { default as RedoOutline } from '@ant-design/icons/lib/outline/RedoOutline';\nexport { default as CalendarOutline } from '@ant-design/icons/lib/outline/CalendarOutline';\nexport { default as SearchOutline } from '@ant-design/icons/lib/outline/SearchOutline';\nexport { default as BarsOutline } from '@ant-design/icons/lib/outline/BarsOutline';\nexport { default as StarFill } from '@ant-design/icons/lib/fill/StarFill';\nexport { default as FilterOutline } from '@ant-design/icons/lib/outline/FilterOutline';\nexport { default as CaretUpOutline } from '@ant-design/icons/lib/outline/CaretUpOutline';\nexport { default as CaretDownOutline } from '@ant-design/icons/lib/outline/CaretDownOutline';\nexport { default as PlusOutline } from '@ant-design/icons/lib/outline/PlusOutline';\nexport { default as FileOutline } from '@ant-design/icons/lib/outline/FileOutline';\nexport { default as FolderOpenOutline } from '@ant-design/icons/lib/outline/FolderOpenOutline';\nexport { default as FolderOutline } from '@ant-design/icons/lib/outline/FolderOutline';\nexport { default as PaperClipOutline } from '@ant-design/icons/lib/outline/PaperClipOutline';\nexport { default as PictureOutline } from '@ant-design/icons/lib/outline/PictureOutline';\nexport { default as EyeOutline } from '@ant-design/icons/lib/outline/EyeOutline';\nexport { default as DeleteOutline } from '@ant-design/icons/lib/outline/DeleteOutline';\n","import Vue from 'vue'\n\nconst requestIdleCallback = window.requestIdleCallback ||\n function (cb) {\n const start = Date.now()\n return setTimeout(function () {\n cb({\n didTimeout: false,\n timeRemaining: () => Math.max(0, 50 - (Date.now() - start))\n })\n }, 1)\n }\n\nconst cancelIdleCallback = window.cancelIdleCallback || function (id) {\n clearTimeout(id)\n}\n\nconst observer = window.IntersectionObserver && new window.IntersectionObserver((entries) => {\n entries.forEach(({ intersectionRatio, target: link }) => {\n if (intersectionRatio <= 0 || !link.__prefetch) {\n return\n }\n link.__prefetch()\n })\n})\n\nexport default {\n name: 'NuxtLink',\n extends: Vue.component('RouterLink'),\n props: {\n prefetch: {\n type: Boolean,\n default: true\n },\n noPrefetch: {\n type: Boolean,\n default: false\n }\n },\n mounted () {\n if (this.prefetch && !this.noPrefetch) {\n this.handleId = requestIdleCallback(this.observe, { timeout: 2e3 })\n }\n },\n beforeDestroy () {\n cancelIdleCallback(this.handleId)\n\n if (this.__observed) {\n observer.unobserve(this.$el)\n delete this.$el.__prefetch\n }\n },\n methods: {\n observe () {\n // If no IntersectionObserver, avoid prefetching\n if (!observer) {\n return\n }\n // Add to observer\n if (this.shouldPrefetch()) {\n this.$el.__prefetch = this.prefetchLink.bind(this)\n observer.observe(this.$el)\n this.__observed = true\n }\n },\n shouldPrefetch () {\n return this.getPrefetchComponents().length > 0\n },\n canPrefetch () {\n const conn = navigator.connection\n const hasBadConnection = this.$nuxt.isOffline || (conn && ((conn.effectiveType || '').includes('2g') || conn.saveData))\n\n return !hasBadConnection\n },\n getPrefetchComponents () {\n const ref = this.$router.resolve(this.to, this.$route, this.append)\n const Components = ref.resolved.matched.map(r => r.components.default)\n\n return Components.filter(Component => typeof Component === 'function' && !Component.options && !Component.__prefetched)\n },\n prefetchLink () {\n if (!this.canPrefetch()) {\n return\n }\n // Stop observing this link (in case of internet connection changes)\n observer.unobserve(this.$el)\n const Components = this.getPrefetchComponents()\n\n for (const Component of Components) {\n const componentOrPromise = Component()\n if (componentOrPromise instanceof Promise) {\n componentOrPromise.catch(() => {})\n }\n Component.__prefetched = true\n }\n }\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loadModal)?_c('div',[_c('the-case-check-in-modal',_vm._g({attrs:{\"visible\":_vm.isVisible},on:{\"update:visible\":function($event){_vm.isVisible=$event}}},_vm.$listeners))],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-check-in-modal-lazy.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-check-in-modal-lazy.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\nimport { defineComponent, PropType, ref } from '@nuxtjs/composition-api';\nimport { useVModel } from '@vueuse/core';\nimport { ModalEvent } from './modal-event';\nimport { useTripSwitch } from '~/app/composables/use-trip-switch';\n\nexport { ModalEvent };\n\nexport default defineComponent({\n name: 'TheCaseCheckInModalLazy',\n components: {\n TheCaseCheckInModal: () =>\n import(\n /* webpackChunkName: \"case-checkin-modal\" */\n './case-check-in-modal.vue'\n ),\n },\n props: {\n visible: {\n type: Boolean as PropType,\n required: true,\n },\n },\n emits: {\n /** Emitted when the visibility state is changed. */\n [ModalEvent.updateVisible]: (isVisible: any) =>\n typeof isVisible === 'boolean',\n },\n setup(props, { emit }) {\n const isVisible = useVModel(props, 'visible', emit);\n const loadModal = ref(false);\n\n useTripSwitch(isVisible, () => (loadModal.value = true));\n\n return { isVisible, loadModal, ModalEvent };\n },\n});\n","import { render, staticRenderFns } from \"./case-check-in-modal-lazy.vue?vue&type=template&id=17fe4cf4&\"\nimport script from \"./case-check-in-modal-lazy.vue?vue&type=script&lang=ts&\"\nexport * from \"./case-check-in-modal-lazy.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loadModal)?_c('div',[_c('the-case-checkout-modal',_vm._g({attrs:{\"visible\":_vm.isVisible},on:{\"update:visible\":function($event){_vm.isVisible=$event}}},_vm.$listeners))],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-checkout-modal-lazy.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-checkout-modal-lazy.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\nimport { defineComponent, PropType, ref } from '@nuxtjs/composition-api';\nimport { useVModel } from '@vueuse/core';\nimport { ModalEvent } from './modal-event';\nimport { useTripSwitch } from '~/app/composables/use-trip-switch';\n\nexport { ModalEvent };\n\nexport default defineComponent({\n name: 'TheCaseCheckoutModalLazy',\n components: {\n TheCaseCheckoutModal: () =>\n import(\n /* webpackChunkName: \"case-checkout-modal\" */\n './case-checkout-modal.vue'\n ),\n },\n props: {\n visible: {\n type: Boolean as PropType,\n required: true,\n },\n },\n emits: {\n /** Emitted when the visibility state is changed. */\n [ModalEvent.updateVisible]: (isVisible: any) =>\n typeof isVisible === 'boolean',\n },\n setup(props, { emit }) {\n const isVisible = useVModel(props, 'visible', emit);\n const loadModal = ref(false);\n\n useTripSwitch(isVisible, () => (loadModal.value = true));\n\n return { isVisible, loadModal, ModalEvent };\n },\n});\n","import { render, staticRenderFns } from \"./case-checkout-modal-lazy.vue?vue&type=template&id=e476f262&\"\nimport script from \"./case-checkout-modal-lazy.vue?vue&type=script&lang=ts&\"\nexport * from \"./case-checkout-modal-lazy.vue?vue&type=script&lang=ts&\"\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 () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loadModal)?_c('div',[_c('the-case-transfer-modal',_vm._g({attrs:{\"visible\":_vm.isVisible},on:{\"update:visible\":function($event){_vm.isVisible=$event}}},_vm.$listeners))],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-transfer-modal-lazy.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-transfer-modal-lazy.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\nimport { defineComponent, PropType, ref } from '@nuxtjs/composition-api';\nimport { useVModel } from '@vueuse/core';\nimport { ModalEvent } from './modal-event';\nimport { useTripSwitch } from '~/app/composables/use-trip-switch';\n\nexport { ModalEvent };\n\nexport default defineComponent({\n name: 'TheCaseTransferModalLazy',\n components: {\n TheCaseTransferModal: () =>\n import(\n /* webpackChunkName: \"case-transfer-modal\" */\n './case-transfer-modal.vue'\n ),\n },\n props: {\n visible: {\n type: Boolean as PropType,\n required: true,\n },\n },\n emits: {\n /** Emitted when the visibility state is changed. */\n [ModalEvent.updateVisible]: (isVisible: any) =>\n typeof isVisible === 'boolean',\n },\n setup(props, { emit }) {\n const isVisible = useVModel(props, 'visible', emit);\n const loadModal = ref(false);\n\n useTripSwitch(isVisible, () => (loadModal.value = true));\n\n return { isVisible, loadModal, ModalEvent };\n },\n});\n","import { render, staticRenderFns } from \"./case-transfer-modal-lazy.vue?vue&type=template&id=47ea2f80&\"\nimport script from \"./case-transfer-modal-lazy.vue?vue&type=script&lang=ts&\"\nexport * from \"./case-transfer-modal-lazy.vue?vue&type=script&lang=ts&\"\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","/** Capitalize the first character of the string. */\nexport function capitalizeFirstCharacter(str: string): string {\n if (str.length === 0) {\n return str;\n }\n\n const firstChar = str.charAt(0).toUpperCase();\n const restOfString = str.slice(1);\n\n return firstChar + restOfString;\n}\n\n/** Capitalize the first character of each word in the string. */\nexport function capitalizeWords(str: string): string {\n return str.split(' ').map(capitalizeFirstCharacter).join(' ');\n}\n","import { DictionaryItem, DictionaryType } from '~/app/models';\n\nexport type IDictionariesState = {\n [key in DictionaryType]: DictionaryItem[] | null;\n};\n\nconst state = (): IDictionariesState => ({\n autopsyVendor: null,\n caseServiceRequirement: null,\n caseServiceStatus: null,\n caseType: null,\n causeOfDeath: null,\n county: null,\n ethnicity: null,\n fluidLocation: null,\n funeralHome: null,\n gender: null,\n infectiousDiseaseType: null,\n maritalStatus: null,\n medicalExaminer: null,\n nextOfKinType: null,\n originLocation: null,\n personalBelongingLocation: null,\n physicianType: null,\n race: null,\n reasonForEngagement: null,\n serviceLine: null,\n signingPhysicianStatus: null,\n tag: null,\n tissueBank: null,\n});\n\nexport { state };\nexport default state;\n","import { Tenant } from '~/app/models';\n\nexport interface ITenantState {\n tenant: Readonly | null;\n}\n\nconst state = (): ITenantState => ({\n tenant: null,\n});\n\nexport { state };\nexport default state;\n","import { AccessScopeMasterList, User } from '~/app/models';\n\nexport interface IAccessState {\n user: Readonly | null;\n accessScopeMasterList: Readonly | null;\n}\n\nconst state = (): IAccessState => ({\n user: null,\n accessScopeMasterList: null,\n});\n\nexport { state };\nexport default state;\n","const middleware = {}\n\nmiddleware['access'] = require('../middleware/access.ts')\nmiddleware['access'] = middleware['access'].default || middleware['access']\n\nmiddleware['auth'] = require('../middleware/auth.ts')\nmiddleware['auth'] = middleware['auth'].default || middleware['auth']\n\nmiddleware['module-activator'] = require('../middleware/module-activator.ts')\nmiddleware['module-activator'] = middleware['module-activator'].default || middleware['module-activator']\n\nmiddleware['support'] = require('../middleware/support.ts')\nmiddleware['support'] = middleware['support'].default || middleware['support']\n\nmiddleware['tenant'] = require('../middleware/tenant.ts')\nmiddleware['tenant'] = middleware['tenant'].default || middleware['tenant']\n\nexport default middleware\n","async function register() {\n if (!'serviceWorker' in navigator) {\n throw new Error('serviceWorker is not supported in current browser!')\n }\n\n const { Workbox } = await import('workbox-cdn/workbox/workbox-window.prod.es5.mjs')\n\n const workbox = new Workbox('/sw.js', {\n scope: '/'\n })\n\n await workbox.register()\n\n return workbox\n}\n\nwindow.$workbox = register()\n .catch(error => {})\n","/** Remove the Internet Explorer fallback content from the DOM. */\n\n// @ts-ignore\nwindow.onNuxtReady(() => {\n const isIE = !!(window.document as any).documentMode;\n if (isIE) return;\n document.getElementById('ie-app')?.remove();\n document.querySelector('[data-ie-app-script]')?.remove();\n});\n","import {\n computed,\n getCurrentScope,\n Ref,\n ref,\n unref,\n watch,\n watchEffect,\n} from '@nuxtjs/composition-api';\nimport { tryOnScopeDispose, useClamp } from '@vueuse/core';\nimport _useSWRV, { mutate } from 'swrv';\nimport { fetcherFn, IConfig, IKey, IResponse } from 'swrv/dist/types';\nimport { useLogger } from './use-logger';\n\nexport interface ISwrvConfig extends IConfig {\n /**\n * Watch for errors, logging them with the application logger.\n * @note Logging only occurs in the context of a component scope.\n * @default false\n */\n watchErrors?: boolean;\n /**\n * Pushes error messages to the UI via Toast notification.\n * @default true\n */\n pushToastOnError?: boolean;\n /**\n * The strategy used to determine when to display the errors message.\n * - `'all'` display a message on every occurrence of an error.\n * - `'first'` display a message on the first occurrence of an error.\n * - `'last'` display a message on the last occurrence of an error.\n * - `'first-last'` display a message on the first and last occurrence of an error.\n * @default 'first'\n */\n errorDisplayStrategy?: 'all' | 'first' | 'last' | 'first-last';\n /** Reducer function which transforms the text used in the error messages. */\n reduceErrorMessage?: (error: TError) => string;\n}\n\nconst defaults: ISwrvConfig = {\n shouldRetryOnError: true,\n watchErrors: false,\n errorRetryCount: 5,\n errorDisplayStrategy: 'first',\n pushToastOnError: true,\n};\n\nenum RequestState {\n IDLE = 'IDLE',\n VALIDATING = 'VALIDATING',\n PENDING = 'PENDING',\n SUCCESS = 'SUCCESS',\n ERROR = 'ERROR',\n STALE_IF_ERROR = 'STALE_IF_ERROR',\n}\n\nfunction useRequestState(\n data: Ref,\n error: Ref,\n isValidating: Ref\n) {\n const state = ref(RequestState.IDLE);\n\n const unwatch = watchEffect(() => {\n if (data.value && isValidating.value) {\n state.value = RequestState.VALIDATING;\n return;\n }\n if (data.value && error.value) {\n state.value = RequestState.STALE_IF_ERROR;\n return;\n }\n if (data.value === undefined && !error.value) {\n state.value = RequestState.PENDING;\n return;\n }\n if (data.value && !error.value) {\n state.value = RequestState.SUCCESS;\n return;\n }\n if (data.value === undefined && error) {\n state.value = RequestState.ERROR;\n }\n });\n\n return {\n state: computed(() => unref(state)),\n unwatch,\n };\n}\n\nexport { mutate, RequestState };\n\nexport function useSWRVCache(\n key: IKey,\n userConfig?: ISwrvConfig\n): IResponse & { state: Ref } {\n return useSWRV(key, null, userConfig);\n}\n\nexport function useSWRV(\n key: IKey,\n fn?: fetcherFn | null,\n userConfig?: ISwrvConfig\n): IResponse & { state: Ref } {\n const config: ISwrvConfig = { ...defaults, ...(userConfig || {}) };\n const response = _useSWRV(key, fn as fetcherFn, config);\n\n const { state, unwatch: unWatchState } = useRequestState(\n response.data,\n response.error,\n response.isValidating\n );\n\n tryOnScopeDispose(unWatchState);\n\n if (config.watchErrors && !!getCurrentScope()) {\n const retryCount = config.errorRetryCount || 1;\n const retryIteration = useClamp(1, 1, config.errorRetryCount || 1);\n const unWatchRetryIteration = watch(\n () => unref(state) === RequestState.SUCCESS,\n () => (retryIteration.value = 1)\n );\n\n const logger = useLogger();\n const unWatchErrors = watch(\n () => !!unref(response.error),\n () => {\n const error = unref(response.error);\n const retryLimitReached = unref(retryIteration) >= (retryCount ?? 1);\n\n const displayToast =\n config.errorDisplayStrategy === 'all' ||\n (config.errorDisplayStrategy === 'first' &&\n unref(retryIteration) === 1) ||\n (config.errorDisplayStrategy === 'last' && retryLimitReached) ||\n (config.errorDisplayStrategy === 'first-last' &&\n (unref(retryIteration) === 1 || retryLimitReached));\n\n retryIteration.value++;\n\n if (!displayToast) return;\n\n const useToast = config.pushToastOnError ?? true;\n if (error instanceof Error) {\n error.message = config.reduceErrorMessage?.(error) || error.message;\n logger.error(error, undefined, { ui: useToast });\n } else if (error) {\n const err = new Error(\n config.reduceErrorMessage?.(error) || (error as any)\n );\n logger.error(err, undefined, { ui: useToast });\n }\n }\n );\n\n tryOnScopeDispose(() => {\n unWatchErrors();\n unWatchRetryIteration();\n });\n }\n\n return {\n ...response,\n state,\n };\n}\n","import { useStoreModule } from '~/app/composables/use-store-module';\nimport {\n Action,\n Mutation,\n moduleName,\n ICaseDetailsState,\n} from '~/app/modules/case-details/store';\n\nexport function useStore() {\n const scope = useStoreModule(moduleName);\n\n return {\n ...scope,\n Action,\n Mutation,\n };\n}\n","import { createModule } from '../index';\nimport { state, IDictionariesState } from './state';\nimport { actions, Action } from './actions';\nimport { mutations, Mutation } from './mutations';\n\nexport { Action, Mutation };\nexport type { IDictionariesState };\nexport const moduleName = 'dictionaries';\n\nexport default createModule(moduleName, {\n state,\n mutations,\n actions,\n});\n","import { useContext } from '@nuxtjs/composition-api';\n\nexport function useLogger() {\n const { $log } = useContext();\n return $log;\n}\n","import { get, orderBy as _orderBy } from 'lodash-es';\n\nconst isNil = (value: any) => value === null || value === undefined;\n\nexport function orderBy(\n arr: TItem[] | readonly TItem[],\n prop: keyof TItem | Array,\n options?: {\n /** @default 'asc' */\n direction?: 'asc' | 'desc' | Array<'asc' | 'desc'>;\n /** @default 'hoist'' */\n nilCompare?: 'hoist' | 'lower';\n }\n) {\n const direction = Array.isArray(options?.direction)\n ? options?.direction\n : [options?.direction ?? 'asc'];\n\n const nils: TItem[] = [];\n const valueResolver = Array.isArray(prop)\n ? prop\n : (item: TItem) => get(item, prop, null);\n\n const props = Array.isArray(prop) ? prop : [prop];\n\n const sorted = _orderBy(arr, valueResolver, direction).reduce(\n (_arr, item) => {\n const values = props.map((p) => get(item, p, null));\n\n if (values.some(isNil)) {\n nils.push(item);\n return _arr;\n }\n\n return [..._arr, item];\n },\n [] as TItem[]\n );\n\n const nilCompare = options?.nilCompare || 'hoist';\n return nilCompare === 'hoist' ? [...nils, ...sorted] : [...sorted, ...nils];\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex flex-col p-4\"},[_c('div',{staticClass:\"mb-4 flex items-center justify-between\"},[_c('a-tooltip',{attrs:{\"title\":\"Date of death\",\"mouse-enter-delay\":0.1}},[_c('div',{staticClass:\"cursor-help font-medium\"},[_vm._v(_vm._s(_vm.expirationDate))])]),_vm._v(\" \"),(_vm.expirationDuration)?_c('a-tooltip',{attrs:{\"title\":_vm.expirationDuration === 'Today'\n ? 'Expired today'\n : (_vm.expirationDuration + \" since expiration\"),\"mouse-enter-delay\":0.1}},[_c('wb-tag',{staticClass:\"cursor-help\",attrs:{\"type\":_vm.expirationTagType}},[_vm._v(\"\\n \"+_vm._s(_vm.expirationDuration)+\"\\n \")])],1):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"mb-6 flex flex-wrap items-baseline justify-between gap-2\"},[_c('div',{staticClass:\"flex flex-1 flex-col gap-2 text-2xl\"},[_c('span',{staticClass:\"font-medium text-primary\",staticStyle:{\"word-break\":\"break-word\"},attrs:{\"title\":_vm.summary.decedentName}},[_vm._v(_vm._s(_vm.summary.decedentName || 'Unidentified Decedent'))]),_vm._v(\" \"),('decedentAlias' in _vm.summary && _vm.summary.decedentAlias)?_c('div',{staticClass:\"text-base\",staticStyle:{\"word-break\":\"break-word\"}},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(_vm._s(_vm.labels.alias)+\": \")]),_vm._v(_vm._s(_vm.summary.decedentAlias)+\"\\n \")]):_vm._e(),_vm._v(\" \"),('decedentDateOfBirth' in _vm.summary && _vm.summary.decedentDateOfBirth)?_c('div',{staticClass:\"text-base\",staticStyle:{\"word-break\":\"break-word\"}},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(_vm._s(_vm.labels.dateOfBirth)+\": \")]),_vm._v(_vm._s(_vm.formatDate(_vm.summary.decedentDateOfBirth))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(_vm.isBodyboxSummary(_vm.summary))?_c('div',{staticClass:\"flex flex-shrink flex-col gap-2\"},[(\n 'decedentMedicalRecordNumber' in _vm.summary &&\n _vm.summary.decedentMedicalRecordNumber\n )?_c('div',{staticClass:\"break-all\"},[_c('span',{staticClass:\"font-semibold\"},[_vm._v(_vm._s(_vm.labels.mrn)+\": \")]),_vm._v(_vm._s(_vm.summary.decedentMedicalRecordNumber\n ? _vm.summary.decedentMedicalRecordNumber\n : 'Unknown')+\"\\n \")]):_vm._e()]):_vm._e()]),_vm._v(\" \"),_c('ul',{key:((_vm.summary.tags.computed.map(function (t) { return t.label; })) + \"_\" + (_vm.summary.tags.systemHolds.map(function (t) { return t.label; }).concat( _vm.summary.tags.system.map(function (t) { return t.label; }),\n _vm.summary.tags.user.map(function (t) { return t.label; }) ))),ref:\"tagsList\",staticClass:\"-mt-2 mb-0\"},[_vm._l((_vm.summary.tags.computed),function(tag,index){return _c('wb-tag',{key:((tag.label) + \"_\" + index),staticClass:\"float-left mt-2 mr-2 last:mr-0\",attrs:{\"as\":\"li\",\"type\":\"brand\"}},[_vm._v(\"\\n \"+_vm._s(tag.label)+\"\\n \")])}),_vm._v(\" \"),_vm._l((_vm.summary.tags.systemHolds),function(tag,index){return _c('wb-tag',{key:((tag.label) + \"_\" + index),staticClass:\"float-left mt-2 mr-2 flex items-center gap-1 last:mr-0\",attrs:{\"as\":\"li\",\"type\":tag.displayOptions ? 'dynamic' : 'danger',\"color\":_vm.getTagColor(tag)}},[_c('a-tooltip',{attrs:{\"title\":\"This tag enforces a case hold.\",\"mouse-enter-delay\":0.1}},[_c('wb-icon',{staticClass:\"cursor-help\",attrs:{\"name\":\"hand-palm\"}})],1),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(tag.label))])],1)}),_vm._v(\" \"),_vm._l((_vm.summary.tags.system.concat( _vm.summary.tags.user)),function(tag,index){return _c('wb-tag',{key:((tag.label) + \"_\" + index),staticClass:\"float-left mt-2 mr-2 last:mr-0\",attrs:{\"as\":\"li\",\"type\":\"dynamic\",\"color\":_vm.getTagColor(tag)}},[_vm._v(\"\\n \"+_vm._s(tag.label)+\"\\n \")])})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-card-details.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--13-0!../../../../../node_modules/ts-loader/index.js??ref--13-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--15-0!./case-card-details.vue?vue&type=script&lang=ts&\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n computed,\n defineComponent,\n nextTick,\n onMounted,\n PropType,\n ref,\n toRef,\n} from '@nuxtjs/composition-api';\nimport Packery from 'packery';\nimport { useColorPickerColor } from '~/app/components/ui/color-picker';\nimport {\n useExpirationFormatter,\n ExpirationStatus,\n} from '~/app/composables/use-expiration-formatter';\nimport { useStoreModule } from '~/app/composables/use-store-module';\nimport {\n BodyboxCaseSummary,\n CaseSummary,\n DisplayTag,\n ReservationCaseSummary,\n Tenant,\n} from '~/app/models';\nimport { formatDate } from '~/app/models/dates/utils';\nimport { ITenantState, moduleName as TenantModuleName } from '~/store/tenant';\n\nexport default defineComponent({\n name: 'CaseCardDetails',\n props: {\n summary: {\n type: Object as PropType<\n CaseSummary | ReservationCaseSummary | BodyboxCaseSummary\n >,\n required: true,\n validator: (obj: any) =>\n obj instanceof CaseSummary ||\n obj instanceof ReservationCaseSummary ||\n obj instanceof BodyboxCaseSummary,\n },\n },\n setup(props) {\n const summary = toRef(props, 'summary');\n const dateOfDeath = computed(() => summary.value.decedentExpirationDate);\n const { status, ...expiration } = useExpirationFormatter(dateOfDeath);\n\n const expirationTagType = computed(() => {\n if (!dateOfDeath.value) return 'default';\n if (status.value === ExpirationStatus.good) return 'success';\n if (status.value === ExpirationStatus.warning) return 'warning';\n if (status.value === ExpirationStatus.danger) return 'danger';\n });\n\n const tagsList = ref();\n onMounted(async () => {\n await nextTick();\n\n if (!tagsList.value) return;\n\n const packery = new Packery(tagsList.value, {\n itemSelector: '.tag',\n });\n\n packery.bindResize();\n });\n\n const getTagColor = (tag: DisplayTag) => {\n if (!tag.displayOptions) return useColorPickerColor('default', 500);\n return useColorPickerColor(\n tag.displayOptions.color,\n tag.displayOptions.colorLevel\n );\n };\n\n const isBodyboxSummary = (\n summary: ReservationCaseSummary | BodyboxCaseSummary\n ): summary is BodyboxCaseSummary => {\n return summary instanceof BodyboxCaseSummary;\n };\n\n const tenantStore = useStoreModule(TenantModuleName);\n const tenant = tenantStore.state.tenant as Tenant;\n const caseConfiguration = tenant.configuration.cases;\n const labels = {\n dateOfBirth: caseConfiguration.decedent.form.dateOfBirth.label,\n alias: caseConfiguration.decedent.form.alias.label,\n mrn:\n caseConfiguration.decedent.form.medicalRecordNumber.label ===\n 'Medical Record Number'\n ? 'MRN'\n : caseConfiguration.decedent.form.medicalRecordNumber.label,\n };\n\n return {\n expirationDuration: computed(() =>\n dateOfDeath.value ? expiration.formattedDuration.value : null\n ),\n expirationDate: computed(() =>\n dateOfDeath.value\n ? expiration.formattedDate.value\n : 'Expiration Date Unknown'\n ),\n expirationTagType,\n ExpirationStatus,\n tagsList,\n getTagColor,\n isBodyboxSummary,\n labels,\n formatDate,\n };\n },\n});\n","import { render, staticRenderFns } from \"./case-card-details.vue?vue&type=template&id=233746cd&\"\nimport script from \"./case-card-details.vue?vue&type=script&lang=ts&\"\nexport * from \"./case-card-details.vue?vue&type=script&lang=ts&\"\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 Vue from 'vue';\n\nexport type VueGetter = () => Vue;\n\nexport class EventBus {\n private readonly busGetter: VueGetter;\n\n private get bus() {\n return this.busGetter();\n }\n\n constructor(emitter: Vue | VueGetter) {\n this.busGetter = typeof emitter === 'function' ? emitter : () => emitter;\n }\n\n public on(event: TEventName, callback: Function) {\n this.bus.$on(event, callback);\n }\n\n public once(event: TEventName, callback: Function) {\n this.bus.$once(event, callback);\n }\n\n public off(event?: TEventName, callback?: Function) {\n this.bus.$off(event, callback);\n }\n}\n","// style-loader: Adds some css to the DOM by adding a