{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/shared/constants/permissions/LinkType.js","webpack:///./src/models/error/missingConfigurationError.js","webpack:///./src/plugins/appinsights.js","webpack:///./src/helpers/language-helpers.js","webpack:///./src/shared/constants/permissions/PermissionModifier.js","webpack:///./src/components/_base-input-select.vue?029e","webpack:///src/components/_base-input-select.vue","webpack:///./src/components/_base-input-select.vue?1cb0","webpack:///./src/components/_base-input-select.vue","webpack:///./src/models/error/nullParameterError.js","webpack:///./src/models/user/userIndentificationDTO.js","webpack:///./src/helpers/log-helper.js","webpack:///./src/components/_base-label.vue?008c","webpack:///./src/plugins/vee-validate.js","webpack:///./src/router/layouts/public.vue?15a0","webpack:///./src/components/_base-simple-table.vue?f135","webpack:///./src/shared/constants/permissions/PermissionDelimiter.js","webpack:///./src/helpers/permissions-helpers.js","webpack:///./src/components/_base-dropdown-menu.vue?a792","webpack:///./src/router/views/_loading.vue?e025","webpack:///./src/router/layouts/loading.vue?867f","webpack:///src/router/layouts/loading.vue","webpack:///./src/router/layouts/loading.vue?7aae","webpack:///./src/router/layouts/loading.vue","webpack:///src/router/views/_loading.vue","webpack:///./src/router/views/_loading.vue?b044","webpack:///./src/router/views/_loading.vue","webpack:///./src/components/_base-input-text.vue?6be8","webpack:///./src/components/user/user-avatar.vue?7177","webpack:///./src/router/layouts/public.vue?2d8e","webpack:///src/router/layouts/public.vue","webpack:///./src/router/layouts/public.vue?5925","webpack:///./src/router/layouts/public.vue","webpack:///./src/plugins/vuetify.js","webpack:///./src/shared/constants/permissions/OperationReturnType.js","webpack:///./src/components/_base-checkbox-list.vue?5366","webpack:///src/components/_base-checkbox-list.vue","webpack:///./src/components/_base-checkbox-list.vue?e727","webpack:///./src/components/_base-checkbox-list.vue","webpack:///./src/helpers/get-replace-me-selected-day-text.js","webpack:///./src/plugins/vue-mq.js","webpack:///./src/utils/markdown-to-html-converter.js","webpack:///./src/plugins/firebase.js","webpack:///./src/components/general/lottie.vue?c239","webpack:///src/components/general/lottie.vue","webpack:///./src/components/general/lottie.vue?0ad3","webpack:///./src/components/general/lottie.vue","webpack:///./src/services/toasts/index.js","webpack:///./src/shared/constants/error/ErrorPageCodes.js","webpack:///./src/shared/constants/replaceMe/ReplaceMeSelectionType.js","webpack:///./src/router/views/_error.vue?5d77","webpack:///./src/services/error/ErrorPageFactory.js","webpack:///src/router/views/_error.vue","webpack:///./src/router/views/_error.vue?3c63","webpack:///./src/router/views/_error.vue","webpack:///./src/common/configFactory.js","webpack:///./src/main.js","webpack:///./src/app.vue?0e1c","webpack:///./src/shared/constants/core/VuetifyTextClass.js","webpack:///./src/models/general/mediaQueryBreakPoint.js","webpack:///./src/shared/constants/core/MediaQueryBreakPoints.js","webpack:///./src/mixins/baseMixin.js","webpack:///./src/components/_base-icon.vue?8dc5","webpack:///src/components/_base-icon.vue","webpack:///./src/components/_base-icon.vue?b312","webpack:///./src/components/_base-icon.vue","webpack:///./src/components/app/service-status-alert.vue?cafc","webpack:///./src/components/app/service-status-dialog.vue?60e3","webpack:///src/components/app/service-status-dialog.vue","webpack:///./src/components/app/service-status-dialog.vue?b3ff","webpack:///./src/components/app/service-status-dialog.vue","webpack:///src/components/app/service-status-alert.vue","webpack:///./src/components/app/service-status-alert.vue?d2a9","webpack:///./src/components/app/service-status-alert.vue","webpack:///./src/shared/constants/core/VuetifyColourClass.js","webpack:///./src/utils/format-date.js","webpack:///./src/shared/constants/core/InteractionType.js","webpack:///./src/utils/sanitize-html.js","webpack:///./src/shared/constants/permissions/PermissionRequirement.js","webpack:///./src/models/error/unknownAppError.js","webpack:///./src/models/error/promiseRejectionError.js","webpack:///./src/services/logging/AppLogger.js","webpack:///./src/app.vue?5dfb","webpack:///src/app.vue","webpack:///./src/app.vue?da35","webpack:///./src/app.vue","webpack:///./src/components/_base-modal.vue?6e7a","webpack:///src/components/_base-modal.vue","webpack:///./src/components/_base-modal.vue?7788","webpack:///./src/components/_base-modal.vue","webpack:///./src/shared/constants/routes/routeDefinitions.js","webpack:///./src/components/_base-button.vue?bc80","webpack:///./src/shared/constants/baseComponents/BaseButton.js","webpack:///./src/utils/extract-keys.js","webpack:///src/components/_base-button.vue","webpack:///./src/components/_base-button.vue?2a7c","webpack:///./src/components/_base-button.vue","webpack:///./src/shared/constants/assets/LogoForm.js","webpack:///./src/shared/constants/date/DayOfWeek.js","webpack:///./src/models/general/colorSet.js","webpack:///./src/plugins/msal.js","webpack:///./src/helpers/result-helper.js","webpack:///./src/helpers/cache-helpers.js","webpack:///./src/helpers/http-status-helpers.js","webpack:///./src/shared/constants/permissions/Tags.js","webpack:///./src/utils/object-has-keys.js","webpack:///./src/shared/constants/error/ErrorResponseType.js","webpack:///./src/models/error/ErrorResponse.js","webpack:///./src/services/error/ErrorResponseFactory.js","webpack:///./src/state/modules/auth.js","webpack:///./src/state/modules/users.js","webpack:///./src/state/modules/single-invoice.js","webpack:///./src/models/locations/addressViewModel.js","webpack:///./src/models/overview/clientGroupOverviewViewModel.js","webpack:///./src/models/overview/clientGroupOverviewWithFillRateViewModel.js","webpack:///./src/state/modules/client.js","webpack:///./src/state/modules/invoices.js","webpack:///./src/models/timesheets/timesheetsSummaryClientViewModel.js","webpack:///./src/models/timesheets/timesheetsSummaryCandidateViewModel.js","webpack:///./src/models/timesheets/timesheetsSummaryViewModel.js","webpack:///./src/models/timesheets/timesheetsViewModel.js","webpack:///./src/shared/constants/api/HttpStatusCodes.js","webpack:///./src/state/modules/timesheets.js","webpack:///./src/state/modules/candidate.js","webpack:///./src/state/modules/file.js","webpack:///./src/helpers/vuex-action-builder.js","webpack:///./src/state/modules/bookings.js","webpack:///./src/state/modules/contacts.js","webpack:///./src/models/locations/bookingBlockViewModel.js","webpack:///./src/state/modules/locations.js","webpack:///./src/state/modules/pending-feedback.js","webpack:///./src/services/features/featureDecisions.js","webpack:///./src/state/modules/features.js","webpack:///./src/models/bookings/bookingClientViewModel.js","webpack:///./src/models/bookings/bookingClientGroupViewModel.js","webpack:///./src/models/bookings/bookingCreatedByViewModel.js","webpack:///./src/models/bookings/bookingLocationViewModel.js","webpack:///./src/models/bookings/bookingCoveringViewModel.js","webpack:///./src/models/bookings/bookingCertificationViewModel.js","webpack:///./src/models/bookings/bookingConfirmationViewModel.js","webpack:///./src/models/bookings/bookingClassificationViewModel.js","webpack:///./src/models/bookings/bookingGradeViewModel.js","webpack:///./src/models/bookings/bookingDetailsViewModel.js","webpack:///./src/models/bookings/bookingDateViewModel.js","webpack:///./src/models/bookings/bookingViewModel.js","webpack:///./src/models/bookings/pendingBookingSummaryDetailsViewModel.js","webpack:///./src/models/bookings/pendingBookingSummaryViewModel.js","webpack:///./src/shared/constants/core/LoadingKeys.js","webpack:///./src/utils/sleep.js","webpack:///./src/state/modules/booking-approvals.js","webpack:///./src/state/modules/index.js","webpack:///./src/utils/dispatch-action-for-all-modules.js","webpack:///./src/services/api/BaseApiService.js","webpack:///./src/services/api/SignalRApiService.js","webpack:///./src/services/api/UserApiService.js","webpack:///./src/services/api/InvoicesApiService.js","webpack:///./src/services/api/ClientApiService.js","webpack:///./src/services/api/CandidateApiService.js","webpack:///./src/services/api/FileApiService.js","webpack:///./src/services/api/TimesheetsApiService.js","webpack:///./src/services/api/ContactsApiService.js","webpack:///./src/services/api/LocationsApiService.js","webpack:///./src/services/api/BookingsApiService.js","webpack:///./src/services/api/PendingFeedbackApiServiceApiService.js","webpack:///./src/services/api/ClientGroupApiService.js","webpack:///./src/services/api/PendingBookingsApiService.js","webpack:///./src/services/api/index.js","webpack:///./src/plugins/api.storePlugin.js","webpack:///./src/plugins/i18n.storePlugin.js","webpack:///./src/plugins/appinsights.storePlugin.js","webpack:///./src/helpers/service-status-helper.js","webpack:///./src/state/store.js","webpack:///./src/models/app/treeViewDto.js","webpack:///./src/router/views/_timeout.vue?8fd5","webpack:///./src/shared/constants/date/DateFormatToken.js","webpack:///./src/components/_base-input-text.vue?37ca","webpack:///./src/shared/constants/layout/LayoutToggle.js","webpack:///./src/models/general/emitEvent.js","webpack:///./src/components/_base-label.vue?7647","webpack:///src/components/_base-label.vue","webpack:///./src/components/_base-label.vue?2018","webpack:///./src/components/_base-label.vue","webpack:///./src/shared/constants/permissions/PermissionLevel.js","webpack:///./src/plugins/exception-handler.js","webpack:///./src/components/_base-simple-table.vue?5474","webpack:///src/components/_base-simple-table.vue","webpack:///./src/components/_base-simple-table.vue?7764","webpack:///./src/components/_base-simple-table.vue","webpack:///./src/components/_base-dropdown-menu.vue?e674","webpack:///./src/shared/constants/baseComponents/BaseDropdownMenuItemType.js","webpack:///./src/mixins/interactionMixin.js","webpack:///src/components/_base-dropdown-menu.vue","webpack:///./src/components/_base-dropdown-menu.vue?318e","webpack:///./src/components/_base-dropdown-menu.vue","webpack:///./src/components/_base-button.vue?58c3","webpack:///./src/components/_base-input-text.vue?86fe","webpack:///src/components/_base-input-text.vue","webpack:///./src/components/_base-input-text.vue?1c1d","webpack:///./src/components/_base-input-text.vue","webpack:///./src/components/_base-date-picker.vue?b973","webpack:///./src/shared/constants/core/Environment.js","webpack:///./src/router/routes.js","webpack:///./src/router/index.js","webpack:///./src/components/_globals.js","webpack:///./src/components/candidate/candidate-image.vue?ff65","webpack:///src/components/candidate/candidate-image.vue","webpack:///./src/components/candidate/candidate-image.vue?68d9","webpack:///./src/components/candidate/candidate-image.vue","webpack:///./lib/version.js","webpack:///./src/common/config.js","webpack:///./src/components/dev/the-debug-bar.vue?871c","webpack:///src/components/dev/the-debug-bar.vue","webpack:///./src/components/dev/the-debug-bar.vue?985d","webpack:///./src/components/dev/the-debug-bar.vue","webpack:///./src/models/locations/clientLoginLocationViewModel.js","webpack:///./src/shared/constants/assets/LogoShade.js","webpack:///./src/components sync nonrecursive _base-[\\w-]+\\.vue$","webpack:///./src/models/shiftRecords/shiftRecordBreakDto.js","webpack:///./src/models/timesheets/timesheetsPendingApprovalViewModel.js","webpack:///./src/components/_base-logo.vue?eb74","webpack:///./src/shared/constants/assets/LogoType.js","webpack:///src/components/_base-logo.vue","webpack:///./src/components/_base-logo.vue?7c97","webpack:///./src/components/_base-logo.vue","webpack:///./src/helpers/array-helpers.js","webpack:///./src/models/clients/clientSelectorTreeViewDto.js","webpack:///./src/shared/constants/error/RequestErrorSource.js","webpack:///./src/components/_base-split-btn.vue?2014","webpack:///src/components/_base-split-btn.vue","webpack:///./src/components/_base-split-btn.vue?7980","webpack:///./src/components/_base-split-btn.vue","webpack:///./src/plugins/vue-toastification.js","webpack:///./src/components/_base-link.vue?5181","webpack:///src/components/_base-link.vue","webpack:///./src/components/_base-link.vue?e14a","webpack:///./src/components/_base-link.vue","webpack:///./src/shared/constants/baseComponents/baseLabel/BaseLabelColor.js","webpack:///./src/shared/constants/baseComponents/baseLabel/BaseLabelShade.js","webpack:///./src/services/date/index.js","webpack:///./src/router/views/_timeout.vue?8a79","webpack:///./src/filters/truncate-text.js","webpack:///./src/models/error/windowErrorDTO.js","webpack:///./src/router/views/_error.vue?f2ba","webpack:///./src/components/_base-modal.vue?0398","webpack:///./src/locales/setup/index.js","webpack:///./src/plugins/vue-i18n.js","webpack:///./src/components/_base-date-picker.vue?8ff6","webpack:///src/components/_base-date-picker.vue","webpack:///./src/components/_base-date-picker.vue?3405","webpack:///./src/components/_base-date-picker.vue","webpack:///./src/components/user/user-avatar.vue?7e89","webpack:///./src/helpers/color-helpers.js","webpack:///src/components/user/user-avatar.vue","webpack:///./src/components/user/user-avatar.vue?12e8","webpack:///./src/components/user/user-avatar.vue","webpack:///./src/shared/constants/permissions/PermissionScope.js","webpack:///./src/models/general/interaction.js","webpack:///./src/utils/parse-time-string-to-object.js","webpack:///./src/shared/constants/date/TimeDenominations.js","webpack:///./src/shared/constants/date/DateFormats.js","webpack:///./src/mixins/locationMixin.js","webpack:///./src/mixins/dateMixin.js","webpack:///./src/shared/constants/date/DurationUnits.js","webpack:///./src/models/error/vueErrorDTO.js","webpack:///./src/router/views/_timeout.vue?847d","webpack:///src/router/views/_timeout.vue","webpack:///./src/router/views/_timeout.vue?59e2","webpack:///./src/router/views/_timeout.vue","webpack:///./src/models/general/simpleTableItem.js","webpack:///./src/models/error/storeErrorDTO.js","webpack:///./src/components/_base-page-title.vue?7e4f","webpack:///src/components/_base-page-title.vue","webpack:///./src/components/_base-page-title.vue?00da","webpack:///./src/components/_base-page-title.vue"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","LinkType","freeze","GROUP","CLIENT","LOCATION","MissingConfigurationError","constructor","resourceName","super","this","install","Vue","options","config","appInsightsConfig","appInsights","ApplicationInsights","loadAppInsights","trackPageView","onAfterScriptLoaded","router","trackInitialPageView","setupPageTracking","onReady","baseName","beforeEach","route","from","next","context","telemetryTrace","traceID","Util","generateW3CId","startTrackPage","afterEach","url","location","protocol","host","fullPath","stopTrackPage","flush","use","getLanguageBasedOnBaseURL","baseUrl","origin","urls","process","VUE_APP_TEST","warn","entries","listOfUrls","split","map","processedUrl","URL","includes","PermissionModifier","ALL","VIEW","CREATE","MODIFY","DELETE","render","_vm","_h","$createElement","_c","_self","attrs","$attrs","label","rules","scopedSlots","_u","fn","ref","errors","_g","_b","on","toggleSelectAll","innerValue","_v","_s","compSelectAllItemsIcon","staticClass","proxy","model","callback","$$v","expression","$listeners","staticRenderFns","components","ValidationProvider","inheritAttrs","props","String","default","computed","items","hasSelectedAllItems","hasSelectedSomeItems","watch","newVal","$emit","methods","$nextTick","component","VDivider","VIcon","VListItem","VListItemAction","VListItemContent","VList","VListItemTitle","VSelect","NullParameterError","UserIdentificationDTO","id","emailAddress","ipAddress","isImpersonating","user_id","user_email","user_host_address","user_is_impersonating","fetchUserIdentityWithIpAddress","store","logIpAddress","user","getters","userIpAddress","XMLHttpRequest","open","send","status","responseJSON","JSON","parse","responseText","ip","ex","compileCustomProperties","properties","logUserDetails","extend","required","max","email","PERMISSION_DELIMITER","transformPermissions","perm","allPerms","splitStr","modifier","permObj","view","modify","delete","processPermissionsPayload","permissions","perms","cloneDeep","transformedPerms","group","access","client","clients","locations","iterateOverPermissionsTree","level","returnType","comparer","values","OperationReturnType","TypeError","list","LIST","SINGLE","getNodeIdKeyBasedOnLevel","toLowerCase","getNodeById","nodeId","item","getNodePermission","permissionTree","scope","node","PermissionScope","scopedPermission","hasPermissionAtAnyLevel","convertPermissionLevelToLinkType","permissionLevel","PermissionLevel","GROUP_AND_BELOW","CLIENT_AND_BELOW","SELECTED_CLIENT_AND_BELOW","hasAccessToRoute","routeTo","targetId","meta","hasPermission","permission","requirement","PermissionRequirement","ONE","flattenAccessTree","numLocations","clientId","clientName","clientGroupId","groupId","clientGroupName","groupName","flattenPermissionsWithLocations","locationId","locationName","defaultOptions","handleAnimation","_t","TheDebugBar","mixins","baseMixin","VApp","VContainer","VFlex","VLayout","VMain","title","$t","Layout","Lottie","loop","autoplay","animationData","animationSpeed","anim","ServiceStatusAlert","Vuetify","VCard","VSnackbar","VBtn","VChip","VTextField","VTooltip","directives","Ripple","theme","themes","light","primary","base","lighten3","lighten2","lighten1","darken1","darken2","blue","info","secondary","indigo","lighten4","purple","green","success","warning","grey","dark","_l","itemValue","itemLabel","$event","selected","Array","preselect","VCheckbox","selectedDay","isNextDayMonday","dayText","i18n","ReplaceMeSelectionType","TOMORROW","VueMq","breakpoints","xs","sm","md","lg","xl","Infinity","markdownToHtmlConverter","markdownString","DOMPurify","sanitize","marked","USE_PROFILES","html","firebase","initializeApp","style","width","height","overflow","margin","container","$refs","lottieContainer","renderer","rendererSettings","toastOptions","duration","position","POSITION","BOTTOM_CENTER","$toast","show","debug","clear","INTERNAL_SERVER_ERROR","statusCode","routeName","PAGE_NOT_FOUND","UNAUTHORIZED","FORBIDDEN","BAD_REQUEST","ACTION_LOCKED","ACCOUNT_LOAD_FAILURE","EXPIRED","NO_SERVER_RESPONSE","TODAY","staticStyle","factory","desc","showErrorCode","errorCode","errorText","class","$mq","rawName","isUserLoggedIn","currentUser","isMobileViewPort","signOut","goBackURL","domProps","goBackText","BaseErrorPage","errorStatusText","httpStatus","subDesc","ErrorPageFactory","ErrorPageCodes","InternalServerError","PageNotFoundError","UnauthorizedError","ForbiddenError","BadRequestError","ActionLockedError","AccountLoadFailedError","ExpiredError","NoServerResponseError","companyName","$route","logout","development","fetch","$dayjs","valueOf","response","json","production","loadConfig","environment","Environment","productionTip","e2e","errorHandler","Cypress","cy","onUncaughtException","configFactory","configResponse","$config","require","vuetify","appinsights","App","sanitizeHtml","env","truncateText","app","filter","directive","el","binding","innerHTML","VueGoogleMaps","load","installComponents","auth","onAuthStateChanged","h","$mount","handleRedirectPromise","dispatch","catch","__app__","h1","h2","h3","h4","h5","h6","largeBody","largeBodyBold","smallBody","smallBodyBold","largeButton","mediumButton","smallButton","caption","captionBold","smallCaption","MediaQueryBreakPoint","size","mapGetters","isDebug","isDarkMode","hasImpersonateContactId","isExtraSmall","MediaQueryBreakPoints","isSmall","isMedium","isLarge","isExtraLarge","isSmallOrLower","isMediumOrLower","isLargeOrLower","isSmallOrHigher","isMediumOrHigher","isLargeOrHigher","isDev","heightOfDevBar","routeDefinitions","colorClass","VuetifyColourClass","textClass","VuetifyTextClass","source","customIconClass","_e","$style","_f","bannerTitle","showDialog","serviceStatus","severity","region","fetchServiceStatus","VCardText","VListItemSubtitle","VSpacer","VToolbar","VToolbarTitle","ServiceStatusDialog","isSuccess","VAlert","VDialog","blueBg","blue100","blue200","blue300","blue400","blue500","blue600","primary100","primary200","primary300","primary400","primary500","primary600","info100","info200","info300","info400","info500","info600","purple100","purple200","purple300","purple400","purple500","indigo100","indigo200","indigo300","indigo400","indigo500","green100","green200","green300","error100","error200","error300","error400","error500","warning100","warning200","warning300","warning400","warning500","success100","success200","success300","success400","success500","grey100","grey200","grey300","grey400","grey500","grey600","grey700","black","white","transparent","text","formatDate","date","format","allowedInputFormats","$date","none","emitEvent","routerLink","externalLink","function","dirtyHtml","UnknownAppError","PromiseRejectionError","AppLogger","initLogger","log","logError","VueErrorDTO","vm","$options","$appInsights","trackException","exception","WindowErrorDTO","PromiseRejectionEvent","reason","StoreErrorDTO","errorResponse","logger","Loading","isClientInit","serverError","isAppLoading","metaInfo","$store","handleOutsideClick","isOpen","assign","persistent","hideHeader","$slots","header","close","hideHeaderDivider","hidePadding","hideActions","hideActionsDivider","hideCancel","BaseButton","prop","Boolean","borderRadius","resizeDuration","val","styles","transitionDuration","keys","VCardActions","VCardTitle","home","path","myAvailability","clientOverview","clientGroupOverview","timesheets","candidates","help","bookings","bookingsCreate","bookingsPendingApproval","settings","changePassword","login","impersonateLogout","impersonateLogin","finance","invoiceDetails","underConstruction","notFound","unauthorized","forbidden","accountLoadFailure","noServerResponse","actionLocked","hover","buttonClasses","dimensions","elevation","hideRipple","isTextBtn","isActive","btnHoverColor","btnColor","btnListeners","prependIcon","dot","iconSize","btnIconHoverColor","btnIconColor","fab","icon","appendIcon","btnSizeMap","iconBtnSizeMap","dotBtnSizeMap","fabSizeMap","xxl","textSizeClassMap","iconSizeMap","colorMap","tertiary","tertiaryBlue","textBlue","hoverColorMap","textColorMap","iconColorMap","iconHoverColorMap","dimensionsMap","extractKeys","obj","nestedKeys","flatMap","nested","Number","circle","disabled","active","validator","color","hoverColor","textColor","textHoverColor","iconColor","iconHoverColor","allKeys","Set","cleanedProps","$props","activeSizeMap","getMappedValue","addEventListener","removeEventListener","overideCondition","overideValue","matchingKey","activeProps","find","$el","contains","deactivate","VHover","LogoForm","FULL","SHORT","ICON","NONE","DayOfWeek","SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","ColorSet","foreground","background","PublicClientApplication","initResultObject","msg","fail","isCacheFresh","cacheDuration","durationUnits","lastUpdated","forceRefresh","isEmpty","diff","getSavedState","localStorage","getItem","saveState","state","setItem","stringify","deleteState","removeItem","isHttpStatus","Tags","PRIMARY","CONFIRMED","REPLACE_ME_ENABLED","objectHasKeys","expected","isArray","every","unknown","api","validation","security","notFoundError","ErrorResponse","_error","RequestErrorSource","ErrorResponseType","param","determineRequestErrorType","server","mapApiValidationErrorResponseToError","errorSource","$i18n","baseErrorResponse","mapR2WErrorResponseToError","BASE_ERROR_RESPONSE_OBJ_KEYS","API_VALIDATION_ERROR_OBJ_KEYS","serverErrorResponse","requestErrorResponse","extractClientsForTreeView","clientsList","ClientSelectorTreeViewDto","orderBy","namespaced","account","interactionRequired","accessToken","lastTokenRefresh","loadingCount","generalFiles","impersonateContactId","username","mutations","SET_CURRENT_USER","newValue","SET_ACCOUNT","SET_IMPERSONATE_CONTACT_ID","contactId","SET_USER_PERMISSIONS","SET_USER_GENERALFILES","files","SET_INTERACTION_REQUIRED","SET_ACCESS_TOKEN","token","SET_USER_TO_UNAUTHENTICATED","sessionStorage","FRESH_IMPERSONATE_CLEAR_STORE","START_LOADING","FINISH_LOADING","SET_USERNAME","moduleName","currentUserFullName","firstName","lastName","currentUserEmail","currentUserContactId","currentUserSimple","getUserForEventLogging","impersonator","isClientGroupOverviewEnabled","msalAccount","getUserStandardBookingDetails","standardBookings","isLoadingAuth","isInteractionRequired","msalInstance","msal","permissionsTreeView","permissionsList","tree","TreeViewDto","children","redirectToClientOverview","clientCount","hasMultipleClients","firstAvailableClient","getNode","getGroup","getClient","getClients","ids","getAllClients","getLocation","getClientLocations","getNodeHierarchyByIdAndLevel","linkType","flatTree","x","getFirstClientLocationWithReplaceMePermissions","getFirstClientLocationWithPermissions","REPLACE_ME","getAllClientGroups","countAllAvailableLocations","countAllAvailableBookingLocations","locationNode","booking","getTimezoneFromFirstClientGroupLocation","clientGroup","isNonEmptyArray","timeZone","getPermission","hasLocationAccountsPermission","ACCOUNTS","hasLocationBookingPermission","BOOKING","hasLocationPendingApprovalPermission","PENDING_BOOKING","hasLocationBookingCreatePermission","hasLocationTimesheetPermission","TIMESHEETS","hasLocationReplaceMePermission","hasClientAccountsPermission","hasClientBookingPermission","hasClientPendingApprovalPermission","hasClientTimesheetPermission","hasClientReplaceMePermission","hasGroupAccountsPermission","hasGroupBookingPermission","hasGroupTimesheetPermission","hasGroupReplaceMePermission","hasPermissionRegardlessOfLevel","permissionScope","flatAccessTree","getGeneralFiles","firstAuthorisedLocation","getFirstClientLocationWithPermissionsByClientIds","clientIds","locationWithPerm","getAllClientLocationsWithPermission","getAllClientsLocationsWithPermission","getAllClientLocationsWithReplaceMePermission","tags","hasPermissionForAtleastOneClientLocation","targetClients","selectedClients","hasReplaceMePermissionForAtleastOneClientLocation","hasCreateBookingPermissionForAtleastOneClientLocation","hasCreateBookingPermission","hasCreateBookingPermissionForAtleastOneClientLocationByClientIds","actions","init","commit","password","root","signInWithEmailAndPassword","async","finally","currentAccounts","getAllAccounts","nuke","showNotifications","redirect","setUnauthenticated","loginRequest","scopes","loginRedirect","noNotificationReq","some","v","toast","payload","getUserFromMsalProvider","myAccounts","acquireTokenSilent","acquireTokenPopup","isAccessTokenFresh","DurationUnits","MINUTE","getIdToken","idToken","sendPasswordResetEmail","credentials","EmailAuthProvider","credential","reauthenticateWithCredential","updatePassword","newPass","HOUR","$api","contact","links","features","ErrorResponseFactory","getDefaultState","cached","crudLoadingCount","users","isLoadingUsers","isLoadingUserCRUD","CACHE_USERS","CACHE_USER","newUser","START_LOADING_CRUD","FINISH_LOADING_CRUD","CLEAR_STORE","rootState","matchedUser","axios","isLoading","isLoadingCRUD","invoiceNo","invoices","getInvoiceByInvoiceNo","AddressViewModel","line1","line2","suburb","postcode","country","latitude","longitude","fullAddress","parseFloat","ClientGroupOverviewViewModel","address","openBookings","totalBookings","trim","hasSameName","displayName","ClientGroupOverviewWithFillRateViewModel","filledBookings","fillRatePercentage","percentage","normalisedPercentage","isNaN","Math","round","clientList","grades","owners","classifications","classificationLoadingCount","detailsLoadingCount","gradesLoadingCount","overviewLoadingCount","overviewDataLoadingCount","getSelectedClients","owner","isLoadingClassifications","isLoadingClientDetails","isLoadingGrades","isLoadingOverview","isLoadingOverviewData","mapSelectedClientsToClientsInPermissions","rootGetters","allClientsInPerms","mappedClients","START_LOADING_CLASSIFICATIONS","FINISH_LOADING_CLASSIFICATIONS","START_LOADING_DETAILS","FINISH_LOADING_DETAILS","START_LOADING_GRADES","FINISH_LOADING_GRADES","START_LOADING_OVERVIEW","FINISH_LOADING_OVERVIEW","START_LOADING_OVERVIEW_DATA","FINISH_LOADING_OVERVIEW_DATA","SET_CLIENT","SET_CLIENTS","sortedClientIds","sort","a","b","UPSERT_CLIENT_GRADES","found","UPSERT_ADDITIONAL_DETAILS","UPSERT_CLIENT_CLASSIFICATIONS","setClient","cId","isCached","getAdditionalDetails","getClientGrades","getClientClassifications","clientExistsInPermissionTree","filterDate","clientGroups","getOverviewData","overviewVM","setClientList","downloadingFileCount","invoicesTotal","serverCurrentPage","isDownloadingFile","SET_INVOICES","SET_INVOICES_TOTAL","total","SET_SERVER_CURRENT_PAGE","page","START_DOWNLOADING_FILE","FINISH_DOWNLOADING_FILE","pageSize","skip","take","currentPage","getOustandingInvoicesCount","outstandingInvoicesCount","invoiceId","getInvoiceFile","createObjectURL","Blob","toastErrorMessage","responseObject","TimesheetsSummaryClientViewModel","approvedCount","pendingReviewCount","pendingApprovalCount","TimesheetsSummaryCandidateViewModel","candidateId","candidateName","TimesheetsSummaryViewModel","clientTimesheetsSummary","candidateTimesheetsSummary","totalApprovedCount","totalPendingReviewCount","totalPendingApprovalCount","candidate","TimesheetsViewModel","pendingApprovalList","pendingApproval","TimesheetsPendingApprovalViewModel","Continue","SwitchingProtocols","Processing","Ok","Created","Accepted","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","IAmATeapot","MisdirectedRequest","UnprocessableEntity","Locked","FailedDependency","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","cIds","getTimesheetsSummary","getTimesheetsFilteredByCandidate","post","HttpStatusCodes","timesheetRecordId","downloadTimesheetFile","canListLoadingCount","candidateDisplayPictures","file","candidateList","displayPictureLoaders","isCanListLoading","isDisplayPictureLoading","candidateDisplayPicture","pic","image","START_CANLIST_LOADING","FINISH_CANLIST_LOADING","SET_CANDIDATE_LIST","START_LOADING_DISPLAY_PICTURE","FINISH_LOADING_DISPLAY_PICTURE","index","indexOf","SET_DISPLAY_PICTURE","existingDisplayPicture","getCandidateDetails","clientID","getCandidateList","pictureExists","getDisplayPic","base64ProfileImg","fileId","createFileAccessToken","accessKey","baseURL","fileURL","fileResponse","toasts","filePath","getGeneralFile","getType","VuexResponse","withCommit","updateFnName","withSetState","withPagination","commitKey","transform","transformFn","withSuccessToast","withFailureToast","withLoading","startName","finishName","withLoadingByKey","loadingKey","logResult","hasLoadingFns","hasLoadingKey","showLoading","startLoading","finishLoading","transformer","headers","bookingSummaryLoadingCount","feedbackFormUrlLoadingCount","quickFeedbackSubmittingCount","replaceMeStatusCheckLoadingCount","submitReplaceMeBookingLoadingCount","cancelBookingLoadingCount","extendBookingLoadingCount","homeRefreshCount","recentLocations","replaceMeStatusChecks","bookingOverview","isLoadingBookingSummary","isLoadingFeedbackFormUrl","isLoadingReplaceMeStatusCheck","isSubmittingQuickFeedback","isSubmitReplaceMeLoading","isLoadingCancelBooking","isLoadingExtendBooking","getOverviewTotalBookingsCountByDay","day","dateFound","dayjs","dateLocal","isSame","DAY","totalBookingsCount","START_LOADING_SELECTED_DATE_BOOKINGS","FINISH_LOADING_SELECTED_DATE_BOOKINGS","START_LOADING_BOOKINGS_OVERVIEW","FINISH_LOADING_BOOKINGS_OVERVIEW","START_LOADING_REPLACE_ME_STATUS_CHECK","FINISH_LOADING_REPLACE_ME_STATUS_CHECK","START_LOADING_SUBMIT_REPLACE_ME","FINISH_LOADING_SUBMIT_REPLACE_ME","START_LOADING_CANCEL_BOOKING","FINISH_LOADING_CANCEL_BOOKING","START_LOADING_EXTEND_BOOKING","FINISH_LOADING_EXTEND_BOOKING","SET_RECENT_BOOKING_LOCATION","timestamp","SET_BOOKING_OVERVIEW","START_LOADING_FEEDBACK_FORM_URL","FINISH_LOADING_FEEDBACK_FORM_URL","START_SUBMITTING_QUICK_FEEDBACK","FINISH_SUBMITTING_QUICK_FEEDBACK","UPSERT_REPLACE_ME_STATUS_CHECK_FOR_CLIENT","statusCheck","REFRESH_HOME","setRecentLocation","getSummaryBookingsByDate","go","getBookingOverview","year","getFeedbackFormUrl","bookingId","submitQuickFeedback","checkReplaceMeStatus","submitReplaceMeBooking","getSelectedDayText","isNextMonday","cancelBooking","cancelReason","endDateLocal","getExtendBookingCandidates","extendBooking","bookingContacts","bookingContactsLoadingCount","standardBookingDetailsLoadingCount","contacts","isLoadingBookingContacts","START_LOADING_BOOKING_CONTACTS","FINISH_LOADING_BOOKING_CONTACTS","SET_CLIENT_BOOKING_CONTACTS","hasContacts","getBookingContacts","BookingBlockViewModel","datesLocal","messageMarkDown","bookingLocations","certifications","locationRestrictions","bookingLocationLoadingCount","certificationLoadingCount","bookingBlocksLoadingCount","isLoadingCertifications","isLoadingBookingLocations","isLoadingBookingBlocks","getRestrictionDetailsByLocationId","restriction","START_LOADING_BOOKING_LOCATIONS","FINISH_LOADING_BOOKING_LOCATIONS","START_LOADING_CERTIFICATIONS","FINISH_LOADING_CERTIFICATIONS","START_LOADING_BOOKING_BLOCKS","FINISH_LOADING_BOOKING_BLOCKS","SET_BOOKING_LOCATIONS","UPSERT_CERTIFICATIONS","SET_LOCATION_RESTRICTIONS","restrictions","getBookingLocations","mappedLocations","ClientLoginLocationViewModel","getLocationCertifications","getLocationBookingBlocks","pendingFeedback","feedback","pendingFeedbackCacheObj","SET_PENDING_FEEDBACK","SET_FEEDBACK_AS_COMPLETE","foundClientFeedbackList","foundBookingFeedback","bookingID","feedbackCompleted","pendingfeedbacks","getPendingFeedbacks","setFeedbackAsComplete","isEnabled","featureFlags","createFeatureDecisions","selfService","showBookingStatus","showBookingCardV2","enableExtendBooking","flags","SET_FEATURE_FLAGS","setFeatureFlags","BookingClientViewModel","params","BookingClientGroupViewModel","BookingCreatedByViewModel","BookingLocationViewModel","BookingCoveringViewModel","BookingCertificationViewModel","BookingConfirmationViewModel","sms","voice","BookingClassificationViewModel","onlineTitle","BookingGradeViewModel","BookingDetailsViewModel","startTime","endTime","earliestDate","latestDate","areDatesConsecutive","notes","room","covering","isNullOrEmptyArray","certification","confirmations","confirmation","classification","BookingDateViewModel","BookingViewModel","createdBy","createdOnUtc","details","dates","PendingBookingSummaryDetailsViewModel","PendingBookingSummaryViewModel","days","defaultLoadingKey","bookingApprovals","loadingApprovalCount","loadingApprovalDetails","loadingSubmitPendingApproval","ms","flyout","isLoadingApprovalsList","isLoadingByKey","LoadingKeys","isLoadingFlyout","isLoadingSubmitPendingApproval","activeBooking","showFlyout","flyoutHasError","showDetailsContent","SET_FLYOUT","RESET_FLYOUT","SET_STATE","sleep","pendingBookings","action","companyNameShort","openFlyout","setFlyout","resetFlyout","bookingApprovalsModule","featuresModule","locationsModule","contactsModule","bookingsModule","timesheetsModule","fileModule","singleInvoice","singleInvoiceModule","clientModule","invoicesModule","candidateModule","authModule","usersModule","pendingFeedbacksModule","dispatchActionForAllModules","actionName","allModules","modulePrefix","moduleDefinition","dispatchGlobal","BaseApiService","resource","GET","POST","PATCH","PUT","getUrl","args","query","apiVersion","mapQueryParams","retry","method","providedHeaders","isBlob","impersonateHeader","Authorization","responseType","compileRequestConfig","handleErrors","execute","queryParams","join","ReadOnlyApiService","executeAnon","executeBlob","ModelApiService","SignalRApiService","UserApiService","InvoicesApiService","getBlob","ClientApiService","newDate","Date","dateFromString","startOf","dateUntilString","endOf","getBookingsByDateRange","dateFromStringLocal","dateUntilStringLocal","CandidateApiService","FileApiService","fileName","TimesheetsApiService","urlArgs","URLSearchParams","append","ContactsApiService","LocationsApiService","BookingsApiService","dateFromLocal","dateToLocal","PendingFeedbackApiServiceApiService","ClientGroupApiService","PendingBookingsApiService","signalR","extractHeaderData","reduce","acc","keyAndValue","getServiceStatus","ok","markdownText","fileLines","replace","statusHeader","headerElements","_md","Vuex","debugMessages","activeLoaders","appLoadingCount","debugActivateCounter","darkMode","initialAppLoad","embedded","drawer","serviceStatusLoadingCount","dashboardLayout","LayoutToggle","TILE","Store","plugins","strict","isLoadingApp","isLoadingServiceStatus","hasLoadedAppOnce","isError","isDebugModeActive","isDarkModeActive","isDrawerOpen","indexOfLoader","START_SERVICE_STATUS_LOADING","FINISH_SERVICE_STATUS_LOADING","INCREMENT_APP_LOADING","DECREMENT_APP_LOADING","SET_APP_AS_LOADED","RESET_APP_LOADING_STATE","SET_ERROR","ACTIVATE_DEBUG","INCREMENT_DEBUG","RESET_DEBUG","ENABLE_DARKMODE","DISABLE_DARKMODE","OPEN_DRAWER","CLOSE_DRAWER","SET_DASHBOARD_LAYOUT","layout","CLEAR","ADD_DEBUG_MESSAGE","INSERT_SERVICE_STATUS","addDebugMessage","startLoadingApp","finishLoadingApp","setAppAsLoaded","resetAppLoadingState","toggleDebugMode","toggleDarkMode","toggleDrawer","setDashboardLayout","clearStore","locale","setFavicon","favicon","querySelector","logStoreException","trackClickEvent","trackEvent","locked","YY","YYYY","M","MM","MMM","MMMM","D","DD","dd","ddd","dddd","Q","Do","X","H","HH","hh","mm","ss","SSS","Z","ZZ","A","LT","LTS","L","LL","LLL","LLLL","ll","lll","llll","DoMMM","MMMDo","DoMMMYYYY","MMMDoYYYY","dddL","ddddL","ddddLL","DDMMYYYYWithSlash","dddDDMMYYYYWithSlash","dddMMDDYYYYWithSlash","dddDMMMYYYY","YYYYMM","YYYYMMDD","MMMMYYYY","YYYYMMDDT0","dddDoMMM","dddMMMDo","dddDo","HHmm","Hmm","hhmma","HHmmss","ddddDDMMMM","ddddDoMMMMatLT","YYYYMMDDWithSlash","YYYYMMDDWithDash","DDMMYYYYWithDash","DDMMYYWithSlash","DDMMYYWithDash","MMDDYYWithSlash","MMDDYYWithDash","MMDDYYYYWithSlash","MMDDYYYYWithDash","MAP","EmitEvent","labelStyle","shade","SELECTED_CLIENT","lineno","colno","handlePromiseRejection","maxHeight","removed","toggleRemoved","disableRemove","removable","showIds","excludedKeys","allowedKeys","useModeledItems","extraColumns","allExcludedKeys","columns","updatedItems","VSimpleTable","hasMenuItems","closeOnClick","isMenuActive","subtitles","menuItem","isDivider","isActionable","isSelected","disableListItem","preventDefault","stopPropagation","handleInteraction","interaction","attributes","useCandidateImage","fullName","getSubtitleCSSClasses","subtitleColor","getSubtitleText","showHeaderDivider","divider","isInteractionPossible","isEmitEvent","getEmitEvent","isRouterLink","getRouterLink","$router","isExternalLink","getExternalLink","isFunction","func","getFunction","interactionMixin","menuItems","compactIcons","selectedId","Function","BaseDropdownMenuItemType","requiredKeys","dropdownMenu","VListItemIcon","VMenu","injectStyles","locals","unit","lazyLoadView","public","beforeResolve","routeFrom","authRequiredOnPreviousRoute","matched","authRequired","AsyncView","AsyncHandler","loading","delay","functional","VueRouter","VueMeta","keyName","routes","scrollBehavior","to","savedPosition","y","startRouteLoading","NProgress","start","stopRouteLoading","done","isPublic","validToken","redirectToLandingPage","loadUserProfileResult","getErrorPageRedirectByStatusCode","language","redirectToErrorPage","allClients","errorPageName","requireComponent","forEach","componentConfig","componentName","kebab","charAt","toUpperCase","compFullName","fontSize","clickable","rounded","showPreferredIcon","profilePicture","profileImgSrc","picture","version","has","set","merge","appVersion","sameDayBookingCutOffTime","minChars","allowedCharsRegex","debugToggle","toggleDebug","VSwitch","VSystemBar","clientTypeInt","locationLunchBreakMinutes","submittedByTemplateRequired","addressLine1","addressLine2","LogoShade","DARK","LIGHT","WHITE","webpackContext","req","webpackContextResolve","ShiftRecordBreakDto","locationTimeZone","payOptionType","payOptionTypes","unitType","startTimeLocal","endTimeLocal","startTimeUTC","endTimeUTC","candidateFirstName","candidateLastName","candidatePreferredName","candidateFullName","breakMinutes","isApprovedByCandidate","breaks","timesheetMethod","bookingStatus","candidateBookingModifications","utc","breakTaken","compHref","compTarget","compSrc","compAltText","commonAttributes","LogoType","COMPANY","APP","form","VImg","arr","dense","buttonModel","VItemGroup","Toast","routerLinkTo","allowInsecure","hideExternalIcon","test","isTelOrEmailLink","validateProps","yellow","red","inverted","customParseFormat","objectSupport","isSameOrBefore","isSameOrAfter","timezone","isBetween","advancedFormat","relativeTime","localizedFormat","isoWeek","isToday","isYesterday","localeData","limit","delimiter","substring","vueI18nSettings","messages","en","enUS","enCA","enNZ","enGB","enAU","numberFormats","currency","dateTimeFormats","time","hour","minute","hour12","time24","dateShort","month","dateFormatted","silentTranslationWarn","silentFallbackWarn","VueI18n","textFieldClasses","isMultiDate","textFieldBackground","formattedInternalDate","isOkDisabled","confirm","multiple","range","internalDate","dateMixin","hasError","errorBg","pickerFormat","DateFormatToken","isInternalDateSet","localShortDateFormat","initialDateValue","emptyPickerVal","validDates","handleError","isValid","VDatePicker","tooltip","tooltipText","badge","badgeDot","badgeIcon","badgeColor","badgeOffsetX","badgeOffsetY","transparentOutline","border","left","compAvatarSize","imageUrl","initials","tooltipEnabled","hashCode","str","hash","charCodeAt","COLOURS","orange","light_orange","light_green","aqua","light_blue","dark_blue","light_purple","pink","dark_pink","dark_red","ateam_purple","anzuk_blue","COLOURS_LIST","avatarColourSets","stringToPredefinedColourSet","string","abs","defaultColor","generic","sizeList","fontSizeList","fontFromAvatarSize","compFontSize","initUserObj","deep","allNames","curr","generateInitials","VAvatar","VBadge","Interaction","InteractionType","parseTimeStringToObject","splitTime","parseHours","parseInt","parseMinutes","hours","minutes","MILLISECONDS_PER_SECOND","SECONDS_PER_MINUTE","MINUTES_PER_HOUR","HOURS_PER_DAY","DAYS_PER_WEEK","MILLISECONDS_PER_MINUTE","MILLISECONDS_PER_HOUR","MILLISECONDS_PER_DAY","MILLISECONDS_PER_WEEK","DateTokens","AusDateFormats","USADateFormats","getLocale","isUSALoginOrLocation","isAUSLoginOrLocation","TimeDenominations","locationMixin","usaShortDateFormat","ausShortDateFormat","dateFormatToken","dateFormats","firstDayOfWeek","compSameDayCutOffObject","hasAtLeastOneLocationNotPassedSameDayCutOff","hasPassedSameDayCutOff","getDate","toDate","getTodaysDate","isBefore","dateA","dateB","isAfter","difference","humanReadableDuration","displaySuffix","humanize","dateAdd","amount","add","dateSubtract","subtract","formatDateToFriendlyString","rawDate","toLocaleString","getFullYear","getOrdinalSuffix","formatTimesToFriendlyDuration","startDate","endDate","timeFormat","convertDateToTimezone","tz","isValidDate","dateStr","dateIsWeekday","parsedDate","getDay","adjustDateToNextWeekday","EXTRA_DAYS_FOR_WEEKEND","extraDays","setDate","getDateSpanDuration","startDateStr","endDateStr","durationType","diffTime","ceil","floor","LOWER_BOUND_TH","UPPER_BOUND_TH","FIRST_DIGIT","SECOND_DIGIT","THIRD_DIGIT","today","cutOff","isDateOnWeekend","WEEK","QUARTER","MONTH","YEAR","SECOND","MILLISECOND","offlineConfirmed","SimpleTableItem","nanoid","subtitleClass","subtitle","subtitleOnTop","backButton"],"mappings":"aACE,SAASA,EAA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6J,GAAG,iBAAiB,CAAG7J,EAAI+2D,cAAsH/2D,EAAIoY,KAA3GjY,EAAG,KAAK,CAAC+Q,MAAMlR,EAAI62D,cAAcx2D,MAAM,CAAC,GAAK,kBAAkB,CAACL,EAAImB,GAAG,IAAInB,EAAIoB,GAAGpB,EAAI82D,UAAU,UAAmB,IAAI,IAC9Sj1D,EAAkB,G,wBCCtB,GACE9H,KAAM,gBACNgQ,OAAQ,CAACC,EAAX,MACE/H,MAAO,CACLqI,MAAO,CACLpS,KAAMgK,OACNC,QAAS,cAEX20D,SAAU,CACR5+D,KAAMgK,OACNC,QAAS,IAEX40D,cAAe,CACb7+D,KAAMgoB,QACN/d,SAAS,GAEX00D,cAAe,CACb3+D,KAAMgK,OACNC,QAAY8V,EAAlB,eAAe,mBAEX++C,WAAY,CACV9+D,KAAMgoB,WCzB8U,I,YCOtVrd,EAAY,eACd,EACA9C,EACA8B,GACA,EACA,KACA,KACA,MAIa,aAAAgB,E","file":"js/app.fa413ade.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0b879bd2\":\"f92c1963\",\"chunk-2d0b99d7\":\"bf8d47a0\",\"chunk-2d0f0a4c\":\"4e4c0af4\",\"chunk-838f1164\":\"7cd08e6a\",\"chunk-0f41ff96\":\"4fffab3b\",\"chunk-102d8a90\":\"d9b409f2\",\"chunk-d81bd55c\":\"fba279d7\",\"chunk-39e07481\":\"4c153739\",\"chunk-f8a68942\":\"8f1be81d\",\"chunk-02aca6e1\":\"882888c7\",\"chunk-f2a36196\":\"5315f977\",\"chunk-f56c2052\":\"61f256d5\",\"chunk-2d0db300\":\"77952933\",\"chunk-3b487c08\":\"5b22f7e2\",\"chunk-5e4fc95a\":\"e36b9ec3\",\"chunk-a6b479d0\":\"c3e6333d\",\"chunk-673067a0\":\"bcf58e46\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-0b879bd2\":1,\"chunk-838f1164\":1,\"chunk-0f41ff96\":1,\"chunk-102d8a90\":1,\"chunk-d81bd55c\":1,\"chunk-39e07481\":1,\"chunk-f8a68942\":1,\"chunk-02aca6e1\":1,\"chunk-f2a36196\":1,\"chunk-f56c2052\":1,\"chunk-3b487c08\":1,\"chunk-a6b479d0\":1,\"chunk-673067a0\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0b879bd2\":\"841066ee\",\"chunk-2d0b99d7\":\"31d6cfe0\",\"chunk-2d0f0a4c\":\"31d6cfe0\",\"chunk-838f1164\":\"3eb5dfd3\",\"chunk-0f41ff96\":\"ed80ddb3\",\"chunk-102d8a90\":\"b1de0af9\",\"chunk-d81bd55c\":\"4bc935ce\",\"chunk-39e07481\":\"60df76cd\",\"chunk-f8a68942\":\"4ce6e4a0\",\"chunk-02aca6e1\":\"634a7bb0\",\"chunk-f2a36196\":\"7712d838\",\"chunk-f56c2052\":\"d4000c89\",\"chunk-2d0db300\":\"31d6cfe0\",\"chunk-3b487c08\":\"6c7e1e7c\",\"chunk-5e4fc95a\":\"31d6cfe0\",\"chunk-a6b479d0\":\"d44a1b80\",\"chunk-673067a0\":\"63221a93\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export const LinkType = Object.freeze({\n GROUP: 'group',\n CLIENT: 'client',\n LOCATION: 'location',\n})\n","/**\n * Used to identify errors thrown when required config is missing or empty\n */\nexport default class MissingConfigurationError extends Error {\n /**\n * @param {String} resourceName name of config resource that wasn't found\n */\n constructor({ message = null, resourceName = null }) {\n super(message || `Required config was not found or null: '${resourceName}'`)\n this.name = 'MissingConfigurationError'\n }\n}\n","/**\n * Code sourced from: https://github.com/latelierco/vue-application-insights/blob/master/src/index.js on 21/10/2022 3:24 PM\n * Adjusting the code to suit our needs and to ensure it conforms to the latest appinsights requirements, as the package\n * has not been maintained for some time.\n */\n\nimport MissingConfigurationError from '@/models/error/missingConfigurationError'\nimport { ApplicationInsights, Util } from '@microsoft/applicationinsights-web'\n\n/**\n * Vue plugin for application insights package\n *\n * @param Vue\n * @param options\n */\nfunction install(Vue, options) {\n // More info: https://github.com/microsoft/ApplicationInsights-JS#configuration\n const config = options.appInsightsConfig || null\n\n if (!config)\n throw new MissingConfigurationError({ resourceName: 'appInsightsConfig' })\n\n Vue.appInsights = new ApplicationInsights({ config })\n Vue.appInsights.loadAppInsights()\n Vue.appInsights.trackPageView()\n\n if (typeof options.onAfterScriptLoaded === 'function') {\n options.onAfterScriptLoaded(Vue.appInsights)\n }\n\n const router = options.router\n\n // Watch route event if router option is defined.\n if (router) {\n if (options.trackInitialPageView !== false) {\n setupPageTracking(options, Vue)\n } else {\n router.onReady(() => setupPageTracking(options, Vue))\n }\n }\n\n Object.defineProperty(Vue.prototype, '$appInsights', {\n get: () => Vue.appInsights,\n })\n}\n\n/**\n * Track route changes as page views with AppInsights\n * @param options\n */\nfunction setupPageTracking(options, Vue) {\n const router = options.router\n\n const baseName = options.baseName || '(Vue App)'\n\n router.beforeEach((route, from, next) => {\n const name = baseName + ' / ' + route.name\n Vue.appInsights.context.telemetryTrace.traceID = Util.generateW3CId()\n Vue.appInsights.context.telemetryTrace.name = route.name\n Vue.appInsights.startTrackPage(name)\n next()\n })\n\n router.afterEach((route) => {\n const name = baseName + ' / ' + route.name\n const url = location.protocol + '//' + location.host + route.fullPath\n Vue.appInsights.stopTrackPage(name, url)\n Vue.appInsights.flush()\n })\n}\n\n// auto install for navigator\nif (typeof window !== 'undefined' && window.Vue) {\n window.Vue.use(install)\n}\n\nexport default install\n","import config from '@/common/config'\n\n/**\n * DEPRECIATED: Don't use, okay for a best guess but often users don't know what their browser's language is set to\n * Attempts to detect the first language selected from the browser (since modern browsers come with an array of preferred languages).\n * It is also backwards compatible with older browsers and mobile.\n *\n * Sourced from https://stackoverflow.com/a/46514247 on 06/09/2021 01:46 PM\n * @returns String | null\n */\nexport const getFirstBrowserLanguage = () => {\n var nav = window.navigator\n var browserLanguagePropertyKeys = [\n 'language',\n 'browserLanguage',\n 'systemLanguage',\n 'userLanguage',\n ]\n var i\n var language\n var len\n var shortLanguage = null\n\n // support for HTML 5.1 \"navigator.languages\"\n if (Array.isArray(nav.languages)) {\n for (i = 0; i < nav.languages.length; i++) {\n language = nav.languages[i]\n len = language.length\n if (!shortLanguage && len) {\n shortLanguage = language\n }\n if (language && len > 2) {\n return language\n }\n }\n }\n\n // support for other well known properties in browsers\n for (i = 0; i < browserLanguagePropertyKeys.length; i++) {\n language = nav[browserLanguagePropertyKeys[i]]\n // skip this loop iteration if property is null/undefined. IE11 fix.\n if (language == null) {\n continue\n }\n len = language.length\n if (!shortLanguage && len) {\n shortLanguage = language\n }\n if (language && len > 2) {\n return language\n }\n }\n\n return shortLanguage\n}\n\n/**\n * Returns language key based on URL client used to access CL\n * @returns {String} Language key (e.g. en-US)\n */\nexport const getLanguageBasedOnBaseURL = () => {\n const baseUrl = window.location.origin\n\n // key-pair { langKey: url }\n // e.g. { 'en-US': 'https://example.com' }\n const urls = config.get('i18n.urls')\n\n if (!urls || urls.length === 0) {\n // Suppress warning while unit testing\n if (process.env.VUE_APP_TEST !== 'unit')\n console.warn(\"Unable to parse url config. Defaulting language to 'en'\")\n return config.get('i18n.locale')\n }\n\n // Iterate over supported urls to find a match\n for (const [key, value] of Object.entries(urls)) {\n const listOfUrls = value.split(',')\n\n if (\n listOfUrls.length !== 0 &&\n listOfUrls\n .map((url) => {\n let processedUrl\n\n // Can throw invalid URL if malformed or empty string provided\n try {\n processedUrl = new URL(url).origin\n } catch {\n // Ignore invalid urls\n return ''\n }\n\n return processedUrl || ''\n })\n .includes(baseUrl)\n )\n return key\n }\n\n // Defaults to en\n return config.get('i18n.locale')\n}\n","export const PermissionModifier = Object.freeze({\n ALL: 'all',\n VIEW: 'view',\n CREATE: 'create',\n MODIFY: 'modify',\n DELETE: 'delete',\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ValidationProvider',{attrs:{\"name\":_vm.$attrs.label,\"rules\":_vm.rules},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('v-select',_vm._g(_vm._b({attrs:{\"error-messages\":errors},scopedSlots:_vm._u([(_vm.$attrs.multiple)?{key:\"prepend-item\",fn:function(){return [_c('v-list-item',{attrs:{\"ripple\":\"\"},on:{\"click\":_vm.toggleSelectAll}},[_c('v-list-item-action',[_c('v-icon',{attrs:{\"color\":_vm.innerValue.length > 0 ? 'blue' : ''}},[_vm._v(\" \"+_vm._s(_vm.compSelectAllItemsIcon)+\" \")])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" Select All \")])],1)],1),_c('v-divider',{staticClass:\"mt-2\"})]},proxy:true}:null],null,true),model:{value:(_vm.innerValue),callback:function ($$v) {_vm.innerValue=$$v},expression:\"innerValue\"}},'v-select',_vm.$attrs,false),_vm.$listeners))]}}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-input-select.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-input-select.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-input-select.vue?vue&type=template&id=23f322be&\"\nimport script from \"./_base-input-select.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-input-select.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VDivider,VIcon,VListItem,VListItemAction,VListItemContent,VListItemTitle,VSelect})\n","/**\n * Thrown when a paramter expected to be set was passed in null or undefined\n */\nexport default class NullParameterError extends Error {\n /**\n * @param {String} name name of parameter\n */\n constructor({ message = null, name = null }) {\n super(message || `Required parameter was null or undefined: '${name}'`)\n this.name = 'NullParameterError'\n }\n}\n","/**\n * To contain user data for logging purposes\n */\nexport default class UserIdentificationDTO {\n constructor({ id, emailAddress, ipAddress, isImpersonating = false } = {}) {\n /**\n * @type {Number} User's unique ID\n */\n this.user_id = id\n\n /**\n * @type {String}\n */\n this.user_email = emailAddress\n\n /**\n * @type {String}\n */\n this.user_host_address = ipAddress\n\n /**\n * @type {Boolean}\n */\n this.user_is_impersonating = isImpersonating\n }\n}\n","import NullParameterError from '@/models/error/nullParameterError'\nimport UserIdentificationDTO from '@/models/user/userIndentificationDTO'\n\n/**\n * Retrieves user identity (with optional IP address) for logging purposes\n * @param {VuexStore} store\n * @param {Boolean} logIpAddress Will not log ip address if false\n * @returns {UserIdentificationDTO}\n */\nconst fetchUserIdentityWithIpAddress = (store, logIpAddress = false) => {\n if (!store) throw new NullParameterError('store')\n\n const user = store.getters['auth/currentUserSimple']\n let userIpAddress = 'Instructed not to grab IP address'\n\n if (logIpAddress) {\n try {\n const request = new XMLHttpRequest()\n request.open('GET', 'https://api.ipify.org?format=json', false)\n\n request.send(null)\n\n if (request.status === 200) {\n const responseJSON = JSON.parse(request.responseText)\n userIpAddress = responseJSON.ip\n } else {\n throw new Error(\n `Unable to retrieve IP address. Status code: ${request.status}`\n )\n }\n } catch (ex) {\n userIpAddress = `Failed to get IP address. Reason: ${ex}`\n }\n }\n\n return new UserIdentificationDTO({\n id: user?.id,\n emailAddress: user?.emailAddress,\n ipAddress: userIpAddress,\n isImpersonating: user?.isImpersonating,\n })\n}\n\n/**\n * Compiles custom properties object for logging\n * @param {VuexStore} store\n * @param {Object} properties\n * @param {Boolean} logUserDetails Will log the details of the current user\n * @returns\n */\nconst compileCustomProperties = (store, properties, logUserDetails = false) => {\n if (!logUserDetails) return properties\n\n const user = fetchUserIdentityWithIpAddress(store, true)\n\n return { ...properties, ...user }\n}\n\nexport { fetchUserIdentityWithIpAddress, compileCustomProperties }\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-label.vue?vue&type=style&index=0&id=0787dd2d&lang=scss&scoped=true&\"","import { required, email, max } from 'vee-validate/dist/rules'\nimport { extend } from 'vee-validate'\n\nextend('required', {\n ...required,\n message: 'This field is required',\n})\n\nextend('max', {\n ...max,\n message: 'This field must be {length} characters or less',\n})\n\nextend('email', {\n ...email,\n message: 'This field must be a valid email',\n})\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./public.vue?vue&type=style&index=0&id=06378447&lang=scss&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-simple-table.vue?vue&type=style&index=0&id=3c63ae3e&lang=scss&scoped=true&\"","export const PERMISSION_DELIMITER = '_'\n","import { PermissionModifier } from '@/shared/constants/permissions/PermissionModifier'\nimport { PermissionScope } from '@/shared/constants/permissions/PermissionScope'\nimport { PERMISSION_DELIMITER } from '@/shared/constants/permissions/PermissionDelimiter'\nimport { LinkType } from '@/shared/constants/permissions/LinkType'\nimport { PermissionLevel } from '@/shared/constants/permissions/PermissionLevel'\nimport { cloneDeep } from 'lodash'\nimport { OperationReturnType } from '@/shared/constants/permissions/OperationReturnType'\nimport { PermissionRequirement } from '@/shared/constants/permissions/PermissionRequirement'\n\n/**\n * Transforms permission text into an object\n * @param {string} perm Unmodified permission string\n * @param {Object|null} allPerms Any previously transformed permissions object\n * @returns\n */\nexport const transformPermissions = (perm, allPerms = {}) => {\n let splitStr = ''\n let modifier = ''\n let key = ''\n\n // 1. Split permission string by delimiter\n splitStr = perm.split(PERMISSION_DELIMITER)\n\n // 2. Validate size of split string (should contain 2 parts, key and perm modifier)\n if (splitStr.length !== 2) return null\n\n // 3. Extract permission parts\n key = splitStr[0]\n modifier = splitStr[1]\n\n const permObj =\n allPerms && Object.prototype.hasOwnProperty.call(allPerms, key)\n ? allPerms[key]\n : {\n view: false,\n modify: false,\n delete: false,\n create: false,\n }\n\n // 4. Assign permissions to transformed perm object\n if (modifier !== PermissionModifier.ALL) {\n permObj[modifier] = true\n } else {\n // Iterate over all available permissions and set to true\n for (const property in permObj) {\n permObj[property] = true\n }\n }\n\n // 5. Return transformed perm object in expected format (e.g. { account: { view: true, ...}})\n return { [key]: permObj }\n}\n\n/**\n * Iterates over permissions payload and transforms each node into a permissions object\n * @param {Array} permissions Permissions payload\n * @returns\n */\nexport const processPermissionsPayload = (permissions) => {\n const perms = cloneDeep(permissions)\n let transformedPerms\n for (const group of perms) {\n // Process group permission\n transformedPerms = {}\n if (group.access.permissions.length > 0) {\n for (const perm of group.access.permissions) {\n transformedPerms = {\n ...transformedPerms,\n ...transformPermissions(perm, transformedPerms),\n }\n }\n }\n group.access.permissions = transformedPerms\n\n // Process client permissions\n for (const client of group.clients) {\n transformedPerms = {}\n if (client.access.permissions.length > 0) {\n for (const perm of client.access.permissions) {\n transformedPerms = {\n ...transformedPerms,\n ...transformPermissions(perm, transformedPerms),\n }\n }\n }\n client.access.permissions = transformedPerms\n\n // Process location permissions\n for (const location of client.locations) {\n transformedPerms = {}\n if (location.access.permissions.length > 0) {\n for (const perm of location.access.permissions) {\n transformedPerms = {\n ...transformedPerms,\n ...transformPermissions(perm, transformedPerms),\n }\n }\n }\n location.access.permissions = transformedPerms\n }\n }\n }\n\n return perms\n}\n\n/**\n * Iterates of permissions/access tree at a specified level, returning a specific item or places those items in an array by checking some condition\n * @param {Array} permissions Entire permissions tree\n * @param {LinkType} level GROUP|CLIENT|LOCATION\n * @param {OperationReturnType} returnType Object or Array type. Return a list of items (Array) or return a single item (Object)\n * @param {Function} comparer Compares the current item against some condition. Needs to return true or false.\n * @returns\n */\nexport const iterateOverPermissionsTree = (\n permissions,\n level,\n returnType,\n comparer = () => {\n return true\n }\n) => {\n if (!Object.values(OperationReturnType).includes(returnType))\n throw TypeError(\n `Return type must be list or single. Received: ${returnType}`\n )\n\n if (!permissions || permissions.length === 0)\n throw Error(`Permissions tree is empty`)\n\n const list = []\n for (const group of permissions) {\n if (level === LinkType.GROUP) {\n if (comparer(group)) {\n if (returnType === OperationReturnType.LIST) list.push(group)\n else if (returnType === OperationReturnType.SINGLE) return group\n }\n continue\n }\n\n for (const client of group.clients) {\n if (level === LinkType.CLIENT) {\n if (comparer(client)) {\n if (returnType === OperationReturnType.LIST) list.push(client)\n else if (returnType === OperationReturnType.SINGLE) return client\n }\n continue\n }\n\n for (const location of client.locations) {\n if (level === LinkType.LOCATION) {\n if (comparer(location)) {\n if (returnType === OperationReturnType.LIST) list.push(location)\n else if (returnType === OperationReturnType.SINGLE) return location\n }\n continue\n }\n }\n }\n }\n\n return returnType === OperationReturnType.LIST ? list : null\n}\n\n/**\n * Returns the appropriate id key name based on level\n * @param {LinkType} level\n */\nexport const getNodeIdKeyBasedOnLevel = (level) => {\n // Validate level\n if (!Object.values(LinkType).includes(level))\n throw TypeError(`Invalid level supplied. Received: ${level}`)\n\n return `${level.toLowerCase()}Id`\n}\n\n/**\n * Returns a permissions node by Id from a specified level\n * @param {Array} permissions Entire permissions tree\n * @param {Number} nodeId Id of requested node (e.g. locationId)\n * @param {LinkType} level\n * @returns\n */\nexport const getNodeById = (permissions, nodeId, level) => {\n return iterateOverPermissionsTree(\n permissions,\n level,\n OperationReturnType.SINGLE,\n (item) => {\n return item[getNodeIdKeyBasedOnLevel(level)] === nodeId\n }\n )\n}\n\n/**\n * Returns Boolean indicating if user has permission\n * @param {Array} permissionTree\n * @param {Number} nodeId\n * @param {LinkType} level\n * @param {PermissionScope} scope\n * @param {PermissionModifier} modifier\n * @returns Boolean\n */\nexport const getNodePermission = (\n permissionTree,\n nodeId,\n level,\n scope,\n modifier\n) => {\n const node = getNodeById(permissionTree, nodeId, level)\n if (!node) return false\n\n // Validate scope\n if (!Object.values(PermissionScope).includes(scope))\n throw TypeError(`Invalid scope supplied. Received: ${scope}`)\n\n // If node doesn't have the scope, user doesn't have permissions within that scope\n if (!Object.prototype.hasOwnProperty.call(node.access.permissions, scope))\n return false\n\n if (modifier !== PermissionModifier.ALL)\n return node.access.permissions[scope][modifier]\n\n for (const scopedPermission in node.access.permissions[scope]) {\n if (!node.access.permissions[scope][scopedPermission]) return false\n }\n\n return true\n}\n\n/**\n * Retrieves all permission nodes at a given level\n * @param {Array} permissions\n * @param {LinkType} level\n * @returns\n */\nexport const getAllNodesByLevel = (permissions, level) => {\n return iterateOverPermissionsTree(\n permissions,\n level,\n OperationReturnType.LIST\n )\n}\n\n/**\n * Counts all permission nodes at a given level\n * @param {Array} permissions\n * @param {LinkType} level\n * @returns\n */\nexport const countAllNodesByLevel = (permissions, level) => {\n return iterateOverPermissionsTree(\n permissions,\n level,\n OperationReturnType.LIST\n ).length\n}\n\n/**\n * Returns true if the user has the provided permissions scope at any level\n * @param {Array} permissions\n * @param {PermissionScope} scope\n * @returns Boolean\n */\nexport const hasPermissionAtAnyLevel = (permissions, scope, modifier) => {\n for (const level in LinkType) {\n const result = iterateOverPermissionsTree(\n permissions,\n level.toLowerCase(),\n OperationReturnType.SINGLE,\n (item) => {\n return !!item.access.permissions[scope]?.[modifier]\n }\n )\n\n if (result) return true\n }\n\n return false\n}\n\nconst convertPermissionLevelToLinkType = (permissionLevel) => {\n switch (permissionLevel) {\n case null:\n case PermissionLevel.GROUP:\n case PermissionLevel.GROUP_AND_BELOW:\n return LinkType.GROUP\n case PermissionLevel.CLIENT:\n case PermissionLevel.CLIENT_AND_BELOW:\n case PermissionLevel.SELECTED_CLIENT_AND_BELOW:\n return LinkType.CLIENT\n case PermissionLevel.LOCATION:\n return LinkType.LOCATION\n default:\n throw new Error('Invalid permission level')\n }\n}\n\n/**\n * Determines if a user has access to a given route\n * @param {Object} routeTo\n * @param {Vuex} store\n * @param {Number} targetId Id of entity in permissions tree to target\n * @returns Boolean\n */\nexport const hasAccessToRoute = (routeTo, store, targetId = -1) => {\n // No permissions set for route, no action needed\n if (!routeTo?.meta?.permissions || routeTo.meta.permissions.list.length === 0)\n return true\n\n let hasPermission = false\n\n for (const permission of routeTo.meta.permissions.list) {\n switch (permission.level) {\n case null:\n case PermissionLevel.GROUP_AND_BELOW:\n hasPermission = store.getters['auth/hasPermissionRegardlessOfLevel'](\n permission.scope,\n permission.modifier\n )\n break\n case PermissionLevel.GROUP:\n case PermissionLevel.CLIENT:\n case PermissionLevel.LOCATION:\n hasPermission = store.getters['auth/getPermission'](\n targetId,\n convertPermissionLevelToLinkType(permission.level),\n permission.scope,\n permission.modifier\n )\n break\n case PermissionLevel.CLIENT_AND_BELOW:\n hasPermission = store.getters[\n 'auth/hasPermissionForAtleastOneClientLocation'\n ](targetId, permission.scope, permission.modifier)\n break\n case PermissionLevel.SELECTED_CLIENT_AND_BELOW:\n hasPermission = store.getters[\n 'auth/hasPermissionForAtleastOneClientLocation'\n ](\n store.getters['client/getSelectedClients'],\n permission.scope,\n permission.modifier\n )\n break\n default:\n throw new Error('Invalid permission level')\n }\n\n // Only one permission required\n if (\n routeTo.meta.permissions.requirement === PermissionRequirement.ONE &&\n hasPermission\n )\n return true\n\n // All permissions in list are required\n if (\n routeTo.meta.permissions.requirement === PermissionRequirement.ALL &&\n !hasPermission\n )\n return false\n }\n\n // At this point, if require one permission, return false as user didn't have\n // at least one permission. If require all, return true as user had all perms\n return routeTo.meta.permissions.requirement === PermissionRequirement.ALL\n}\n\nexport const flattenAccessTree = (permissions) => {\n if (!permissions || permissions.length === 0)\n throw Error(`Permissions tree is empty`)\n\n const list = []\n for (const group of permissions) {\n for (const client of group.clients) {\n list.push({\n locations: client.locations,\n numLocations: client.locations.length,\n clientId: client.clientId,\n clientName: client.clientName,\n clientGroupId: group.groupId,\n clientGroupName: group.groupName,\n })\n }\n }\n\n return list\n}\n\nexport const flattenPermissionsWithLocations = (permissions) => {\n if (!permissions || permissions.length === 0)\n throw Error(`Permissions tree is empty`)\n\n const list = []\n for (const group of permissions) {\n for (const client of group.clients) {\n for (const location of client.locations) {\n list.push({\n locationId: location.locationId,\n locationName: location.locationName,\n clientId: client.clientId,\n clientName: client.clientName,\n clientGroupId: group.groupId,\n clientGroupName: group.groupName,\n })\n }\n }\n }\n\n return list\n}\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-dropdown-menu.vue?vue&type=style&index=0&id=14dcc87e&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Layout',[_c('v-flex',{staticClass:\"text-center\"},[_c('Lottie',{attrs:{\"options\":_vm.defaultOptions,\"height\":250,\"width\":250},on:{\"animCreated\":_vm.handleAnimation}}),_c('h2',{staticClass:\"mt-4 font-weight-bold opacity-8\"},[_vm._v(\"Loading...\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',{attrs:{\"id\":\"client-login\"}},[_c('TheDebugBar'),_c('v-main',{staticClass:\"r2b_bg\"},[_c('v-container',{staticClass:\"fill-height\",attrs:{\"fluid\":\"\"}},[_c('v-layout',{attrs:{\"align-center\":\"\",\"justify-center\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"sm8\":\"\",\"md6\":\"\"}},[_vm._t(\"default\")],2)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./loading.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./loading.vue?vue&type=template&id=17774f5f&\"\nimport script from \"./loading.vue?vue&type=script&lang=js&\"\nexport * from \"./loading.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VMain } from 'vuetify/lib/components/VMain';\ninstallComponents(component, {VApp,VContainer,VFlex,VLayout,VMain})\n","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_loading.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_loading.vue?vue&type=template&id=a29ac892&\"\nimport script from \"./_loading.vue?vue&type=script&lang=js&\"\nexport * from \"./_loading.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VFlex } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VFlex})\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"font-monospace\":\"_base-input-text_font-monospace_101i8\",\"text-overflow-unset\":\"_base-input-text_text-overflow-unset_39Lh4\",\"text-overflow-clip\":\"_base-input-text_text-overflow-clip_N7Ziy\",\"text-overflow-ellipsis\":\"_base-input-text_text-overflow-ellipsis_1gb63\",\"text-overflow-fade\":\"_base-input-text_text-overflow-fade_1U0gS\",\"white-space-unset\":\"_base-input-text_white-space-unset_RNj_f\",\"white-space-normal\":\"_base-input-text_white-space-normal_105kb\",\"white-space-nowrap\":\"_base-input-text_white-space-nowrap_3iODQ\",\"white-space-pre\":\"_base-input-text_white-space-pre_1PKNL\",\"white-space-pre-wrap\":\"_base-input-text_white-space-pre-wrap_UWxHZ\",\"white-space-pre-line\":\"_base-input-text_white-space-pre-line_TEBu0\",\"white-space-break-spaces\":\"_base-input-text_white-space-break-spaces_2JXO9\",\"animation--clockwise\":\"_base-input-text_animation--clockwise__HxRZ\",\"clockwise\":\"_base-input-text_clockwise_2hBDN\",\"animation--anti-clockwise\":\"_base-input-text_animation--anti-clockwise_2s7Eh\",\"anti-clockwise\":\"_base-input-text_anti-clockwise_33YKS\",\"animation--rotating\":\"_base-input-text_animation--rotating_1Z2JF\",\"rotating\":\"_base-input-text_rotating_3vpxz\",\"animation--rotating-diagonal\":\"_base-input-text_animation--rotating-diagonal_18GnR\",\"rotating-diagonal\":\"_base-input-text_rotating-diagonal_2NpQQ\",\"animation--rotate-180\":\"_base-input-text_animation--rotate-180_3DGy_\",\"rotate-180\":\"_base-input-text_rotate-180_3xVxR\",\"animation\":\"_base-input-text_animation_3Q6La\",\"typed-cursor\":\"_base-input-text_typed-cursor_2af2D\",\"blink\":\"_base-input-text_blink_3b_e5\",\"floating\":\"_base-input-text_floating_3-JRK\",\"jump\":\"_base-input-text_jump_2sspr\",\"fade-out\":\"_base-input-text_fade-out_2jiLH\",\"bubble-v\":\"_base-input-text_bubble-v_2RQCU\",\"bubble-v-left\":\"_base-input-text_bubble-v-left_1lXIM\",\"bubble-v-right\":\"_base-input-text_bubble-v-right_3Nqiv\",\"shake-v\":\"_base-input-text_shake-v_2Ldnb\",\"shake-left-right\":\"_base-input-text_shake-left-right_bMvU_\",\"fade-down\":\"_base-input-text_fade-down_2fgLV\"};","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./user-avatar.vue?vue&type=style&index=0&id=b5041b52&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',{attrs:{\"id\":\"client-login\"}},[_c('ServiceStatusAlert'),_c('TheDebugBar'),_c('v-main',{staticClass:\"r2b_bg\"},[_c('v-container',{staticClass:\"fill-height\",attrs:{\"fluid\":\"\"}},[_c('v-layout',{attrs:{\"align-center\":\"\",\"justify-center\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"sm8\":\"\",\"md6\":\"\"}},[_vm._t(\"default\")],2)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./public.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./public.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./public.vue?vue&type=template&id=06378447&scoped=true&\"\nimport script from \"./public.vue?vue&type=script&lang=js&\"\nexport * from \"./public.vue?vue&type=script&lang=js&\"\nimport style0 from \"./public.vue?vue&type=style&index=0&id=06378447&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 \"06378447\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VMain } from 'vuetify/lib/components/VMain';\ninstallComponents(component, {VApp,VContainer,VFlex,VLayout,VMain})\n","import Vue from 'vue'\nimport Vuetify, {\n VApp,\n VIcon,\n VCard,\n VSnackbar,\n VBtn,\n VChip,\n VSelect,\n VTextField,\n VTooltip,\n} from 'vuetify/lib'\nimport { Ripple } from 'vuetify/lib/directives'\n\nVue.use(Vuetify, {\n components: {\n VApp,\n VIcon,\n VCard,\n VSnackbar,\n VBtn,\n VChip,\n VSelect,\n VTextField,\n VTooltip,\n },\n directives: {\n Ripple,\n },\n})\n\nexport default new Vuetify({\n theme: {\n themes: {\n light: {\n primary: {\n base: '#00acef', // 400\n lighten3: '#f3fafe', // 100\n lighten2: '#e9f7ff', // 200\n lighten1: '#cae8f8', // 300\n darken1: '#008acd', // 500\n darken2: '#005997', // 600\n },\n blue: {\n base: '#00acef', // 400\n lighten3: '#f3fafe', // 100\n lighten2: '#e9f7ff', // 200\n lighten1: '#cae8f8', // 300\n darken1: '#008acd', // 500\n darken2: '#005997', // 600\n },\n info: {\n base: '#00acef', // 400\n lighten3: '#f3fafe', // 100\n lighten2: '#e9f7ff', // 200\n lighten1: '#cae8f8', // 300\n darken1: '#008acd', // 500\n darken2: '#005997', // 600\n },\n secondary: '#1867c0',\n indigo: {\n base: '#3c3087', // 500\n lighten4: '#f7f6ff', // 100\n lighten3: '#e9e5fd', // 200\n lighten2: '#b7b0ea', // 300\n lighten1: '#7667c1', // 400\n },\n purple: {\n base: '#3c3087', // 500\n lighten4: '#f7f6ff', // 100\n lighten3: '#e9e5fd', // 200\n lighten2: '#b7b0ea', // 300\n lighten1: '#7667c1', // 400\n },\n green: {\n base: '#3fac49', // 300\n lighten2: '#ecf7ed', // 100\n lighten1: '#aad69b', // 200\n },\n success: {\n base: '#00613a', // 500\n lighten4: '#edfcf6', // 200\n lighten3: '#d7f7e8', // 200\n lighten2: '#b8e4d1', // 300\n lighten1: '#00b480', // 400\n },\n warning: {\n base: '#ea7c0e', // 400\n lighten3: '#fdf6e9', // 100\n lighten2: '#faebd2', // 200\n lighten1: '#fbdfb3', // 300\n darken1: '#a34007', // 500\n },\n error: {\n base: '#e40c18', // 400\n lighten3: '#fff5f7', // 100\n lighten2: '#ffe3e4', // 200\n lighten1: '#ffcbce', // 300\n darken1: '#af090c', // 500\n },\n grey: {\n base: '#757575', // 500\n lighten4: '#fafafa', // 100\n lighten3: '#f7f7f7', // 200\n lighten2: '#f0f0f0', // 300\n lighten1: '#e0e0e0', // 400\n darken1: '#424242', // 600\n darken2: '#202121', // 700\n },\n },\n dark: {\n primary: '#00acef',\n blue: '#00acef',\n info: '#00acef',\n grey: '#212121',\n secondary: '#1867c0',\n indigo: '#fff',\n },\n },\n },\n})\n","export const OperationReturnType = Object.freeze({\n LIST: 'list',\n SINGLE: 'single',\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('article',_vm._l((_vm.items),function(item){return _c('v-checkbox',{key:item[_vm.itemValue],staticClass:\"mb-0 mt-2 base-checkbox__list-item\",attrs:{\"label\":item[_vm.itemLabel],\"value\":item[_vm.itemValue],\"hide-details\":\"\"},on:{\"change\":function($event){return _vm.$emit('updated', _vm.selected)}},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-checkbox-list.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-checkbox-list.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-checkbox-list.vue?vue&type=template&id=8a4b16e8&\"\nimport script from \"./_base-checkbox-list.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-checkbox-list.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\ninstallComponents(component, {VCheckbox})\n","import { ReplaceMeSelectionType } from '@/shared/constants/replaceMe/ReplaceMeSelectionType'\nimport i18n from '@plugins/vue-i18n'\n\n/**\n * Simple helper that returns the localised text for the selected day\n * @param {String} selectedDay Value of ReplaceMeSelectionType enum\n * @param {Boolean} isNextDayMonday Affects returned string if next day is monday\n * @return Locaised selected day text\n */\nexport default (selectedDay, isNextDayMonday = false) => {\n let dayText = i18n.t('replaceMe.todayLabel')\n\n if (selectedDay === ReplaceMeSelectionType.TOMORROW) {\n dayText = isNextDayMonday\n ? i18n.t('replaceMe.nextMondayLabel')\n : i18n.t('replaceMe.tomorrowLabel')\n }\n return dayText\n}\n","import Vue from 'vue'\nimport VueMq from 'vue-mq'\n\nVue.use(VueMq, {\n breakpoints: {\n xs: 600,\n sm: 960,\n md: 1264,\n lg: 1904,\n xl: Infinity,\n },\n})\n","import DOMPurify from 'dompurify'\nimport { marked } from 'marked'\n\nexport default function markdownToHtmlConverter(markdownString) {\n return DOMPurify.sanitize(marked.parse(markdownString), {\n USE_PROFILES: { html: true },\n })\n}\n","// Firebase App (the core Firebase SDK) is always required and must be listed first\nimport firebase from 'firebase/app'\nimport config from '@/common/config'\n\n// Add the Firebase products that you want to use\nimport 'firebase/auth'\n\n// If you enabled Analytics in your project, add the Firebase SDK for Analytics\n// import \"firebase/analytics\";\n\n// firebase init goes here\nfirebase.initializeApp(config.get('firebase'))\n\n// firebase utils\nexport default firebase\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"lottieContainer\",style:(_vm.style || { width: 'auto' })})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lottie.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lottie.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./lottie.vue?vue&type=template&id=5601a750&\"\nimport script from \"./lottie.vue?vue&type=script&lang=js&\"\nexport * from \"./lottie.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport { POSITION } from 'vue-toastification'\n\n// https://github.com/Maronato/vue-toastification/tree/main#toast-options-object\nconst toastOptions = {\n duration: 5000,\n position: POSITION.BOTTOM_CENTER,\n}\n\nexport default {\n success(message, options = toastOptions) {\n Vue.prototype.$toast.success(message, options)\n },\n error(message, options = toastOptions) {\n Vue.prototype.$toast.error(message, options)\n },\n warning(message, options = toastOptions) {\n Vue.prototype.$toast.warning(message, options)\n },\n info(message, options = toastOptions) {\n Vue.prototype.$toast.info(message, options)\n },\n show(message, options = toastOptions) {\n Vue.prototype.$toast(message, options)\n },\n debug(message, options = toastOptions) {\n Vue.prototype.$toast(message, options)\n },\n clear() {\n Vue.prototype.$toast.clear()\n },\n}\n","export default Object.freeze({\n /**\n * Server responded with 500 status code or some other unrecoverable error\n */\n INTERNAL_SERVER_ERROR: {\n id: 'internalServerError',\n statusCode: 500,\n routeName: 'ErrorPage',\n },\n /**\n * Resource or page was not found\n */\n PAGE_NOT_FOUND: {\n id: 'pageNotFoundError',\n statusCode: 404,\n routeName: 'NotFoundPage',\n },\n /**\n * User is not authenticated\n */\n UNAUTHORIZED: {\n id: 'unAuthorizedError',\n statusCode: 401,\n routeName: 'UnauthorizedPage',\n },\n /**\n * User is not authorized to access resource\n */\n FORBIDDEN: {\n id: 'forbiddenError',\n statusCode: 403,\n routeName: 'ForbiddenPage',\n },\n /**\n * Generic page for bad request responses (400)\n */\n BAD_REQUEST: {\n id: 'badRequestError',\n statusCode: 400,\n routeName: 'ErrorPage',\n },\n /**\n * Similar to 401 but can provide more reasoning as to why a certain action was blocked\n */\n ACTION_LOCKED: {\n id: 'accountLockedError',\n statusCode: 401,\n routeName: 'ActionLocked',\n },\n /**\n * For scenarios when the user's account couldn't be retrieved from the server\n */\n ACCOUNT_LOAD_FAILURE: {\n id: 'accountLoadError',\n statusCode: 400,\n routeName: 'AccountLoadFailedPage',\n },\n /**\n * For expired access tokens etc\n */\n EXPIRED: {\n id: 'expiredError',\n statusCode: 410,\n routeName: 'ErrorPage',\n },\n /**\n * For expired access tokens etc\n */\n NO_SERVER_RESPONSE: {\n id: 'noServerResponseError',\n statusCode: 500,\n routeName: 'NoServerResponsePage',\n },\n})\n","export const ReplaceMeSelectionType = Object.freeze({\n /**\n * Today - Today button selected\n */\n TODAY: 'Today',\n /**\n * Tomorrow - Tomorrow or Next Monday button selected\n */\n TOMORROW: 'Tomorrow',\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Layout',{staticClass:\"slide-1\"},[_c('div',{staticClass:\"shapes-container\"},[_c('div',{staticClass:\"animation-shape shape-ring animation--rotating-diagonal\"},[_c('div')]),_c('div',{staticClass:\"animation-shape shape-circle animation--clockwise\"},[_c('div')]),_c('div',{staticClass:\"animation-shape shape-triangle animation--anti-clockwise\"},[_c('div',{staticClass:\"animation--rotating\"})]),_c('div',{staticClass:\"animation-shape shape-diamond animation--anti-clockwise\"},[_c('div',{staticClass:\"animation--rotating\"})]),_c('div',{staticClass:\"static-shape shape-ring-1\"}),_c('div',{staticClass:\"static-shape shape-ring-2\"}),_c('div',{staticClass:\"static-shape shape-circle-1\"}),_c('div',{staticClass:\"static-shape pattern-dots-1\"}),_c('div',{staticClass:\"static-shape pattern-dots-2\"})]),_c('div',{staticClass:\"text-center white--text\"},[_c('div',{staticClass:\"d-flex flex-column align-center\"},[_c('h3',{staticClass:\"error-title font-weight-black my-10 text-center\",staticStyle:{\"width\":\"fit-content\"}},[_c('div',{staticClass:\"errorHeader\"},[_c('div',{staticClass:\"bgHighlight pr-4\"}),_c('div',{staticClass:\"text display-4 z-index-1\"},[_vm._v(\" \"+_vm._s(_vm.factory.title)+\" \")])])]),_c('p',{staticClass:\"error-desc display-1 font-weight-bold mt-0 z-index-1\"},[_vm._v(\" \"+_vm._s(_vm.factory.desc)+\" \")]),_c('p',{staticClass:\"error-sub-desc subtitle-1 font-weight-medium z-index-1 ws-pre\"},[_vm._v(\" \"+_vm._s(((_vm.factory.showErrorCode ? '(' + _vm.factory.errorCode + ') ' : '') + \" \" + (_vm.factory.subDesc)))+\" \")]),_c('div',{staticClass:\"error-code\",attrs:{\"data-error-code\":_vm.factory.errorText}}),_c('div',{class:[\n 'd-flex justify-center mt-10',\n _vm.$mq === 'sm' || _vm.$mq === 'xs' ? 'flex-column ' : '' ]},[_c('BaseButton',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isUserLoggedIn || _vm.currentUser),expression:\"isUserLoggedIn || currentUser\"}],class:[\n 'rounded-lg text-capitalize no-letter-spacing',\n _vm.isMobileViewPort ? 'mb-2' : 'mr-2' ],attrs:{\"id\":\"error-page-logout-btn\",\"x-large\":\"\",\"text\":\"\",\"outlined\":\"\",\"color\":\"white\"},on:{\"click\":_vm.signOut}},[_c('v-icon',{staticClass:\"white--text\",attrs:{\"left\":\"\"}},[_vm._v(\"mdi-arrow-left\")]),_vm._v(\" \"+_vm._s(_vm.$t('error.errorGenericLogOutButtonText'))+\" \")],1),_c('BaseButton',{class:[\n 'rounded-lg text-capitalize no-letter-spacing white--text',\n _vm.isMobileViewPort ? '' : 'ml-2' ],attrs:{\"id\":\"error-page-go-home-btn\",\"x-large\":\"\",\"light\":\"\",\"color\":\"blue\",\"href\":_vm.factory.goBackURL},domProps:{\"textContent\":_vm._s(_vm.factory.goBackText)}})],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import httpStatus from 'statuses'\nimport i18n from '@plugins/vue-i18n'\nimport ErrorPageCodes from '@/shared/constants/error/ErrorPageCodes'\n\n// Abstract Product\nconst BaseErrorPage = (errorCode) => {\n let errorStatusText = ''\n try {\n errorStatusText = httpStatus(errorCode)\n } catch (error) {\n errorStatusText = 'Unknown'\n }\n\n return {\n // Properties\n showErrorCode: true,\n errorCode,\n errorText: `${errorCode} ${errorStatusText}`,\n title: i18n.t('error.errorGenericTitle'),\n desc: i18n.t('error.errorGenericDescription'),\n subDesc: i18n.t('error.errorGenericSubDescription'),\n goBackURL: '/',\n goBackText: i18n.t('error.errorGenericReturnButtonText'),\n }\n}\n\n// Factory\nexport function ErrorPageFactory(errorCode) {\n switch (errorCode) {\n case ErrorPageCodes.INTERNAL_SERVER_ERROR.id:\n return InternalServerError()\n case ErrorPageCodes.PAGE_NOT_FOUND.id:\n return PageNotFoundError()\n case ErrorPageCodes.UNAUTHORIZED.id:\n return UnauthorizedError()\n case ErrorPageCodes.FORBIDDEN.id:\n return ForbiddenError()\n case ErrorPageCodes.BAD_REQUEST.id:\n return BadRequestError()\n case ErrorPageCodes.ACTION_LOCKED.id:\n return ActionLockedError()\n case ErrorPageCodes.ACCOUNT_LOAD_FAILURE.id:\n return AccountLoadFailedError()\n case ErrorPageCodes.EXPIRED.id:\n return ExpiredError()\n case ErrorPageCodes.NO_SERVER_RESPONSE.id:\n return NoServerResponseError()\n default:\n return BaseErrorPage(ErrorPageCodes.INTERNAL_SERVER_ERROR.statusCode)\n }\n}\n\n// Concrete Products\nconst InternalServerError = () => {\n return BaseErrorPage(ErrorPageCodes.INTERNAL_SERVER_ERROR.statusCode)\n}\n\nconst BadRequestError = () => {\n const base = BaseErrorPage(ErrorPageCodes.BAD_REQUEST.statusCode)\n base.desc = i18n.t('error.badRequestDesc')\n base.subDesc = i18n.t('error.badRequestSubDesc')\n base.showErrorCode = true\n return base\n}\n\nconst PageNotFoundError = () => {\n const base = BaseErrorPage(ErrorPageCodes.PAGE_NOT_FOUND.statusCode)\n base.title = i18n.t('error.errorNotFoundTitle')\n base.desc = i18n.t('error.errorNotFoundDescription')\n base.subDesc = i18n.t('error.errorNotFoundSubDescription')\n base.showErrorCode = true\n return base\n}\n\nconst UnauthorizedError = () => {\n const base = BaseErrorPage(ErrorPageCodes.UNAUTHORIZED.statusCode)\n base.desc = i18n.t('error.errorUnauthorizedDescription')\n base.subDesc = i18n.t('error.errorUnauthorizedSubDescription', {\n companyName: i18n.t('app.companyName'),\n })\n base.showErrorCode = true\n return base\n}\n\nconst ForbiddenError = () => {\n const base = BaseErrorPage(ErrorPageCodes.FORBIDDEN.statusCode)\n base.desc = i18n.t('error.errorUnauthorizedDescription')\n base.subDesc = i18n.t('error.errorUnauthorizedSubDescription', {\n companyName: i18n.t('app.companyName'),\n })\n base.showErrorCode = true\n return base\n}\n\nconst ActionLockedError = () => {\n const base = BaseErrorPage(ErrorPageCodes.ACTION_LOCKED.statusCode)\n\n base.desc = i18n.t('error.errorActionLockedDescription')\n base.subDesc = i18n.t('error.errorActionLockedSubDescription')\n base.showErrorCode = false\n return base\n}\n\nconst ExpiredError = () => {\n const base = BaseErrorPage(ErrorPageCodes.EXPIRED.statusCode)\n base.title = i18n.t('error.errorExpiredTitle')\n base.desc = i18n.t('error.errorExpiredDescription')\n base.subDesc = ''\n base.showErrorCode = false\n return base\n}\n\nconst AccountLoadFailedError = () => {\n const base = BaseErrorPage(ErrorPageCodes.ACCOUNT_LOAD_FAILURE.statusCode)\n base.desc = i18n.t('error.accountLoadFailureDesc')\n base.subDesc = i18n.t('error.accountLoadFailureSubDesc', {\n companyName: i18n.t('app.companyName'),\n })\n base.showErrorCode = false\n base.errorText = i18n.t('error.accountLoadFailureDesc')\n return base\n}\n\nconst NoServerResponseError = () => {\n const base = BaseErrorPage(ErrorPageCodes.NO_SERVER_RESPONSE.statusCode)\n base.desc = i18n.t('error.noServerResponseDesc')\n base.subDesc = i18n.t('error.noServerResponseSubDesc', {\n companyName: i18n.t('app.companyName'),\n })\n base.showErrorCode = false\n base.errorText = i18n.t('error.noServerResponseDesc')\n return base\n}\n","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_error.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_error.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_error.vue?vue&type=template&id=4161b4e7&scoped=true&\"\nimport script from \"./_error.vue?vue&type=script&lang=js&\"\nexport * from \"./_error.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_error.vue?vue&type=style&index=0&id=4161b4e7&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 \"4161b4e7\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VIcon})\n","import $dayjs from '@/services/date'\nimport Environment from '@/shared/constants/core/Environment'\n\nconst development = () =>\n fetch(\n `${process.env.BASE_URL}config.dev.json?t=${$dayjs().valueOf()}`\n ).then((response) => response.json())\n\nconst production = () =>\n fetch(\n `${process.env.BASE_URL}config.runtime.json?t=${$dayjs().valueOf()}`\n ).then((response) => response.json())\n\nconst loadConfig = (environment) => {\n switch (environment) {\n case Environment.production:\n return production()\n case Environment.development:\n default:\n return development()\n }\n}\n\nexport default async () => await loadConfig(process.env.NODE_ENV)\n","import Vue from 'vue'\nimport * as VueGoogleMaps from 'vue2-google-maps'\nimport configFactory from './common/configFactory'\nimport Environment from './shared/constants/core/Environment'\n\n// Don't warn about using the dev version of Vue in development.\nVue.config.productionTip = process.env.NODE_ENV === 'production'\n\n// If running inside Cypress...\nif (process.env.VUE_APP_TEST === Environment.e2e) {\n // Ensure tests fail when Vue emits an error.\n Vue.config.errorHandler = window.Cypress.cy.onUncaughtException\n}\n\n// Ensure config is loaded before Vue is init\nconfigFactory().then((configResponse) => {\n // Store config as a global\n Vue.prototype.$config = configResponse\n\n const config = require('@/common/config').default\n\n // Plugins are loaded using require to ensure import occurs after config\n const router = require('@router').default\n const store = require('@state/store').default\n const vuetify = require('@plugins/vuetify').default\n require('@plugins/vee-validate')\n require('@plugins/vue-mq')\n require('@plugins/vue-toastification')\n const i18n = require('@plugins/vue-i18n').default\n const firebase = require('@plugins/firebase').default\n const appinsights = require('@/plugins/appinsights').default\n // const signalRHub = require('@plugins/signalr-hub.js').default\n const App = require('./app.vue').default\n const sanitizeHtml = require('@/utils/sanitize-html').default\n\n // Globally register all `_base`-prefixed components\n require('@components/_globals')\n\n // TODO: Uncomment hub when SignalR has been implemented\n // Vue.use(signalRHub)\n\n if (config.env === Environment.production)\n Vue.use(appinsights, {\n appInsightsConfig: config.appInsightsConfig,\n router,\n })\n\n require('@/plugins/exception-handler')\n\n // Filters\n const truncateText = require('@filters/truncate-text').default\n Vue.filter('truncateText', truncateText)\n\n // Custom directives\n Vue.directive('sanitized-html', (el, binding) => {\n el.innerHTML = sanitizeHtml(binding.value)\n })\n\n // Init google maps component\n Vue.use(VueGoogleMaps, {\n load: {\n key: config.get('maps.googleMaps.apiKey'),\n },\n installComponents: true,\n })\n\n let app\n\n // Ensure firebase has loaded before app does\n firebase.auth().onAuthStateChanged(() => {\n if (!app)\n app = new Vue({\n router,\n store,\n vuetify,\n i18n,\n render: (h) => h(App),\n }).$mount('#app')\n })\n\n // Handle auth redirect on app load\n if (store.getters['auth/hasImpersonateContactId'])\n store.getters['auth/msalInstance']\n .handleRedirectPromise()\n .then((response) => {\n return store.dispatch('auth/handleRedirect', response)\n })\n .catch(() => {})\n\n // If running e2e tests...\n if (process.env.VUE_APP_TEST === Environment.e2e) {\n // Attach the app to the window, which can be useful\n // for manually setting state in Cypress commands\n // such as `cy.logIn()`.\n window.__app__ = app\n }\n})\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=style&index=0&lang=scss&\"","/**\n * Typography reference:\n * https://www.figma.com/design/Jg4zxJvL7FptGKAeQcBMRr/Ready2Book-Design-System?node-id=78-16437&p=f&t=YPAjCNdCeqZSNvZc-0\n */\nexport default Object.freeze({\n h1: 'text-h1',\n h2: 'text-h2',\n h3: 'text-h3',\n h4: 'text-h4',\n h5: 'text-h5',\n h6: 'text-h6',\n\n largeBody: 'text-body-large',\n largeBodyBold: 'text-large-body-bold',\n smallBody: 'text-small-body',\n smallBodyBold: 'text-small-body-bold',\n\n largeButton: 'text-large-button',\n mediumButton: 'text-medium-button',\n smallButton: 'text-small-button',\n\n caption: 'text-caption',\n captionBold: 'text-caption-bold',\n smallCaption: 'text-small-caption',\n})\n","/**\n * Describes a media query breakpoint\n */\nexport default class MediaQueryBreakPoint {\n constructor({ code = 'md', size = 0 } = {}) {\n /**\n * Break point code 'xs'|'sm'|'md'|'lg'|'xl'\n * @type {String}\n */\n this.code = code\n\n /**\n * Size of breakpoint\n * @type {Number}\n */\n this.size = size\n }\n}\n","import MediaQueryBreakPoint from '@/models/general/mediaQueryBreakPoint'\n\n/**\n * Device pixel breakpoints to be used in conjunction with VueMQ & Vuetify components.\n * Pixel breakpoints are based on Vuetify's breakpoint values: https://vuetifyjs.com/en/features/breakpoints/\n */\nexport default Object.freeze({\n /**\n * Extra small - Small to large phone\n */\n xs: new MediaQueryBreakPoint({\n code: 'xs',\n size: 600,\n }),\n /**\n * Small - Small to medium tablet\n */\n sm: new MediaQueryBreakPoint({\n code: 'sm',\n size: 960,\n }),\n /**\n * Medium - Large tablet to laptop\n */\n md: new MediaQueryBreakPoint({\n code: 'md',\n size: 1264,\n }),\n /**\n * Large - Desktop\n */\n lg: new MediaQueryBreakPoint({\n code: 'lg',\n size: 1904,\n }),\n /**\n * Extra large - \t4k and ultra-wide\n */\n xl: new MediaQueryBreakPoint({\n code: 'xl',\n size: Infinity,\n }),\n})\n","import { mapGetters } from 'vuex'\nimport config from '@/common/config'\nimport Environment from '@/shared/constants/core/Environment'\nimport MediaQueryBreakPoints from '@/shared/constants/core/MediaQueryBreakPoints'\nimport routeDefinitions from '@/shared/constants/routes/routeDefinitions'\nimport VuetifyColourClass from '@/shared/constants/core/VuetifyColourClass'\nimport VuetifyTextClass from '@/shared/constants/core/VuetifyTextClass'\n\nexport default {\n computed: {\n ...mapGetters({\n isDebug: 'isDebugModeActive',\n isDarkMode: 'isDarkModeActive',\n hasImpersonateContactId: 'auth/hasImpersonateContactId',\n }),\n isExtraSmall() {\n return this.$mq === MediaQueryBreakPoints.xs.code\n },\n isSmall() {\n return this.$mq === MediaQueryBreakPoints.sm.code\n },\n isMedium() {\n return this.$mq === MediaQueryBreakPoints.md.code\n },\n isLarge() {\n return this.$mq === MediaQueryBreakPoints.lg.code\n },\n isExtraLarge() {\n return this.$mq === MediaQueryBreakPoints.xl.code\n },\n isSmallOrLower() {\n return this.isSmall || this.isExtraSmall\n },\n isMediumOrLower() {\n return this.isSmall || this.isExtraSmall || this.isMedium\n },\n isLargeOrLower() {\n return this.isSmall || this.isExtraSmall || this.isMedium || this.isLarge\n },\n isSmallOrHigher() {\n return this.isSmall || this.isMedium || this.isLarge || this.isExtraLarge\n },\n isMediumOrHigher() {\n return this.isMedium || this.isLarge || this.isExtraLarge\n },\n isLargeOrHigher() {\n return this.isLarge || this.isExtraLarge\n },\n isMobileViewPort() {\n return this.isExtraSmall || this.isSmall || this.isMedium\n },\n isDev() {\n return config.get('env') === Environment.development\n },\n isImpersonating() {\n return this.hasImpersonateContactId\n },\n heightOfDevBar() {\n return this.isDev ? 24 : 0 // in pixels\n },\n routeDefinitions() {\n return routeDefinitions\n },\n colorClass() {\n return VuetifyColourClass\n },\n textClass() {\n return VuetifyTextClass\n },\n },\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.source === 'mdi')?_c('v-icon',_vm._b({},'v-icon',_vm.$attrs,false),[_vm._v(_vm._s(_vm.name))]):(_vm.source === 'custom')?_c('span',_vm._b({class:_vm.customIconClass},'span',_vm.$attrs,false)):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-icon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-icon.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-icon.vue?vue&type=template&id=5c8cd9da&\"\nimport script from \"./_base-icon.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-icon.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VIcon})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.status)?_c('article',{staticClass:\"w-100\",staticStyle:{\"z-index\":\"6\"}},[_c('v-alert',{staticClass:\"mb-0\",attrs:{\"tile\":\"\",\"dark\":\"\"}},[_c('section',{staticClass:\" d-flex justify-space-between align-center\"},[_c('header',{staticClass:\"d-flex\"},[_c('v-icon',{staticClass:\"mr-4\",attrs:{\"left\":\"\"}},[_vm._v(\"mdi-broadcast\")]),_c('h4',{class:_vm.isMobileViewPort ? 'body-2' : '',attrs:{\"title\":\"Service status alert title\"}},[_vm._v(\" \"+_vm._s(_vm._f(\"truncateText\")(_vm.status.bannerTitle,_vm.isMobileViewPort ? 60 : 0))+\" \")])],1),_c('div',{staticClass:\"d-flex align-center\"},[_c('v-btn',{attrs:{\"outlined\":\"\",\"dark\":\"\",\"small\":_vm.isMobileViewPort},on:{\"click\":function($event){_vm.showDialog = true}}},[_vm._v(\" Learn More \")])],1)])]),_c('v-dialog',{attrs:{\"max-width\":\"800\",\"scrollable\":\"\",\"content-class\":\"rounded-0\"},on:{\"input\":function($event){_vm.showDialog = false}},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}},[(_vm.showDialog)?_c('ServiceStatusDialog',{on:{\"closeModal\":function($event){_vm.showDialog = false}}}):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.serviceStatus)?_c('v-card',{attrs:{\"tile\":\"\"}},[_c('v-toolbar',{attrs:{\"dark\":\"\",\"flat\":\"\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_c('v-icon',[_vm._v(\"mdi-close\")])],1),_c('v-toolbar-title',{class:[_vm.isMobileViewPort ? 'body-2' : 'font-weight-bold']},[_vm._v(\" \"+_vm._s(_vm.serviceStatus.bannerTitle)+\" \")]),_c('v-spacer')],1),_c('v-card-text',[_c('v-list',[_c('v-list-item',{class:_vm.isMobileViewPort ? 'pl-0 ml-0' : ''},[_c('v-list-item-content',[_c('v-list-item-subtitle',[_vm._v(\"Severity\")]),_c('v-list-item-title',[_c('BaseLabel',{attrs:{\"text\":_vm.serviceStatus.severity,\"color\":\"grey\",\"shade\":\"dark\"}})],1)],1)],1),_c('v-list-item',{class:_vm.isMobileViewPort ? 'pl-0 ml-0' : ''},[_c('v-list-item-content',[_c('v-list-item-subtitle',[_vm._v(\"Region\")]),_c('v-list-item-title',[_vm._v(\" \"+_vm._s(_vm.serviceStatus.region)+\" \")])],1)],1)],1),_c('div',{class:_vm.isMobileViewPort ? '' : 'mx-4',attrs:{\"id\":\"service-status-dialog__body-content\"}})],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./service-status-dialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./service-status-dialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./service-status-dialog.vue?vue&type=template&id=ca89cfb0&\"\nimport script from \"./service-status-dialog.vue?vue&type=script&lang=js&\"\nexport * from \"./service-status-dialog.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VCard,VCardText,VIcon,VList,VListItem,VListItemContent,VListItemSubtitle,VListItemTitle,VSpacer,VToolbar,VToolbarTitle})\n","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./service-status-alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./service-status-alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./service-status-alert.vue?vue&type=template&id=5a2885d8&\"\nimport script from \"./service-status-alert.vue?vue&type=script&lang=js&\"\nexport * from \"./service-status-alert.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VAlert,VBtn,VDialog,VIcon})\n","export default Object.freeze({\n blue: 'blue',\n blueBg: 'blue-bg',\n blue100: 'blue lighten-3',\n blue200: 'blue lighten-2',\n blue300: 'blue lighten-1',\n blue400: 'blue',\n blue500: 'blue darken-1',\n blue600: 'blue darken-2',\n\n primary: 'primary',\n primary100: 'primary lighten-3',\n primary200: 'primary lighten-2',\n primary300: 'primary lighten-1',\n primary400: 'primary',\n primary500: 'primary darken-1',\n primary600: 'primary darken-2',\n\n info: 'info',\n info100: 'info lighten-3',\n info200: 'info lighten-2',\n info300: 'info lighten-1',\n info400: 'info',\n info500: 'info darken-1',\n info600: 'info darken-2',\n\n purple: 'purple',\n purple100: 'purple lighten-4',\n purple200: 'purple lighten-3',\n purple300: 'purple lighten-2',\n purple400: 'purple lighten-1',\n purple500: 'purple',\n\n indigo: 'indigo',\n indigo100: 'indigo lighten-4',\n indigo200: 'indigo lighten-3',\n indigo300: 'indigo lighten-2',\n indigo400: 'indigo lighten-1',\n indigo500: 'indigo',\n\n green: 'green',\n green100: 'green lighten-2',\n green200: 'green lighten-1',\n green300: 'green',\n\n error: 'error',\n error100: 'error lighten-3',\n error200: 'error lighten-2',\n error300: 'error lighten-1',\n error400: 'error',\n error500: 'error darken-1',\n\n warning: 'warning',\n warning100: 'warning lighten-3',\n warning200: 'warning lighten-2',\n warning300: 'warning lighten-1',\n warning400: 'warning',\n warning500: 'warning darken-1',\n\n success: 'success',\n success100: 'success lighten-4',\n success200: 'success lighten-3',\n success300: 'success lighten-2',\n success400: 'success lighten-1',\n success500: 'success',\n\n grey: 'grey',\n grey100: 'grey lighten-4',\n grey200: 'grey lighten-3',\n grey300: 'grey lighten-2',\n grey400: 'grey lighten-1',\n grey500: 'grey',\n grey600: 'grey darken-1',\n grey700: 'grey darken-2',\n\n black: 'black',\n white: 'white',\n transparent: 'transparent',\n\n text: {\n blue: 'blue--text',\n blue100: 'blue--text text--lighten-3',\n blue200: 'blue--text text--lighten-2',\n blue300: 'blue--text text--lighten-1',\n blue400: 'blue--text',\n blue500: 'blue--text darken-1',\n blue600: 'blue--text text--darken-2',\n\n primary: 'primary--text',\n primary100: 'primary--text text--lighten-3',\n primary200: 'primary--text text--lighten-2',\n primary300: 'primary--text text--lighten-1',\n primary400: 'primary--text',\n primary500: 'primary--text text--darken-1',\n primary600: 'primary--text text--darken-2',\n\n info: 'info--text',\n info100: 'info--text text--lighten-3',\n info200: 'info--text text--lighten-2',\n info300: 'info--text text--lighten-1',\n info400: 'info--text',\n info500: 'info--text text--darken-1',\n info600: 'info--text text--darken-2',\n\n purple: 'purple--text',\n purple100: 'purple--text text--lighten-4',\n purple200: 'purple--text text--lighten-3',\n purple300: 'purple--text text--lighten-2',\n purple400: 'purple--text text--lighten-1',\n purple500: 'purple--text',\n\n indigo: 'indigo--text',\n indigo100: 'indigo--text text--lighten-4',\n indigo200: 'indigo--text text--lighten-3',\n indigo300: 'indigo--text text--lighten-2',\n indigo400: 'indigo--text text--lighten-1',\n indigo500: 'indigo--text',\n\n green: 'green--text',\n green100: 'green--text text--lighten-2',\n green200: 'green--text text--lighten-1',\n green300: 'green--text',\n\n error: 'error--text',\n error100: 'error--text text--lighten-3',\n error200: 'error--text text--lighten-2',\n error300: 'error--text text--lighten-1',\n error400: 'error--text',\n error500: 'error--text text--darken-1',\n\n warning: 'warning--text',\n warning100: 'warning--text text--lighten-3',\n warning200: 'warning--text text--lighten-2',\n warning300: 'warning--text text--lighten-1',\n warning400: 'warning--text',\n warning500: 'warning--text text--darken-1',\n\n success: 'success--text',\n success100: 'success--text text--lighten-4',\n success200: 'success--text text--lighten-3',\n success300: 'success--text text--lighten-2',\n success400: 'success--text text--lighten-1',\n success500: 'success--text',\n\n grey: 'grey--text',\n grey100: 'grey--text text--lighten-4',\n grey200: 'grey--text text--lighten-3',\n grey300: 'grey--text text--lighten-2',\n grey400: 'grey--text text--lighten-1',\n grey500: 'grey--text',\n grey600: 'grey--text text--darken-1',\n grey700: 'grey--text text--darken-2',\n\n black: 'black--text',\n white: 'white--text',\n },\n})\n","import $date from '@/services/date'\n\nexport default function formatDate(\n date,\n format = 'll',\n allowedInputFormats = []\n) {\n return allowedInputFormats?.length\n ? $date(date, allowedInputFormats, true).format(format)\n : $date(date).format(format)\n}\n","/**\n * Describes various types of interactions with UI elements\n */\nexport default Object.freeze({\n /**\n * Initial state\n */\n none: 'none',\n /**\n * Indicates this interaction will emit an event\n */\n emitEvent: 'emitEvent',\n /**\n * Interaction will utilise the VueRouter to redirect within the app\n */\n routerLink: 'routerLink',\n /**\n * Indicates that clicking on this UI element should open up a new tab\n */\n externalLink: 'externalLink',\n /**\n * Function to be fired on click\n */\n function: 'function',\n})\n","import DOMPurify from 'dompurify'\n\n/**\n * Sanitzies strings containing html to remove potentially harmful code and XSS attacks\n * @param {String} dirtyHtml Potentially unsanitised HTML\n * @returns\n */\nexport default function sanitizeHtml(dirtyHtml) {\n return DOMPurify.sanitize(dirtyHtml, {\n USE_PROFILES: { html: true },\n })\n}\n","export const PermissionRequirement = Object.freeze({\n /**\n * Every permission in the permissions list is required\n */\n ALL: 'all',\n /**\n * At least one permission out of the list is required\n */\n ONE: 'one',\n})\n","/**\n * Provided as a catch all and ideally shouldn't be thrown\n */\nexport default class UnknownAppError extends Error {\n constructor(message) {\n super(message || 'Caught an unhandled client side error')\n this.name = 'UnknownAppError'\n }\n}\n","/**\n * Used to track PromiseRejectionEvents\n */\nexport default class PromiseRejectionError extends Error {\n constructor(message) {\n super(message || 'Caught an unhandled promise rejection')\n this.name = 'PromiseRejectionError'\n }\n}\n","/**\n * Code sourced from https://github.com/arunredhu/vuejs_boilerplate/blob/master/src/app/shared/services/app-logger/app-logger.js\n * on 24/10/2022 9:52 AM\n */\n\n/* eslint no-console: [\"off\"] */\nimport config from '@/common/config'\nimport UnknownAppError from '@/models/error/unknownAppError'\nimport VueErrorDTO from '@/models/error/vueErrorDTO'\nimport WindowErrorDTO from '@/models/error/windowErrorDTO'\nimport Environment from '@/shared/constants/core/Environment'\nimport Vue from 'vue'\nimport store from '@state/store.js'\nimport { compileCustomProperties } from '@/helpers/log-helper'\nimport StoreErrorDTO from '@/models/error/storeErrorDTO'\nimport PromiseRejectionError from '@/models/error/promiseRejectionError'\n\n/**\n * @description Logger class\n * This is responsible for logging of all kinds of info in the application\n * Default, we are using the console api for logging and this provides the basic level of logging such as\n * you can use the available method of console in developement but in production these will be replaced with empty methods\n * This can be extended with the help of adding Log level functionality\n */\nclass AppLogger {\n /**\n * @constructor AppLogger\n */\n constructor() {\n /** Initializing the configuration of logger */\n this.initLogger()\n }\n\n /**\n * @description Initializing the configuration such as if environment is production then all log method will be replaced with empty methods\n * except logError, which will be responsible for logging the important info on server or logging service\n */\n initLogger() {\n // Checking the environment\n if (config.get('env') !== Environment.production) {\n this.log = console.log.bind(console)\n\n this.debug = console.debug.bind(console)\n\n this.info = console.info.bind(console)\n\n this.warn = console.warn.bind(console)\n\n this.error = console.error.bind(console)\n\n this.logError = this.error\n } else {\n // In case of production replace the functions definition\n this.log = this.debug = this.info = this.warn = this.error = () => {}\n\n this.logError = (err) => {\n switch (true) {\n case err instanceof VueErrorDTO: {\n const properties = compileCustomProperties(\n store,\n {\n info: err.info,\n route: err.vm?.$route?.name,\n component:\n err.vm?.$options?.name ||\n 'Name prop not set for this component',\n },\n true\n )\n\n Vue.prototype.$appInsights.trackException({\n exception: err.err,\n properties,\n })\n break\n }\n\n case err instanceof WindowErrorDTO: {\n const properties = compileCustomProperties(store, err, true)\n\n Vue.prototype.$appInsights.trackException({\n exception: err.error,\n properties,\n })\n break\n }\n\n case err instanceof PromiseRejectionEvent: {\n const properties = compileCustomProperties(\n store,\n {\n reason: err?.reason,\n type: err?.type,\n },\n true\n )\n\n Vue.prototype.$appInsights.trackException({\n exception: new PromiseRejectionError(err.reason),\n properties,\n })\n break\n }\n case err instanceof StoreErrorDTO: {\n const properties = compileCustomProperties(\n store,\n {\n module: err.module,\n errorResponse: {\n source: err?.errorResponse?.source,\n type: err?.errorResponse?.type,\n message: err?.errorResponse?.message,\n },\n },\n true\n )\n\n Vue.prototype.$appInsights.trackException({\n exception: err.err,\n properties,\n })\n break\n }\n\n default: {\n const properties = compileCustomProperties(\n store,\n {\n error: err,\n },\n true\n )\n\n Vue.prototype.$appInsights.trackException({\n exception: new UnknownAppError(),\n properties,\n })\n break\n }\n }\n }\n }\n }\n}\n\n/** Creating the instance of logger */\nconst logger = new AppLogger()\n\nexport { logger }\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[(_vm.isAppLoading)?_c('Loading'):_c('RouterView',{key:_vm.$route.fullPath})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./app.vue?vue&type=template&id=2f3aa39f&\"\nimport script from \"./app.vue?vue&type=script&lang=js&\"\nexport * from \"./app.vue?vue&type=script&lang=js&\"\nimport style0 from \"./app.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',_vm._b({staticClass:\"transitions\",style:(_vm.cardStyles),on:{\"click:outside\":_vm.handleOutsideClick},model:{value:(_vm.isOpen),callback:function ($$v) {_vm.isOpen=$$v},expression:\"isOpen\"}},'v-dialog',Object.assign({}, _vm.$attrs, {persistent: _vm.persistent}),false),[_c('v-card',_vm._b({staticClass:\"transitions\",style:(_vm.cardStyles)},'v-card',Object.assign({}, _vm.$attrs),false),[(!_vm.hideHeader)?[_c('v-card-title',{class:{ 'pa-6': !_vm.$slots.header }},[_vm._t(\"header\",[_c('span',{class:_vm.h6},[_vm._v(_vm._s(_vm.title))]),_c('v-spacer'),_c('BaseButton',{attrs:{\"icon\":\"mdi-close\",\"fab\":\"\",\"tertiary\":\"\",\"circle\":\"\",\"sm\":\"\",\"hover-color\":\"grey lighten-4\"},on:{\"click\":_vm.close}})])],2),(!_vm.hideHeaderDivider)?_c('v-divider'):_vm._e()]:_vm._e(),_c('v-card-text',{class:{ 'pa-0': _vm.hidePadding }},[_vm._t(\"default\")],2),(!_vm.hideActions)?[(!_vm.hideActionsDivider)?_c('v-divider'):_vm._e(),_c('v-card-actions',{staticClass:\"d-flex justify-end\",class:{ 'px-6 py-4': !_vm.$slots.header }},[(!_vm.hideCancel)?_c('BaseButton',{attrs:{\"secondary\":\"\",\"sm\":\"\",\"border-radius\":\"12\"},on:{\"click\":_vm.close}},[_vm._v(_vm._s(_vm.$t('general.cancel')))]):_vm._e(),_vm._t(\"actions\")],2)]:_vm._e()],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-modal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-modal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-modal.vue?vue&type=template&id=0bac717c&scoped=true&\"\nimport script from \"./_base-modal.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-modal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_base-modal.vue?vue&type=style&index=0&id=0bac717c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0bac717c\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCard,VCardActions,VCardText,VCardTitle,VDialog,VDivider,VSpacer})\n","export default Object.freeze({\n home: {\n name: 'home',\n path: '/',\n },\n myAvailability: {\n name: 'myAvailability',\n path: '/availability',\n },\n clientOverview: {\n path: '/overview',\n name: 'client-overview',\n },\n clientGroupOverview: {\n path: '/group-overview',\n name: 'clientGroupOverview',\n },\n timesheets: {\n path: '/timesheets',\n name: 'timesheets',\n },\n candidates: {\n path: '/candidates',\n name: 'candidates',\n },\n help: {\n path: '/help',\n name: 'help',\n },\n bookings: {\n path: '/bookings',\n },\n bookingsCreate: {\n path: 'create',\n name: 'bookings-create',\n },\n bookingsPendingApproval: {\n path: 'pending-approval',\n name: 'Bookings Pending Approval',\n },\n settings: {\n name: 'settings',\n path: '/settings',\n },\n changePassword: {\n name: 'changePassword',\n path: '/settings/change-password',\n },\n login: {\n name: 'login',\n path: '/login',\n },\n impersonateLogout: {\n name: 'impersonateLogout',\n path: '/user/impersonate/logout',\n },\n impersonateLogin: {\n name: 'impersonateLogin',\n path: '/user/impersonate/:contactId',\n },\n finance: {\n name: 'finance',\n path: '/finance',\n },\n invoiceDetails: {\n path: '/finance/invoices/:invoiceNo',\n name: 'invoice-view',\n },\n logout: {\n name: 'logout',\n path: '/logout',\n },\n underConstruction: {\n name: 'underConstruction',\n path: '/under-construction',\n },\n notFound: {\n name: 'NotFoundPage',\n path: '/404',\n },\n error: {\n name: 'ErrorPage',\n path: '/500',\n },\n unauthorized: {\n name: 'UnauthorizedPage',\n path: '/401',\n },\n forbidden: {\n name: 'ForbiddenPage',\n path: '/403',\n },\n accountLoadFailure: {\n name: 'AccountLoadFailedPage',\n },\n noServerResponse: {\n name: 'NoServerResponsePage',\n },\n actionLocked: {\n name: 'accountLockedError',\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-hover',{scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar hover = ref.hover;\nreturn [_c('v-btn',_vm._g(_vm._b({class:_vm.buttonClasses,style:(_vm.setDynamicVars),attrs:{\"min-height\":_vm.height || _vm.dimensions.height,\"min-width\":_vm.width || _vm.dimensions.width,\"elevation\":_vm.elevation,\"ripple\":!_vm.hideRipple,\"text\":_vm.isTextBtn,\"color\":hover || _vm.isActive ? _vm.btnHoverColor : _vm.btnColor}},'v-btn',Object.assign({}, _vm.$attrs),false),_vm.btnListeners),[(_vm.prependIcon.length || _vm.dot)?_c('v-icon',{staticClass:\"mr-2\",attrs:{\"size\":_vm.iconSize,\"color\":hover || _vm.isActive ? _vm.btnIconHoverColor : _vm.btnIconColor}},[_vm._v(_vm._s(_vm.dot ? 'mdi-circle' : _vm.prependIcon))]):_vm._e(),(!_vm.fab)?_vm._t(\"default\"):_c('v-icon',{attrs:{\"size\":_vm.iconSize,\"color\":hover || _vm.isActive ? _vm.btnIconHoverColor : _vm.btnIconColor}},[_vm._v(_vm._s(_vm.icon))]),(_vm.appendIcon.length)?_c('v-icon',{staticClass:\"ml-2\",attrs:{\"size\":_vm.iconSize,\"color\":hover || _vm.isActive ? _vm.btnIconHoverColor : _vm.btnIconColor}},[_vm._v(_vm._s(_vm.appendIcon))]):_vm._e()],2)]}}],null,true)})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import VuetifyTextClass from '@/shared/constants/core/VuetifyTextClass'\nimport VuetifyColourClass from '@/shared/constants/core/VuetifyColourClass'\n\nconst { smallButton, mediumButton, largeButton } = VuetifyTextClass\n\nconst {\n black,\n grey200,\n grey500,\n grey700,\n blue200,\n blue400,\n blue500,\n text,\n transparent,\n primary,\n white,\n} = VuetifyColourClass\n\nconst { btnSizeMap, iconBtnSizeMap, dotBtnSizeMap, fabSizeMap } = Object.freeze(\n {\n btnSizeMap: {\n sm: { width: 108, height: 36 },\n md: { width: 112, height: 40 },\n lg: { width: 116, height: 40 },\n xl: { width: 133, height: 48 },\n xxl: { width: 161, height: 59 },\n },\n iconBtnSizeMap: {\n sm: { width: 136, height: 36 },\n md: { width: 140, height: 40 },\n lg: { width: 144, height: 40 },\n xl: { width: 161, height: 48 },\n xxl: { width: 193, height: 59 },\n },\n dotBtnSizeMap: {\n sm: { width: 126, height: 36 },\n md: { width: 130, height: 40 },\n lg: { width: 134, height: 40 },\n xl: { width: 151, height: 48 },\n xxl: { width: 183, height: 59 },\n },\n\n fabSizeMap: {\n sm: { width: 36, height: 28 },\n md: { width: 40, height: 32 },\n lg: { width: 44, height: 36 },\n xl: { width: 48, height: 40 },\n xxl: { width: 56, height: 48 },\n },\n }\n)\n\nexport default Object.freeze({\n // pixel values are passed to v-btn native min-width & min-height to allow for content expansion\n textSizeClassMap: {\n xl: mediumButton,\n xxl: largeButton,\n default: smallButton,\n },\n\n // pixel values passed to native v-icon size prop\n iconSizeMap: {\n dot: 8,\n xxl: 24,\n default: 20,\n },\n\n colorMap: {\n secondary: white,\n text: black,\n tertiary: transparent,\n tertiaryBlue: transparent,\n textBlue: blue400,\n default: primary,\n },\n\n hoverColorMap: {\n secondary: grey200,\n text: blue400,\n tertiary: blue200,\n tertiaryBlue: blue200,\n textBlue: blue500,\n default: blue500,\n },\n\n textColorMap: {\n secondary: text.black,\n text: text.black,\n tertiary: text.black,\n tertiaryBlue: text.blue,\n textBlue: text.blue,\n default: text.white,\n },\n\n iconColorMap: {\n secondary: grey500,\n text: grey700,\n tertiary: grey500,\n tertiaryBlue: blue400,\n textBlue: blue400,\n default: white,\n },\n\n iconHoverColorMap: {\n secondary: grey500,\n text: blue400,\n tertiary: blue400,\n tertiaryBlue: blue400,\n textBlue: blue500,\n default: white,\n },\n\n dimensionsMap: {\n fab: fabSizeMap,\n dot: dotBtnSizeMap,\n prependIcon: iconBtnSizeMap,\n appendIcon: iconBtnSizeMap,\n default: btnSizeMap,\n },\n})\n","export default function extractKeys(obj) {\n const keys = Object.keys(obj)\n const nestedKeys = Object.values(obj)\n .filter((val) => val && typeof val === 'object')\n .flatMap((nested) => Object.keys(nested))\n return [...keys, ...nestedKeys]\n}\n","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-button.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-button.vue?vue&type=template&id=1f42e60c&scoped=true&\"\nimport script from \"./_base-button.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-button.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_base-button.vue?vue&type=style&index=0&id=1f42e60c&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f42e60c\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VHover } from 'vuetify/lib/components/VHover';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VBtn,VHover,VIcon})\n","export const LogoForm = Object.freeze({\n FULL: 'Full',\n SHORT: 'Short',\n ICON: 'Icon',\n NONE: '',\n})\n","/**\n * Zero indexed week day mapping https://day.js.org/docs/en/get-set/day\n */\nexport const DayOfWeek = Object.freeze({\n SUNDAY: 0,\n MONDAY: 1,\n TUESDAY: 2,\n WEDNESDAY: 3,\n THURSDAY: 4,\n FRIDAY: 5,\n SATURDAY: 6,\n})\n","/**\n * Color object that contains both foreground and background colours\n */\nexport default class ColorSet {\n constructor({ foreground = '#000', background = '#FFF' } = {}) {\n /**\n * Hex color value. Color for elements in the foreground, typically icons or text\n * @type {String}\n * @example #00ACEF\n */\n this.foreground = foreground\n\n /**\n * Hex color value. Color for elements in the background\n * @type {String}\n * @example #00ACEF\n */\n this.background = background\n }\n}\n","import config from '@common/config.js'\nimport { PublicClientApplication } from '@azure/msal-browser'\n\nexport default new PublicClientApplication(config.get('msalConfig'))\n","const initResultObject = (\n isSuccess = false,\n error = null,\n data = null,\n message = '',\n statusCode = null\n) => {\n return { isSuccess, error, data, message, statusCode }\n}\n\n/**\n * Successful operation. isSuccess is set to true\n * @param {*} data\n * @param {String} msg\n * @param {Number} statusCode\n * @returns\n */\nexport const success = (data = null, msg = '', statusCode = 200) =>\n initResultObject(true, null, data, msg, statusCode)\n\n/**\n * Failed operation. isSuccess is set to false\n * @param {Object} error\n * @param {String} msg\n * @param {Number} statusCode\n * @returns\n */\nexport const fail = (error = null, msg = '', statusCode = 400) =>\n initResultObject(false, error, null, msg, statusCode)\n","import $date from '@/services/date'\nimport { isEmpty } from 'lodash'\n\nconst isCacheFresh = ({\n cacheDuration,\n durationUnits,\n lastUpdated,\n forceRefresh = false,\n}) => {\n // If not being forced to refresh and it hasn't been longer than staleness threshold\n // return resource without API call\n return (\n !isEmpty(lastUpdated) &&\n !forceRefresh &&\n $date().diff(lastUpdated, durationUnits) < cacheDuration\n )\n}\n\nconst getSavedState = (key) => {\n const item = window.localStorage.getItem(key)\n return item && item !== 'undefined' ? JSON.parse(item) : ''\n}\n\nconst saveState = (key, state) => {\n window.localStorage.setItem(key, JSON.stringify(state))\n}\n\nconst deleteState = (key) => {\n saveState(key, null) // extra precaution\n window.localStorage.removeItem(key)\n}\n\nexport { isCacheFresh, saveState, deleteState, getSavedState }\n","import httpStatus from 'statuses'\n\nconst isHttpStatus = (response, statusCode = 'OK') => {\n return response === httpStatus(statusCode)\n}\n\nconst isSuccess = (response) => {\n return (\n isHttpStatus(response, 'OK') ||\n isHttpStatus(response, 'No Content') ||\n isHttpStatus(response, 'Created')\n )\n}\n\nexport { isSuccess, isHttpStatus }\n","export const Tags = Object.freeze({\n /**\n * This is the primary location/client or group for this contact\n */\n PRIMARY: 'primary',\n /**\n * This contact will be notified of any bookings at this location/client or group\n * (aka confirmed contact)\n */\n CONFIRMED: 'confirmed',\n /**\n * Signifies that the replace me feature is enabled at this location/client or group\n */\n REPLACE_ME_ENABLED: 'replace_me_feature_enabled',\n})\n","/**\n * Validates that an object has every key provided in the expected array\n * @param {Array} expected\n * @param {Object} obj\n * @returns {Boolean}\n */\nexport default function objectHasKeys(expected = [], obj = {}) {\n if (!expected || !Array.isArray(expected) || expected.length === 0)\n throw Error('Expected array needs to be a valid, non-empty array')\n\n if (!obj) throw Error('Object needs to be non-empty')\n\n return expected.every((key) => Object.prototype.hasOwnProperty.call(obj, key))\n}\n","export default Object.freeze({\n /**\n * Error is undetermined\n */\n unknown: 'unknownError',\n /**\n * An internal api error.\n */\n api: 'apiError',\n /**\n * One or more of the input parameters failed validation.\n */\n validation: 'validationError',\n /**\n * An authorisation or authentication error.\n */\n security: 'securityError',\n /**\n * Resource not found\n */\n notFoundError: 'notFoundError',\n})\n","import ErrorResponseType from '@/shared/constants/error/ErrorResponseType'\nimport RequestErrorSource from '@/shared/constants/error/RequestErrorSource'\n\nexport default class ErrorResponse {\n constructor({\n _error = null,\n data = null,\n source = RequestErrorSource.unknown,\n type = ErrorResponseType.unknown,\n code = '',\n message = '',\n param = null,\n } = {}) {\n /**\n * @property {Object} The original error object returned from request attempt\n */\n this._error = _error\n\n /**\n * @property {Object} Container prop to transmit any relevant data down the pipeline\n */\n this.data = data\n\n /**\n * @property {RequestErrorSource} Indicates at what stage the error was triggered when attempting the request\n */\n this.source = source\n\n /**\n * @property {ErrorResponseType} The type of error received from the response (set to unknown if response wasn't received)\n */\n this.type = type\n\n /**\n * @property {string} Error code that may be received from the response or determined locally\n */\n this.code = code\n\n /**\n * @property {string} Message to relate error information to the user\n */\n this.message = message\n\n /**\n * @property {string} Contains the parameter in error (if applicable)\n */\n this.param = param\n }\n}\n","import objectHasKeys from '@/utils/object-has-keys'\nimport ErrorResponseType from '@/shared/constants/error/ErrorResponseType'\nimport RequestErrorSource from '@/shared/constants/error/RequestErrorSource'\nimport ErrorResponse from '@/models/error/ErrorResponse'\nimport { isEmpty } from 'lodash'\n\n// Utils\n\nconst determineRequestErrorType = (error) => {\n if (error?.response) return RequestErrorSource.server\n else if (error?.request) return RequestErrorSource.request\n else return RequestErrorSource.unknown\n}\n\n/**\n * Default API request validation response\n *\n * Object Structure:\n * ```json\n * {\n errors: Object,\n status: Number,\n title: String?,\n traceId: String?,\n type: String?,\n }\n * ```\n *\n * @param {Object} responseData\n * @returns\n */\nconst mapApiValidationErrorResponseToError = (error, errorSource, $i18n) => {\n const base = baseErrorResponse(error, errorSource, $i18n)\n base.data = error.response?.data?.errors\n base.type = error.response?.data?.type || ErrorResponseType.api\n base.message = error.response?.data?.title || base.message\n\n return base\n}\n\n/**\n * Ready2WorkAPI.DTOs.V1.Core.ErrorResponse\n *\n * Object Structure:\n * ```json\n * {\n type: String?,\n code: String?,\n message: String?,\n param: String?,\n }\n * ```\n *\n * @returns\n */\nconst mapR2WErrorResponseToError = (error, errorSource, $i18n) => {\n const base = baseErrorResponse(error, errorSource, $i18n)\n base.type = error.response?.data?.type || ErrorResponseType.api\n base.code = error.response?.data?.code || base.code\n base.message = error.response?.data?.message || base.message\n base.param = error.response?.data?.param\n return base\n}\n\n// Constants\nconst BASE_ERROR_RESPONSE_OBJ_KEYS = ['type', 'code', 'param']\nconst API_VALIDATION_ERROR_OBJ_KEYS = [\n 'errors',\n 'status',\n 'title',\n 'traceId',\n 'type',\n]\n\n// Abstract Product\nconst baseErrorResponse = (error, errorSource, $i18n) => {\n return new ErrorResponse({\n _error: error,\n source: errorSource,\n type: ErrorResponseType.unknown,\n message: $i18n.t('error.genericApiError'),\n })\n}\n\n// Factory\nexport default function(error, $i18n) {\n const errorSource = determineRequestErrorType(error)\n\n switch (errorSource) {\n case RequestErrorSource.server:\n return serverErrorResponse(error, errorSource, $i18n)\n case RequestErrorSource.request:\n return requestErrorResponse(error, errorSource, $i18n)\n default:\n return baseErrorResponse(error, errorSource, $i18n)\n }\n}\n\n// Concrete Products\nconst serverErrorResponse = (error, errorSource, $i18n) => {\n if (!error?.response || isEmpty(error?.response) || !error?.response?.data)\n return baseErrorResponse(error, errorSource, $i18n)\n\n // Case: Default API request validation response\n if (objectHasKeys(API_VALIDATION_ERROR_OBJ_KEYS, error.response?.data)) {\n return mapApiValidationErrorResponseToError(error, errorSource, $i18n)\n }\n\n // Case: Ready2WorkAPI.DTOs.V1.Core.ErrorResponse\n if (objectHasKeys(BASE_ERROR_RESPONSE_OBJ_KEYS, error.response?.data))\n return mapR2WErrorResponseToError(error, errorSource, $i18n)\n\n // Default Case\n return baseErrorResponse(error, errorSource, $i18n)\n}\n\nconst requestErrorResponse = (error, errorSource, $i18n) => {\n return baseErrorResponse(error, errorSource, $i18n)\n}\n","import router from '@router'\nimport msal from '@plugins/msal'\nimport config from '@common/config.js'\nimport { orderBy } from 'lodash'\nimport { fail, success } from '@/helpers/result-helper.js'\nimport firebase from '@/plugins/firebase'\nimport toast from '@/services/toasts/index.js'\nimport $date from '@/services/date/index.js'\nimport {\n isCacheFresh,\n getSavedState,\n saveState,\n deleteState,\n} from '@/helpers/cache-helpers'\nimport { DurationUnits } from '@/shared/constants/date/DurationUnits.js'\nimport { isSuccess } from '@/helpers/http-status-helpers'\nimport { LinkType } from '@/shared/constants/permissions/LinkType'\nimport {\n processPermissionsPayload,\n getNodeById,\n getNodePermission,\n hasPermissionAtAnyLevel,\n iterateOverPermissionsTree,\n flattenAccessTree,\n flattenPermissionsWithLocations,\n} from '@/helpers/permissions-helpers'\nimport { PermissionModifier } from '@/shared/constants/permissions/PermissionModifier'\nimport { PermissionScope } from '@/shared/constants/permissions/PermissionScope'\nimport { OperationReturnType } from '@/shared/constants/permissions/OperationReturnType'\nimport { Tags } from '@/shared/constants/permissions/Tags.js'\nimport { getLanguageBasedOnBaseURL } from '@/helpers/language-helpers'\nimport ErrorResponseFactory from '@/services/error/ErrorResponseFactory'\nimport StoreErrorDTO from '@/models/error/storeErrorDTO'\nimport { isNonEmptyArray } from '@/helpers/array-helpers'\n// eslint-disable-next-line no-unused-vars\nimport TreeViewDto from '@/models/app/treeViewDto'\nimport ClientSelectorTreeViewDto from '@/models/clients/clientSelectorTreeViewDto'\n\n/**\n *\n * @param {{access: [], clientId: number, clientName: string, locations: [], tags: []}[]} clients\n */\nconst extractClientsForTreeView = (clients) => {\n if (!clients || clients.length === 0) return []\n\n /**\n * @type {ClientSelectorTreeViewDto[]}\n */\n const clientsList = []\n\n for (const client of clients) {\n clientsList.push(\n new ClientSelectorTreeViewDto({\n id: client.clientId,\n name: client.clientName,\n locations: client.locations.map((location) => location.locationName),\n })\n )\n }\n\n return orderBy(clientsList, 'name', 'asc')\n}\n\nexport default {\n namespaced: true,\n state: {\n // MSAL User\n account: getSavedState('auth.account'),\n interactionRequired: true,\n // User Profile from DB\n currentUser: getSavedState('auth.currentUser'),\n accessToken: '', // Bearer token\n lastTokenRefresh: null,\n loadingCount: 0,\n auth: firebase,\n permissions: [],\n generalFiles: [],\n impersonateContactId: getSavedState('auth.impersonateContactId'),\n username: null, // used to track errors when user profile is not set\n },\n\n mutations: {\n SET_CURRENT_USER(state, newValue) {\n state.currentUser = { ...newValue, ...{ lastUpdated: $date() } }\n saveState('auth.currentUser', state.currentUser)\n },\n SET_ACCOUNT(state, newValue) {\n state.account = newValue\n saveState('auth.account', newValue)\n },\n SET_IMPERSONATE_CONTACT_ID(state, contactId) {\n state.impersonateContactId = contactId\n saveState('auth.impersonateContactId', contactId)\n },\n SET_USER_PERMISSIONS(state, permissions) {\n state.permissions = processPermissionsPayload(permissions)\n },\n SET_USER_GENERALFILES(state, files) {\n state.generalFiles = files\n },\n SET_INTERACTION_REQUIRED(state, newValue) {\n state.interactionRequired = newValue\n },\n SET_ACCESS_TOKEN(state, token) {\n state.accessToken = token\n state.interactionRequired = false\n state.lastTokenRefresh = $date()\n },\n SET_USER_TO_UNAUTHENTICATED(state) {\n state.account = null\n state.interactionRequired = true\n state.currentUser = null\n state.impersonateContactId = null\n deleteState('auth.account')\n deleteState('auth.currentUser')\n deleteState('auth.impersonateContactId')\n deleteState('client.id')\n deleteState('client.name')\n state.accessToken = null\n state.username = null\n\n sessionStorage.clear()\n localStorage.clear()\n },\n FRESH_IMPERSONATE_CLEAR_STORE(state) {\n state.currentUser = null\n state.impersonateContactId = null\n state.permission = []\n deleteState('auth.currentUser')\n deleteState('auth.impersonateContactId')\n deleteState('client.id')\n deleteState('client.name')\n },\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n SET_USERNAME(state, username) {\n state.username = username\n },\n },\n\n getters: {\n moduleName: () => 'auth',\n currentUserFullName: (state) =>\n state.currentUser\n ? `${state.currentUser.firstName} ${state.currentUser.lastName}`\n : '',\n currentUserEmail: (state) =>\n state.currentUser\n ? state.currentUser.emailAddress\n : state.username || 'not_specified',\n currentUser: (state) => state.currentUser,\n currentUserContactId: (state) =>\n state.currentUser?.id || state.impersonateContactId || 'not_specified',\n currentUserSimple: (state, getters) => {\n return {\n id: getters.currentUserContactId || '',\n emailAddress: getters.currentUserEmail || '',\n isImpersonating: getters.hasImpersonateContactId,\n }\n },\n getUserForEventLogging: (state, getters) => {\n return {\n contactId: getters.currentUserContactId,\n isImpersonating: getters.hasImpersonateContactId,\n impersonator: getters.hasImpersonateContactId\n ? state.account?.name\n : null,\n }\n },\n isClientGroupOverviewEnabled: (state, getters) =>\n getters.currentUser?.isClientGroupOverviewEnabled,\n msalAccount: (state) => state.account,\n impersonateContactId: (state) => state.impersonateContactId,\n hasImpersonateContactId: (state) => !!state.impersonateContactId,\n getUserStandardBookingDetails: (state) => {\n const standardBookings = state.currentUser?.standardBookings\n if (!standardBookings || standardBookings.length === 0) return null\n return standardBookings[0]\n },\n accessToken: (state) => state.accessToken,\n lastTokenRefresh: (state) => state.lastTokenRefresh,\n isUserLoggedIn: (state) =>\n state.accessToken && (!state.interactionRequired || !!state.account),\n\n isLoadingAuth: (state) => state.loadingCount > 0,\n isInteractionRequired: (state) => state.interactionRequired,\n auth: (state) => state.auth,\n msalInstance: (state) => msal,\n permissions: (state) => state.permissions,\n permissionsTreeView: (state) => {\n if (!state.permissions || state.permissions.length === 0) return []\n\n /**\n * @type {{ access: [], clients: [], groupId: number, groupName: string }[]}\n */\n const permissionsList = state.permissions\n\n /**\n * @type {TreeViewDto[]}\n */\n const tree = []\n\n for (const group of permissionsList) {\n tree.push(\n new TreeViewDto({\n id: group.groupId,\n name: group.groupName,\n children: extractClientsForTreeView(group.clients),\n })\n )\n }\n\n return orderBy(tree, 'name', 'asc')\n },\n redirectToClientOverview: (state) => {\n let clientCount = 0\n\n if (!state.permissions || state.permissions.length === 0) return false\n\n for (const group of state.permissions) {\n clientCount += group.clients.length\n }\n\n return clientCount > 1\n },\n hasMultipleClients: (state, getters) => {\n return getters.redirectToClientOverview\n },\n firstAvailableClient: (state) => {\n return state.permissions[0].clients[0]\n },\n getNode: (state) => (nodeId, level) => {\n return getNodeById(state.permissions, nodeId, level)\n },\n getGroup: (state, getters) => (id) => {\n return getters.getNode(id, LinkType.GROUP)\n },\n getClient: (state, getters) => (id) => {\n return getters.getNode(id, LinkType.CLIENT)\n },\n getClients: (state, getters) => (ids) => {\n return getters.getAllClients.filter((client) =>\n ids.includes(client.clientId)\n )\n },\n getLocation: (state, getters) => (id) => {\n return getters.getNode(id, LinkType.LOCATION)\n },\n getClientLocations: (state, getters) => (id) => {\n const client = getters.getClient(id)\n return client.locations\n },\n getNodeHierarchyByIdAndLevel: (state) => (id, linkType) => {\n const flatTree = flattenPermissionsWithLocations(state.permissions)\n if (!flatTree) return null\n\n switch (linkType) {\n case LinkType.GROUP:\n return flatTree.find((x) => x.groupId === id)\n case LinkType.CLIENT:\n return flatTree.find((x) => x.clientId === id)\n case LinkType.LOCATION:\n return flatTree.find((x) => x.locationId === id)\n default:\n return null\n }\n },\n getFirstClientLocationWithReplaceMePermissions:\n (state, getters) => (clientId) => {\n return getters.getFirstClientLocationWithPermissions(\n clientId,\n PermissionScope.REPLACE_ME\n )\n },\n getAllClients: (state, getters) => {\n return iterateOverPermissionsTree(\n state.permissions,\n LinkType.CLIENT,\n OperationReturnType.LIST\n )\n },\n getAllClientGroups: (state, getters) => {\n return iterateOverPermissionsTree(\n state.permissions,\n LinkType.GROUP,\n OperationReturnType.LIST\n )\n },\n countAllAvailableLocations: (state, getters) => {\n return iterateOverPermissionsTree(\n state.permissions,\n LinkType.LOCATION,\n OperationReturnType.LIST\n ).length\n },\n countAllAvailableBookingLocations: (state, getters) => {\n const list = iterateOverPermissionsTree(\n state.permissions,\n LinkType.LOCATION,\n OperationReturnType.LIST\n )\n\n return list.filter(\n (locationNode) => locationNode?.access?.permissions?.booking?.view\n ).length\n },\n getTimezoneFromFirstClientGroupLocation:\n (state, getters) => (clientGroupId) => {\n const clientGroup = getters.getGroup(clientGroupId)\n\n if (\n !clientGroup ||\n !isNonEmptyArray(clientGroup?.clients) ||\n !isNonEmptyArray(clientGroup?.clients[0]?.locations)\n )\n return ''\n\n return clientGroup?.clients[0]?.locations[0]?.timeZone\n },\n getPermission:\n (state) =>\n (id, level, scope, modifier = PermissionModifier.VIEW) => {\n return getNodePermission(state.permissions, id, level, scope, modifier)\n },\n hasLocationAccountsPermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.LOCATION,\n PermissionScope.ACCOUNTS\n )\n },\n hasLocationBookingPermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.LOCATION,\n PermissionScope.BOOKING\n )\n },\n hasLocationPendingApprovalPermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.LOCATION,\n PermissionScope.PENDING_BOOKING\n )\n },\n hasLocationBookingCreatePermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.LOCATION,\n PermissionScope.BOOKING,\n PermissionModifier.CREATE\n )\n },\n hasLocationTimesheetPermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.LOCATION,\n PermissionScope.TIMESHEETS\n )\n },\n hasLocationReplaceMePermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.LOCATION,\n PermissionScope.REPLACE_ME\n )\n },\n hasClientAccountsPermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.CLIENT,\n PermissionScope.ACCOUNTS\n )\n },\n hasClientBookingPermission: (state, getters) => (id) => {\n return getters.getPermission(id, LinkType.CLIENT, PermissionScope.BOOKING)\n },\n hasClientPendingApprovalPermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.CLIENT,\n PermissionScope.PENDING_BOOKING\n )\n },\n hasClientTimesheetPermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.CLIENT,\n PermissionScope.TIMESHEETS\n )\n },\n hasClientReplaceMePermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.CLIENT,\n PermissionScope.REPLACE_ME\n )\n },\n hasGroupAccountsPermission: (state, getters) => (id) => {\n return getters.getPermission(id, LinkType.GROUP, PermissionScope.ACCOUNTS)\n },\n hasGroupBookingPermission: (state, getters) => (id) => {\n return getters.getPermission(id, LinkType.GROUP, PermissionScope.BOOKING)\n },\n hasGroupTimesheetPermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.GROUP,\n PermissionScope.TIMESHEETS\n )\n },\n hasGroupReplaceMePermission: (state, getters) => (id) => {\n return getters.getPermission(\n id,\n LinkType.GROUP,\n PermissionScope.REPLACE_ME\n )\n },\n hasPermissionRegardlessOfLevel:\n (state, getters) => (permissionScope, modifier) => {\n return hasPermissionAtAnyLevel(\n state.permissions,\n permissionScope,\n modifier\n )\n },\n flatAccessTree: (state) => {\n return flattenAccessTree(state.permissions)\n },\n getGeneralFiles: (state) => state.generalFiles,\n getFirstClientLocationWithPermissions:\n (state, getters) => (clientId, permissionScope) => {\n const client = getters.getClient(clientId)\n if (!client) return null\n if (client.locations.length === 0) return null\n\n // If client has permission, return first location\n if (getters.getPermission(clientId, LinkType.CLIENT, permissionScope)) {\n return client.locations[0]\n }\n\n // Otherwise find first client location with permissions\n const firstAuthorisedLocation = client.locations.find(\n (x) => x.access?.permissions?.[permissionScope]\n )\n return firstAuthorisedLocation\n },\n getFirstClientLocationWithPermissionsByClientIds:\n (state, getters) => (clientIds, permissionScope) => {\n let locationWithPerm = null\n\n for (const clientId of clientIds) {\n locationWithPerm = getters.getFirstClientLocationWithPermissions(\n clientId,\n permissionScope\n )\n if (locationWithPerm) break\n }\n\n return locationWithPerm\n },\n getAllClientLocationsWithPermission:\n (state, getters) => (clientId, permissionScope) => {\n return getters.getAllClientsLocationsWithPermission(\n [clientId],\n permissionScope\n )\n },\n getAllClientsLocationsWithPermission:\n (state, getters) => (clientIds, permissionScope) => {\n const clients = getters.getClients(clientIds)\n\n if (!clients || clients?.length === 0) return false\n\n const locations = []\n for (const client of clients) {\n for (const location of client.locations) {\n if (\n getters.getPermission(\n location.locationId,\n LinkType.LOCATION,\n permissionScope\n )\n )\n locations.push(location)\n }\n }\n\n return locations\n },\n getAllClientLocationsWithReplaceMePermission:\n (state, getters) => (clientId) => {\n const client = getters.getClient(clientId)\n if (!client || client?.locations.length === 0) return false\n\n const locations = []\n for (const location of client.locations) {\n if (\n !!location.tags.find((tag) => tag === Tags.REPLACE_ME_ENABLED) &&\n getters.hasLocationReplaceMePermission(location.locationId)\n )\n locations.push(location)\n }\n\n return locations\n },\n hasPermissionForAtleastOneClientLocation:\n (state, getters) => (clientIds, permissionScope, modifier) => {\n const clients = getters.getAllClients\n\n const targetClients = clientIds\n\n const selectedClients = clients.filter((client) =>\n targetClients.includes(client.clientId)\n )\n\n // Confirm that there's at least one location to be checked\n if (\n !selectedClients ||\n selectedClients.length === 0 ||\n selectedClients[0].locations.length === 0\n )\n return false\n\n for (const client of selectedClients) {\n // Check if client has permission\n if (\n getters.getPermission(\n client.clientId,\n LinkType.CLIENT,\n permissionScope,\n modifier\n )\n )\n return true\n\n // Check if at least one location has the permission\n for (const location of client.locations) {\n if (\n getters.getPermission(\n location.locationId,\n LinkType.LOCATION,\n permissionScope,\n modifier\n )\n )\n return true\n }\n }\n\n return false\n },\n hasReplaceMePermissionForAtleastOneClientLocation:\n (state, getters) => (clientId) => {\n const client = getters.getClient(clientId)\n if (!client || client?.locations.length === 0) return false\n for (const location of client.locations) {\n if (\n !!location.tags.find((tag) => tag === Tags.REPLACE_ME_ENABLED) &&\n getters.hasLocationReplaceMePermission(location.locationId)\n )\n return true\n }\n\n return false\n },\n hasCreateBookingPermissionForAtleastOneClientLocation:\n (state, getters) => (clientId) => {\n const hasCreateBookingPermission =\n getters.getFirstClientLocationWithPermissions(\n clientId,\n PermissionScope.BOOKING\n )\n\n return !!hasCreateBookingPermission\n },\n hasCreateBookingPermissionForAtleastOneClientLocationByClientIds:\n (state, getters) => (clientIds) => {\n const hasCreateBookingPermission =\n getters.getFirstClientLocationWithPermissionsByClientIds(\n clientIds,\n PermissionScope.BOOKING\n )\n\n return !!hasCreateBookingPermission\n },\n },\n\n actions: {\n // This is automatically run in `src/state/store.js` when the app\n // starts, along with any other actions named `init` in other modules.\n init({ dispatch }) {},\n\n // Login via firebase\n async logIn({ dispatch, getters, commit }, { username, password }) {\n // Clean out localStorage to ensure AAD credentials don't remain\n dispatch('clearStore', null, { root: true })\n\n // Setting username in the store to assist with logging\n commit('SET_USERNAME', username)\n\n if (getters.isUserLoggedIn) return dispatch('refreshToken')\n\n commit('START_LOADING')\n\n return await firebase\n .auth()\n .signInWithEmailAndPassword(username, password)\n .then(async (response) => {\n if (!response.user)\n return Promise.reject(\n fail([], this.$i18n.t('auth.loginGetProfileFailureErrorText'))\n )\n commit('SET_INTERACTION_REQUIRED', false)\n return success()\n })\n .catch((error) => {\n let message = ''\n if (error.code === 'auth/wrong-password')\n message = this.$i18n.t('auth.loginWrongPasswordErrorText')\n else if (error.code === 'auth/user-not-found')\n message = this.$i18n.t('auth.loginUserNotFoundErrorText')\n else message = error.message\n\n return fail([], message)\n })\n .finally(() => {\n commit('FINISH_LOADING')\n })\n },\n\n /**\n * Handles redirect auth from MSAL\n * @param {Object} response Response will be populated on msal login\n */\n async handleRedirect({ dispatch }, response) {\n // Redirect to home after login\n if (response !== null) {\n await dispatch('getUserFromMsalProvider')\n router.push({ name: 'home' })\n }\n\n // In case multiple accounts exist, you can select\n const currentAccounts = msal.getAllAccounts()\n if (currentAccounts.length > 0) {\n // TODO: Add choose account code here\n await dispatch('getUserFromMsalProvider')\n }\n },\n\n // Handles already logged in impersonate redirect from login page\n async msalAlreadyLoggedInRedirect(\n { dispatch, commit },\n impersonateContactId\n ) {\n // Attempt to log out of firebase & clear out store in preperation\n try {\n await dispatch('firebaseLogOut', {\n nuke: false,\n showNotifications: false,\n redirect: false,\n setUnauthenticated: false,\n })\n } catch {}\n\n // Clear out certain values that need to be retrieved from API\n await dispatch('client/clear', null, { root: true })\n commit('FRESH_IMPERSONATE_CLEAR_STORE')\n\n // Set the new impersonate contact Id\n commit('SET_IMPERSONATE_CONTACT_ID', impersonateContactId)\n\n // Redirect to dashboard\n router.push({ name: 'home' })\n },\n\n async clearImpersonateId({ commit }) {\n commit('FRESH_IMPERSONATE_CLEAR_STORE')\n },\n\n // Logs in the current user.\n async msalLogIn({ dispatch, getters, commit }, impersonateContactId) {\n // Attempt to log out of firebase & clear out store in preperation\n try {\n await dispatch('firebaseLogOut', {\n nuke: true,\n showNotifications: false,\n redirect: false,\n setUnauthenticated: false,\n })\n } catch {}\n\n commit('SET_IMPERSONATE_CONTACT_ID', impersonateContactId)\n\n if (getters.isUserLoggedIn) return dispatch('msalRefreshToken')\n\n const loginRequest = {\n scopes: ['openid'],\n }\n\n msal.loginRedirect(loginRequest).catch((error) => {\n commit('SET_USER_TO_UNAUTHENTICATED')\n\n const errorCode = error.errorCode\n\n const noNotificationReq = ['user_cancelled']\n\n // Filter through errors that don't require a notification\n if (noNotificationReq.some((v) => errorCode.includes(v)))\n return fail(error)\n\n toast.error('Failed to login as impersonated contact')\n return fail(error)\n })\n },\n\n // Logs out the current user.\n async msalLogOut(\n { commit, dispatch },\n payload = { redirect: true, nuke: true }\n ) {\n const { redirect, nuke } = payload\n\n commit('START_LOADING')\n\n return await msal\n .logout({})\n .then(() => {\n commit('SET_USER_TO_UNAUTHENTICATED')\n // Nuke store\n if (nuke) dispatch('clearStore', null, { root: true })\n if (redirect)\n router.push({ path: `${getLanguageBasedOnBaseURL()}/landing` })\n\n return success()\n })\n .catch((error) => {\n toast.error(this.$i18n.t('auth.signOutFailureErrorText'))\n return fail(error)\n })\n .finally(() => {\n commit('FINISH_LOADING')\n })\n },\n\n // Retrieves user account from auth provider\n getUserFromMsalProvider({ commit, dispatch }) {\n if (!msal) return Promise.resolve(null)\n\n try {\n const myAccounts = msal.getAllAccounts()\n commit('SET_ACCOUNT', myAccounts[0])\n } catch {\n commit('SET_ACCOUNT', null)\n }\n },\n\n // Validates the current user's token and refreshes it\n // with new data from the API.\n async msalRefreshToken({ dispatch, commit, state }) {\n if (!msal) return Promise.resolve(fail()) // Prevents trying to access auth object before it is initialised\n await dispatch('getUserFromMsalProvider')\n if (!state.account) return Promise.resolve(fail())\n\n commit('SET_USERNAME', state.account?.username)\n\n commit('START_LOADING')\n\n const request = {\n scopes: [config.get('scopes.openId'), config.get('scopes.read')],\n account: state.account,\n }\n\n let response\n\n try {\n response = await msal.acquireTokenSilent(request)\n commit('SET_ACCESS_TOKEN', response.accessToken)\n return success()\n } catch (error) {\n console.warn('Silent token acquisition failed. Using interactive mode')\n return await msal\n .acquireTokenPopup(request)\n .then((response) => {\n commit('SET_ACCESS_TOKEN', response.accessToken)\n return success()\n })\n .catch(() => {\n toast.error('Failed to authenticate as impersonated contact')\n return fail()\n })\n } finally {\n commit('FINISH_LOADING')\n }\n },\n\n // Logs out the current user.\n async logOut({ getters, dispatch }, payload) {\n return dispatch(\n getters.impersonateContactId ? 'msalLogOut' : 'firebaseLogOut',\n payload\n )\n },\n\n // Logs out the current user.\n async firebaseLogOut(\n { commit, dispatch },\n payload = {\n redirect: true,\n nuke: true,\n showNotifications: true,\n setUnauthenticated: true,\n }\n ) {\n const { redirect, nuke, showNotifications, setUnauthenticated } = payload\n\n commit('START_LOADING')\n return await firebase\n .auth()\n .signOut()\n .then(() => {\n if (setUnauthenticated) commit('SET_USER_TO_UNAUTHENTICATED')\n // Nuke store\n if (nuke) dispatch('clearStore', null, { root: true })\n if (redirect)\n window.location.href = `/${getLanguageBasedOnBaseURL()}/landing`\n\n return success()\n })\n .catch((error) => {\n if (showNotifications)\n toast.error(this.$i18n.t('auth.signOutFailureErrorText'))\n return fail(error)\n })\n .finally(() => {\n commit('FINISH_LOADING')\n })\n },\n\n async refreshToken({ dispatch, getters }, forceRefresh = false) {\n return await dispatch(\n getters.impersonateContactId\n ? 'msalRefreshToken'\n : 'firebaseRefreshToken',\n forceRefresh\n )\n },\n\n /**\n * Checks freshness of access token and will force refresh the token if token\n * is considered stale\n * @param {*} context Vuex context\n * @param {Boolean} forceRefresh Forces a token refresh\n * @returns Access token\n */\n async getAccessTokenOrRefresh({ dispatch, getters }, forceRefresh = false) {\n const isAccessTokenFresh = isCacheFresh({\n cacheDuration: 30,\n durationUnits: DurationUnits.MINUTE,\n lastUpdated: getters.lastTokenRefresh,\n forceRefresh,\n })\n\n if (!isAccessTokenFresh) {\n await dispatch('refreshToken', true)\n }\n\n return getters.accessToken\n },\n\n // Validates the current user's token and refreshes it using Firebase\n // with new data from the API.\n async firebaseRefreshToken({ commit }, forceRefresh = false) {\n const currentUser = firebase.auth().currentUser\n commit('SET_USERNAME', currentUser?.email)\n\n return currentUser\n .getIdToken(forceRefresh)\n .then(function (idToken) {\n commit('SET_ACCESS_TOKEN', idToken)\n return Promise.resolve(success())\n })\n .catch(function (error) {\n console.warn(error)\n\n // Handle error\n commit('SET_USER_TO_UNAUTHENTICATED')\n return Promise.resolve(fail(error))\n })\n },\n\n async resetPasswordAsync({ commit }, payload) {\n commit('START_LOADING')\n\n return await firebase\n .auth()\n .sendPasswordResetEmail(payload.email)\n .then(() => {\n toast.success(this.$i18n.t('auth.resetPasswordSuccessText'))\n return success()\n })\n .catch((error) => {\n let message = ''\n if (error.code === 'auth/user-not-found')\n message = this.$i18n.t(\n 'auth.resetPasswordAccountDoesNotExistErrorText'\n )\n else message = error.message\n\n return fail([], message)\n })\n .finally(() => commit('FINISH_LOADING'))\n },\n\n /**\n * Used to reauthenticate a user before a sensative action (e.g. change password, change email address)\n * This is a security requirement enforced by firebase.\n * Read more: https://firebase.google.com/docs/reference/js/firebase.User#reauthenticatewithcredential\n * @param {String} password\n */\n async reauthenticateWithCredentialsAsync({ commit }, password) {\n commit('START_LOADING')\n\n const user = firebase.auth().currentUser\n\n // Prepare auth credentials\n const credentials = firebase.auth.EmailAuthProvider.credential(\n user.email,\n password\n )\n\n // Use credentials to reauthenticate user\n return await user\n .reauthenticateWithCredential(credentials)\n .then(() => {\n return success()\n })\n .catch(() => {\n toast.error(\n this.$i18n.t('auth.failedToAuthenticateWithCredsErrorText')\n )\n return fail()\n })\n .finally(() => commit('FINISH_LOADING'))\n },\n\n async changePasswordAsync({ commit }, payload) {\n commit('START_LOADING')\n\n const user = firebase.auth().currentUser\n\n return await user\n .updatePassword(payload.newPass)\n .then(() => {\n toast.success(this.$i18n.t('auth.changePasswordSuccessText'))\n return success()\n })\n .catch((error) => {\n return fail(error)\n })\n .finally(() => commit('FINISH_LOADING'))\n },\n\n /**\n * Loads user profile from ClientLogin API.\n * @param {Boolean} forceRefresh forces refresh of user profile, bypassing the cache\n * @returns\n */\n async getCurrentUserProfile(\n { commit, dispatch, getters },\n forceRefresh = false\n ) {\n // 1. Check cache freshness\n if (\n getters.currentUser &&\n getters.permissions &&\n getters.permissions.length > 0 &&\n isCacheFresh({\n cacheDuration: 2,\n durationUnits: DurationUnits.HOUR,\n lastUpdated: getters.currentUser.lastUpdated,\n forceRefresh,\n })\n )\n return success(getters.currentUser)\n\n // 2. Load profile from API & cache user profile\n commit('START_LOADING')\n\n try {\n const response = await this.$api.user.get()\n if (isSuccess(response.status)) {\n commit('SET_CURRENT_USER', response.data.contact)\n commit('SET_USER_PERMISSIONS', response.data.links)\n\n // After permission tree is set, verify that currently selected client\n // existing within tree\n dispatch('client/validateSelectedClient', null, { root: true })\n\n await dispatch('features/setFeatureFlags', response.data.features, {\n root: true,\n })\n\n commit('SET_USER_GENERALFILES', response.data.generalFiles)\n\n return success(getters.currentUser)\n }\n } catch (ex) {\n const errorResponse = ErrorResponseFactory(ex, this.$i18n)\n\n await dispatch(\n 'logStoreException',\n new StoreErrorDTO({\n err: ex,\n module: getters.moduleName,\n errorResponse,\n }),\n { root: true }\n )\n\n return fail(errorResponse)\n } finally {\n commit('FINISH_LOADING')\n }\n },\n\n clear({ commit }) {\n commit('SET_USER_TO_UNAUTHENTICATED')\n },\n },\n}\n","import axios from 'axios'\nimport $date from '@services/date/index.js'\n\nconst getDefaultState = () => {\n return {\n cached: {\n list: [],\n lastUpdated: null,\n },\n loadingCount: 0,\n crudLoadingCount: 0,\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'users',\n user: (state) => (id) => {\n return state.cached.find((user) => user.id === id)\n },\n users: (state) => {\n return state.cached\n },\n isLoadingUsers: (state) => state.loadingCount > 0,\n isLoadingUserCRUD: (state) => state.crudLoadingCount > 0,\n },\n mutations: {\n CACHE_USERS(state, users) {\n state.cached.list = users\n state.cached.lastUpdated = users ? $date() : null\n },\n CACHE_USER(state, newUser) {\n state.cached.list.push(newUser)\n },\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n CLEAR_STORE(state) {\n // Resets store to default state\n Object.assign(state, getDefaultState())\n },\n },\n actions: {\n async fetchUser({ commit, state, rootState }, { username }) {\n // 1. Check if we already have the user as a current user.\n const { currentUser } = rootState.auth\n if (currentUser && currentUser.username === username) {\n return Promise.resolve(currentUser)\n }\n\n // 2. Check if we've already fetched and cached the user.\n const matchedUser = state.cached.list.find(\n (user) => user.username === username\n )\n if (matchedUser) {\n return Promise.resolve(matchedUser)\n }\n\n // 3. Fetch the user from the API and cache it in case\n // we need it again in the future.\n return axios.get(`/api/users/${username}`).then((response) => {\n const user = response.data\n commit('CACHE_USER', user)\n return user\n })\n },\n /**\n * Resets store to default state.\n */\n clear({ commit }) {\n commit('CLEAR_STORE')\n },\n },\n}\n","import { fail, success } from '@helpers/result-helper.js'\nimport toast from '@services/toasts/index.js'\nimport { isSuccess, isHttpStatus } from '@/helpers/http-status-helpers'\n\nexport default {\n namespaced: true,\n state: {\n loadingCount: 0,\n crudLoadingCount: 0,\n },\n getters: {\n moduleName: () => 'single-invoice',\n isLoading: (state) => state.loadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n },\n actions: {\n async getInvoiceByInvoiceNo({ commit }, invoiceNo) {\n commit('START_LOADING')\n\n try {\n const response = await this.$api.invoices.getInvoiceByInvoiceNo(\n invoiceNo\n )\n\n if (isSuccess(response.status)) {\n return success(response.data)\n }\n } catch (ex) {\n if (isHttpStatus(ex.response.status, 'Forbidden')) {\n return fail(null, '', 403)\n }\n\n toast.error('Cannot load invoice')\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n },\n}\n","export default class AddressViewModel {\n constructor({\n line1,\n line2,\n suburb,\n state,\n postcode,\n country,\n latitude,\n longitude,\n fullAddress,\n } = {}) {\n /**\n * Street address, line 1\n * @type {String}\n * @example '44 Diamond Avenue'\n */\n this.line1 = line1\n\n /**\n * Street address, line 2\n * @type {String}\n * @example 'Level 14'\n */\n this.line2 = line2\n\n /**\n * @type {String}\n * @example 'Collingwood'\n */\n this.suburb = suburb\n\n /**\n * @type {String}\n * @example 'Victoria'\n */\n this.state = state\n\n /**\n * @type {String}\n * @example '3000'\n */\n this.postcode = postcode\n\n /**\n * @type {String}\n * @example 'Australia'\n */\n this.country = country\n\n /**\n * @type {Number}\n * @example 34.51223\n */\n this.latitude = parseFloat(latitude)\n\n /**\n * @type {Number}\n * @example -145.92812\n */\n this.longitude = parseFloat(longitude)\n\n /**\n * The combination of all the address parts into a single string\n * @type {String}\n * @example '44 Diamond Avenue Level 14 Collingwood Victoria 3000 Australia'\n */\n this.fullAddress = fullAddress\n }\n}\n","import AddressViewModel from '../locations/addressViewModel'\n\nexport default class ClientGroupOverviewViewModel {\n constructor({\n address = null,\n clientId,\n clientName,\n locationId,\n locationName,\n openBookings = 0,\n totalBookings = 0,\n } = {}) {\n /**\n * Location's address\n * @type {AddressViewModel}\n */\n this.address = address ? new AddressViewModel(address) : null\n\n /**\n * @type {Number}\n */\n this.clientId = clientId\n\n /**\n * @type {String}\n */\n this.clientName = clientName.trim()\n\n /**\n * @type {Number}\n */\n this.locationId = locationId\n\n /**\n * @type {String}\n */\n this.locationName = locationName.trim()\n\n const hasSameName =\n this.clientName === this.locationName || !this.locationName\n\n /**\n * Name to display in the UI. It's a combination of the client and location name.\n * If the loction name is the same or unset, it will just display the client name.\n * @type {String}\n */\n this.displayName = `${this.clientName}${hasSameName ? '' : ' - '}${\n hasSameName ? '' : this.locationName\n }`\n\n /**\n * Number of unfilled bookings\n * @type {Number}\n */\n this.openBookings = openBookings\n\n /**\n * Number of total bookings\n * @type {Number}\n */\n this.totalBookings = totalBookings\n }\n}\n","import ClientGroupOverviewViewModel from './clientGroupOverviewViewModel'\n\nexport default class ClientGroupOverviewWithFillRateViewModel extends ClientGroupOverviewViewModel {\n constructor({\n address = null,\n clientId,\n clientName,\n locationId,\n locationName,\n openBookings = 0,\n totalBookings = 0,\n } = {}) {\n super({\n address,\n clientId,\n clientName,\n locationId,\n locationName,\n openBookings,\n totalBookings,\n })\n\n this.filledBookings = totalBookings - openBookings\n\n let fillRatePercentage = -1\n\n if (!totalBookings && !openBookings) {\n fillRatePercentage = -1\n } else {\n const percentage = ((totalBookings - openBookings) / totalBookings) * 100\n\n const normalisedPercentage =\n percentage <= 0 || isNaN(percentage) ? 0 : percentage\n\n fillRatePercentage = Math.round(normalisedPercentage)\n }\n\n /**\n * A rounded percent of the number of bookings filled for this location\n * @type {Number}\n */\n this.fillRatePercentage = fillRatePercentage\n }\n}\n","import { fail, success } from '@/helpers/result-helper'\nimport toast from '@/services/toasts/index'\nimport { isSuccess, isHttpStatus } from '@/helpers/http-status-helpers'\nimport { orderBy } from 'lodash'\nimport { getSavedState, saveState, deleteState } from '@/helpers/cache-helpers'\nimport { isNonEmptyArray } from '@/helpers/array-helpers'\nimport ClientGroupOverviewWithFillRateViewModel from '@/models/overview/clientGroupOverviewWithFillRateViewModel'\n\nconst getDefaultState = () => {\n return {\n id: getSavedState('client.id'),\n name: getSavedState('client.name'),\n clientList: getSavedState('selectedClients') || [],\n grades: [],\n owners: [],\n classifications: [],\n loadingCount: 0,\n crudLoadingCount: 0,\n classificationLoadingCount: 0,\n detailsLoadingCount: 0,\n gradesLoadingCount: 0,\n overviewLoadingCount: 0,\n overviewDataLoadingCount: 0,\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'client',\n getSelectedClients: (state) => state.clientList,\n grades: (state) => (clientId) => {\n const grades = state.grades.find((x) => x.clientId === clientId)\n\n return grades ? orderBy(grades.list, ['name'], ['asc']) : []\n },\n owner: (state) => (clientId) => {\n const owner = state.owners.find((x) => x.clientId === clientId)\n return owner?.data\n },\n classifications: (state) => (clientId) => {\n const classifications = state.classifications.find(\n (x) => x.clientId === clientId\n )\n\n return classifications?.list || []\n },\n isLoading: (state) => state.loadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n isLoadingClassifications: (state) => state.classificationLoadingCount > 0,\n isLoadingClientDetails: (state) => state.detailsLoadingCount > 0,\n isLoadingGrades: (state) => state.gradesLoadingCount > 0,\n isLoadingOverview: (state) => state.overviewLoadingCount > 0,\n isLoadingOverviewData: (state) => state.overviewDataLoadingCount > 0,\n mapSelectedClientsToClientsInPermissions: (\n state,\n getters,\n rootState,\n rootGetters\n ) => {\n const allClientsInPerms = rootGetters['auth/getAllClients']\n const mappedClients = allClientsInPerms.filter((client) =>\n getters.getSelectedClients.includes(client.clientId)\n )\n\n return mappedClients\n },\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n START_LOADING_CLASSIFICATIONS(state) {\n state.classificationLoadingCount++\n },\n FINISH_LOADING_CLASSIFICATIONS(state) {\n state.classificationLoadingCount--\n },\n START_LOADING_DETAILS(state) {\n state.detailsLoadingCount++\n },\n FINISH_LOADING_DETAILS(state) {\n state.detailsLoadingCount--\n },\n START_LOADING_GRADES(state) {\n state.gradesLoadingCount++\n },\n FINISH_LOADING_GRADES(state) {\n state.gradesLoadingCount--\n },\n START_LOADING_OVERVIEW(state) {\n state.overviewLoadingCount++\n },\n FINISH_LOADING_OVERVIEW(state) {\n state.overviewLoadingCount--\n },\n START_LOADING_OVERVIEW_DATA(state) {\n state.overviewDataLoadingCount++\n },\n FINISH_LOADING_OVERVIEW_DATA(state) {\n state.overviewDataLoadingCount--\n },\n /**\n * TODO: Remove\n */\n SET_CLIENT(state, { clientId, clientName }) {\n state.id = clientId\n state.name = clientName\n\n saveState('client.id', clientId)\n saveState('client.name', clientName)\n },\n /**\n * @param {*} state\n * @param {number[]} clientsIds List of client ids\n */\n SET_CLIENTS(state, clientIds) {\n const sortedClientIds = clientIds.sort((a, b) => a - b) // Asc number sort\n\n state.clientList = sortedClientIds\n saveState('selectedClients', sortedClientIds)\n },\n UPSERT_CLIENT_GRADES(state, payload) {\n const found = state.grades.find((x) => x.clientId === payload.clientId)\n\n if (!found) {\n return state.grades.push({\n clientId: payload.clientId,\n list: payload.grades,\n })\n }\n\n found.list = payload.grades\n },\n UPSERT_ADDITIONAL_DETAILS(state, payload) {\n const found = state.owners.find((x) => x.clientId === payload.clientId)\n\n if (!found) {\n return state.owners.push({\n clientId: payload.clientId,\n data: payload.owner,\n })\n }\n\n found.data = payload.owner\n },\n UPSERT_CLIENT_CLASSIFICATIONS(state, payload) {\n const found = state.classifications.find(\n (x) => x.clientId === payload.clientId\n )\n\n if (!found) {\n return state.classifications.push({\n clientId: payload.clientId,\n list: payload.classifications,\n })\n }\n\n found.list = payload.classifications\n },\n CLEAR_STORE(state) {\n // Clear out LocalStorage\n deleteState('client.id')\n deleteState('client.name')\n\n // Resets store to default state\n Object.assign(state, getDefaultState())\n },\n },\n actions: {\n setClient({ commit, rootGetters, dispatch }, clientId) {\n const client = rootGetters['auth/getClient'](clientId)\n\n if (!client) {\n toast.error(this.$i18n.t('client.clientNotFoundErrorText'))\n return fail()\n }\n\n dispatch('loadClientAdditionalInformation', clientId)\n\n // Clear store modules of client specific data before switching\n dispatch('invoices/clear', {}, { root: true })\n dispatch('bookings/clear', {}, { root: true })\n dispatch('contacts/clear', {}, { root: true })\n dispatch('timesheets/clear', {}, { root: true })\n\n commit('SET_CLIENT', client)\n return success()\n },\n async loadClientAdditionalInformation({ commit, getters }, clientId) {\n const cId = clientId\n\n if (!cId)\n return Promise.resolve(\n fail('', 'Must select a client first before loading client details')\n )\n\n // Check cache\n const isCached = getters.owner(cId)\n\n if (isCached) return Promise.resolve(success(isCached))\n\n commit('START_LOADING_DETAILS')\n\n try {\n const response = await this.$api.client.getAdditionalDetails(cId)\n\n if (isSuccess(response.status)) {\n commit('UPSERT_ADDITIONAL_DETAILS', {\n owner: isHttpStatus(response.status, 204) ? [] : response.data,\n clientId: cId,\n })\n return success(response.data)\n }\n } catch (ex) {\n toast.error('Cannot load client details')\n return fail()\n } finally {\n commit('FINISH_LOADING_DETAILS')\n }\n },\n async loadClientGrades({ commit, getters }, clientId) {\n const cId = clientId\n\n // Check cached client grades for selected client\n const isCached = getters.grades(cId)\n\n if (isCached && isCached.length > 0)\n return Promise.resolve(success(isCached))\n\n commit('START_LOADING_GRADES')\n\n try {\n const response = await this.$api.client.getClientGrades(cId)\n\n if (isSuccess(response.status)) {\n commit('UPSERT_CLIENT_GRADES', {\n grades: isHttpStatus(response.status, 204) ? [] : response.data,\n clientId: cId,\n })\n return success(response.data)\n }\n } catch (ex) {\n toast.error('Cannot load grades')\n return fail()\n } finally {\n commit('FINISH_LOADING_GRADES')\n }\n },\n async loadClientClassifications({ commit, getters }, clientId) {\n const cId = clientId\n\n // Check cached client classifications for selected client\n const isCached = getters.classifications(cId)\n\n if (isCached && isCached.length > 0)\n return Promise.resolve(success(isCached))\n\n commit('START_LOADING_CLASSIFICATIONS')\n\n try {\n const response = await this.$api.client.getClientClassifications(cId)\n\n if (isSuccess(response.status)) {\n commit('UPSERT_CLIENT_CLASSIFICATIONS', {\n classifications: isHttpStatus(response.status, 204)\n ? []\n : response.data,\n clientId: cId,\n })\n return success(response.data)\n }\n } catch (ex) {\n toast.error('Cannot load classifications')\n return fail()\n } finally {\n commit('FINISH_LOADING_CLASSIFICATIONS')\n }\n },\n /**\n * Validates that the user has the permission to access the currently\n * selected client. If not, this client will be removed and another\n * will be selected\n */\n async validateSelectedClient({ rootGetters, dispatch }) {\n if (!getSavedState('client.id')) return\n\n const clientExistsInPermissionTree = rootGetters['auth/getClient'](\n getSavedState('client.id')\n )\n\n // If client exists, no further action required\n if (clientExistsInPermissionTree) return\n\n // User doesn't have access to current client, select first available client\n const firstAvailableClient = rootGetters['auth/firstAvailableClient']\n await dispatch('setClient', firstAvailableClient.clientId)\n },\n async loadClientGroupOverviewSchoolStatus(\n { commit, rootGetters },\n { clientGroupId, filterDate }\n ) {\n commit('START_LOADING_OVERVIEW_DATA')\n\n try {\n const timeZone = rootGetters[\n 'auth/getTimezoneFromFirstClientGroupLocation'\n ](clientGroupId)\n\n const response = await this.$api.clientGroups.getOverviewData(\n clientGroupId,\n filterDate,\n timeZone\n )\n\n if (isSuccess(response.status)) {\n return success(\n isNonEmptyArray(response.data)\n ? response.data.map(\n (overviewVM) =>\n new ClientGroupOverviewWithFillRateViewModel(overviewVM)\n )\n : []\n )\n }\n } catch (ex) {\n return fail(\n ex.response?.data || {\n message: this.$i18n.t(\n 'clientGroupOverview.error.noMessageFromServer'\n ),\n }\n )\n } finally {\n commit('FINISH_LOADING_OVERVIEW_DATA')\n }\n },\n setClientList({ commit }, clients) {\n commit('SET_CLIENTS', clients)\n },\n /**\n * Resets store to default state.\n */\n clear({ commit }) {\n commit('CLEAR_STORE')\n },\n },\n}\n","import { fail, success } from '@helpers/result-helper'\nimport toast from '@services/toasts/index'\nimport { isSuccess } from '@/helpers/http-status-helpers'\n\nconst getDefaultState = () => {\n return {\n loadingCount: 0,\n crudLoadingCount: 0,\n downloadingFileCount: 0,\n invoices: [],\n invoicesTotal: 0,\n serverCurrentPage: 0,\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'invoices',\n isLoading: (state) => state.loadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n isDownloadingFile: (state) => state.downloadingFileCount > 0,\n invoices: (state) => state.invoices,\n invoicesTotal: (state) => state.invoicesTotal,\n serverCurrentPage: (state) => state.serverCurrentPage,\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n SET_INVOICES(state, invoices) {\n state.invoices = invoices\n },\n SET_INVOICES_TOTAL(state, total) {\n state.invoicesTotal = total\n },\n SET_SERVER_CURRENT_PAGE(state, page) {\n state.serverCurrentPage = page\n },\n START_DOWNLOADING_FILE(state) {\n state.downloadingFileCount++\n },\n FINISH_DOWNLOADING_FILE(state) {\n state.downloadingFileCount--\n },\n CLEAR_STORE(state) {\n // Resets store to default state\n Object.assign(state, getDefaultState())\n },\n },\n actions: {\n async loadInvoices({ commit }, { page, pageSize }) {\n commit('START_LOADING')\n\n try {\n const response = await this.$api.invoices.get('', {\n skip: (page - 1) * pageSize,\n take: pageSize,\n })\n\n if (isSuccess(response.status)) {\n commit('SET_INVOICES', response.data.invoices)\n commit('SET_INVOICES_TOTAL', response.data.total)\n commit('SET_SERVER_CURRENT_PAGE', response.data.currentPage)\n\n return success(response.data)\n }\n } catch {\n toast.error(this.$i18n.t('error.errorGenericApiErrorText'))\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n async getOustandingInvoicesCount({ commit }) {\n commit('START_LOADING')\n try {\n const response = await this.$api.invoices.getOustandingInvoicesCount()\n if (isSuccess(response.status)) {\n return success(response.data.outstandingInvoicesCount)\n }\n } catch {\n toast.error(`Failed to load Oustanding Invoices Count`)\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n async downloadInvoiceFile({ commit }, invoiceId) {\n commit('START_DOWNLOADING_FILE')\n\n try {\n const response = await this.$api.invoices.getInvoiceFile(invoiceId)\n\n if (isSuccess(response.status)) {\n const url = window.URL.createObjectURL(\n new Blob([response.data], { type: 'application/pdf' })\n )\n return success(url)\n }\n } catch (ex) {\n let toastErrorMessage = this.$i18n.t('error.errorGenericApiErrorText')\n // Try to resolve error response. Response type is Blob, need to convert\n // from blob to json\n try {\n const responseObject = JSON.parse(await ex.response.data.text())\n if (responseObject) toastErrorMessage = responseObject.message\n } catch {}\n\n toast.error(toastErrorMessage)\n return fail()\n } finally {\n commit('FINISH_DOWNLOADING_FILE')\n }\n },\n /**\n * Resets store to default state.\n */\n clear({ commit }) {\n commit('CLEAR_STORE')\n },\n },\n}\n","export default class TimesheetsSummaryClientViewModel {\n constructor({\n clientId = 0,\n clientName = '',\n approvedCount = 0,\n pendingReviewCount = 0,\n pendingApprovalCount = 0,\n } = {}) {\n /**\n * @type {Number}\n */\n this.clientId = clientId\n /**\n * @type {String}\n */\n this.clientName = clientName\n /**\n * @type {Number}\n */\n this.approvedCount = approvedCount\n /**\n * @type {Number}\n */\n this.pendingReviewCount = pendingReviewCount\n /**\n * @type {Number}\n */\n this.pendingApprovalCount = pendingApprovalCount\n }\n}\n","export default class TimesheetsSummaryCandidateViewModel {\n constructor({\n candidateId = 0,\n candidateName = '',\n approvedCount = 0,\n pendingReviewCount = 0,\n pendingApprovalCount = 0,\n } = {}) {\n /**\n * @type {Number}\n */\n this.candidateId = candidateId\n /**\n * @type {String}\n */\n this.candidateName = candidateName\n /**\n * @type {Number}\n */\n this.approvedCount = approvedCount\n /**\n * @type {Number}\n */\n this.pendingReviewCount = pendingReviewCount\n /**\n * @type {Number}\n */\n this.pendingApprovalCount = pendingApprovalCount\n }\n}\n","import { isNonEmptyArray } from '@/helpers/array-helpers'\nimport TimesheetsSummaryClientViewModel from './timesheetsSummaryClientViewModel'\nimport TimesheetsSummaryCandidateViewModel from './timesheetsSummaryCandidateViewModel'\n\nexport default class TimesheetsSummaryViewModel {\n constructor({\n clientTimesheetsSummary = [],\n candidateTimesheetsSummary = [],\n totalApprovedCount = 0,\n totalPendingReviewCount = 0,\n totalPendingApprovalCount = 0,\n } = {}) {\n /**\n * @type {Number}\n */\n this.totalApprovedCount = totalApprovedCount\n /**\n * @type {Number}\n */\n this.totalPendingReviewCount = totalPendingReviewCount\n /**\n * @type {Number}\n */\n this.totalPendingApprovalCount = totalPendingApprovalCount\n /**\n * @type {Array}\n */\n this.clientTimesheetsSummary = isNonEmptyArray(clientTimesheetsSummary)\n ? clientTimesheetsSummary.map(\n (client) => new TimesheetsSummaryClientViewModel(client)\n )\n : []\n /**\n * @type {Array}\n */\n this.candidateTimesheetsSummary = isNonEmptyArray(\n candidateTimesheetsSummary\n )\n ? candidateTimesheetsSummary.map(\n (candidate) => new TimesheetsSummaryCandidateViewModel(candidate)\n )\n : []\n }\n}\n","import { isNonEmptyArray } from '@/helpers/array-helpers'\nimport TimesheetsPendingApprovalViewModel from './timesheetsPendingApprovalViewModel'\n\nexport default class TimesheetsViewModel {\n constructor({\n approvedCount = 0,\n pendingReviewCount = 0,\n pendingApprovalList = [],\n } = {}) {\n /**\n * @type {Number}\n */\n this.approvedCount = approvedCount\n\n /**\n * @type {Number}\n */\n this.pendingReviewCount = pendingReviewCount\n\n /**\n * @type {Array}\n */\n this.pendingApprovalList = isNonEmptyArray(pendingApprovalList)\n ? pendingApprovalList.map(\n (pendingApproval) =>\n new TimesheetsPendingApprovalViewModel(pendingApproval)\n )\n : []\n }\n}\n","/**\n * Hypertext Transfer Protocol (HTTP) response status codes.\n *\n * @see {@link https://en.wikipedia.org/wiki/List_of_HTTP_status_codes}\n * @see {@link https://gist.github.com/RWOverdijk/6cef816cfdf5722228e01cc05fd4b094}\n */\nexport default Object.freeze({\n /**\n * The server has received the request headers and the client should proceed to send the request body\n * (in the case of a request for which a body needs to be sent; for example, a POST request).\n * Sending a large request body to a server after a request has been rejected for inappropriate headers would be inefficient.\n * To have a server check the request's headers, a client must send Expect: 100-continue as a header in its initial request\n * and receive a 100 Continue status code in response before sending the body. The response 417 Expectation Failed indicates the request should not be continued.\n */\n Continue: 100,\n\n /**\n * The requester has asked the server to switch protocols and the server has agreed to do so.\n */\n SwitchingProtocols: 101,\n\n /**\n * A WebDAV request may contain many sub-requests involving file operations, requiring a long time to complete the request.\n * This code indicates that the server has received and is processing the request, but no response is available yet.\n * This prevents the client from timing out and assuming the request was lost.\n */\n Processing: 102,\n\n /**\n * Standard response for successful HTTP requests.\n * The actual response will depend on the request method used.\n * In a GET request, the response will contain an entity corresponding to the requested resource.\n * In a POST request, the response will contain an entity describing or containing the result of the action.\n */\n Ok: 200,\n\n /**\n * The request has been fulfilled, resulting in the creation of a new resource.\n */\n Created: 201,\n\n /**\n * The request has been accepted for processing, but the processing has not been completed.\n * The request might or might not be eventually acted upon, and may be disallowed when processing occurs.\n */\n Accepted: 202,\n\n /**\n * SINCE HTTP/1.1\n * The server is a transforming proxy that received a 200 OK from its origin,\n * but is returning a modified version of the origin's response.\n */\n NonAuthoritativeInformation: 203,\n\n /**\n * The server successfully processed the request and is not returning any content.\n */\n NoContent: 204,\n\n /**\n * The server successfully processed the request, but is not returning any content.\n * Unlike a 204 response, this response requires that the requester reset the document view.\n */\n ResetContent: 205,\n\n /**\n * The server is delivering only part of the resource (byte serving) due to a range header sent by the client.\n * The range header is used by HTTP clients to enable resuming of interrupted downloads,\n * or split a download into multiple simultaneous streams.\n */\n PartialContent: 206,\n\n /**\n * The message body that follows is an XML message and can contain a number of separate response codes,\n * depending on how many sub-requests were made.\n */\n MultiStatus: 207,\n\n /**\n * The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response,\n * and are not being included again.\n */\n AlreadyReported: 208,\n\n /**\n * The server has fulfilled a request for the resource,\n * and the response is a representation of the result of one or more instance-manipulations applied to the current instance.\n */\n ImUsed: 226,\n\n /**\n * Indicates multiple options for the resource from which the client may choose (via agent-driven content negotiation).\n * For example, this code could be used to present multiple video format options,\n * to list files with different filename extensions, or to suggest word-sense disambiguation.\n */\n MultipleChoices: 300,\n\n /**\n * This and all future requests should be directed to the given URI.\n */\n MovedPermanently: 301,\n\n /**\n * This is an example of industry practice contradicting the standard.\n * The HTTP/1.0 specification (RFC 1945) required the client to perform a temporary redirect\n * (the original describing phrase was \"Moved Temporarily\"), but popular browsers implemented 302\n * with the functionality of a 303 See Other. Therefore, HTTP/1.1 added status codes 303 and 307\n * to distinguish between the two behaviours. However, some Web applications and frameworks\n * use the 302 status code as if it were the 303.\n */\n Found: 302,\n\n /**\n * SINCE HTTP/1.1\n * The response to the request can be found under another URI using a GET method.\n * When received in response to a POST (or PUT/DELETE), the client should presume that\n * the server has received the data and should issue a redirect with a separate GET message.\n */\n SeeOther: 303,\n\n /**\n * Indicates that the resource has not been modified since the version specified by the request headers If-Modified-Since or If-None-Match.\n * In such case, there is no need to retransmit the resource since the client still has a previously-downloaded copy.\n */\n NotModified: 304,\n\n /**\n * SINCE HTTP/1.1\n * The requested resource is available only through a proxy, the address for which is provided in the response.\n * Many HTTP clients (such as Mozilla and Internet Explorer) do not correctly handle responses with this status code, primarily for security reasons.\n */\n UseProxy: 305,\n\n /**\n * No longer used. Originally meant \"Subsequent requests should use the specified proxy.\"\n */\n SwitchProxy: 306,\n\n /**\n * SINCE HTTP/1.1\n * In this case, the request should be repeated with another URI; however, future requests should still use the original URI.\n * In contrast to how 302 was historically implemented, the request method is not allowed to be changed when reissuing the original request.\n * For example, a POST request should be repeated using another POST request.\n */\n TemporaryRedirect: 307,\n\n /**\n * The request and all future requests should be repeated using another URI.\n * 307 and 308 parallel the behaviors of 302 and 301, but do not allow the HTTP method to change.\n * So, for example, submitting a form to a permanently redirected resource may continue smoothly.\n */\n PermanentRedirect: 308,\n\n /**\n * The server cannot or will not process the request due to an apparent client error\n * (e.g., malformed request syntax, too large size, invalid request message framing, or deceptive request routing).\n */\n BadRequest: 400,\n\n /**\n * Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet\n * been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the\n * requested resource. See Basic access authentication and Digest access authentication. 401 semantically means\n * \"unauthenticated\",i.e. the user does not have the necessary credentials.\n */\n Unauthorized: 401,\n\n /**\n * Reserved for future use. The original intention was that this code might be used as part of some form of digital\n * cash or micro payment scheme, but that has not happened, and this code is not usually used.\n * Google Developers API uses this status if a particular developer has exceeded the daily limit on requests.\n */\n PaymentRequired: 402,\n\n /**\n * The request was valid, but the server is refusing action.\n * The user might not have the necessary permissions for a resource.\n */\n Forbidden: 403,\n\n /**\n * The requested resource could not be found but may be available in the future.\n * Subsequent requests by the client are permissible.\n */\n NotFound: 404,\n\n /**\n * A request method is not supported for the requested resource;\n * for example, a GET request on a form that requires data to be presented via POST, or a PUT request on a read-only resource.\n */\n MethodNotAllowed: 405,\n\n /**\n * The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.\n */\n NotAcceptable: 406,\n\n /**\n * The client must first authenticate itself with the proxy.\n */\n ProxyAuthenticationRequired: 407,\n\n /**\n * The server timed out waiting for the request.\n * According to HTTP specifications:\n * \"The client did not produce a request within the time that the server was prepared to wait. The client MAY repeat the request without modifications at any later time.\"\n */\n RequestTimeout: 408,\n\n /**\n * Indicates that the request could not be processed because of conflict in the request,\n * such as an edit conflict between multiple simultaneous updates.\n */\n Conflict: 409,\n\n /**\n * Indicates that the resource requested is no longer available and will not be available again.\n * This should be used when a resource has been intentionally removed and the resource should be purged.\n * Upon receiving a 410 status code, the client should not request the resource in the future.\n * Clients such as search engines should remove the resource from their indices.\n * Most use cases do not require clients and search engines to purge the resource, and a \"404 Not Found\" may be used instead.\n */\n Gone: 410,\n\n /**\n * The request did not specify the length of its content, which is required by the requested resource.\n */\n LengthRequired: 411,\n\n /**\n * The server does not meet one of the preconditions that the requester put on the request.\n */\n PreconditionFailed: 412,\n\n /**\n * The request is larger than the server is willing or able to process. Previously called \"Request Entity Too Large\".\n */\n PayloadTooLarge: 413,\n\n /**\n * The URI provided was too long for the server to process. Often the result of too much data being encoded as a query-string of a GET request,\n * in which case it should be converted to a POST request.\n * Called \"Request-URI Too Long\" previously.\n */\n UriTooLong: 414,\n\n /**\n * The request entity has a media type which the server or resource does not support.\n * For example, the client uploads an image as image/svg+xml, but the server requires that images use a different format.\n */\n UnsupportedMediaType: 415,\n\n /**\n * The client has asked for a portion of the file (byte serving), but the server cannot supply that portion.\n * For example, if the client asked for a part of the file that lies beyond the end of the file.\n * Called \"Requested Range Not Satisfiable\" previously.\n */\n RangeNotSatisfiable: 416,\n\n /**\n * The server cannot meet the requirements of the Expect request-header field.\n */\n ExpectationFailed: 417,\n\n /**\n * This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol,\n * and is not expected to be implemented by actual HTTP servers. The RFC specifies this code should be returned by\n * teapots requested to brew coffee. This HTTP status is used as an Easter egg in some websites, including Google.com.\n */\n IAmATeapot: 418,\n\n /**\n * The request was directed at a server that is not able to produce a response (for example because a connection reuse).\n */\n MisdirectedRequest: 421,\n\n /**\n * The request was well-formed but was unable to be followed due to semantic errors.\n */\n UnprocessableEntity: 422,\n\n /**\n * The resource that is being accessed is locked.\n */\n Locked: 423,\n\n /**\n * The request failed due to failure of a previous request (e.g., a PROPPATCH).\n */\n FailedDependency: 424,\n\n /**\n * The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field.\n */\n UpgradeRequired: 426,\n\n /**\n * The origin server requires the request to be conditional.\n * Intended to prevent \"the 'lost update' problem, where a client\n * GETs a resource's state, modifies it, and PUTs it back to the server,\n * when meanwhile a third party has modified the state on the server, leading to a conflict.\"\n */\n PreconditionRequired: 428,\n\n /**\n * The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.\n */\n TooManyRequests: 429,\n\n /**\n * The server is unwilling to process the request because either an individual header field,\n * or all the header fields collectively, are too large.\n */\n RequestHeaderFieldsTooLarge: 431,\n\n /**\n * A server operator has received a legal demand to deny access to a resource or to a set of resources\n * that includes the requested resource. The code 451 was chosen as a reference to the novel Fahrenheit 451.\n */\n UnavailableForLegalReasons: 451,\n\n /**\n * A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.\n */\n InternalServerError: 500,\n\n /**\n * The server either does not recognize the request method, or it lacks the ability to fulfill the request.\n * Usually this implies future availability (e.g., a new feature of a web-service API).\n */\n NotImplemented: 501,\n\n /**\n * The server was acting as a gateway or proxy and received an invalid response from the upstream server.\n */\n BadGateway: 502,\n\n /**\n * The server is currently unavailable (because it is overloaded or down for maintenance).\n * Generally, this is a temporary state.\n */\n ServiceUnavailable: 503,\n\n /**\n * The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.\n */\n GatewayTimeout: 504,\n\n /**\n * The server does not support the HTTP protocol version used in the request\n */\n HttpVersionNotSupported: 505,\n\n /**\n * Transparent content negotiation for the request results in a circular reference.\n */\n VariantAlsoNegotiates: 506,\n\n /**\n * The server is unable to store the representation needed to complete the request.\n */\n InsufficientStorage: 507,\n\n /**\n * The server detected an infinite loop while processing the request.\n */\n LoopDetected: 508,\n\n /**\n * Further extensions to the request are required for the server to fulfill it.\n */\n NotExtended: 510,\n\n /**\n * The client needs to authenticate to gain network access.\n * Intended for use by intercepting proxies used to control access to the network (e.g., \"captive portals\" used\n * to require agreement to Terms of Service before granting full Internet access via a Wi-Fi hotspot).\n */\n NetworkAuthenticationRequired: 511,\n})\n","import { fail, success } from '@helpers/result-helper'\nimport toast from '@services/toasts/index'\nimport { isSuccess } from '@/helpers/http-status-helpers'\nimport TimesheetsSummaryViewModel from '@/models/timesheets/timesheetsSummaryViewModel'\nimport TimesheetsViewModel from '@/models/timesheets/timesheetsViewModel'\nimport HttpStatusCodes from '@/shared/constants/api/HttpStatusCodes'\n\nconst getDefaultState = () => {\n return {\n // Place any new state properties here\n loadingCount: 0,\n crudLoadingCount: 0,\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'timesheets',\n isLoading: (state) => state.loadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n CLEAR_STORE(state) {\n // Resets store to default state\n Object.assign(state, getDefaultState())\n },\n },\n actions: {\n async loadTimesheetsSummary({ commit, rootGetters }) {\n commit('START_LOADING')\n try {\n const cIds = rootGetters['client/getSelectedClients']\n const response = await this.$api.timesheets.getTimesheetsSummary(cIds)\n\n if (isSuccess(response.status)) {\n return success(new TimesheetsSummaryViewModel(response.data))\n }\n } catch {\n toast.error(this.$i18n.t('timesheets.summarytLoadFailureToastText'))\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n async loadTimesheets({ commit }, clientId) {\n commit('START_LOADING')\n\n try {\n const response = await this.$api.timesheets.get(clientId)\n\n if (isSuccess(response.status)) {\n return success(new TimesheetsViewModel(response.data))\n }\n } catch {\n toast.error(this.$i18n.t('timesheets.loadFailureToastText'))\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n async loadTimesheetsFilteredByCandidate(\n { commit, rootGetters },\n candidateId\n ) {\n commit('START_LOADING')\n\n try {\n const cIds = rootGetters['client/getSelectedClients']\n const response = await this.$api.timesheets.getTimesheetsFilteredByCandidate(\n candidateId,\n cIds\n )\n\n if (isSuccess(response.status)) {\n return success(new TimesheetsViewModel(response.data))\n }\n } catch {\n toast.error(this.$i18n.t('timesheets.loadFailureToastText'))\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n async submitTimesheetsForApproval({ commit }, timesheets) {\n commit('START_LOADING_CRUD')\n\n try {\n const response = await this.$api.timesheets.post('', timesheets)\n\n // Check if there were any timesheets that couldn't be processed\n if (response.status === HttpStatusCodes.MultiStatus) {\n toast.error(\n this.$i18n.t('timesheets.submit.toasts.submittedWithIssues')\n )\n } else {\n toast.success(this.$i18n.t('timesheets.submissionSuccessToastText'))\n }\n\n return success(response.data, null, response.status)\n } catch {\n toast.error(this.$i18n.t('timesheets.submissionFailureToastText'))\n return fail()\n } finally {\n commit('FINISH_LOADING_CRUD')\n }\n },\n async downloadTimesheet({ commit }, timesheetRecordId) {\n commit('START_LOADING')\n try {\n const response = await this.$api.timesheets.downloadTimesheetFile(\n timesheetRecordId\n )\n\n if (isSuccess(response.status)) {\n const url = window.URL.createObjectURL(\n new Blob([response.data], { type: 'application/pdf' })\n )\n return success(url)\n }\n } catch (ex) {\n let toastErrorMessage = this.$i18n.t('error.errorGenericApiErrorText')\n // Try to resolve error response. Response type is Blob, need to convert\n // from blob to json\n try {\n const responseObject = JSON.parse(await ex.response.data.text())\n if (responseObject) toastErrorMessage = responseObject.message\n } catch {}\n\n toast.error(toastErrorMessage)\n\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n /**\n * Resets store to default state.\n */\n clear({ commit }) {\n commit('CLEAR_STORE')\n },\n },\n}\n","import { fail, success } from '@helpers/result-helper.js'\nimport toast from '@services/toasts/index.js'\nimport { isHttpStatus, isSuccess } from '@/helpers/http-status-helpers'\n\nexport default {\n namespaced: true,\n state: {\n canListLoadingCount: 0,\n loadingCount: 0,\n crudLoadingCount: 0,\n candidateDisplayPictures: [],\n file: null,\n candidateList: [],\n displayPictureLoaders: [],\n },\n getters: {\n moduleName: () => 'candidate',\n isCanListLoading: (state) => state.canListLoadingCount > 0,\n isLoading: (state) => state.loadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n isDisplayPictureLoading: (state) => (candidateId) =>\n state.displayPictureLoaders.includes(candidateId),\n candidateDisplayPicture: (state) => (candidateId) => {\n const found = state.candidateDisplayPictures.find(\n (pic) => pic.candidateId === candidateId\n )\n if (found) return found.image\n return null\n },\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n START_CANLIST_LOADING(state) {\n state.canListLoadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n FINISH_CANLIST_LOADING(state) {\n state.canListLoadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n SET_CANDIDATE_LIST(state, data) {\n state.candidateList = data\n },\n START_LOADING_DISPLAY_PICTURE(state, candidateId) {\n state.displayPictureLoaders.push(candidateId)\n },\n FINISH_LOADING_DISPLAY_PICTURE(state, candidateId) {\n const index = state.displayPictureLoaders.indexOf(candidateId)\n if (index !== -1) state.displayPictureLoaders.splice(index, 1)\n },\n SET_DISPLAY_PICTURE(state, data) {\n const existingDisplayPicture = state.candidateDisplayPictures.find(\n (pic) => pic.candidateId === data.candidateId\n )\n\n if (existingDisplayPicture) {\n existingDisplayPicture.image = data.image\n } else {\n state.candidateDisplayPictures.push(data)\n }\n },\n },\n actions: {\n async loadCandidate({ commit }, id) {\n commit('START_LOADING')\n try {\n const response = await this.$api.candidate.getCandidateDetails(id)\n\n if (isSuccess(response.status)) {\n return success(response.data)\n }\n } catch {\n toast.error('Candidate data failed to load')\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n\n async getCandidateList({ commit }, clientID) {\n commit('START_CANLIST_LOADING')\n try {\n const response = await this.$api.candidate.getCandidateList(clientID)\n if (isSuccess(response.status)) {\n commit('SET_CANDIDATE_LIST', response.data)\n return success(response.data)\n }\n } catch (ex) {\n if (isHttpStatus(ex.response.status, 'Forbidden')) {\n return fail([], '', 403)\n }\n\n toast.error(this.$i18n.t('candidateList.candidateListErrorCannotLoad'))\n return fail()\n } finally {\n commit('FINISH_CANLIST_LOADING')\n }\n },\n\n async getDisplayPic({ commit, getters }, candidateId) {\n // Prevent multiple loads of same image\n if (getters.isDisplayPictureLoading(candidateId)) return success()\n\n // Use cached image\n const pictureExists = getters.candidateDisplayPicture(candidateId)\n if (pictureExists) return success(pictureExists)\n\n commit('START_LOADING_DISPLAY_PICTURE', candidateId)\n try {\n const response = await this.$api.candidate.getDisplayPic(candidateId)\n if (isSuccess(response.status)) {\n commit('SET_DISPLAY_PICTURE', {\n candidateId,\n image: response.data.base64ProfileImg,\n })\n return success(response.data.base64ProfileImg)\n }\n } catch {\n return fail()\n } finally {\n commit('FINISH_LOADING_DISPLAY_PICTURE', candidateId)\n }\n },\n },\n}\n","import config from '@/common/config'\nimport { fail, success } from '@/helpers/result-helper'\nimport { isSuccess } from '@/helpers/http-status-helpers'\nimport toasts from '@/services/toasts/index'\nimport { getType } from 'mime'\n\nconst getDefaultState = () => {\n return {\n // Place any new state properties here\n loadingCount: 0,\n crudLoadingCount: 0,\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'file',\n isLoading: (state) => state.loadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n CLEAR_STORE(state) {\n // Resets store to default state\n Object.assign(state, getDefaultState())\n },\n },\n actions: {\n async download({ commit }, fileId) {\n commit('START_LOADING')\n try {\n const response = await this.$api.file.createFileAccessToken(fileId)\n if (isSuccess(response.status)) {\n const token = response.data.accessKey\n const baseURL = `${config.get('apiUrl')}v${config.get('apiVersion')}`\n const fileURL = `${baseURL}/file/(${token})`\n try {\n const fileResponse = await this.$api.file.get(`(${token})`)\n if (isSuccess(fileResponse.status)) {\n window.location = fileURL\n }\n } catch (ex) {\n throw Error('Download Failed')\n }\n return success()\n } else {\n toasts.error('Download Failed')\n }\n } catch {\n toasts.error('Download Failed')\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n async downloadGeneralFile({ commit }, filePath) {\n commit('START_LOADING')\n\n try {\n const response = await this.$api.file.getGeneralFile(filePath)\n\n if (isSuccess(response.status)) {\n const url = window.URL.createObjectURL(\n new Blob([response.data], { type: getType(filePath) })\n )\n return success(url)\n }\n } catch (ex) {\n let toastErrorMessage = this.$i18n.t('error.errorGenericApiErrorText')\n // Try to resolve error response. Response type is Blob, need to convert\n // from blob to json\n try {\n const responseObject = JSON.parse(await ex.response.data.text())\n if (responseObject) toastErrorMessage = responseObject.message\n } catch {}\n\n toasts.error(toastErrorMessage)\n\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n },\n}\n","import { isSuccess } from '@helpers/http-status-helpers'\nimport { success, fail } from '@helpers/result-helper'\nimport toast from '@/services/toasts/index.js'\n\n/**\n * This class is intended for use inside vuex actions.\n * The only required methods are the request and go methods which will execute any function and go starts the operation\n * All requests are wrapped in try catch so the caller need not worry.\n * All other methods return the same instance which allows method chaining different configuration.\n *\n * @example\n * return await new VuexResponse(commit)\n * .request(() => this.$api.locationRestriction.loadAllUpcomingAlerts())\n * .withCommit(\"UPDATE_ALERTS\")\n * .go()\n */\nexport class VuexResponse {\n #commit = null\n #dispatch = null\n constructor(commit, dispatch) {\n this.#commit = commit\n this.#dispatch = dispatch\n return this\n }\n\n #requestFn = null\n #updateFn = null\n #stateKey = null\n #showSuccessToast = false\n #showFailureToast = false\n #successToastMessage = ''\n #failToastMessage = ''\n #startLoadFnName = ''\n #finishLoadFnName = ''\n #loadingKey = ''\n #logResult = false\n #isPaginated = false\n #paginationKey = null\n #transformFns = []\n\n /**\n * Provide an api call to be called. Use an arrow function.\n * @param fn\n * @returns {VuexResponse}\n */\n request(fn) {\n this.#requestFn = fn\n return this\n }\n\n /**\n * Provide the name of the commit update function to pass the request data to on successful request.\n * @param updateFnName\n * @returns {VuexResponse}\n */\n withCommit(updateFnName) {\n this.#updateFn = updateFnName\n return this\n }\n\n withSetState(key) {\n this.#stateKey = key\n return this\n }\n\n /**\n * This will enrich the response data with pagination information found in the x-pagination header of the response\n * @param commitKey - optionally provide the commitKey which is passed to the commit function, this can be used to cache the page results\n */\n withPagination(commitKey = null) {\n this.#isPaginated = true\n this.#paginationKey = commitKey\n return this\n }\n\n /**\n * Pass in a transformation function such as map filter or reduce\n * Ensure you return the data in the same format.\n * This function can be called as many times as you like and will queue a list of transformation functions.\n * This will perform the transforms before committing the data\n * @param transformFn\n * @returns {VuexResponse}\n */\n transform(transformFn) {\n this.#transformFns.push(transformFn)\n return this\n }\n\n /**\n * Enables a success toast if the request is successfull. Optionally provide a custom message\n * @param message\n * @returns {VuexResponse}\n */\n withSuccessToast(message = 'Successfully made change') {\n this.#showSuccessToast = true\n if (message) {\n this.#successToastMessage = message\n }\n return this\n }\n\n /**\n * Enables the failure toast. Optionally provide a message\n * @param message\n * @returns {VuexResponse}\n */\n withFailureToast(message = 'There was an error making the update') {\n this.#showFailureToast = true\n if (message) {\n this.#failToastMessage = message\n }\n return this\n }\n\n /**\n * Provide the commit function names for any custom loaders.\n * These are called at the start and end of the request\n * @param startName\n * @param finishName\n * @returns {VuexResponse}\n */\n withLoading(startName = 'START_LOADING', finishName = 'FINISH_LOADING') {\n this.#startLoadFnName = startName\n this.#finishLoadFnName = finishName\n return this\n }\n\n /**\n * Provide the global loading key to track the loading state of this request.\n * These are called at the start and end of the request\n * @param {string} loadingKey\n * @returns {VuexResponse}\n */\n withLoadingByKey(loadingKey) {\n if (!loadingKey)\n throw new Error('Vuex Action Builder: Loading key required')\n this.loadingKey = loadingKey\n return this\n }\n\n /**\n * For help debugging. Will log the success data from the response.\n * @returns {VuexResponse}\n */\n logResult() {\n this.#logResult = true\n return this\n }\n\n hasLoadingFns() {\n return !!this.#startLoadFnName && !!this.#startLoadFnName\n }\n\n hasLoadingKey() {\n return !!this.#loadingKey\n }\n\n showLoading() {\n return this.hasLoadingFns() || this.hasLoadingKey()\n }\n\n startLoading() {\n if (!this.showLoading()) return\n\n if (this.hasLoadingFns()) {\n this.#commit(this.#startLoadFnName)\n } else if (this.hasLoadingKey()) {\n this.#commit('START_LOADING_BY_KEY', this.#loadingKey, { root: true })\n }\n }\n\n finishLoading() {\n if (!this.showLoading()) return\n\n if (this.hasLoadingFns()) {\n this.#commit(this.#finishLoadFnName)\n } else if (this.hasLoadingKey()) {\n this.#commit('FINISH_LOADING_BY_KEY', this.#loadingKey, { root: true })\n }\n }\n\n /**\n * Starts the built operation.\n * @returns {Promise<{data: null, message: string, errors: [], isSuccess: boolean, statusCode: null}>}\n */\n async go() {\n if (!this.#commit) {\n console.error('The commit function has not been passed to the helper.')\n }\n\n this.startLoading()\n\n try {\n const response = await this.#requestFn()\n\n if (this.#logResult) {\n // eslint-disable-next-line no-console\n console.info(response)\n }\n\n if (isSuccess(response.status)) {\n let data = response.data\n\n while (this.#transformFns.length) {\n const transformer = this.#transformFns.shift()\n data = transformer(data)\n }\n\n if (this.#isPaginated) {\n data = this.#enrichResponseDataWithPagination(response)\n if (this.#paginationKey) data = { ...data, key: this.#paginationKey }\n }\n\n // Map response from server\n if (this.#updateFn) {\n this.#commit(this.#updateFn, data)\n }\n\n if (this.#stateKey) {\n this.#commit('SET_STATE', {\n key: this.#stateKey,\n value: response.data,\n })\n }\n\n if (this.#showSuccessToast) {\n toast.success(this.#successToastMessage)\n }\n\n return success(data)\n }\n } catch (e) {\n let error = e.response\n if (this.#dispatch) {\n error = await this.#dispatch('logStoreException', e, { root: true })\n } else {\n console.error(e)\n }\n if (this.#showFailureToast) {\n const message = e.response.data?.error || this.#failToastMessage\n toast.error(message)\n }\n return fail(error)\n } finally {\n this.finishLoading()\n }\n }\n\n #enrichResponseDataWithPagination(response) {\n return {\n ...JSON.parse(response.headers['x-pagination']),\n data: response.data,\n }\n }\n}\n","import { fail, success } from '@helpers/result-helper.js'\nimport toast from '@services/toasts/index.js'\nimport { isSuccess, isHttpStatus } from '@/helpers/http-status-helpers'\nimport dayjs from '@/services/date/index.js'\nimport { isCacheFresh } from '@/helpers/cache-helpers'\nimport getSelectedDayText from '@/helpers/get-replace-me-selected-day-text'\nimport { VuexResponse } from '@/helpers/vuex-action-builder'\n// eslint-disable-next-line\nimport { BookingOverviewCountsViewModel } from '@/models/bookings/responses/bookingOverviewCountsViewModel'\nimport { DurationUnits } from '@/shared/constants/date/DurationUnits'\n\nconst getDefaultState = () => {\n return {\n // Place any new state properties here\n loadingCount: 0,\n bookingSummaryLoadingCount: 0,\n crudLoadingCount: 0,\n feedbackFormUrlLoadingCount: 0,\n quickFeedbackSubmittingCount: 0,\n replaceMeStatusCheckLoadingCount: 0,\n submitReplaceMeBookingLoadingCount: 0,\n cancelBookingLoadingCount: 0,\n extendBookingLoadingCount: 0,\n homeRefreshCount: 0,\n recentLocations: [],\n replaceMeStatusChecks: [],\n bookingOverview: [],\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'bookings',\n isLoading: (state) => state.loadingCount > 0,\n isLoadingBookingSummary: (state) => state.bookingSummaryLoadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n recentLocations: (state) => state.recentLocations,\n isLoadingFeedbackFormUrl: (state) => state.feedbackFormUrlLoadingCount > 0,\n isLoadingReplaceMeStatusCheck: (state) =>\n state.replaceMeStatusCheckLoadingCount > 0,\n isSubmittingQuickFeedback: (state) =>\n state.quickFeedbackSubmittingCount > 0,\n replaceMeStatusChecks: (state) => (clientId) =>\n state.replaceMeStatusChecks.find((x) => x.clientId === clientId),\n isSubmitReplaceMeLoading: (state) =>\n state.submitReplaceMeBookingLoadingCount > 0,\n isLoadingCancelBooking: (state) => state.cancelBookingLoadingCount > 0,\n isLoadingExtendBooking: (state) => state.extendBookingLoadingCount > 0,\n bookingOverview: (state) => state.bookingOverview,\n homeRefreshCount: (state) => state.homeRefreshCount,\n getOverviewTotalBookingsCountByDay: (state) => (day) => {\n const dateFound = state.bookingOverview.find((booking) =>\n dayjs(booking.dateLocal).isSame(dayjs(day), DurationUnits.DAY)\n )\n return dateFound?.totalBookingsCount || 0\n },\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_SELECTED_DATE_BOOKINGS(state) {\n state.bookingSummaryLoadingCount++\n },\n FINISH_LOADING_SELECTED_DATE_BOOKINGS(state) {\n state.bookingSummaryLoadingCount--\n },\n START_LOADING_BOOKINGS_OVERVIEW(state) {\n state.bookingSummaryLoadingCount++\n },\n FINISH_LOADING_BOOKINGS_OVERVIEW(state) {\n state.bookingSummaryLoadingCount--\n },\n START_LOADING_REPLACE_ME_STATUS_CHECK(state) {\n state.replaceMeStatusCheckLoadingCount++\n },\n FINISH_LOADING_REPLACE_ME_STATUS_CHECK(state) {\n state.replaceMeStatusCheckLoadingCount--\n },\n START_LOADING_SUBMIT_REPLACE_ME(state) {\n state.submitReplaceMeBookingLoadingCount++\n },\n FINISH_LOADING_SUBMIT_REPLACE_ME(state) {\n state.submitReplaceMeBookingLoadingCount--\n },\n START_LOADING_CANCEL_BOOKING(state) {\n state.cancelBookingLoadingCount++\n },\n FINISH_LOADING_CANCEL_BOOKING(state) {\n state.cancelBookingLoadingCount--\n },\n START_LOADING_EXTEND_BOOKING(state) {\n state.extendBookingLoadingCount++\n },\n FINISH_LOADING_EXTEND_BOOKING(state) {\n state.extendBookingLoadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n SET_RECENT_BOOKING_LOCATION(state, locationId) {\n const found = state.recentLocations.find(\n (x) => x.locationId === locationId\n )\n\n if (found) {\n found.timestamp = dayjs()\n return\n }\n\n state.recentLocations.push({ locationId, timestamp: dayjs() })\n },\n /**\n * @param {*} state\n * @param {BookingOverviewCountsViewModel[]} data\n */\n SET_BOOKING_OVERVIEW(state, data) {\n state.bookingOverview = data\n },\n CLEAR_STORE(state) {\n // Resets store to default state\n Object.assign(state, getDefaultState())\n },\n START_LOADING_FEEDBACK_FORM_URL(state) {\n state.feedbackFormUrlLoadingCount++\n },\n FINISH_LOADING_FEEDBACK_FORM_URL(state) {\n state.feedbackFormUrlLoadingCount--\n },\n START_SUBMITTING_QUICK_FEEDBACK(state) {\n state.quickFeedbackSubmittingCount++\n },\n FINISH_SUBMITTING_QUICK_FEEDBACK(state) {\n state.quickFeedbackSubmittingCount--\n },\n UPSERT_REPLACE_ME_STATUS_CHECK_FOR_CLIENT(state, { payload, clientId }) {\n let found = state.replaceMeStatusChecks.find(\n (x) => x.clientId === clientId\n )\n\n if (found) {\n found = payload\n found.timestamp = dayjs()\n return\n }\n\n const statusCheck = {\n ...payload,\n clientId,\n timestamp: dayjs(),\n }\n\n state.replaceMeStatusChecks.push(statusCheck)\n },\n REFRESH_HOME(state) {\n state.homeRefreshCount++\n },\n },\n actions: {\n setRecentLocation({ commit }, locationId) {\n commit('SET_RECENT_BOOKING_LOCATION', locationId)\n },\n async loadBookingsByClientAndDate({ rootGetters, commit }, payload) {\n return await new VuexResponse(commit)\n .request(() =>\n this.$api.bookings.getSummaryBookingsByDate(\n rootGetters['client/getSelectedClients'],\n payload\n )\n )\n .withLoading(\n 'START_LOADING_SELECTED_DATE_BOOKINGS',\n 'FINISH_LOADING_SELECTED_DATE_BOOKINGS'\n )\n .withFailureToast('Cannot load bookings')\n .go()\n },\n async loadYearOfBookingOverviewData({ commit }, payload) {\n return await new VuexResponse(commit)\n .request(() =>\n this.$api.bookings.getBookingOverview(payload.clientIds, payload.year)\n )\n .withLoading(\n 'START_LOADING_BOOKINGS_OVERVIEW',\n 'FINISH_LOADING_BOOKINGS_OVERVIEW'\n )\n .withFailureToast('Cannot load bookings')\n .withCommit('SET_BOOKING_OVERVIEW')\n .go()\n },\n async submitBooking({ commit }, payload) {\n commit('START_LOADING_CRUD')\n\n try {\n const response = await this.$api.bookings.post('', payload)\n\n if (isSuccess(response.status)) {\n return success(response.data)\n }\n } catch (ex) {\n return fail(ex.response.data)\n } finally {\n commit('FINISH_LOADING_CRUD')\n }\n },\n async requestFeedbackFormUrl({ commit }, payload) {\n commit('START_LOADING_FEEDBACK_FORM_URL')\n try {\n const response = await this.$api.bookings.getFeedbackFormUrl(\n payload.bookingId\n )\n\n if (isSuccess(response.status)) {\n return success(response.data)\n }\n } catch (ex) {\n toast.error('Cannot load feedback form url')\n return fail()\n } finally {\n commit('FINISH_LOADING_FEEDBACK_FORM_URL')\n }\n },\n // TODO: This function will likely be reworked to accept a passed in\n // client ID\n async submitQuickFeedback({ commit, dispatch, rootGetters }, payload) {\n commit('START_SUBMITTING_QUICK_FEEDBACK')\n try {\n const response = await this.$api.bookings.submitQuickFeedback(\n payload.bookingId,\n payload.data\n )\n\n if (isSuccess(response.status)) {\n await dispatch(\n 'pendingfeedbacks/setFeedbackAsComplete',\n {\n bookingId: payload.bookingId,\n clientId: rootGetters['client/getSelectedClients'][0], // TODO: Remove\n },\n { root: true }\n )\n return success()\n }\n } catch (ex) {\n return fail(ex.response.data)\n } finally {\n commit('FINISH_SUBMITTING_QUICK_FEEDBACK')\n }\n },\n // TODO: This function will likely be reworked to accept a passed in\n // client ID\n async checkReplaceMeStatus(\n { commit, getters, rootGetters },\n forceRefresh = false\n ) {\n const cId = rootGetters['client/getSelectedClients'][0] // TODO: Remove\n\n // Check if user has access to replace me\n if (\n !rootGetters['auth/hasReplaceMePermissionForAtleastOneClientLocation'](\n cId\n )\n )\n return success()\n\n // Check cached replace me status\n const isCached = getters.replaceMeStatusChecks(cId)\n\n if (\n isCached &&\n isCacheFresh({\n cacheDuration: 5,\n durationUnits: 'minutes',\n lastUpdated: isCached?.timestamp,\n forceRefresh,\n })\n )\n return Promise.resolve(success(isCached))\n\n commit('START_LOADING_REPLACE_ME_STATUS_CHECK')\n\n try {\n const response = await this.$api.bookings.checkReplaceMeStatus(cId)\n\n if (isSuccess(response.status)) {\n commit('UPSERT_REPLACE_ME_STATUS_CHECK_FOR_CLIENT', {\n payload: response.data,\n clientId: cId,\n })\n return success(response.data)\n }\n } catch (ex) {\n // Ignore alert if 403 since the user doesn't have permission for replace me\n // and likely doesn't need to be notified they don't. Would just be alert spam\n if (!isHttpStatus(ex.response.status, 'Forbidden'))\n toast.error(\n ex.response?.data?.message\n ? ex.response.data?.message\n : this.$i18n('replaceMe.checkReplaceMeStatusErrorGenericText')\n )\n return fail()\n } finally {\n commit('FINISH_LOADING_REPLACE_ME_STATUS_CHECK')\n }\n },\n async submitReplaceMeBooking({ commit }, payload) {\n commit('START_LOADING_SUBMIT_REPLACE_ME')\n\n try {\n const response = await this.$api.bookings.submitReplaceMeBooking(\n payload\n )\n\n if (isSuccess(response.status)) {\n const selectedDay = getSelectedDayText(\n payload.selectedDay,\n payload.isNextMonday\n )\n toast.success(\n this.$i18n.t('replaceMe.successNotificationText', { selectedDay })\n )\n return success(response.data)\n }\n } catch (ex) {\n toast.error(\n ex.response?.data?.message\n ? ex.response.data?.message\n : this.$i18n.t('error.genericFailedRequestMessage')\n )\n return fail()\n } finally {\n commit('FINISH_LOADING_SUBMIT_REPLACE_ME')\n }\n },\n async cancelBooking({ commit }, payload) {\n commit('START_LOADING_CANCEL_BOOKING')\n\n try {\n const response = await this.$api.bookings.cancelBooking(\n payload.bookingId,\n {\n cancelReason: payload.cancelReason,\n }\n )\n\n if (isSuccess(response.status)) {\n toast.success(\n this.$i18n.t('booking.cancelBookingSuccessText', {\n date: payload.date,\n })\n )\n return success(response.data)\n }\n } catch (ex) {\n toast.error(\n ex.response?.data?.message\n ? ex.response.data?.message\n : this.$i18n.t('error.genericFailedRequestMessage')\n )\n return fail()\n } finally {\n commit('FINISH_LOADING_CANCEL_BOOKING')\n }\n },\n async getExtendBookingCandidates({ commit }, { bookingId, endDateLocal }) {\n return await new VuexResponse(commit)\n .request(() =>\n this.$api.bookings.getExtendBookingCandidates(bookingId, endDateLocal)\n )\n .withLoading(\n 'START_LOADING_EXTEND_BOOKING',\n 'FINISH_LOADING_EXTEND_BOOKING'\n )\n .go()\n },\n async extendBooking({ commit }, { bookingId, payload }) {\n return await new VuexResponse(commit)\n .request(() => this.$api.bookings.extendBooking(bookingId, payload))\n .withLoading(\n 'START_LOADING_EXTEND_BOOKING',\n 'FINISH_LOADING_EXTEND_BOOKING'\n )\n .withSuccessToast(this.$i18n.t('booking.extend.extendedToast'))\n .withFailureToast()\n .go()\n },\n /**\n * Resets store to default state.\n */\n clear({ commit }) {\n commit('CLEAR_STORE')\n },\n },\n}\n","import { fail, success } from '@/helpers/result-helper'\nimport toast from '@/services/toasts/index'\nimport { isSuccess, isHttpStatus } from '@/helpers/http-status-helpers'\nimport { orderBy } from 'lodash'\n\nconst getDefaultState = () => {\n return {\n bookingContacts: [],\n loadingCount: 0,\n crudLoadingCount: 0,\n bookingContactsLoadingCount: 0,\n standardBookingDetailsLoadingCount: 0,\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'contacts',\n bookingContacts: (state) => (locationId) => {\n const contacts = state.bookingContacts.find(\n (x) => x.locationId === locationId\n )\n\n return contacts ? orderBy(contacts.list, ['fullName'], ['asc']) : []\n },\n isLoading: (state) => state.loadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n isLoadingBookingContacts: (state) => state.bookingContactsLoadingCount > 0,\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n START_LOADING_BOOKING_CONTACTS(state) {\n state.bookingContactsLoadingCount++\n },\n FINISH_LOADING_BOOKING_CONTACTS(state) {\n state.bookingContactsLoadingCount--\n },\n SET_CLIENT_BOOKING_CONTACTS(state, payload) {\n const found = state.bookingContacts.find(\n (x) => x.locationId === payload.locationId\n )\n\n if (!found) {\n return state.bookingContacts.push({\n locationId: payload.locationId,\n list: payload.contacts,\n })\n }\n\n found.list = payload.contacts\n },\n CLEAR_STORE(state) {\n // Resets store to default state\n Object.assign(state, getDefaultState())\n },\n },\n actions: {\n async loadBookingContacts({ commit, getters }, locationId) {\n // Check cached contacts\n const hasContacts = getters.bookingContacts(locationId)\n\n if (hasContacts && hasContacts.length > 0)\n return Promise.resolve(success(hasContacts))\n\n commit('START_LOADING_BOOKING_CONTACTS')\n\n try {\n const response = await this.$api.contacts.getBookingContacts(locationId)\n\n if (isSuccess(response.status)) {\n commit('SET_CLIENT_BOOKING_CONTACTS', {\n contacts: isHttpStatus(response.status, 204) ? [] : response.data,\n locationId,\n })\n return success(response.data)\n }\n } catch (ex) {\n toast.error('Cannot load booking contacts')\n return fail()\n } finally {\n commit('FINISH_LOADING_BOOKING_CONTACTS')\n }\n },\n /**\n * Resets store to default state.\n */\n clear({ commit }) {\n commit('CLEAR_STORE')\n },\n },\n}\n","import { isNonEmptyArray } from '@/helpers/array-helpers'\nimport dayjs from '@/services/date'\n\n/**\n * @class\n * @public\n */\nexport default class BookingBlockViewModel {\n constructor({ locationId, datesLocal = [], messageMarkDown = '' } = {}) {\n /**\n * @type {Number}\n */\n this.locationId = Number(locationId)\n /**\n * @type {Array}\n */\n this.datesLocal = isNonEmptyArray(datesLocal)\n ? datesLocal.map((date) => dayjs(date))\n : []\n /**\n * Mark down text to be displayed to the user\n * @type {String}\n */\n this.messageMarkDown = messageMarkDown\n }\n}\n","import { fail, success } from '@/helpers/result-helper'\nimport toast from '@/services/toasts/index'\nimport { isSuccess, isHttpStatus } from '@/helpers/http-status-helpers'\nimport { orderBy } from 'lodash'\nimport BookingBlockViewModel from '@/models/locations/bookingBlockViewModel'\nimport { isNonEmptyArray } from '@/helpers/array-helpers'\nimport ClientLoginLocationViewModel from '@/models/locations/clientLoginLocationViewModel'\n\nconst getDefaultState = () => {\n return {\n // Place any new state properties here\n bookingLocations: [],\n certifications: [],\n locationRestrictions: [],\n loadingCount: 0,\n crudLoadingCount: 0,\n bookingLocationLoadingCount: 0,\n certificationLoadingCount: 0,\n bookingBlocksLoadingCount: 0,\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'locations',\n bookingLocations: (state) => state.bookingLocations,\n certifications: (state) => (locationId) => {\n const certifications = state.certifications.find(\n (x) => x.locationId === locationId\n )\n\n return certifications\n ? orderBy(certifications.list, ['name'], ['asc'])\n : []\n },\n isLoading: (state) => state.loadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n isLoadingCertifications: (state) => state.certificationLoadingCount > 0,\n isLoadingBookingLocations: (state) => state.bookingLocationLoadingCount > 0,\n isLoadingBookingBlocks: (state) => state.bookingBlocksLoadingCount > 0,\n getRestrictionDetailsByLocationId: (state) => (locationId) => {\n if (!locationId || locationId < 1) throw Error('Location Id is required')\n\n return state.locationRestrictions?.find(\n (restriction) => restriction.locationId === locationId\n )\n },\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n START_LOADING_BOOKING_LOCATIONS(state) {\n state.bookingLocationLoadingCount++\n },\n FINISH_LOADING_BOOKING_LOCATIONS(state) {\n state.bookingLocationLoadingCount--\n },\n START_LOADING_CERTIFICATIONS(state) {\n state.certificationLoadingCount++\n },\n FINISH_LOADING_CERTIFICATIONS(state) {\n state.certificationLoadingCount--\n },\n START_LOADING_BOOKING_BLOCKS(state) {\n state.bookingBlocksLoadingCount++\n },\n FINISH_LOADING_BOOKING_BLOCKS(state) {\n state.bookingBlocksLoadingCount--\n },\n /**\n *\n * @param {*} state\n * @param {ClientLoginLocationViewModel[]} payload\n */\n SET_BOOKING_LOCATIONS(state, payload) {\n state.bookingLocations = payload\n },\n UPSERT_CERTIFICATIONS(state, payload) {\n const found = state.certifications.find(\n (x) => x.locationId === payload.locationId\n )\n\n if (!found) {\n return state.certifications.push({\n locationId: payload.locationId,\n list: payload.certifications,\n })\n }\n\n found.list = payload.certifications\n },\n SET_LOCATION_RESTRICTIONS(state, restrictions) {\n state.locationRestrictions = isNonEmptyArray(restrictions)\n ? restrictions.map(\n (restriction) => new BookingBlockViewModel(restriction)\n )\n : []\n },\n CLEAR_STORE(state) {\n // Resets store to default state\n Object.assign(state, getDefaultState())\n },\n },\n actions: {\n async loadBookingLocations({ commit, getters }) {\n const isCached = getters.bookingLocations\n\n if (isCached && isCached.length > 0)\n return Promise.resolve(success(isCached))\n\n commit('START_LOADING_BOOKING_LOCATIONS')\n\n try {\n const response = await this.$api.locations.getBookingLocations()\n\n if (isSuccess(response.status)) {\n const mappedLocations = isHttpStatus(response.status, 204)\n ? []\n : response.data.map(\n (location) => new ClientLoginLocationViewModel(location)\n )\n\n commit('SET_BOOKING_LOCATIONS', mappedLocations)\n return success(mappedLocations)\n }\n } catch (ex) {\n toast.error('Cannot load locations')\n return fail()\n } finally {\n commit('FINISH_LOADING_BOOKING_LOCATIONS')\n }\n },\n async loadLocationCertifications({ commit, getters }, locationId) {\n const isCached = getters.certifications(locationId)\n\n if (isCached && isCached.length > 0)\n return Promise.resolve(success(isCached))\n\n commit('START_LOADING_CERTIFICATIONS')\n\n try {\n const response = await this.$api.locations.getLocationCertifications(\n locationId\n )\n\n if (isSuccess(response.status)) {\n commit('UPSERT_CERTIFICATIONS', {\n certifications: isHttpStatus(response.status, 204)\n ? []\n : response.data,\n locationId,\n })\n return success(response.data)\n }\n } catch (ex) {\n toast.error('Cannot load certifications for this location')\n return fail()\n } finally {\n commit('FINISH_LOADING_CERTIFICATIONS')\n }\n },\n /**\n * Loads the booking blocks for all contact locations\n * booking on a particular day\n * @param {{commit: Function, dispatch: Function}} vuexContext\n * @returns\n */\n async loadLocationBookingBlocks({ commit }) {\n commit('START_LOADING_BOOKING_BLOCKS')\n\n try {\n const response = await this.$api.locations.getLocationBookingBlocks()\n\n if (isSuccess(response.status)) {\n commit('SET_LOCATION_RESTRICTIONS', response.data)\n return success(response.data)\n }\n } catch (ex) {\n return fail()\n } finally {\n commit('FINISH_LOADING_BOOKING_BLOCKS')\n }\n },\n /**\n * Resets store to default state.\n */\n clear({ commit }) {\n commit('CLEAR_STORE')\n },\n },\n}\n","import { fail, success } from '@helpers/result-helper'\nimport toast from '@services/toasts/index'\nimport { isSuccess, isHttpStatus } from '@/helpers/http-status-helpers'\nimport dayjs from '@/services/date/index'\nimport { isCacheFresh } from '@/helpers/cache-helpers'\n\nconst getDefaultState = () => {\n return {\n loadingCount: 0,\n crudLoadingCount: 0,\n pendingFeedback: [],\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'pending-feedback',\n isLoading: (state) => state.loadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n pendingFeedback: (state) => (clientId) =>\n state.pendingFeedback.find((feedback) => feedback.clientId === clientId)\n ?.list || [],\n pendingFeedbackCacheObj: (state) => (clientId) =>\n state.pendingFeedback.find((feedback) => feedback.clientId === clientId),\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n SET_PENDING_FEEDBACK(state, { clientId, feedback }) {\n const found = state.pendingFeedback.find(\n (feedback) => feedback.clientId === clientId\n )\n\n if (found) {\n found.list = feedback\n found.lastUpdated = dayjs()\n return\n }\n\n state.pendingFeedback.push({\n clientId,\n list: feedback,\n lastUpdated: dayjs(),\n })\n },\n SET_FEEDBACK_AS_COMPLETE(state, { bookingId, clientId }) {\n const foundClientFeedbackList = state.pendingFeedback.find(\n (feedback) => feedback.clientId === clientId\n )\n\n if (!foundClientFeedbackList) return\n\n const foundBookingFeedback = foundClientFeedbackList.list.find(\n (feedback) => feedback.bookingID === bookingId\n )\n\n if (!foundBookingFeedback) return\n\n foundBookingFeedback.feedbackCompleted = true\n },\n },\n actions: {\n async getPendingFeedbacks({ commit, getters }, clientId) {\n // Check if cached\n const isCached = getters.pendingFeedbackCacheObj(clientId)\n\n if (\n isCached &&\n isCacheFresh({\n cacheDuration: 5,\n durationUnits: 'minutes',\n lastUpdated: isCached?.lastUpdated,\n })\n )\n return Promise.resolve(success(isCached.list))\n\n commit('START_LOADING')\n try {\n const response = await this.$api.pendingfeedbacks.getPendingFeedbacks(\n clientId\n )\n\n if (isSuccess(response.status)) {\n commit('SET_PENDING_FEEDBACK', { clientId, feedback: response.data })\n return success(response.data)\n }\n } catch (ex) {\n if (isHttpStatus(ex.response.status, 'Forbidden')) {\n return fail(null, '', 403)\n }\n\n toast.error(this.$i18n.t('pendingFeedbacks.pendingFeedbacksError'))\n return fail()\n } finally {\n commit('FINISH_LOADING')\n }\n },\n setFeedbackAsComplete({ commit }, { bookingId, clientId }) {\n commit('SET_FEEDBACK_AS_COMPLETE', { bookingId, clientId })\n },\n },\n}\n","const isEnabled = (key, featureFlags) => {\n // If feature flags don't exist within the object or the feature flag object is null\n // we are considering the flag disabled.\n if (!featureFlags || !Object.prototype.hasOwnProperty.call(featureFlags, key))\n return false\n\n return !!featureFlags[key]\n}\n\n/**\n * Generates a series of feature toggle functions that will instruct which features\n * are enabled or not\n * @param {Object} featureFlags Dictionary of feature flags\n */\nexport const createFeatureDecisions = (featureFlags) => {\n return {\n // #region Self Service\n selfService: {\n /**\n * Displays the booking status label on the original booking card.\n *\n * This feature flag is temporary and should be removed as soon as the Booking Card V2 design\n * has been approved for wide spread use.\n * @see [TASK 109](https://dev.azure.com/anzukeducation/Staffroom%20NEXT/_workitems/edit/109) - Booking status label\n * @returns true: displays status label on v1 booking card. false: hides status label on v1 booking cards.\n */\n showBookingStatus: isEnabled(\n 'r2B_SelfService_ShowBookingStatus',\n featureFlags\n ),\n /**\n * Displays the V2 booking cards.\n *\n * This feature flag is temporary and should be removed as soon as the Booking Card V2 design\n * has been approved for wide spread use.\n * @see [TASK 108](https://dev.azure.com/anzukeducation/Staffroom%20NEXT/_workitems/edit/108) - Booking Card V2\n * @returns true: displays v2 booking card. false: displays v1 booking card\n */\n showBookingCardV2: isEnabled(\n 'r2B_SelfService_ShowBookingCardV2',\n featureFlags\n ),\n /**\n * Enables the extend booking functionality\n *\n * @see [FEATURE 10](https://dev.azure.com/anzukeducation/Staffroom%20NEXT/_workitems/edit/10) - Extend booking\n * @returns true: displays extend booking CTA. false: hides extend booking CTA.\n */\n enableExtendBooking: isEnabled(\n 'r2B_SelfService_EnableExtendBooking',\n featureFlags\n ),\n },\n // #endregion\n }\n}\n","import config from '@/common/config'\nimport { createFeatureDecisions } from '@/services/features/featureDecisions'\n\nconst getDefaultState = () => {\n return {\n flags: config.get('app.featureFlags'),\n loadingCount: 0,\n crudLoadingCount: 0,\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'features',\n featureFlags: (state) => createFeatureDecisions(state.flags),\n isLoading: (state) => state.loadingCount > 0,\n isLoadingCRUD: (state) => state.crudLoadingCount > 0,\n },\n mutations: {\n START_LOADING(state) {\n state.loadingCount++\n },\n FINISH_LOADING(state) {\n state.loadingCount--\n },\n START_LOADING_CRUD(state) {\n state.crudLoadingCount++\n },\n FINISH_LOADING_CRUD(state) {\n state.crudLoadingCount--\n },\n CLEAR_STORE(state) {\n // Resets store to default state\n Object.assign(state, getDefaultState())\n },\n SET_FEATURE_FLAGS(state, flags) {\n state.flags = flags\n },\n },\n actions: {\n setFeatureFlags({ commit }, flags) {\n commit('SET_FEATURE_FLAGS', flags)\n },\n /**\n * Resets store to default state.\n */\n clear({ commit }) {\n commit('CLEAR_STORE')\n },\n },\n}\n","/**\n * @typedef {Object} BookingClientViewModelType\n * @property {number} id - Unique identifier\n * @property {string} name - The name of the client\n */\n\n/**\n * @class\n */\nexport default class BookingClientViewModel {\n /**\n * Create a new BookingClientViewModel.\n * @param {...BookingClientViewModelType} params\n */\n constructor(params) {\n this.id = params.id\n this.name = params.name\n }\n}\n","/**\n * @typedef {Object} BookingClientGroupViewModelType\n * @property {number} id - Unique identifier\n * @property {string} name - The name of the client group\n */\n\n/**\n * @class\n */\nexport default class BookingClientGroupViewModel {\n /**\n * Create a new BookingClientGroupViewModel.\n * @param {...BookingClientGroupViewModelType} params\n */\n constructor(params) {\n this.id = params.id\n this.name = params.name\n }\n}\n","/**\n * @typedef {Object} BookingCreatedByViewModelType\n * @property {number} id - Unique identifier\n * @property {string} name - Name of the contact who created the booking\n */\n\n/**\n * @class\n */\nexport default class BookingCreatedByViewModel {\n /**\n * Create a new BookingCreatedByViewModel.\n * @param {...BookingCreatedByViewModelType} params\n */\n constructor(params) {\n this.id = params.id\n this.name = params.name\n }\n}\n","/**\n * @typedef {Object} BookingLocationViewModelType\n * @property {number} id - Unique identifier\n * @property {string} name - The name of the location\n * @property {string} timeZone - The location's time zone\n *\n\n/**\n * @class\n */\nexport default class BookingLocationViewModel {\n /**\n * Create a new BookingLocationViewModel.\n * @param {...BookingLocationViewModelType} params\n */\n constructor(params) {\n this.id = params.id\n this.name = params.name\n this.timeZone = params.timeZone\n }\n}\n","/**\n * @typedef {Object} BookingCoveringViewModelType\n * @property {number} id - Unique identifier\n * @property {string} name - Name of the contact who is being covered\n * @property {string} reason - The reason why the booking was created\n */\n\n/**\n * @class\n */\nexport default class BookingCoveringViewModel {\n /**\n * Create a new BookingCoveringViewModel.\n * @param {...BookingCoveringViewModelType} params\n */\n constructor(params) {\n this.id = params.id\n this.name = params.name\n this.reason = params.reason\n }\n}\n","/**\n * @typedef {Object} BookingCertificationViewModelType\n * @property {number} id - The certification type identifier\n * @property {string} name - The name of the certification\n */\n\n/**\n * @class\n */\nexport default class BookingCertificationViewModel {\n /**\n * Create a new BookingCertificationViewModel.\n * @param {...BookingCertificationViewModelType} params\n */\n constructor(params) {\n this.id = params.id\n this.name = params.name\n }\n}\n","/**\n * @typedef {Object} BookingConfirmationViewModelType\n * @property {number} id - Unique identifier\n * @property {string} name - The name of the confirmation contact\n * @property {string} email - The confirmation contact's email address\n * @property {BookingConfirmationPhoneViewModel} sms - The phone details for sms confirmations\n * @property {BookingConfirmationPhoneViewModel} voice - The phone details for voice confirmations\n */\n\n/**\n * @class\n */\nexport default class BookingConfirmationViewModel {\n /**\n * Create a new BookingConfirmationViewModel.\n * @param {...BookingConfirmationVewModelType} params\n */\n constructor(params) {\n this.id = params.id\n this.name = params.name\n this.email = params.email\n this.sms = params.sms ? params.sms : null\n this.voice = params.voice ? params.voice : null\n }\n}\n","/**\n * @typedef {Object} BookingClassificationViewModelType\n * @property {number} id - Unique identifier\n * @property {string} onlineTitle - The online friendly name for the classification\n */\n\n/**\n * @class\n */\nexport default class BookingClassificationViewModel {\n /**\n * Create a new BookingClassificationViewModel.\n * @param {...BookingClassificationViewModelType} params\n */\n constructor(params) {\n this.id = params.id\n this.onlineTitle = params.onlineTitle\n }\n}\n","/**\n * @typedef {Object} BookingGradeViewModelType\n * @property {number} id - Unique identifier\n * @property {string} title - The name for the grade\n */\n\n/**\n * @class\n */\nexport default class BookingGradeViewModel {\n /**\n * Create a new BookingGradeViewModel.\n * @param {...BookingGradeViewModelType} params\n */\n constructor(params) {\n this.id = params.id\n this.title = params.title\n }\n}\n","import { isNullOrEmptyArray } from '@/helpers/array-helpers'\nimport BookingCoveringViewModel from './bookingCoveringViewModel'\nimport BookingCertificationViewModel from './bookingCertificationViewModel'\nimport BookingConfirmationViewModel from './bookingConfirmationViewModel'\nimport BookingClassificationViewModel from './bookingClassificationViewModel'\nimport BookingGradeViewModel from './bookingGradeViewModel'\n\n/**\n * @typedef {Object} BookingDetailsViewModelType\n * @property {string} startTime - The start time of the booking\n * @property {string} endTime - The end time of the booking\n * @property {string} earliestDate - The date of the earliest booking within the booking group\n * @property {string} latestDate - The date of the latest booking within the booking group\n * @property {boolean} areDatesConsecutive - True if there are no working day gaps from the earliest booking to the latest booking in the group\n * @property {string} notes - Notes added to the booking\n * @property {string} room - Information on the room\n * @property {BookingCoveringViewModel} covering - The contact\n * @property {BookingClassificationViewModel} classification - The booking's classification\n */\n\n/**\n * @class\n */\nexport default class BookingDetailsViewModel {\n /**\n * Create a new BookingDetailsViewModel.\n * @param {...BookingDetailsViewModelType} params\n */\n constructor(params) {\n this.startTime = params.startTime\n this.endTime = params.endTime\n this.earliestDate = params.earliestDate\n this.latestDate = params.latestDate\n this.areDatesConsecutive = params.areDatesConsecutive\n this.notes = params.notes\n this.room = params.room\n this.covering = params.covering\n ? new BookingCoveringViewModel(params.covering)\n : null\n this.certifications = !isNullOrEmptyArray(params.certifications)\n ? params.certifications.map(\n (certification) => new BookingCertificationViewModel(certification)\n )\n : []\n this.confirmations = !isNullOrEmptyArray(params.confirmations)\n ? params.confirmations.map(\n (confirmation) => new BookingConfirmationViewModel(confirmation)\n )\n : []\n this.classification = params.classification\n ? new BookingClassificationViewModel(params.classification)\n : null\n this.grades = !isNullOrEmptyArray(params.grades)\n ? params.grades.map(\n (confirmation) => new BookingGradeViewModel(confirmation)\n )\n : []\n }\n}\n","/**\n * @typedef {Object} BookingDateViewModelType\n * @property {number} id - Unique identifier (of a booking in the same group)\n * @property {string} date - The date of the booking without any time data\n */\n\n/**\n * @class\n */\nexport default class BookingDateViewModel {\n /**\n * Create a new BookingDateViewModel.\n * @param {...BookingDateViewModelType} params\n */\n constructor(params) {\n this.id = params.id\n this.date = params.date\n }\n}\n","import dayjs from '@/services/date/index'\nimport { isNullOrEmptyArray } from '@/helpers/array-helpers'\nimport BookingClientViewModel from './bookingClientViewModel'\nimport BookingClientGroupViewModel from './bookingClientGroupViewModel'\nimport BookingCreatedByViewModel from './bookingCreatedByViewModel'\nimport BookingLocationViewModel from './bookingLocationViewModel'\nimport BookingDetailsViewModel from './bookingDetailsViewModel'\nimport BookingDateViewModel from './bookingDateViewModel'\n\nexport default class BookingViewModel {\n constructor(params) {\n this.id = params.id\n this.status = params.status\n this.createdBy = params.createdBy\n ? new BookingCreatedByViewModel(params.createdBy)\n : null\n this.createdOnUtc = params.createdOnUtc ? dayjs(params.createdOnUtc) : null\n this.client = params.client\n ? new BookingClientViewModel(params.client)\n : null\n this.clientGroup = params.clientGroup\n ? new BookingClientGroupViewModel(params.clientGroup)\n : null\n this.location = params.location\n ? new BookingLocationViewModel(params.location)\n : null\n this.details = params.details\n ? new BookingDetailsViewModel(params.details)\n : null\n this.dates = !isNullOrEmptyArray(params.dates)\n ? params.dates.map((date) => new BookingDateViewModel(date))\n : []\n }\n}\n","import BookingCoveringViewModel from './bookingCoveringViewModel'\n\nexport default class PendingBookingSummaryDetailsViewModel {\n constructor(params) {\n this.startTime = params.startTime\n this.endTime = params.endTime\n this.earliestDate = params.earliestDate\n this.latestDate = params.latestDate\n this.areDatesConsecutive = params.areDatesConsecutive\n this.covering = params.covering\n ? new BookingCoveringViewModel(params.covering)\n : null\n }\n}\n","import dayjs from '@/services/date/index'\nimport BookingClientViewModel from './bookingClientViewModel'\nimport BookingClientGroupViewModel from './bookingClientGroupViewModel'\nimport BookingCreatedByViewModel from './bookingCreatedByViewModel'\nimport BookingLocationViewModel from './bookingLocationViewModel'\nimport PendingBookingSummaryDetailsViewModel from './pendingBookingSummaryDetailsViewModel'\n\nexport default class PendingBookingSummaryViewModel {\n constructor(params) {\n this.id = params.id\n this.status = params.status\n this.createdBy = params.createdBy\n ? new BookingCreatedByViewModel(params.createdBy)\n : null\n this.createdOnUtc = params.createdOnUtc ? dayjs(params.createdOnUtc) : null\n this.days = params.days\n this.client = params.client\n ? new BookingClientViewModel(params.client)\n : null\n this.clientGroup = params.clientGroup\n ? new BookingClientGroupViewModel(params.clientGroup)\n : null\n this.location = params.location\n ? new BookingLocationViewModel(params.location)\n : null\n this.details = params.details\n ? new PendingBookingSummaryDetailsViewModel(params.details)\n : null\n }\n}\n","/**\n * Dictionary of keys used to track loading states across the app.\n * When loading is triggered, the base store assigns the key to store.loadingKeys\n * with a count against each key (based on how many requests are loading)\n */\nexport default Object.freeze({\n defaultLoadingKey: 'defaultLoadingKey',\n bookingApprovals: {\n loadingApprovalCount: 'loadingApprovalCount',\n loadingApprovalDetails: 'loadingApprovalDetailsTest',\n loadingSubmitPendingApproval: 'loadingSubmitPendingApproval',\n },\n})\n","/**\n * Sleep util\n * @param {Number} ms milliseconds program should sleep for\n * ```js\n * import sleep from '@utils/sleep.js'\n * await sleep(500) // sleep for 500ms\n * ```\n */\nexport default (ms) => new Promise((resolve) => setTimeout(resolve, ms))\n","import { VuexResponse } from '@/helpers/vuex-action-builder'\nimport BookingViewModel from '@/models/bookings/bookingViewModel'\nimport PendingBookingSummaryViewModel from '@/models/bookings/pendingBookingSummaryViewModel'\nimport LoadingKeys from '@/shared/constants/core/LoadingKeys'\nimport sleep from '@/utils/sleep'\n\nconst getDefaultState = () => {\n return {\n flyout: {\n booking: {},\n show: false,\n error: false,\n },\n }\n}\n\nconst state = getDefaultState()\n\nexport default {\n namespaced: true,\n state,\n getters: {\n moduleName: () => 'booking-approvals',\n isLoadingApprovalsList: (state, getters, rootState, rootGetters) =>\n rootGetters.isLoadingByKey(\n LoadingKeys.bookingApprovals.loadingApprovalCount\n ),\n isLoadingFlyout: (state, getters, rootState, rootGetters) =>\n rootGetters.isLoadingByKey(\n LoadingKeys.bookingApprovals.loadingApprovalDetails\n ),\n isLoadingSubmitPendingApproval: (state, getters, rootState, rootGetters) =>\n rootGetters.isLoadingByKey(\n LoadingKeys.bookingApprovals.loadingSubmitPendingApproval\n ),\n activeBooking: (state) => state.flyout.booking,\n showFlyout: (state) => state.flyout.show,\n flyoutHasError: (state) => state.flyout.error,\n showDetailsContent: (state) => !!state.flyout.booking?.id,\n },\n mutations: {\n SET_FLYOUT(state, { key, value }) {\n state.flyout[key] = value\n },\n RESET_FLYOUT(state) {\n state.flyout = {\n booking: {},\n show: false,\n error: false,\n }\n },\n SET_STATE(state, { key, value }) {\n state[key] = value\n },\n CLEAR_STORE(state) {\n // Resets store to default state\n Object.assign(state, getDefaultState())\n },\n },\n actions: {\n async mockSubmitPendingApproval() {\n await sleep(1500)\n return {\n status: 204,\n data: {},\n }\n },\n async loadPendingApprovals({ commit }) {\n return await new VuexResponse(commit)\n .request(() => this.$api.pendingBookings.get())\n .withLoadingByKey(LoadingKeys.bookingApprovals.loadingApprovalCount)\n .transform((data) =>\n data.map((item) => new PendingBookingSummaryViewModel(item))\n )\n .go()\n },\n async loadApprovalDetails({ commit }, bookingId) {\n return await new VuexResponse(commit)\n .request(() => this.$api.bookings.get(bookingId))\n .withLoadingByKey(LoadingKeys.bookingApprovals.loadingApprovalDetails)\n .transform((data) => new BookingViewModel(data))\n .go()\n },\n async submitPendingApproval({ commit, dispatch }, payload) {\n return await new VuexResponse(commit)\n .request(() => this.$api.pendingBookings.action(payload))\n .withLoadingByKey(\n LoadingKeys.bookingApprovals.loadingSubmitPendingApproval\n )\n .withSuccessToast(\n payload.action === 'accept'\n ? this.$i18n.t('booking.details.approvals.submit.acceptToast', {\n companyNameShort: this.$i18n.t('app.companyNameShort'),\n })\n : this.$i18n.t('booking.details.approvals.submit.rejectToast')\n )\n .withFailureToast(\n this.$i18n.t('booking.details.approvals.submit.failureToast')\n )\n .go()\n },\n openFlyout({ commit }) {\n commit('SET_FLYOUT', { key: 'show', value: true })\n },\n setFlyout({ commit }, data) {\n commit('SET_FLYOUT', data)\n },\n resetFlyout({ commit }) {\n return commit('RESET_FLYOUT')\n },\n /**\n * Resets store to default state.\n */\n clear({ commit }) {\n commit('CLEAR_STORE')\n },\n },\n}\n","import authModule from './auth'\nimport usersModule from './users'\nimport singleInvoiceModule from './single-invoice'\nimport clientModule from './client'\nimport invoicesModule from './invoices'\nimport timesheetsModule from './timesheets'\nimport candidateModule from './candidate'\nimport fileModule from './file'\nimport bookingsModule from './bookings'\nimport contactsModule from './contacts'\nimport locationsModule from './locations'\nimport pendingFeedbacksModule from './pending-feedback'\nimport featuresModule from './features'\nimport bookingApprovalsModule from './booking-approvals'\n\nexport default {\n bookingApprovals: bookingApprovalsModule,\n features: featuresModule,\n locations: locationsModule,\n contacts: contactsModule,\n bookings: bookingsModule,\n timesheets: timesheetsModule,\n file: fileModule,\n singleInvoice: singleInvoiceModule,\n client: clientModule,\n invoices: invoicesModule,\n candidate: candidateModule,\n auth: authModule,\n users: usersModule,\n pendingfeedbacks: pendingFeedbacksModule,\n}\n","import allModules from '@state/modules'\nimport store from '@state/store'\n\nexport default function dispatchActionForAllModules(\n actionName,\n { modules = allModules, modulePrefix = '', flags = {} } = {}\n) {\n // For every module...\n for (const moduleName in modules) {\n const moduleDefinition = modules[moduleName]\n\n // If the action is defined on the module...\n if (moduleDefinition.actions && moduleDefinition.actions[actionName]) {\n // Dispatch the action if the module is namespaced. Otherwise,\n // set a flag to dispatch the action globally at the end.\n if (moduleDefinition.namespaced) {\n store.dispatch(`${modulePrefix}${moduleName}/${actionName}`)\n } else {\n flags.dispatchGlobal = true\n }\n }\n\n // If there are any nested sub-modules...\n if (moduleDefinition.modules) {\n // Also dispatch the action for these sub-modules.\n dispatchActionForAllModules(actionName, {\n modules: moduleDefinition.modules,\n modulePrefix: modulePrefix + moduleName + '/',\n flags,\n })\n }\n }\n\n // If this is the root and at least one non-namespaced module\n // was found with the action...\n if (!modulePrefix && flags.dispatchGlobal) {\n // Dispatch the action globally.\n store.dispatch(actionName)\n }\n}\n","import config from '@/common/config'\nimport store from '@state/store'\nimport { isHttpStatus } from '@/helpers/http-status-helpers'\nimport axios from 'axios'\n\nclass BaseApiService {\n /**\n * Api version (e.g. 1.0)\n */\n apiVersion = config.get('apiVersion')\n\n /**\n * Axios client\n */\n client = axios.create({\n baseURL: config.get('apiUrl'),\n json: true,\n })\n\n /**\n * HTTP methods\n */\n method = {\n GET: 'get',\n POST: 'post',\n DELETE: 'delete',\n PATCH: 'patch',\n PUT: 'put',\n }\n\n /**\n * A particular resource, e.i. users, posts, comments etc.\n */\n resource\n\n constructor(resource) {\n if (!resource) throw new Error('Resource is not provided')\n this.resource = resource\n }\n\n /**\n * Gets the full url for the endpoint\n * @param {String} args has the remaining fragement of the url\n * @param {Object} query key pair list of query args that will be mapped if provided e.g. `{ first: 'value', second: 'value' }`\n * @returns {String} full url including base\n */\n getUrl(args = '', query = null) {\n return `v${this.apiVersion}/${this.resource}${args ? `/${args}` : ''}${\n query ? `?${this.mapQueryParams(query)}` : ''\n }`\n }\n\n async handleErrors(err) {\n // If unauthorised, renew access token then retry\n if (isHttpStatus(err?.response?.status, 'Unauthorized')) {\n await store.dispatch('auth/getAccessTokenOrRefresh', true)\n\n return {\n retry: true,\n err,\n }\n }\n\n throw err\n }\n\n /**\n * Compiles request configuration and handles tasks like generating headers\n * list and retrieving the auth token\n * @param {String} method HTTP Method (GET, POST, PATCH, DELETE, PUT)\n * @param {String} url Endpoint url\n * @param {*} data Payload to send to server\n * @param {*} headers Request headers to send to server\n * @param {Boolean} isBlob Sets the response type to 'blob'\n * @returns Request config object\n */\n async compileRequestConfig(\n method,\n url,\n data,\n providedHeaders,\n isBlob = false\n ) {\n const accessToken = await store.dispatch('auth/getAccessTokenOrRefresh')\n if (typeof accessToken === 'undefined' || !accessToken) {\n throw Error('An access token is required for authenticated requests')\n }\n\n let impersonateHeader = {}\n\n // Set impersonate header if impersonate id is present\n if (store.getters['auth/hasImpersonateContactId']) {\n impersonateHeader = {\n 'Impersonated-Contact': store.getters['auth/impersonateContactId'],\n }\n }\n\n // Replace versioned URLs to use accept header to request API version\n const headers = {\n Authorization: `Bearer ${accessToken}`,\n 'Accept-Version': this.apiVersion,\n ...providedHeaders,\n ...impersonateHeader,\n }\n\n let config = {\n method,\n url,\n data,\n headers,\n }\n\n if (isBlob) config = { ...config, ...{ responseType: 'blob' } }\n\n return config\n }\n\n /**\n * Executes an authenticated HTTP request\n * @param {String} method HTTP Method (GET, POST, PATCH, DELETE, PUT)\n * @param {String} url Endpoint url\n * @param {*} data Payload to send to server\n * @param {*} headers Request headers to send to server\n * @param {Boolean} isBlob Sets the response type to 'blob'\n * @returns Http response\n */\n async execute(method, url, data, providedHeaders = {}, isBlob = false) {\n let config = await this.compileRequestConfig(\n method,\n url,\n data,\n providedHeaders,\n isBlob\n )\n\n try {\n return await this.client(config)\n } catch (err) {\n const response = await this.handleErrors(err)\n\n if (response.retry) {\n // Recompile config to utilize new auth token\n config = await this.compileRequestConfig(\n method,\n url,\n data,\n providedHeaders,\n isBlob\n )\n\n return await this.client(config)\n }\n }\n }\n\n /**\n * Executes an authenticated HTTP request for blob files\n * @param {String} method HTTP Method (GET, POST, PATCH, DELETE, PUT)\n * @param {String} url Endpoint url\n * @param {*} data Payload to send to server\n * @param {*} headers Request headers to send to server\n * @returns Http response\n */\n async executeBlob(method, url, data, providedHeaders) {\n return this.execute(method, url, data, providedHeaders, true)\n }\n\n /**\n * Executes an unauthenticated HTTP request\n * @param {String} method HTTP Method (GET, POST, PATCH, DELETE, PUT)\n * @param {String} url Endpoint url\n * @param {*} data Payload to send to server\n * @returns Http response\n */\n async executeAnon(method, url, data) {\n return this.client({\n method,\n url,\n data,\n headers: {\n 'Accept-Version': this.apiVersion,\n },\n })\n }\n\n /**\n * Mapper that accepts a 1D object and generates a query string to be appended to a URL\n * @param {Object} queryParams key value object { key: value, ... }\n * @returns A query string e.g. ?key=value&key2=value2...\n */\n mapQueryParams(queryParams) {\n return queryParams\n ? Object.keys(queryParams)\n .map(function(key) {\n return key + '=' + queryParams[key]\n })\n .join('&')\n : ''\n }\n}\n\nclass ReadOnlyApiService extends BaseApiService {\n /**\n * Generic configurable authenticated HTTP request\n * @param {String} method HTTP Method (GET, POST, PATCH, DELETE, PUT)\n * @param {String} url Endpoint url\n * @param {*} data Payload to send to server\n * @param {*} headers Request headers to send to server\n * @returns Http response\n */\n async fetch(method, url, data, headers) {\n return this.execute(method, url, data, headers)\n }\n\n /**\n * HTTP Get authenticated request\n * @param {*} args\n * @param {*} query query object {key: value}\n * @returns\n */\n async get(args, query = null, headers = {}) {\n return this.execute(\n this.method.GET,\n this.getUrl(args, query),\n null,\n headers\n )\n }\n\n /**\n * Generic configurable unauthenticated HTTP request\n * @param {String} method HTTP Method (GET, POST, PATCH, DELETE, PUT)\n * @param {String} url Endpoint url\n * @param {*} data Payload to send to server\n * @param {*} headers Request headers to send to server\n * @returns Http response\n */\n async fetchAnon(method, url, data, headers) {\n return this.executeAnon(method, url, data, headers)\n }\n\n /**\n * HTTP Get unauthenticated request\n * @param {*} args\n * @param {*} query query object {key: value}\n * @returns\n */\n async getAnon(args, query = null) {\n return this.executeAnon(this.method.GET, this.getUrl(args, query))\n }\n\n /**\n * Generic configurable Authenticated HTTP request - Response type: Blob\n * @param {String} method HTTP Method (GET, POST, PATCH, DELETE, PUT)\n * @param {String} url Endpoint url\n * @param {*} data Payload to send to server\n * @param {*} headers Request headers to send to server\n * @returns Http response\n */\n async fetchBlob(method, url, data, headers) {\n return this.executeBlob(method, url, data, headers)\n }\n\n /**\n * HTTP Get authenticated request - Response type: Blob\n * @param {*} args\n * @param {*} query query object {key: value}\n * @returns\n */\n async getBlob(args, query = null) {\n return this.executeBlob(this.method.GET, this.getUrl(args, query))\n }\n}\n\nclass ModelApiService extends ReadOnlyApiService {\n /**\n * HTTP Post authenticated request\n * @param {String} args Url arguments\n * @param {*} data Payload\n * @param {*} query query object {key: value}\n * @returns\n */\n async post(args, data = {}, query = null, headers = null) {\n return this.execute(\n this.method.POST,\n this.getUrl(args, query),\n data,\n headers\n )\n }\n\n /**\n * HTTP Post unauthenticated request\n * @param {String} args Url arguments\n * @param {*} data Payload\n * @param {*} query query object {key: value}\n * @returns\n */\n async postAnon(args, data = {}, query = null) {\n return this.executeAnon(this.method.POST, this.getUrl(args, query), data)\n }\n\n /**\n * HTTP Post authenticated request - Response type: Blob\n * @param {String} args Url arguments\n * @param {*} data Payload\n * @param {*} query query object {key: value}\n * @returns\n */\n async postBlob(args, data = {}, query = null) {\n return this.executeBlob(this.method.POST, this.getUrl(args, query), data)\n }\n\n /**\n * HTTP Put authenticated request\n * @param {String} args Url arguments\n * @param {*} data Payload\n * @param {*} query query object {key: value}\n * @returns\n */\n async put(args, data = {}, query = null) {\n return this.execute(this.method.PUT, this.getUrl(args, query), data)\n }\n\n /**\n * HTTP Put unauthenticated request\n * @param {String} args Url arguments\n * @param {*} data Payload\n * @param {*} query query object {key: value}\n * @returns\n */\n async putAnon(args, data = {}, query = null) {\n return this.executeAnon(this.method.PUT, this.getUrl(args, query), data)\n }\n\n /**\n * HTTP Put authenticated request - Response type: Blob\n * @param {String} args Url arguments\n * @param {*} data Payload\n * @param {*} query query object {key: value}\n * @returns\n */\n async putBlob(args, data = {}, query = null) {\n return this.executeBlob(this.method.PUT, this.getUrl(args, query), data)\n }\n\n /**\n * HTTP Patch authenticated request\n * @param {String} args Url arguments\n * @param {*} data Payload\n * @param {*} query query object {key: value}\n * @returns\n */\n async patch(args, data = {}, query = null) {\n return this.execute(this.method.PATCH, this.getUrl(args, query), data)\n }\n\n /**\n * HTTP Patch unauthenticated request\n * @param {String} args Url arguments\n * @param {*} data Payload\n * @param {*} query query object {key: value}\n * @returns\n */\n async patchAnon(args, data = {}, query = null) {\n return this.executeAnon(this.method.PATCH, this.getUrl(args, query), data)\n }\n\n /**\n * HTTP Delete authenticated request\n * @param {String} args Url arguments\n * @param {*} data Payload\n * @param {*} query query object {key: value}\n * @returns\n */\n async delete(args, data = {}, query = null) {\n return this.execute(this.method.DELETE, this.getUrl(args, query), data)\n }\n\n /**\n * HTTP Delete unauthenticated request\n * @param {String} args Url arguments\n * @param {*} data Payload\n * @param {*} query query object {key: value}\n * @returns\n */\n async deleteAnon(args, data = {}, query = null) {\n return this.executeAnon(this.method.DELETE, this.getUrl(args, query), data)\n }\n}\n\nexport { ReadOnlyApiService, ModelApiService }\n","import { ModelApiService } from './BaseApiService'\n\nexport default class SignalRApiService extends ModelApiService {\n constructor() {\n super('SignalR')\n }\n}\n","import { ModelApiService } from './BaseApiService'\n\nexport default class UserApiService extends ModelApiService {\n constructor() {\n super('me')\n }\n}\n","import { ModelApiService } from './BaseApiService'\n\nexport default class InvoicesApiService extends ModelApiService {\n constructor() {\n super('invoices')\n }\n\n async getInvoiceByInvoiceNo(invoiceNo) {\n return this.get(`GetInvoice/${invoiceNo}`)\n }\n\n async getOustandingInvoicesCount() {\n return this.get(`outstanding-invoices-count`)\n }\n\n async getInvoiceFile(invoiceId) {\n return this.getBlob(`${invoiceId}/file`)\n }\n}\n","import dayjs from '@/services/date'\nimport { ModelApiService } from './BaseApiService'\n\nexport default class ClientApiService extends ModelApiService {\n constructor() {\n super('clients')\n }\n\n async getBookingsByYear(clientId, timeZone, year) {\n const newDate = new Date(year, 1, 1)\n\n const dateFromString = dayjs(newDate)\n .startOf('year')\n .format('YYYY-MM-DD')\n const dateUntilString = dayjs(newDate)\n .endOf('year')\n .format('YYYY-MM-DD')\n\n return this.getBookingsByDateRange(\n clientId,\n timeZone,\n dateFromString,\n dateUntilString\n )\n }\n\n async getBookingsByDateRange(\n clientId,\n timeZone,\n dateFromStringLocal,\n dateUntilStringLocal\n ) {\n return this.get(\n `${clientId}/bookings/summary?timeZone=${timeZone}&dateFromLocal=${dateFromStringLocal}&dateToLocal=${dateUntilStringLocal}`\n )\n }\n\n async getBookingsByClientAndDate(clientId, dateFromStringLocal) {\n return this.get(`${clientId}/bookings?dateFromLocal=${dateFromStringLocal}`)\n }\n\n async getClientGrades(clientId) {\n return this.get(`${clientId}/grades`)\n }\n\n async getClientClassifications(clientId) {\n return this.get(`${clientId}/pay-classes`)\n }\n\n async getAdditionalDetails(clientId) {\n return this.get(`${clientId}/additional-details`)\n }\n}\n","import { ModelApiService } from './BaseApiService'\n\nexport default class CandidateApiService extends ModelApiService {\n constructor() {\n super('candidate')\n }\n\n async getCandidateDetails(id) {\n return this.get(`${id}/details`)\n }\n\n getCandidateList(id) {\n return this.get(`CandidateList?ClientId=${id}`)\n }\n\n async getDisplayPic(id) {\n if (id && id >= 0) {\n return this.get(`profile-image/${id}`)\n }\n }\n}\n","import { ModelApiService } from './BaseApiService'\n\nexport default class FileApiService extends ModelApiService {\n constructor() {\n super('file')\n }\n\n async createFileAccessToken(fileId) {\n return this.get(`generateAccessToken/${fileId}`)\n }\n\n async getGeneralFile(fileName) {\n return this.getBlob('general', { filePath: fileName })\n }\n}\n","import { ModelApiService } from './BaseApiService'\n\nexport default class TimesheetsApiService extends ModelApiService {\n constructor() {\n super('timesheets')\n }\n\n async getTimesheetsSummary(clientIds) {\n const urlArgs = new URLSearchParams(\n clientIds.map((clientId) => ['clientIds', clientId])\n )\n return this.get(`overview?${urlArgs}`)\n }\n\n async getTimesheetsFilteredByCandidate(candidateId, clientIds) {\n const urlArgs = new URLSearchParams(\n clientIds.map((clientId) => ['clientIds', clientId])\n )\n urlArgs.append('candidateId', candidateId)\n\n return this.get(`candidate?${urlArgs}`)\n }\n\n async downloadTimesheetFile(timesheetRecordId) {\n return this.getBlob(`download/${timesheetRecordId}`)\n }\n}\n","import { ModelApiService } from './BaseApiService'\n\nexport default class ContactsApiService extends ModelApiService {\n constructor() {\n super('contacts')\n }\n\n async getBookingContacts(locationId) {\n return this.get(`booking-contacts`, { locationId })\n }\n}\n","import { ModelApiService } from './BaseApiService'\n\nexport default class LocationsApiService extends ModelApiService {\n constructor() {\n super('locations')\n }\n\n async getBookingLocations() {\n return this.get(`booking-location-list`)\n }\n\n async getLocationCertifications(locationId) {\n return this.get(`${locationId}/certifications`)\n }\n\n async getLocationBookingBlocks() {\n return this.get(`booking-blocks`)\n }\n}\n","import dayjs from '@/services/date'\n// eslint-disable-next-line\nimport { ShortTermBooking } from '@/models/bookings/responses/shortTermBooking'\n// eslint-disable-next-line\nimport { BookingOverviewCountsViewModel } from '@/models/bookings/responses/bookingOverviewCountsViewModel'\nimport { ModelApiService } from './BaseApiService'\n\nexport default class BookingsApiService extends ModelApiService {\n constructor() {\n super('bookings')\n }\n\n async getFeedbackFormUrl(bookingId) {\n return await this.get(`${bookingId}/feedback-form`)\n }\n\n async submitQuickFeedback(bookingId, data) {\n return await this.post(`${bookingId}/quick-feedback`, data)\n }\n\n async checkReplaceMeStatus(clientId) {\n return await this.get('replace-me-status', { clientId })\n }\n\n async submitReplaceMeBooking(payload) {\n return await this.post('replaceMe', payload)\n }\n\n async cancelBooking(bookingId, payload) {\n return await this.post(`${bookingId}/cancel`, payload)\n }\n\n async extendBooking(bookingId, payload) {\n return await this.post(`${bookingId}/extend`, payload)\n }\n\n /**\n * Returns booking overview statistics for a given year and by the selected client ids\n * @param {number[]} clientIds\n * @param {number|string} year\n * @returns {Promise}\n */\n async getBookingOverview(clientIds, year) {\n const newDate = new Date(year, 1, 1)\n\n const dateFromLocal = dayjs(newDate).startOf('year').format('YYYY-MM-DD')\n const dateToLocal = dayjs(newDate).endOf('year').format('YYYY-MM-DD')\n\n const urlArgs = new URLSearchParams(\n clientIds.map((clientId) => ['clientIds', clientId])\n )\n\n urlArgs.append('dateFromLocal', dateFromLocal)\n urlArgs.append('dateToLocal', dateToLocal)\n\n return this.get(`overview?${urlArgs}`)\n }\n\n /**\n * Returns booking summaries for a given date and by the selected client ids\n * @param {number[]} clientIds\n * @param {string} dateFromStringLocal\n * @returns {Promise}\n */\n async getSummaryBookingsByDate(clientIds, dateFromLocal) {\n const urlArgs = new URLSearchParams(\n clientIds.map((clientId) => ['clientIds', clientId])\n )\n urlArgs.append('dateFromLocal', dateFromLocal)\n\n return this.get(`summary?${urlArgs}`)\n }\n\n /**\n * Checks candidate's availability for all the dates which the booking extends up to.\n * @param {number} bookingId\n * @param {string} endDateLocal\n */\n async getExtendBookingCandidates(bookingId, endDateLocal) {\n return this.get(\n `${bookingId}/extend/availability?endDateLocal=${endDateLocal}`\n )\n }\n}\n","import { ModelApiService } from './BaseApiService'\n\nexport default class PendingFeedbackApiServiceApiService extends ModelApiService {\n constructor() {\n super('feedbacks')\n }\n\n async getPendingFeedbacks(clientID) {\n return this.get(`getBookingsPendingFeedback?clientId=${clientID}`)\n }\n}\n","import { ModelApiService } from './BaseApiService'\n\nexport default class ClientGroupApiService extends ModelApiService {\n constructor() {\n super('client-groups')\n }\n\n async getOverviewData(clientGroupId, filterDate, timeZone) {\n return this.get(`${clientGroupId}/overview`, { filterDate, timeZone })\n }\n}\n","import { ModelApiService } from './BaseApiService'\n\nexport default class PendingBookingsApiService extends ModelApiService {\n constructor() {\n super('pending-bookings')\n }\n\n async action({ bookingId, action, reason }) {\n return this.post(`${bookingId}/action`, { action, reason })\n }\n}\n","import SignalRApiService from './SignalRApiService'\nimport UserApiService from './UserApiService'\nimport InvoicesApiService from './InvoicesApiService'\nimport ClientApiService from './ClientApiService'\nimport CandidateApiService from './CandidateApiService'\nimport FileApiService from './FileApiService'\nimport TimesheetsApiService from './TimesheetsApiService'\nimport ContactsApiService from './ContactsApiService'\nimport LocationsApiService from './LocationsApiService'\nimport BookingsApiService from './BookingsApiService'\nimport PendingFeedbackApiServiceApiService from './PendingFeedbackApiServiceApiService'\nimport ClientGroupApiService from './ClientGroupApiService'\nimport PendingBookingsApiService from './PendingBookingsApiService'\n\nexport default {\n pendingfeedbacks: new PendingFeedbackApiServiceApiService(),\n bookings: new BookingsApiService(),\n locations: new LocationsApiService(),\n contacts: new ContactsApiService(),\n timesheets: new TimesheetsApiService(),\n file: new FileApiService(),\n invoices: new InvoicesApiService(),\n client: new ClientApiService(),\n clientGroups: new ClientGroupApiService(),\n candidate: new CandidateApiService(),\n user: new UserApiService(),\n signalR: new SignalRApiService(),\n pendingBookings: new PendingBookingsApiService(),\n}\n","import api from '@/services/api'\n\nexport default function(store) {\n store.$api = api\n}\n","import i18n from '@plugins/vue-i18n'\n\nexport default function(store) {\n store.$i18n = i18n\n}\n","import appinsights from '@plugins/appinsights'\n\nexport default function(store) {\n store.$appInsights = appinsights\n}\n","import markdownToHtmlConverter from '@/utils/markdown-to-html-converter.js'\nimport config from '@/common/config'\nimport { success, fail } from './result-helper'\n\nconst extractHeaderData = (headers) => {\n return headers.split('|').reduce((acc, header) => {\n const keyAndValue = header.split(':')\n return {\n ...acc,\n ...{\n [keyAndValue[0]]: keyAndValue[1],\n },\n }\n }, {})\n}\n\nexport const getServiceStatus = async () => {\n try {\n return await fetch(config.get('app.status.url'))\n .then((response) => {\n if (!response.ok) return fail()\n return response.text()\n })\n .then((markdownText) => {\n // Extract header\n const fileLines = markdownText.replace(/\\r\\n/g, '\\n').split('\\n')\n const statusHeader = fileLines[0]\n fileLines.shift()\n\n const headerElements = extractHeaderData(statusHeader)\n\n return Promise.resolve(\n success({\n ...{\n _md: markdownText,\n html: markdownToHtmlConverter(fileLines.join('\\n')),\n },\n ...headerElements,\n })\n )\n })\n } catch (e) {\n return fail({ error: e, message: e.message })\n }\n}\n","import dispatchActionForAllModules from '@utils/dispatch-action-for-all-modules'\nimport Vue from 'vue'\nimport Vuex from 'vuex'\nimport toast from '@services/toasts/index.js'\nimport api from '@/plugins/api.storePlugin'\nimport i18n from '@/plugins/i18n.storePlugin'\nimport appInsights from '@/plugins/appinsights.storePlugin'\nimport { getServiceStatus } from '@/helpers/service-status-helper.js'\nimport { isCacheFresh } from '@/helpers/cache-helpers'\nimport { DurationUnits } from '@/shared/constants/date/DurationUnits.js'\nimport { success } from '@/helpers/result-helper.js'\nimport dayjs from '@/services/date'\nimport { logger } from '@/services/logging/AppLogger'\nimport Environment from '@/shared/constants/core/Environment'\nimport config from '@/common/config'\nimport { LayoutToggle } from '@/shared/constants/layout/LayoutToggle'\nimport modules from './modules'\n\nVue.use(Vuex)\n\nconst getDefaultState = () => {\n return {\n debugMessages: [],\n loadingCount: 0,\n activeLoaders: [],\n appLoadingCount: 0,\n debugActivateCounter: 0,\n darkMode: JSON.parse(localStorage.getItem('darkMode')),\n initialAppLoad: false, // Prevents full page loader on subsequent loads\n embedded: false, // App is embedded within RR\n drawer:\n localStorage.getItem('drawer') === undefined ||\n localStorage.getItem('drawer') === null\n ? false\n : JSON.parse(localStorage.getItem('drawer')),\n serviceStatus: null,\n serviceStatusLoadingCount: 0,\n dashboardLayout:\n localStorage.getItem('dashboard.layout') === undefined ||\n localStorage.getItem('dashboard.layout') === null\n ? LayoutToggle.TILE\n : JSON.parse(localStorage.getItem('dashboard.layout')),\n }\n}\n\nconst state = getDefaultState()\n\nconst store = new Vuex.Store({\n modules,\n state,\n plugins: [api, i18n, appInsights],\n // Enable strict mode in development to get a warning\n // when mutating state outside of a mutation.\n // https://vuex.vuejs.org/guide/strict.html\n strict: process.env.NODE_ENV !== 'production',\n getters: {\n moduleName: () => 'root-store',\n isLoadingByKey: (state) => (key) => state.activeLoaders.indexOf(key) > -1,\n isLoadingApp: (state) => state.appLoadingCount > 0,\n serviceStatus: (state) => {\n if (!state.serviceStatus || !state.serviceStatus?.html) return null\n return state.serviceStatus\n },\n isLoadingServiceStatus: (state) => state.serviceStatusLoadingCount > 0,\n hasLoadedAppOnce: (state) => state.initialAppLoad,\n isError: (state) => state.error,\n isDebugModeActive: (state) => state.debugActivateCounter >= 10,\n isDarkModeActive: (state) => state.darkMode,\n isDrawerOpen: (state) => state.drawer,\n dashboardLayout: (state) => state.dashboardLayout,\n },\n mutations: {\n START_LOADING(state, key) {\n state.activeLoaders.push(key)\n },\n FINISH_LOADING(state, key) {\n const indexOfLoader = state.activeLoaders.indexOf(key)\n if (indexOfLoader === -1) return\n state.activeLoaders.splice(indexOfLoader, 1)\n },\n START_SERVICE_STATUS_LOADING(state) {\n state.serviceStatusLoadingCount++\n },\n FINISH_SERVICE_STATUS_LOADING(state) {\n state.serviceStatusLoadingCount--\n },\n INCREMENT_APP_LOADING(state) {\n state.appLoadingCount++\n },\n DECREMENT_APP_LOADING(state) {\n state.appLoadingCount--\n },\n SET_APP_AS_LOADED(state) {\n state.initialAppLoad = true\n },\n RESET_APP_LOADING_STATE(state) {\n state.initialAppLoad = false\n },\n SET_ERROR(state) {\n state.error = true\n },\n ACTIVATE_DEBUG(state) {\n state.debugActivateCounter = 10\n },\n INCREMENT_DEBUG(state) {\n state.debugActivateCounter++\n },\n RESET_DEBUG(state) {\n state.debugActivateCounter = 0\n },\n ENABLE_DARKMODE(state) {\n state.darkMode = true\n localStorage.setItem('darkMode', true)\n },\n DISABLE_DARKMODE(state) {\n state.darkMode = false\n localStorage.setItem('darkMode', false)\n },\n OPEN_DRAWER(state) {\n state.drawer = true\n localStorage.setItem('drawer', true)\n },\n CLOSE_DRAWER(state) {\n state.drawer = false\n localStorage.setItem('drawer', false)\n },\n SET_DASHBOARD_LAYOUT(state, layout) {\n state.dashboardLayout = layout\n localStorage.setItem('dashboard.layout', layout)\n },\n CLEAR(state) {\n // Clear out local and session storage\n localStorage.clear()\n sessionStorage.clear()\n\n Object.assign(state, getDefaultState())\n },\n ADD_DEBUG_MESSAGE(state, obj) {\n state.debugMessages.push(obj)\n },\n INSERT_SERVICE_STATUS(state, serviceStatus) {\n state.serviceStatus = {\n ...{\n lastUpdated: dayjs(),\n },\n ...serviceStatus,\n }\n },\n },\n actions: {\n addDebugMessage({ commit, getters }, message) {\n if (getters.isDebugModeActive) {\n commit('ADD_DEBUG_MESSAGE', { date: new Date(), message: message })\n toast.debug(message)\n // eslint-disable-next-line no-console\n console.log(message)\n }\n },\n startLoadingApp({ commit }) {\n commit('INCREMENT_APP_LOADING')\n },\n finishLoadingApp({ commit }) {\n commit('DECREMENT_APP_LOADING')\n },\n startLoading({ commit }) {\n commit('START_LOADING')\n },\n finishLoading({ commit }) {\n commit('FINISH_LOADING')\n },\n setAppAsLoaded({ commit }) {\n commit('SET_APP_AS_LOADED')\n },\n resetAppLoadingState({ commit }) {\n commit('RESET_APP_LOADING_STATE')\n },\n toggleDebugMode({ commit, dispatch }) {\n if (this.state.debugActivateCounter <= 0) {\n commit('ACTIVATE_DEBUG')\n dispatch('addDebugMessage', 'Debug mode on')\n } else {\n dispatch('addDebugMessage', 'Debug mode off')\n commit('RESET_DEBUG')\n }\n },\n toggleDarkMode({ commit }) {\n this.state.darkMode\n ? commit('DISABLE_DARKMODE')\n : commit('ENABLE_DARKMODE')\n },\n toggleDrawer({ commit }) {\n this.state.drawer ? commit('CLOSE_DRAWER') : commit('OPEN_DRAWER')\n },\n setDashboardLayout({ commit }, layout) {\n commit('SET_DASHBOARD_LAYOUT', layout)\n },\n clearStore({ commit }) {\n dispatchActionForAllModules('clear')\n\n commit('CLEAR')\n },\n async setLocale({ dispatch }, locale) {\n this.$i18n.locale = locale\n await dispatch('setFavicon')\n },\n setFavicon(context) {\n const favicon = document.querySelector(\"link[rel~='icon']\")\n favicon.href = this.$i18n.t('app.favicon')\n },\n async fetchServiceStatus({ commit, getters }, forceRefresh) {\n // 1. Check data is cached\n if (\n isCacheFresh({\n cacheDuration: 1,\n durationUnits: DurationUnits.HOUR,\n lastUpdated: state.serviceStatus?.lastUpdated,\n forceRefresh,\n })\n )\n return success({ data: getters.serviceStatus })\n\n // 2. Fetch fresh data\n commit('START_SERVICE_STATUS_LOADING')\n\n const response = await getServiceStatus()\n\n commit('INSERT_SERVICE_STATUS', response.isSuccess ? response.data : null)\n\n commit('FINISH_SERVICE_STATUS_LOADING')\n return response\n },\n /**\n * Logs store exceptions via the app logger\n * @param {*} param0\n * @param {StoreErrorDTO} payload\n */\n logStoreException(context, payload) {\n logger.logError(payload)\n },\n trackClickEvent(context, { name, properties }) {\n if (config.get('env') === Environment.development) {\n // eslint-disable-next-line no-console\n console.debug({ name, properties })\n } else {\n Vue.prototype.$appInsights.trackEvent({ name, properties })\n }\n },\n },\n})\n\nexport default store\n\n// Automatically run the `init` action for every module,\n// if one exists.\ndispatchActionForAllModules('init')\n","/**\n * @typedef {Object} TreeViewDtoType\n * @property {number} id - Unique identifier\n * @property {string} name\n * @property {boolean} locked - Disables node and children\n * @property {TreeViewDtoType[]} children\n */\n\n/**\n * @class\n */\nexport default class TreeViewDto {\n /**\n * Create a new TreeViewDto.\n * @param {...TreeViewDtoType} params\n */\n constructor(params) {\n this.id = params.id\n this.name = params.name\n this.locked = params.locked\n this.children = params.children ?? []\n }\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"_timeout_title_QmghM\"};","/**\n * Tokens used to format dates\n * @tutorial https://day.js.org/docs/en/display/format\n */\nexport default Object.freeze({\n // --- 01. Date --------------------------------------------------------------\n\n /**\n * Two-digit year\n * @example 18\n */\n YY: 'YY',\n /**\n * Four-digit year\n * @example 2018\n */\n YYYY: 'YYYY',\n /**\n * The month, beginning at 1\n * @example 1-12\n */\n M: 'M',\n /**\n * The month, 2-digits\n * @example 01-12\n */\n MM: 'MM',\n /**\n * The abbreviated month name\n * @example Jan-Dec\n */\n MMM: 'MMM',\n /**\n * The full month name\n * @example January-December\n */\n MMMM: 'MMMM',\n /**\n * The day of the month\n * @example 1-31\n */\n D: 'D',\n /**\n * The day of the month, 2-digits\n * @example 01-31\n */\n DD: 'DD',\n /**\n * The day of the week, with Sunday as 0\n * @example 0-6\n */\n d: 'd',\n /**\n * The min name of the day of the week\n * @example Su-Sa\n */\n dd: 'dd',\n /**\n * The short name of the day of the week\n * @example Sun-Sat\n */\n ddd: 'ddd',\n /**\n * The name of the day of the week\n * @example Sunday-Saturday\n */\n dddd: 'dddd',\n /**\n * Quarter\n * @example 1-4\n */\n Q: 'Q',\n /**\n * Day of Month with ordinal\n * @example 1st 2nd ... 31st\n */\n Do: 'Do',\n /**\n * Unix Timestamp in second\n * @example 1360013296\n */\n X: 'X',\n /**\n * Unix Timestamp in millisecond\n * @example 1360013296123\n */\n x: 'x',\n\n // --- 02. Time --------------------------------------------------------------\n\n /**\n * The hour, 24-hour clock\n * @example 0-23\n */\n H: 'H',\n /**\n * The hour, 2-digits, 24-hour clock\n * @example 00-23\n */\n HH: 'HH',\n /**\n * The hour, 12-hour clock\n * @example 1-12\n */\n h: 'h',\n /**\n * The hour, 12-hour clock, 2-digits\n * @example 01-12\n */\n hh: 'hh',\n /**\n * The minute\n * @example 0-59\n */\n m: 'm',\n /**\n * The minute, 2-digits\n * @example 00-59\n */\n mm: 'mm',\n /**\n * The second\n * @example 0-59\n */\n s: 's',\n /**\n * The second, 2-digits\n * @example 00-59\n */\n ss: 'ss',\n /**\n * The millisecond, 3-digits\n * @example 000-999\n */\n SSS: 'SSS',\n /**\n * The offset from UTC, ±HH:mm\n * @example +05:00\n */\n Z: 'Z',\n /**\n * The offset from UTC, ±HHmm\n * @example +0500\n */\n ZZ: 'ZZ',\n /**\n * Meridian, capitalised\n * @example AM/PM\n */\n A: 'A',\n /**\n * Meridian, lowercase\n * @example am/pm\n */\n a: 'a',\n\n // --- 03. Localised ---------------------------------------------------------\n\n /**\n * h:mm A\n * @example 8:02 PM\n */\n LT: 'LT',\n /**\n * h:mm:ss A\n * @example 8:02:18 PM\n */\n LTS: 'LTS',\n /**\n * MM/DD/YYYY\n * @example 08/16/2018\n */\n L: 'L',\n /**\n * MMMM D, YYYY\n * @example August 16, 2018\n */\n LL: 'LL',\n /**\n * MMMM D, YYYY h:mm A\n * @example August 16, 2018 8:02 PM\n */\n LLL: 'LLL',\n /**\n * dddd, MMMM D, YYYY h:mm A\n * @example Thursday, August 16, 2018 8:02 PM\n */\n LLLL: 'LLLL',\n /**\n * M/D/YYYY\n * @example 8/16/2018\n */\n l: 'l',\n /**\n * MMM D, YYYY\n * @example Aug 16, 2018\n */\n ll: 'll',\n /**\n * MMM D, YYYY h:mm A\n * @example Aug 16, 2018 8:02 PM\n */\n lll: 'lll',\n /**\n * ddd, MMM D, YYYY h:mm A\n * @example Thu, Aug 16, 2018 8:02 PM\n */\n llll: 'llll',\n\n // --- 04. Custom ------------------------------------------------------------\n\n /**\n * @example 12th Jan\n */\n DoMMM: 'Do MMM',\n /**\n * @example Jan 12th\n */\n MMMDo: 'MMM Do',\n /**\n * @example 12th Jan 2022\n */\n DoMMMYYYY: 'Do MMM YYYY',\n /**\n * @example Jan 12th 2022\n */\n MMMDoYYYY: 'MMM Do YYYY',\n /**\n * @example Sun 10/16/2022\n */\n dddL: 'ddd L',\n /**\n * @example Sunday 10/16/2022\n */\n ddddL: 'dddd, L',\n /**\n * @example Monday, January 12 2022\n */\n ddddLL: 'dddd, LL',\n\n /**\n * @example 12/05/2024\n */\n DDMMYYYYWithSlash: 'DD/MM/YYYY',\n /**\n * @example Sun 16/10/2022\n */\n dddDDMMYYYYWithSlash: 'ddd DD/MM/YYYY',\n /**\n * @example Sun 10/16/2022\n */\n dddMMDDYYYYWithSlash: 'ddd MM/DD/YYYY',\n /**\n * @example Tue, 25 Feb 2025\n */\n dddDMMMYYYY: 'ddd, D MMM YYYY',\n\n /**\n * @example 2023-10\n */\n YYYYMM: 'YYYY-MM',\n /**\n * @example 2023-10-21\n */\n YYYYMMDD: 'YYYY-MM-DD',\n /**\n * @example March, 2023\n */\n MMMMYYYY: 'MMMM, YYYY',\n /**\n * @example 2022-01-12T00:00:00\n */\n YYYYMMDDT0: 'YYYY-MM-DDT00:00:00',\n\n /**\n * @example Mon, 12th Jan\n */\n dddDoMMM: 'ddd, Do MMM',\n /**\n * @example Mon, Jan 12th\n */\n dddMMMDo: 'ddd, MMM Do',\n /**\n * @example Mon 12th\n */\n dddDo: 'ddd Do',\n /**\n * 24hr time\n * @example 13:00\n */\n HHmm: 'HH:mm',\n /**\n * 24hr time no leading 0\n * @example 3:00\n */\n Hmm: 'H:mm',\n /**\n * 12hr time with meridian\n * @example 09:30 am\n */\n hhmma: 'hh:mm a',\n /**\n * 24hr time\n * @example 13:30:25\n */\n HHmmss: 'HH:mm:ss',\n /**\n * @example Tuesday, 23 January\n */\n ddddDDMMMM: 'dddd, DD MMMM',\n /**\n * @example Tuesday, 9th April @ 4:24 PM\n */\n ddddDoMMMMatLT: 'dddd, Do MMMM @ LT',\n\n /**\n * ISO date with slashes.\n * @example 2023/10/21\n */\n YYYYMMDDWithSlash: 'YYYY/MM/DD',\n\n /**\n * ISO date with dashes (accepted format of v-date-picker).\n * @example 2023-10-21\n */\n YYYYMMDDWithDash: 'YYYY-MM-DD',\n\n /**\n * Day - Month - Full Year format with dashes.\n * @example 21-10-2023\n */\n DDMMYYYYWithDash: 'DD-MM-YYYY',\n\n /**\n * Day-Month-Year format with slashes\n * @example 21/10/23\n */\n DDMMYYWithSlash: 'DD/MM/YY',\n\n /**\n * Day - Month - Year format with dashes.\n * @example 21-10-23\n */\n DDMMYYWithDash: 'DD-MM-YY',\n /**\n * American format with slashes.\n * @example 03/25/24\n */\n MMDDYYWithSlash: 'MM/DD/YY',\n /**\n * American format with dashes.\n * @example 03/25/24\n */\n MMDDYYWithDash: 'MM-DD-YY',\n /**\n * American format with full year and slashes.\n * @example 03/25/24\n */\n MMDDYYYYWithSlash: 'MM/DD/YYYY',\n /**\n * American format with full year and dashes.\n * @example 03/25/24\n */\n MMDDYYYYWithDash: 'MM-DD-YYYY',\n})\n","export { default } from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-input-text.vue?vue&type=style&index=0&lang=scss&module=true&\"; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-input-text.vue?vue&type=style&index=0&lang=scss&module=true&\"","export const LayoutToggle = Object.freeze({\n TILE: 0,\n LIST: 1,\n MAP: 2,\n})\n","/**\n * Generic class to hold information about emit values\n */\nexport default class EmitEvent {\n constructor({ disabled = false, event = '', value = null } = {}) {\n /**\n * Will prevent event from firing\n * @type {Boolean}\n */\n this.disabled = disabled\n\n /**\n * Name of event to be emitted\n * @type {String}\n */\n this.event = event\n\n /**\n * Value of event to be emitted\n * @type {*}\n */\n this.value = value\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-chip',{class:_vm.labelStyle},[_vm._v(\" \"+_vm._s(_vm.text)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-label.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-label.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-label.vue?vue&type=template&id=0787dd2d&scoped=true&\"\nimport script from \"./_base-label.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-label.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_base-label.vue?vue&type=style&index=0&id=0787dd2d&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 \"0787dd2d\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VChip } from 'vuetify/lib/components/VChip';\ninstallComponents(component, {VChip})\n","export const PermissionLevel = Object.freeze({\n /**\n * Can be either group, client or location level\n */\n GROUP_AND_BELOW: 'group_and_below',\n /**\n * Permissions for strictly the group level\n */\n GROUP: 'group',\n /**\n * Can be either client or location level\n */\n CLIENT_AND_BELOW: 'client_and_below',\n /**\n * Permissions for strictly the client level\n */\n CLIENT: 'client',\n /**\n * Can be either the currently selected client or one of the client's locations\n */\n SELECTED_CLIENT_AND_BELOW: 'selected_client_and_below',\n /**\n * Permissions for strictly the selected client\n */\n SELECTED_CLIENT: 'selected_client',\n /**\n * Permissions for strictly the location level\n */\n LOCATION: 'location',\n})\n","import Vue from 'vue'\nimport { logger } from '@/services/logging/AppLogger'\nimport VueErrorDTO from '@/models/error/vueErrorDTO'\nimport WindowErrorDTO from '@/models/error/windowErrorDTO'\n\n/**\n * Captures the errors that are specific to Vue instances. It would not be able\n * to capture the errors which are outside of Vue instances such as utils files,\n * services etc.\n * @param {*} err complete error trace, contains the `message` and `error stack`\n * @param {*} vm Vue component/instance in which error is occurred\n * @param {*} info Vue specific error information such as lifecycle hooks, events etc.\n */\nVue.config.errorHandler = (err, vm, info) => {\n logger.logError(new VueErrorDTO({ err, vm, info }))\n}\n\n/**\n * Captures unhandled expections outside of the Vue instance\n * @param {String} message A string containing a human-readable error message describing the problem. Same as `ErrorEvent.event`\n * @param {String} source A string containing the URL of the script that generated the error.\n * @param {Number} lineno An integer containing the line number of the script file on which the error occurred.\n * @param {Number} colno An integer containing the column number of the script file on which the error occurred.\n * @param {Error} error The error being thrown. Usually an `Error` object.\n */\nwindow.onerror = function(message, source, lineno, colno, error) {\n logger.logError(new WindowErrorDTO({ message, source, lineno, colno, error }))\n}\n\n/**\n * Captures promise rejections that are not handled by window.onerror\n * @tutorial https://developer.mozilla.org/en-US/docs/Web/API/Window/unhandledrejection_event\n *\n * @param {PromiseRejectionEvent} event\n */\nconst handlePromiseRejection = function(event) {\n logger.logError(event)\n}\n\nwindow.addEventListener('unhandledrejection', handlePromiseRejection)\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-simple-table',_vm._b({staticClass:\"base-simple-table\",style:({ maxHeight: _vm.height }),scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',{staticClass:\"simple-table-head\"},[_c('tr',_vm._l((_vm.allHeaders),function(item){return _c('th',{key:item,staticClass:\"text-left text-capitalize\",class:[_vm.caption, { 'text-center': item === 'remove' }]},[_vm._v(_vm._s(item))])}),0)]),_c('tbody',_vm._l((_vm.tableItems),function(item,index){return _c('tr',{key:index},_vm._l((_vm.itemKeys),function(key){return _c('td',{key:key,class:[\n _vm.smallBody,\n { 'd-flex justify-center align-center': key === 'remove' } ]},[(key === 'remove')?[_c('transition',{attrs:{\"name\":(\"slide-\" + (item.removed ? 'right' : 'left') + \"-icon\"),\"mode\":\"out-in\"}},[(item.removed)?_c('BaseButton',{key:\"undo\",staticClass:\"mx-auto\",class:[_vm.smallBody],attrs:{\"text\":\"\",\"color\":\"grey500\",\"hover-color\":\"grey600\",\"width\":\"97\"},on:{\"click\":function($event){return _vm.toggleRemoved(item.id)}}},[_vm._v(_vm._s(_vm.$t('general.undo')))]):_c('BaseButton',{key:\"remove\",staticClass:\"mx-auto\",attrs:{\"fab\":\"\",\"disabled\":_vm.disableRemove,\"icon\":\"mdi-delete-outline\",\"text\":\"\",\"icon-hover-color\":\"error\",\"hover-color\":\"error lighten-1\",\"icon-color\":\"grey\",\"width\":\"97\"},on:{\"click\":function($event){return _vm.toggleRemoved(item.id)}}})],1)]:[_c('div',{staticClass:\"cell\",class:{\n removed: item.removed,\n }},[_vm._t((key + \"-cell\"),[_vm._v(\" \"+_vm._s(item[key])+\" \")],{\"item\":item})],2)]],2)}),0)}),0)]},proxy:true}])},'v-simple-table',Object.assign({}, _vm.$attrs),false))}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-simple-table.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-simple-table.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-simple-table.vue?vue&type=template&id=3c63ae3e&scoped=true&\"\nimport script from \"./_base-simple-table.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-simple-table.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_base-simple-table.vue?vue&type=style&index=0&id=3c63ae3e&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 \"3c63ae3e\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VSimpleTable } from 'vuetify/lib/components/VDataTable';\ninstallComponents(component, {VSimpleTable})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-menu',{ref:\"dropdownMenu\",attrs:{\"disabled\":_vm.disabled || !_vm.hasMenuItems,\"offset-y\":\"\",\"close-on-content-click\":_vm.closeOnClick},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_vm._t(\"activator\",[_c('BaseButton',_vm._g(_vm._b({attrs:{\"disabled\":_vm.disabled,\"fab\":\"\",\"icon\":_vm.icon,\"active\":\"\"}},'BaseButton',Object.assign({}, _vm.$attrs, attrs),false),on))],null,Object.assign({}, attrs, {on: on, isActive: _vm.isMenuActive}))]}}],null,true),model:{value:(_vm.isMenuActive),callback:function ($$v) {_vm.isMenuActive=$$v},expression:\"isMenuActive\"}},[_c('v-list',{attrs:{\"nav\":\"\",\"two-line\":_vm.subtitles,\"max-width\":_vm.width}},[_vm._l((_vm.menuItems),function(menuItem,index){return [(_vm.isDivider(menuItem))?_c('v-divider',{key:(\"base-dropdown-menu__\" + (menuItem.id) + \"-divider\")}):_vm._e(),(_vm.isActionable(menuItem))?_c('v-list-item',_vm._b({key:(\"base-dropdown-menu__\" + (menuItem.id)),attrs:{\"input-value\":_vm.isSelected(menuItem),\"active-class\":\"active-list-item\",\"disabled\":_vm.disableListItem(menuItem)},on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.handleInteraction(menuItem.interaction)}}},'v-list-item',menuItem.attributes,false),[(_vm.useCandidateImage(menuItem))?_c('CandidateImage',{class:{ 'opacity-50': _vm.disableListItem(menuItem) },attrs:{\"id\":menuItem.candidateId,\"size\":\"sm\",\"full-name\":menuItem.fullName}}):(_vm.compactIcons)?_c('v-icon',{staticClass:\"mr-4 align-unfilled-icon\",attrs:{\"size\":_vm.iconSize,\"color\":_vm.iconColor}},[_vm._v(_vm._s(menuItem.icon))]):_c('v-list-item-icon',[_c('v-icon',[_vm._v(_vm._s(menuItem.icon))])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(menuItem.text)+\" \")]),(_vm.subtitles)?_c('v-list-item-subtitle',{class:menuItem.getSubtitleCSSClasses() || _vm.subtitleColor},[_vm._v(_vm._s(menuItem.getSubtitleText()))]):_vm._e()],1),(_vm.isSelected(menuItem))?_c('v-icon',{attrs:{\"color\":_vm.blue400}},[_vm._v(\"mdi-check\")]):_vm._e()],1):_vm._e(),(_vm.showHeaderDivider(menuItem, index))?_c('v-divider',{key:(\"base-dropdown-menu__\" + (menuItem.id) + \"-divider\"),staticClass:\"mb-2\"}):_vm._e()]})],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default Object.freeze({\n action: 'action',\n divider: 'divider',\n header: 'header',\n})\n","// eslint-disable-next-line no-unused-vars\nimport Interaction from '@/models/general/interaction'\n\nexport default {\n methods: {\n /**\n * Handle interaction based on type\n * @param {Interaction} interaction\n */\n handleInteraction(interaction) {\n if (!interaction.isInteractionPossible()) return\n\n if (interaction.isEmitEvent()) {\n const emitEvent = interaction.getEmitEvent()\n if (emitEvent.disabled) return null\n return this.$emit(emitEvent.event, emitEvent.value)\n }\n\n if (interaction.isRouterLink()) {\n const routerLink = interaction.getRouterLink()\n return this.$router.push(routerLink)\n }\n\n if (interaction.isExternalLink()) {\n const externalLink = interaction.getExternalLink()\n return window.open(externalLink, '_blank')\n }\n\n if (interaction.isFunction()) {\n const func = interaction.getFunction()\n return func()\n }\n },\n },\n}\n","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-dropdown-menu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-dropdown-menu.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-dropdown-menu.vue?vue&type=template&id=14dcc87e&scoped=true&\"\nimport script from \"./_base-dropdown-menu.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-dropdown-menu.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_base-dropdown-menu.vue?vue&type=style&index=0&id=14dcc87e&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 \"14dcc87e\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemIcon } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\ninstallComponents(component, {VDivider,VIcon,VList,VListItem,VListItemContent,VListItemIcon,VListItemSubtitle,VListItemTitle,VMenu})\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-button.vue?vue&type=style&index=0&id=1f42e60c&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ValidationProvider',{attrs:{\"name\":_vm.$attrs.label,\"rules\":_vm.rules},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('v-text-field',_vm._g(_vm._b({attrs:{\"type\":_vm.type,\"error-messages\":errors},model:{value:(_vm.innerValue),callback:function ($$v) {_vm.innerValue=$$v},expression:\"innerValue\"}},'v-text-field',\n _vm.$attrs\n // https://vuejs.org/v2/guide/components-props.html#Disabling-Attribute-Inheritance\n ,false),\n _vm.$listeners\n // https://vuejs.org/v2/guide/components-custom-events.html#Binding-Native-Events-to-Components\n ))]}}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-input-text.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-input-text.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-input-text.vue?vue&type=template&id=6c2d00da&\"\nimport script from \"./_base-input-text.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-input-text.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_base-input-text.vue?vue&type=style&index=0&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\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 injectStyles,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-date-picker.vue?vue&type=style&index=0&id=4dbbd87c&scoped=true&lang=scss&\"","/**\n * Describes environment types related to process.env.NODE_ENV and some custom types\n */\nexport default Object.freeze({\n production: 'production',\n development: 'development',\n unit: 'unit',\n e2e: 'e2e',\n})\n","import store from '@state/store'\nimport i18n from '@plugins/vue-i18n'\nimport { PermissionLevel } from '@/shared/constants/permissions/PermissionLevel'\nimport { PermissionScope } from '@/shared/constants/permissions/PermissionScope'\nimport { PermissionModifier } from '@/shared/constants/permissions/PermissionModifier'\nimport { PermissionRequirement } from '@/shared/constants/permissions/PermissionRequirement'\nimport ErrorPageCodes from '@/shared/constants/error/ErrorPageCodes'\nimport routeDefinitions from '@/shared/constants/routes/routeDefinitions'\n\nexport default [\n {\n ...routeDefinitions.home,\n component: () => lazyLoadView(import('@views/home.vue')),\n meta: {\n title: i18n.t('home.homePageTitle'),\n },\n },\n {\n ...routeDefinitions.timesheets,\n component: () => lazyLoadView(import('@views/timesheets.vue')),\n meta: {\n title: i18n.t('timesheets.pageTitle'),\n permissions: {\n requirement: PermissionRequirement.ALL,\n list: [\n {\n level: PermissionLevel.SELECTED_CLIENT_AND_BELOW,\n scope: PermissionScope.TIMESHEETS,\n modifier: PermissionModifier.VIEW,\n },\n ],\n },\n },\n },\n {\n ...routeDefinitions.candidates,\n component: () => lazyLoadView(import('@views/candidates.vue')),\n meta: {\n title: i18n.t('candidates.pageTitle'),\n permissions: {\n requirement: PermissionRequirement.ONE,\n list: [\n {\n level: PermissionLevel.GROUP_AND_BELOW,\n scope: PermissionScope.BOOKING,\n modifier: PermissionModifier.VIEW,\n },\n {\n level: PermissionLevel.SELECTED_CLIENT_AND_BELOW,\n scope: PermissionScope.TIMESHEETS,\n modifier: PermissionModifier.VIEW,\n },\n {\n level: PermissionLevel.GROUP_AND_BELOW,\n scope: PermissionScope.ACCOUNTS,\n modifier: PermissionModifier.VIEW,\n },\n ],\n },\n },\n },\n {\n ...routeDefinitions.help,\n component: () => lazyLoadView(import('@views/help.vue')),\n meta: {\n title: i18n.t('help.pageTitle'),\n },\n },\n {\n ...routeDefinitions.bookings,\n component: {\n render(c) {\n return c('router-view')\n },\n },\n children: [\n {\n ...routeDefinitions.bookingsCreate,\n component: () => import('@/router/views/bookings/booking-create.vue'),\n meta: {\n title: i18n.t('bookingCreate.pageTitle'),\n permissions: {\n requirement: PermissionRequirement.ONE,\n list: [\n {\n level: PermissionLevel.GROUP_AND_BELOW,\n scope: PermissionScope.BOOKING,\n modifier: PermissionModifier.VIEW,\n },\n {\n level: PermissionLevel.GROUP_AND_BELOW,\n scope: PermissionScope.PENDING_BOOKING,\n modifier: PermissionModifier.CREATE,\n },\n ],\n },\n },\n },\n {\n ...routeDefinitions.bookingsPendingApproval,\n component: () => import('@/router/views/bookings/pending-approval.vue'),\n meta: {\n title: i18n.t('booking.pendingApproval.pageTitle'),\n permissions: {\n requirement: PermissionRequirement.ONE,\n list: [\n {\n level: PermissionLevel.GROUP_AND_BELOW,\n scope: PermissionScope.PENDING_BOOKING,\n modifier: PermissionModifier.VIEW,\n },\n {\n level: PermissionLevel.GROUP_AND_BELOW,\n scope: PermissionScope.PENDING_BOOKING,\n modifier: PermissionModifier.CREATE,\n },\n ],\n },\n },\n },\n ],\n },\n {\n ...routeDefinitions.settings,\n component: () =>\n lazyLoadView(import('@/router/views/settings/settings.vue')),\n },\n {\n ...routeDefinitions.changePassword,\n component: () =>\n lazyLoadView(\n import('@/router/views/settings/settings-change-password.vue')\n ),\n },\n {\n ...routeDefinitions.login,\n component: () => lazyLoadView(import('@views/login.vue')),\n meta: {\n public: true,\n title: i18n.t('login.loginPageTitle'),\n beforeResolve(routeTo, routeFrom, next) {\n // If the user is already logged in\n if (store.getters['auth/isUserLoggedIn']) {\n // Redirect to the home page instead\n next({ name: routeDefinitions.home.name })\n } else {\n // Continue to the login page\n next()\n }\n },\n },\n },\n {\n ...routeDefinitions.impersonateLogout,\n component: () => lazyLoadView(import('@views/impersonate-logout.vue')),\n meta: {\n public: true,\n title: 'Impersonate Logout',\n },\n },\n {\n ...routeDefinitions.impersonateLogin,\n component: () => lazyLoadView(import('@views/login.vue')),\n meta: {\n public: true,\n title: 'Impersonate Login',\n beforeResolve(routeTo, routeFrom, next) {\n // If the user is already logged in\n if (store.getters['auth/isUserLoggedIn']) {\n // Redirect to the home page instead\n next({ name: routeDefinitions.home.name })\n } else {\n // Continue to the login page\n next()\n }\n },\n },\n },\n {\n ...routeDefinitions.finance,\n component: () => lazyLoadView(import('@views/finance.vue')),\n meta: {\n permissions: {\n requirement: PermissionRequirement.ALL,\n list: [\n {\n level: null,\n scope: PermissionScope.ACCOUNTS,\n modifier: PermissionModifier.VIEW,\n },\n ],\n },\n },\n },\n {\n ...routeDefinitions.invoiceDetails,\n component: () =>\n lazyLoadView(import('@/router/views/finance/invoice-view.vue')),\n meta: {\n title: i18n.t('finance.invoiceViewPageTitle'),\n permissions: {\n requirement: PermissionRequirement.ALL,\n list: [\n {\n level: PermissionLevel.GROUP_AND_BELOW,\n scope: PermissionScope.ACCOUNTS,\n modifier: PermissionModifier.VIEW,\n },\n ],\n },\n },\n },\n {\n ...routeDefinitions.logout,\n meta: {\n beforeResolve(routeTo, routeFrom, next) {\n store.dispatch('auth/logOut')\n const authRequiredOnPreviousRoute = routeFrom.matched.some(\n (route) => route.meta.authRequired\n )\n // Navigate back to previous page, or home as a fallback\n next(\n authRequiredOnPreviousRoute\n ? { name: routeDefinitions.home.name }\n : { ...routeFrom }\n )\n },\n },\n },\n {\n path: '/404',\n name: '404',\n redirect: { name: routeDefinitions.notFound.name },\n meta: {\n public: true,\n label: 'Error',\n type: ErrorPageCodes.PAGE_NOT_FOUND.id,\n },\n // Allows props to be passed to the 404 page through route\n // params, such as `resource` to define what wasn't found.\n props: true,\n },\n // Redirect any unmatched routes to the 404 page. This may\n // require some server configuration to work in production:\n // https://router.vuejs.org/en/essentials/history-mode.html#example-server-configurations\n {\n path: '*',\n component: require('@views/_error.vue').default,\n props: true,\n name: routeDefinitions.notFound.name,\n meta: {\n public: true,\n label: 'NotFound',\n type: ErrorPageCodes.PAGE_NOT_FOUND.id,\n },\n },\n {\n path: '/500',\n redirect: { name: routeDefinitions.error.name },\n meta: {\n public: true,\n label: 'Error',\n type: ErrorPageCodes.INTERNAL_SERVER_ERROR.id,\n },\n },\n {\n path: '/401',\n redirect: { name: routeDefinitions.unauthorized.name },\n meta: {\n public: true,\n label: 'Unauthorized',\n type: ErrorPageCodes.UNAUTHORIZED.id,\n icon: 'mdi-account-cancel',\n },\n },\n {\n path: '/403',\n redirect: { name: routeDefinitions.forbidden.name },\n meta: {\n public: true,\n label: 'Forbidden',\n type: ErrorPageCodes.FORBIDDEN.id,\n icon: 'mdi-account-cancel',\n },\n },\n {\n path: '/error',\n redirect: { name: routeDefinitions.error.name },\n meta: {\n public: true,\n label: 'Error',\n type: ErrorPageCodes.INTERNAL_SERVER_ERROR.id,\n },\n },\n {\n path: '*',\n component: require('@views/_error.vue').default,\n props: true,\n name: routeDefinitions.error.name,\n meta: {\n public: true,\n label: 'Error',\n type: ErrorPageCodes.INTERNAL_SERVER_ERROR.id,\n },\n },\n {\n path: '*',\n component: require('@views/_error.vue').default,\n props: true,\n name: routeDefinitions.unauthorized.name,\n meta: {\n public: true,\n label: 'Unauthorized',\n type: ErrorPageCodes.UNAUTHORIZED.id,\n icon: 'mdi-account-cancel',\n },\n },\n {\n path: '*',\n component: require('@views/_error.vue').default,\n props: true,\n name: routeDefinitions.forbidden.name,\n meta: {\n public: true,\n label: 'Forbidden',\n type: ErrorPageCodes.FORBIDDEN.id,\n icon: 'mdi-account-cancel',\n },\n },\n {\n path: '*',\n component: require('@views/_error.vue').default,\n props: true,\n name: routeDefinitions.accountLoadFailure.name,\n meta: {\n public: true,\n label: 'Failed To Load Account',\n type: ErrorPageCodes.ACCOUNT_LOAD_FAILURE.id,\n icon: 'mdi-account-cancel',\n },\n },\n {\n path: '*',\n component: require('@views/_error.vue').default,\n props: true,\n name: routeDefinitions.noServerResponse.name,\n meta: {\n public: true,\n label: 'Unable to contact server',\n type: ErrorPageCodes.NO_SERVER_RESPONSE.id,\n icon: 'mdi-account-cancel',\n },\n },\n {\n path: '*',\n component: require('@views/_error.vue').default,\n props: true,\n name: routeDefinitions.actionLocked.name,\n meta: {\n public: true,\n label: 'Action Locked',\n type: ErrorPageCodes.ACTION_LOCKED.id,\n icon: 'mdi-shield-alert',\n },\n },\n {\n path: '/under-construction',\n name: 'underConstruction',\n component: () => lazyLoadView(import('@views/_under-construction.vue')),\n meta: {\n public: true,\n title: i18n.t('underConstruction.pageTitle'),\n },\n },\n]\n\n/** Lazy-loads view components, but with better UX. A loading view\n * will be used if the component takes a while to load, falling\n * back to a timeout view in case the page fails to load. You can\n * use this component to lazy-load a route with:\n *\n * component: () => lazyLoadView(import('@views/my-view'))\n *\n * NOTE: Components loaded with this strategy DO NOT have access\n * to in-component guards, such as beforeRouteEnter,\n * beforeRouteUpdate, and beforeRouteLeave. You must either use\n * route-level guards instead or lazy-load the component directly:\n *\n * component: () => import('@views/my-view')\n */\nfunction lazyLoadView(AsyncView) {\n const AsyncHandler = () => ({\n component: AsyncView,\n // A component to use while the component is loading.\n loading: require('@views/_loading.vue').default,\n // Delay before showing the loading component.\n // Default: 200 (milliseconds).\n delay: 400,\n // A fallback component in case the timeout is exceeded\n // when loading the component.\n error: require('@views/_timeout.vue').default,\n // Time before giving up trying to load the component.\n // Default: Infinity (milliseconds).\n timeout: 10000,\n })\n\n return Promise.resolve({\n functional: true,\n render(h, { data, children }) {\n // Transparently pass any props or children\n // to the view component.\n return h(AsyncHandler, data, children)\n },\n })\n}\n","import store from '@state/store'\nimport Vue from 'vue'\nimport VueRouter from 'vue-router'\n// https://github.com/declandewet/vue-meta\nimport VueMeta from 'vue-meta'\n// Adds a loading bar at the top during page loads.\nimport NProgress from 'nprogress/nprogress'\nimport { hasAccessToRoute } from '@/helpers/permissions-helpers.js'\nimport ErrorPageCodes from '@/shared/constants/error/ErrorPageCodes'\nimport { getLanguageBasedOnBaseURL } from '@/helpers/language-helpers'\nimport RequestErrorSource from '@/shared/constants/error/RequestErrorSource'\nimport routeDefinitions from '@/shared/constants/routes/routeDefinitions'\nimport routes from './routes'\n\nVue.use(VueRouter)\nVue.use(VueMeta, {\n // The component option name that vue-meta looks for meta info on.\n keyName: 'metaInfo',\n})\n\nconst router = new VueRouter({\n routes,\n // Use the HTML5 history API (i.e. normal-looking routes)\n // instead of routes with hashes (e.g. example.com/#/about).\n // This may require some server configuration in production:\n // https://router.vuejs.org/en/essentials/history-mode.html#example-server-configurations\n mode: 'history',\n // Simulate native-like scroll behavior when navigating to a new\n // route and using back/forward buttons.\n scrollBehavior(to, from, savedPosition) {\n if (savedPosition) {\n return savedPosition\n } else {\n return { x: 0, y: 0 }\n }\n },\n})\n\nconst startRouteLoading = () => {\n // Begin loading animation. Only really required for initial page loads/refreshes.\n if (!store.getters.hasLoadedAppOnce) {\n store.dispatch('startLoadingApp')\n }\n\n // Only display the top loading bar after initial load\n if (store.getters.hasLoadedAppOnce) NProgress.start()\n}\nconst stopRouteLoading = () => {\n // Prevents full page loader showing up on every route change\n if (store.getters.isLoadingApp) {\n store.dispatch('setAppAsLoaded')\n }\n\n // Complete the full page loading animation\n store.dispatch('finishLoadingApp')\n NProgress.done()\n}\n\n// Before each route evaluates...\nrouter.beforeEach(async (routeTo, routeFrom, next) => {\n // Check if auth is required on this route\n // (including nested routes).\n const isPublic = routeTo.matched.some((route) => route.meta.public)\n\n // If auth isn't required for the route, just continue.\n if (isPublic) return next()\n\n startRouteLoading()\n\n // If auth is required and the user isn't logged in...\n if (!store.getters['auth/isUserLoggedIn']) {\n // Retrieve another access token...\n try {\n const validToken = await store.dispatch('auth/refreshToken')\n\n // Then continue if the token is valid & was acquired successfully,\n // otherwise redirect to login.\n if (!validToken.isSuccess || !store.getters['auth/isUserLoggedIn']) {\n throw new Error('Could not refresh access token')\n }\n } catch {\n return redirectToLandingPage()\n }\n }\n\n // Get user's profile if not already set or isn't fresh\n if (\n !store.getters['auth/currentUser'] ||\n !store.getters['auth/permissions'] ||\n store.getters['auth/permissions'].length === 0\n ) {\n try {\n // throw new Error()\n const loadUserProfileResult = await store.dispatch(\n 'auth/getCurrentUserProfile'\n )\n\n if (!loadUserProfileResult.isSuccess)\n return getErrorPageRedirectByStatusCode(loadUserProfileResult)\n\n // Set locale loaded in with profile\n await store.dispatch('setLocale', loadUserProfileResult.data.language)\n } catch (ex) {\n return redirectToErrorPage(ErrorPageCodes.ACCOUNT_LOAD_FAILURE.routeName)\n }\n }\n\n // If auth is required and the user is NOT currently logged in,\n // redirect to login.\n if (\n !store.getters['auth/isUserLoggedIn'] ||\n !store.getters['auth/currentUser']\n )\n redirectToLandingPage()\n\n // Check if the cached selected clients exist within loaded permissions\n if (\n store.getters['client/mapSelectedClientsToClientsInPermissions'].length ===\n 0\n ) {\n const allClients = store.getters['auth/getAllClients']\n\n if (!allClients || allClients.length === 0) {\n return redirectToErrorPage()\n }\n\n await store.dispatch(\n 'client/setClientList',\n allClients.map((client) => client.clientId)\n )\n }\n\n // TODO: Handle client owner details TASK #12722\n // Loading the first client's owner for now\n // Load the contact's rep if they aren't loaded yet\n if (\n !store.getters['client/owner'](\n store.getters['client/getSelectedClients'][0]\n )\n ) {\n store.dispatch(\n 'client/loadClientAdditionalInformation',\n store.getters['client/getSelectedClients'][0]\n )\n }\n\n // Check if permissions are required for route\n if (!hasAccessToRoute(routeTo, store))\n redirectToErrorPage(ErrorPageCodes.FORBIDDEN.routeName)\n\n return next()\n\n function redirectToLandingPage() {\n stopRouteLoading()\n\n // To complete the redirect auth step for MSAL they should be directed to\n // impersonate login instead of the landing page\n if (store.getters['auth/hasImpersonateContactId']) {\n return next({ name: routeDefinitions.login.name })\n }\n\n // Pass the original route to the login component\n window.location.href = `${getLanguageBasedOnBaseURL()}/landing`\n }\n\n function redirectToErrorPage(errorPageName = 'ErrorPage') {\n stopRouteLoading()\n next({ name: errorPageName, params: [routeTo.path], replace: true })\n }\n\n function getErrorPageRedirectByStatusCode(response) {\n switch (response.error.source) {\n case RequestErrorSource.server: {\n const statusCode = response.error._error.response.status\n switch (statusCode) {\n case ErrorPageCodes.FORBIDDEN.statusCode:\n return redirectToErrorPage(ErrorPageCodes.FORBIDDEN.routeName)\n case ErrorPageCodes.UNAUTHORIZED.statusCode:\n return redirectToErrorPage(ErrorPageCodes.UNAUTHORIZED.routeName)\n case ErrorPageCodes.BAD_REQUEST.statusCode:\n return redirectToErrorPage(ErrorPageCodes.BAD_REQUEST.routeName)\n default:\n return redirectToErrorPage(\n ErrorPageCodes.INTERNAL_SERVER_ERROR.routeName\n )\n }\n }\n case RequestErrorSource.request:\n return redirectToErrorPage(ErrorPageCodes.NO_SERVER_RESPONSE.routeName)\n default:\n return redirectToErrorPage(\n ErrorPageCodes.ACCOUNT_LOAD_FAILURE.routeName\n )\n }\n }\n})\n\nrouter.beforeResolve(async (routeTo, routeFrom, next) => {\n // Create a `beforeResolve` hook, which fires whenever\n // `beforeRouteEnter` and `beforeRouteUpdate` would. This\n // allows us to ensure data is fetched even when params change,\n // but the resolved route does not. We put it in `meta` to\n // indicate that it's a hook we created, rather than part of\n // Vue Router (yet?).\n try {\n // For each matched route...\n for (const route of routeTo.matched) {\n await new Promise((resolve, reject) => {\n // If a `beforeResolve` hook is defined, call it with\n // the same arguments as the `beforeEnter` hook.\n if (route.meta && route.meta.beforeResolve) {\n route.meta.beforeResolve(routeTo, routeFrom, (...args) => {\n // If the user chose to redirect...\n if (args.length) {\n // If redirecting to the same route we're coming from...\n if (routeFrom.name === args[0].name) {\n // Complete the animation of the route progress bar.\n NProgress.done()\n }\n // Complete the redirect.\n next(...args)\n reject(new Error('Redirected'))\n } else {\n resolve()\n }\n })\n } else {\n // Otherwise, continue resolving the route.\n resolve()\n }\n })\n }\n // If a `beforeResolve` hook chose to redirect, just return.\n } catch (error) {\n return\n }\n\n // If we reach this point, continue resolving the route.\n next()\n})\n\n// When each route is finished evaluating...\nrouter.afterEach((routeTo, routeFrom) => {\n // Complete the animation of the route progress bar.\n stopRouteLoading()\n})\n\nexport default router\n","// Globally register all base components for convenience, because they\n// will be used very frequently. Components are registered using the\n// PascalCased version of their file name.\n\nimport Vue from 'vue'\n\n// https://webpack.js.org/guides/dependency-management/#require-context\nconst requireComponent = require.context(\n // Look for files in the current directory\n '.',\n // Do not look in subdirectories\n false,\n // Only include \"_base-\" prefixed .vue files\n /_base-[\\w-]+\\.vue$/\n)\n\n// For each matching file name...\nrequireComponent.keys().forEach((fileName) => {\n // Get the component config\n const componentConfig = requireComponent(fileName)\n // Get the PascalCase version of the component name\n const componentName = fileName\n // Remove the \"./_\" from the beginning\n .replace(/^\\.\\/_/, '')\n // Remove the file extension from the end\n .replace(/\\.\\w+$/, '')\n // Split up kebabs\n .split('-')\n // Upper case\n .map((kebab) => kebab.charAt(0).toUpperCase() + kebab.slice(1))\n // Concatenated\n .join('')\n\n // Globally register the component\n Vue.component(componentName, componentConfig.default || componentConfig)\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"candidateImage mr-5\"},[_c('UserAvatar',{attrs:{\"name\":_vm.compFullName,\"size\":_vm.size,\"font-size\":_vm.fontSize,\"clickable\":_vm.id > 0 && _vm.clickable,\"rounded\":_vm.rounded,\"badge\":_vm.showPreferredIcon,\"badge-icon\":\"mdi-star\",\"badge-color\":\"orange accent-2\",\"image-url\":_vm.profilePicture},on:{\"click\":function($event){return _vm.$emit('click')}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./candidate-image.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./candidate-image.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./candidate-image.vue?vue&type=template&id=156c7e84&\"\nimport script from \"./candidate-image.vue?vue&type=script&lang=js&\"\nexport * from \"./candidate-image.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","// generated by genversion\nexport const version = '1.0.0';\n","import Vue from 'vue'\nimport { version } from '@root/lib/version'\nconst { get, has, set, merge } = require('lodash')\n\n// Load config based on environment\nconst env = process.env.NODE_ENV\n\n// Merge in additional config\nconst config = {\n // Props\n env,\n appVersion: version,\n sameDayBookingCutOffTime: '08:00', // Should be moved to another setting later, possible client by client basis\n password: {\n minChars: 8,\n allowedCharsRegex: /[(@!#?$%^&*)(+=._-]{1,}/,\n },\n ...Vue.prototype.$config,\n\n // Methods\n get(path) {\n return get(this, path)\n },\n has(path) {\n return has(this, path)\n },\n set(path, value) {\n return set(this, path, value)\n },\n load(obj) {\n merge(this, obj)\n },\n}\n\nexport default config\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDev)?_c('v-system-bar',{attrs:{\"app\":\"\",\"dark\":\"\",\"color\":\"purple\"}},[_c('v-icon',[_vm._v(\"mdi-wrench\")]),_c('span',[_vm._v(\" Dev Mode \")]),_c('v-spacer'),_c('span',{staticClass:\"mr-4 caption\"},[_c('v-switch',{attrs:{\"id\":\"debug-toggle\",\"input-value\":_vm.debugToggle},on:{\"change\":_vm.toggleDebugMode},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_c('span',{staticClass:\"caption\"},[_vm._v(\"Enable Debug Mode\")])]},proxy:true}],null,false,3585174715)})],1),(!_vm.isMobileViewPort)?_c('span',{staticClass:\"mr-4\"},[_c('v-icon',[_vm._v(\"mdi-code-tags\")]),_c('span',[_vm._v(_vm._s((\"v\" + _vm.appVersion)))])],1):_vm._e()],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./the-debug-bar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./the-debug-bar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./the-debug-bar.vue?vue&type=template&id=1d4309ae&\"\nimport script from \"./the-debug-bar.vue?vue&type=script&lang=js&\"\nexport * from \"./the-debug-bar.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VSystemBar } from 'vuetify/lib/components/VSystemBar';\ninstallComponents(component, {VIcon,VSpacer,VSwitch,VSystemBar})\n","/**\n * @typedef {Object} ClientLoginLocationViewModelType\n * @property {number} locationId - The ID of the location.\n * @property {string} locationName - The name of the location.\n * @property {number} clientId - The ID of the client.\n * @property {string} clientName - The name of the client.\n * @property {number} clientTypeInt - The integer representation of the client type.\n * @property {number} clientGroupId - The ID of the client group.\n * @property {string} clientGroupName - The name of the client group.\n * @property {string} startTime - The start time of operations.\n * @property {string} endTime - The end time of operations.\n * @property {number} locationLunchBreakMinutes - The duration of the lunch break in minutes.\n * @property {boolean} submittedByTemplateRequired - Indicates if submission by template is required.\n * @property {string} addressLine1 - The first line of the address.\n * @property {string} addressLine2 - The second line of the address.\n * @property {string} suburb - The suburb of the location.\n * @property {string} postcode - The postcode of the location.\n * @property {string} state - The state of the location.\n * @property {string} country - The country of the location.\n * @property {string} timeZone - The timezone of the location.\n */\n\nexport default class ClientLoginLocationViewModel {\n /** @param {ClientLoginLocationViewModelType} params */\n constructor(params) {\n this.locationId = params.locationId\n this.locationName = params.locationName\n this.clientId = params.clientId\n this.clientName = params.clientName\n this.clientTypeInt = params.clientTypeInt\n this.clientGroupId = params.clientGroupId\n this.clientGroupName = params.clientGroupName\n this.startTime = params.startTime\n this.endTime = params.endTime\n this.locationLunchBreakMinutes = params.locationLunchBreakMinutes\n this.submittedByTemplateRequired = params.submittedByTemplateRequired\n this.addressLine1 = params.addressLine1\n this.addressLine2 = params.addressLine2\n this.suburb = params.suburb\n this.postcode = params.postcode\n this.state = params.state\n this.country = params.country\n this.timeZone = params.timeZone\n }\n}\n","export const LogoShade = Object.freeze({\n DARK: 'Dark',\n LIGHT: 'Light',\n WHITE: 'White',\n})\n","var map = {\n\t\"./_base-button.vue\": \"8339\",\n\t\"./_base-checkbox-list.vue\": \"4626\",\n\t\"./_base-date-picker.vue\": \"eacb\",\n\t\"./_base-dropdown-menu.vue\": \"99ca\",\n\t\"./_base-icon.vue\": \"670f\",\n\t\"./_base-input-select.vue\": \"16e5\",\n\t\"./_base-input-text.vue\": \"9c57\",\n\t\"./_base-label.vue\": \"9681\",\n\t\"./_base-link.vue\": \"cbd4\",\n\t\"./_base-logo.vue\": \"b7c5\",\n\t\"./_base-modal.vue\": \"80b6\",\n\t\"./_base-page-title.vue\": \"feda\",\n\t\"./_base-simple-table.vue\": \"99ac\",\n\t\"./_base-split-btn.vue\": \"c3bd\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"b526\";","export default class ShiftRecordBreakDto {\n constructor({ type, startTime, endTime } = {}) {\n /**\n * The type of break that was taken\n * @type {String}\n * @see {ShiftRecordBreakType} for valid range of values\n */\n this.type = type\n /**\n * Start time of block in 24 hr format\n * @type {String}\n * @example 08:30\n */\n this.startTime = startTime\n /**\n * End time of block in 24 hr format\n * @type {String}\n * @example 15:30\n */\n this.endTime = endTime\n }\n}\n","/* eslint-disable no-unused-vars */\nimport { isNonEmptyArray } from '@/helpers/array-helpers'\nimport dayjs from '@/services/date/index'\nimport ShiftRecordBreakDto from '../shiftRecords/shiftRecordBreakDto'\nimport CandidateTimesheetModificationsViewModel from './candidateTimesheetModificationsViewModel'\n\nexport default class TimesheetsPendingApprovalViewModel {\n constructor({\n locationId = 0,\n locationName,\n locationTimeZone,\n clientId = 0,\n clientName,\n clientGroupId = 0,\n payOptionType,\n payOptionTypes = [],\n unitType,\n bookingId = 0,\n startTimeLocal,\n endTimeLocal,\n startTimeUTC,\n endTimeUTC,\n candidateId = 0,\n candidateFirstName,\n candidateLastName,\n candidatePreferredName,\n candidateFullName,\n breakMinutes = 0,\n isApprovedByCandidate = true,\n breaks = [],\n timesheetMethod,\n bookingStatus,\n candidateBookingModifications,\n } = {}) {\n /**\n * @type {Number}\n */\n this.locationId = locationId\n\n /**\n * @type {String}\n */\n this.locationName = locationName\n\n /**\n * @type {String}\n */\n this.locationTimeZone = locationTimeZone\n\n /**\n * @type {Number}\n */\n this.clientId = clientId\n\n /**\n * @type {String}\n */\n this.clientName = clientName\n\n /**\n * @type {Number}\n */\n this.clientGroupId = clientGroupId\n\n /**\n * @type {String}\n */\n this.payOptionType = payOptionType\n\n /**\n * @type {Array}\n */\n this.payOptionTypes = isNonEmptyArray(payOptionTypes) ? payOptionTypes : []\n\n /**\n * @type {String}\n * @see {RateUnitType} for valid range of values\n */\n this.unitType = unitType\n\n /**\n * @type {Number}\n */\n this.bookingId = bookingId\n\n /**\n * @type {Date}\n */\n this.startTimeLocal = startTimeLocal ? dayjs(startTimeLocal) : null\n\n /**\n * @type {Date}\n */\n this.endTimeLocal = endTimeLocal ? dayjs(endTimeLocal) : null\n\n /**\n * @type {Date}\n */\n this.startTimeUTC = startTimeUTC ? dayjs.utc(startTimeUTC) : null\n\n /**\n * @type {Date}\n */\n this.endTimeUTC = endTimeUTC ? dayjs.utc(endTimeUTC) : null\n\n /**\n * @type {Number}\n */\n this.candidateId = candidateId\n\n /**\n * @type {String}\n */\n this.candidateFirstName = candidateFirstName\n\n /**\n * @type {String}\n */\n this.candidateLastName = candidateLastName\n\n /**\n * @type {String}\n */\n this.candidatePreferredName = candidatePreferredName\n\n /**\n * @type {String}\n */\n this.candidateFullName = candidateFullName\n\n /**\n * @type {Number}\n */\n this.breakMinutes = breakMinutes\n\n /**\n * @type {Boolean}\n */\n this.isApprovedByCandidate = isApprovedByCandidate\n\n /**\n * @type {Array}\n */\n this.breaks = isNonEmptyArray(breaks)\n ? breaks.map((breakTaken) => new ShiftRecordBreakDto(breakTaken))\n : []\n\n /**\n * @type {String}\n * @see {TimesheetMethod} for valid range of values\n */\n this.timesheetMethod = timesheetMethod\n\n /**\n * @type {Number}\n * @see {BookingStatus} for valid range of values\n */\n this.bookingStatus = bookingStatus\n\n /**\n * @type {CandidateTimesheetModificationsViewModel}\n */\n this.candidateBookingModifications = candidateBookingModifications\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{attrs:{\"href\":_vm.compHref,\"target\":_vm.compTarget}},[_c('v-img',_vm._g(_vm._b({staticClass:\"base-logo\",attrs:{\"src\":_vm.compSrc,\"title\":_vm.compAltText,\"alt\":_vm.compAltText,\"contain\":\"\"}},'v-img',Object.assign({}, _vm.commonAttributes, _vm.$attrs),false),_vm.$listeners))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const LogoType = Object.freeze({\n COMPANY: 'company', // Company logo\n APP: 'app', // App logo (Ready2Book)\n})\n","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-logo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-logo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-logo.vue?vue&type=template&id=201a930c&\"\nimport script from \"./_base-logo.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-logo.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VImg } from 'vuetify/lib/components/VImg';\ninstallComponents(component, {VImg})\n","/**\n * Checks if an array contains any items.\n * @param {Array} arr The array to check.\n * @returns True, if the array contains items. Otherwise, false.\n * @obsolete Use isNullOrEmptyArray instead\n */\nexport const isNonEmptyArray = (arr) => !isNullOrEmptyArray(arr)\n\n/**\n * Checks whether an object is both an array and is empty.\n * @param arr {any}\n * @return {boolean} true if not an array or empty. Otherwise, false.\n */\nexport const isNullOrEmptyArray = (arr) =>\n !arr || !Array.isArray(arr) || arr.length === 0\n\n/**\n * Checks whether all elements within the given array are of a certain type e.g. typeof === 'string'\n * @param arr\n * @param type {string}\n * @return {boolean} true if all elements are of type. False if not array or not all elements are of same type\n */\nexport const isArrayOfType = (arr, type) => {\n return (\n arr &&\n Array.isArray(arr) &&\n arr.length &&\n // eslint-disable-next-line valid-typeof\n arr.every((i) => typeof i === type)\n )\n}\n","/**\n * @typedef {Object} ClientSelectorTreeViewDtoType\n * @property {number} id - Unique identifier\n * @property {string} name\n * @property {boolean} locked - Disables node and children\n * @property {string[]} locations\n */\n\n/**\n * @class\n */\nexport default class ClientSelectorTreeViewDto {\n /**\n * Create a new ClientSelectorTreeViewDto.\n * @param {...ClientSelectorTreeViewDtoType} params\n */\n constructor(params) {\n this.id = params.id\n this.name = params.name\n this.locked = params.locked\n this.locations = params.locations\n }\n}\n","export default Object.freeze({\n /**\n * Something happened in setting up the request that triggered an Error\n */\n unknown: 'unknown',\n /**\n * The request was made and the server responded with a status code\n * that falls out of the range of 2xx\n */\n server: 'server',\n /**\n * The request was made but no response was received\n */\n request: 'request',\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-item-group',{class:['v-btn-toggle', _vm.dense ? 'v-btn-toggle--dense' : '']},[_c('v-btn',_vm._g(_vm._b({},'v-btn',_vm.$attrs,false),_vm.$listeners),[_vm._t(\"default\")],2),_c('v-menu',{attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({},'v-btn',Object.assign({}, attrs, _vm.$attrs),false),on),[_c('v-icon',[_vm._v(\"mdi-chevron-down\")])],1)]}}])},[_vm._t(\"menu\",[_c('v-list',{attrs:{\"dense\":\"\"}},[_c('v-list-item',[_c('v-list-item-title',[_vm._v(\"Item 1\")])],1)],1)])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-split-btn.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-split-btn.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-split-btn.vue?vue&type=template&id=3dc910f6&\"\nimport script from \"./_base-split-btn.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-split-btn.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VItemGroup } from 'vuetify/lib/components/VItemGroup';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\ninstallComponents(component, {VBtn,VIcon,VItemGroup,VList,VListItem,VListItemTitle,VMenu})\n","import Vue from 'vue'\nimport Toast, { POSITION } from 'vue-toastification'\nimport 'vue-toastification/dist/index.css'\n\n// Options: https://github.com/Maronato/vue-toastification/tree/main#plugin-registration-vueuse\nconst options = {\n position: POSITION.BOTTOM_CENTER,\n}\n\nVue.use(Toast, options)\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.href)?_c('a',_vm._g(_vm._b({attrs:{\"href\":_vm.href,\"target\":\"_blank\"}},'a',_vm.$attrs,false),_vm.$listeners),[_vm._t(\"default\"),(_vm.showExternalLinkIcon)?_c('v-icon',_vm._b({staticClass:\"ml-1\",attrs:{\"small\":\"\"}},'v-icon',_vm.$attrs,false),[_vm._v(\"mdi-open-in-new\")]):_vm._e()],2):_c('RouterLink',_vm._g(_vm._b({attrs:{\"to\":_vm.routerLinkTo}},'RouterLink',_vm.$attrs,false),_vm.$listeners),[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-link.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-link.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-link.vue?vue&type=template&id=882bf89a&\"\nimport script from \"./_base-link.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-link.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VIcon})\n","export default Object.freeze({\n blue: 'blue',\n yellow: 'yellow',\n red: 'red',\n green: 'green',\n purple: 'purple',\n grey: 'grey',\n})\n","export default Object.freeze({\n dark: 'dark',\n light: 'light',\n inverted: 'inverted',\n})\n","import dayjs from 'dayjs'\nimport relativeTime from 'dayjs/plugin/relativeTime'\nimport localizedFormat from 'dayjs/plugin/localizedFormat'\nimport isoWeek from 'dayjs/plugin/isoWeek'\nimport advancedFormat from 'dayjs/plugin/advancedFormat'\nimport isBetween from 'dayjs/plugin/isBetween'\nimport duration from 'dayjs/plugin/duration'\nimport utc from 'dayjs/plugin/utc'\nimport isSameOrBefore from 'dayjs/plugin/isSameOrBefore'\nimport isSameOrAfter from 'dayjs/plugin/isSameOrAfter'\nimport objectSupport from 'dayjs/plugin/objectSupport'\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\nimport isToday from 'dayjs/plugin/isToday'\nimport isYesterday from 'dayjs/plugin/isYesterday'\nimport timezone from 'dayjs/plugin/timezone'\n// TODO: Any new supported i18n locales should have their dayjs equivalent imported here\nimport 'dayjs/locale/en-au'\nimport 'dayjs/locale/en-nz'\nimport 'dayjs/locale/en-ca'\nimport 'dayjs/locale/en-gb'\nimport localeData from 'dayjs/plugin/localeData'\n\ndayjs.extend(customParseFormat)\ndayjs.extend(objectSupport)\ndayjs.extend(isSameOrBefore)\ndayjs.extend(isSameOrAfter)\ndayjs.extend(utc)\ndayjs.extend(timezone)\ndayjs.extend(duration)\ndayjs.extend(isBetween)\ndayjs.extend(advancedFormat)\ndayjs.extend(relativeTime)\ndayjs.extend(localizedFormat)\ndayjs.extend(isoWeek)\ndayjs.extend(isToday)\ndayjs.extend(isYesterday)\ndayjs.extend(localeData)\n\nexport default dayjs\n","export { default } from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_timeout.vue?vue&type=style&index=0&lang=scss&module=true&\"; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-0-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-0-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-0-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_timeout.vue?vue&type=style&index=0&lang=scss&module=true&\"","/**\n * Truncates any string provided\n * @param {String} text String to be truncated\n * @param {Number} limit String length before truncating. Default: 0\n * @param {String} delimiter Defaults to '...'\n * @returns Truncated string\n */\nexport default (text, limit = 0, delimiter = '...') => {\n if (typeof text !== 'string')\n throw Error('Invalid data type for text (Expected String)')\n\n if (typeof limit !== 'number')\n throw Error('Invalid data type for limit (Expected Number)')\n\n if (typeof delimiter !== 'string')\n throw Error('Invalid data type for delimiter (Expected String)')\n\n if (limit === 0) return text\n\n if (text.length > limit) text = text.substring(0, limit) + delimiter\n\n return text\n}\n","/**\n * The error event is fired on a Window object when a resource failed to load or couldn't be used — for example if a script has an execution error.\n * @tutorial https://developer.mozilla.org/en-US/docs/Web/API/Window/error_event\n */\nexport default class WindowErrorDTO {\n constructor({ message, source, lineno, colno, error } = {}) {\n /**\n * @type {String} message A string containing a human-readable error message describing the problem. Same as `ErrorEvent.event`\n */\n this.message = message\n\n /**\n * @type {String} source A string containing the URL of the script that generated the error.\n */\n this.source = source\n\n /**\n * @type {Number} lineno An integer containing the line number of the script file on which the error occurred.\n */\n this.lineno = lineno\n\n /**\n * @type {Number} colno An integer containing the column number of the script file on which the error occurred.\n */\n this.colno = colno\n\n /**\n * @type {Error} error The error being thrown. Usually an `Error` object.\n */\n this.error = error\n }\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_error.vue?vue&type=style&index=0&id=4161b4e7&lang=scss&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-modal.vue?vue&type=style&index=0&id=0bac717c&scoped=true&lang=css&\"","// Locales\nimport en from '@/locales/en.json'\nimport enUS from '@/locales/en-US.json'\nimport enCA from '@/locales/en-CA.json'\nimport enNZ from '@/locales/en-NZ.json'\nimport enGB from '@/locales/en-GB.json'\nimport enAU from '@/locales/en-AU.json'\n\n// https://kazupon.github.io/vue-i18n/api/#constructor-options\nconst vueI18nSettings = {\n // messages: The locale messages of localization.\n messages: {\n en,\n 'en-US': enUS,\n 'en-CA': enCA,\n 'en-NZ': enNZ,\n 'en-GB': enGB,\n 'en-AU': enAU,\n },\n numberFormats: {\n 'en-US': {\n currency: {\n style: 'currency',\n currency: 'USD',\n },\n },\n 'en-AU': {\n currency: {\n style: 'currency',\n currency: 'AUD',\n },\n },\n 'en-NZ': {\n currency: {\n style: 'currency',\n currency: 'NZD',\n },\n },\n 'en-GB': {\n currency: {\n style: 'currency',\n currency: 'GBP',\n },\n },\n 'en-CA': {\n currency: {\n style: 'currency',\n currency: 'CAD',\n },\n },\n },\n dateTimeFormats: {\n en: {\n time: {\n hour: '2-digit',\n minute: '2-digit',\n hour12: true,\n },\n time24: {\n hour: '2-digit',\n minute: '2-digit',\n hour12: false,\n },\n dateShort: {\n day: 'numeric',\n month: 'short',\n },\n dateFormatted: {\n day: 'numeric',\n month: 'short',\n year: 'numeric',\n },\n },\n 'en-AU': {\n dateShort: {\n day: 'numeric',\n month: 'short',\n },\n dateFormatted: {\n day: 'numeric',\n month: 'short',\n year: 'numeric',\n },\n },\n 'en-NZ': {\n dateShort: {\n day: 'numeric',\n month: 'short',\n },\n dateFormatted: {\n day: 'numeric',\n month: 'short',\n year: 'numeric',\n },\n },\n 'en-GB': {\n dateShort: {\n day: 'numeric',\n month: 'short',\n },\n dateFormatted: {\n day: 'numeric',\n month: 'short',\n year: 'numeric',\n },\n },\n 'en-CA': {\n dateShort: {\n day: 'numeric',\n month: 'short',\n },\n dateFormatted: {\n day: 'numeric',\n month: 'short',\n year: 'numeric',\n },\n },\n 'en-US': {\n dateShort: {\n day: 'numeric',\n month: 'short',\n },\n dateFormatted: {\n day: 'numeric',\n month: 'short',\n year: 'numeric',\n },\n },\n },\n // silentTranslationWarn: Whether suppress warnings outputted when localization fails.\n silentTranslationWarn: true,\n // silentFallbackWarn: Whether suppress fallback warnings when localization fails.\n silentFallbackWarn: true,\n}\n\nexport default vueI18nSettings\n","import Vue from 'vue'\nimport VueI18n from 'vue-i18n'\nimport { getLanguageBasedOnBaseURL } from '@/helpers/language-helpers'\nimport vueI18nSettings from '@/locales/setup/index'\n\nVue.use(VueI18n)\n\n// https://kazupon.github.io/vue-i18n/api/#constructor-options\nexport default new VueI18n({\n // locale: The locale of localization. If the locale contains a territory and a dialect, this locale contains an implicit fallback.\n locale: getLanguageBasedOnBaseURL(),\n ...vueI18nSettings,\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseModal',{attrs:{\"width\":\"280\",\"persistent\":\"\",\"hide-cancel\":\"\",\"hide-padding\":\"\",\"border-radius\":\"8px\"},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('v-text-field',{staticClass:\"date-picker-text-field text-wrap\",class:_vm.textFieldClasses,attrs:{\"label\":_vm.label,\"outlined\":\"\",\"filled\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"clearable\":_vm.isMultiDate,\"readonly\":_vm.isMultiDate,\"background-color\":_vm.textFieldBackground},model:{value:(_vm.formattedInternalDate),callback:function ($$v) {_vm.formattedInternalDate=$$v},expression:\"formattedInternalDate\"}})]},proxy:true},{key:\"actions\",fn:function(){return [_c('BaseButton',{attrs:{\"tertiary-blue\":\"\",\"sm\":\"\",\"width\":\"79\"},on:{\"click\":_vm.close}},[_vm._v(_vm._s(_vm.$t('general.cancel')))]),_c('BaseButton',{attrs:{\"tertiary-blue\":\"\",\"sm\":\"\",\"width\":\"47\",\"disabled\":_vm.isOkDisabled},on:{\"click\":_vm.confirm}},[_vm._v(_vm._s(_vm.$t('general.ok')))])]},proxy:true}]),model:{value:(_vm.isOpen),callback:function ($$v) {_vm.isOpen=$$v},expression:\"isOpen\"}},[_c('v-date-picker',_vm._b({staticClass:\"my-2 date-picker\",class:_vm.smallBody,attrs:{\"no-title\":\"\",\"full-width\":\"\",\"color\":\"primary\",\"multiple\":_vm.multiple,\"range\":_vm.range},model:{value:(_vm.internalDate),callback:function ($$v) {_vm.internalDate=$$v},expression:\"internalDate\"}},'v-date-picker',_vm.$attrs,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-date-picker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-date-picker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-date-picker.vue?vue&type=template&id=4dbbd87c&scoped=true&\"\nimport script from \"./_base-date-picker.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-date-picker.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_base-date-picker.vue?vue&type=style&index=0&id=4dbbd87c&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4dbbd87c\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VDatePicker,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-tooltip',{attrs:{\"disabled\":!_vm.tooltip,\"data-tooltip-text\":_vm.tooltipText,\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-badge',{attrs:{\"value\":_vm.badge,\"bottom\":\"\",\"dot\":_vm.badgeDot,\"icon\":_vm.badgeIcon,\"color\":_vm.badgeColor,\"offset-x\":_vm.badgeOffsetX,\"offset-y\":_vm.badgeOffsetY,\"data-badge-icon\":_vm.badgeIcon,\"data-badge-color\":_vm.badgeColor,\"bordered\":\"\",\"overlap\":\"\",\"avatar\":\"\"}},[(_vm.name)?_c('v-avatar',_vm._g({class:[\n _vm.transparentOutline ? 'avatarOutline' : '',\n _vm.border ? 'border border--white border--width-2' : '',\n _vm.rounded ? 'rounded-lg' : '',\n _vm.clickable ? 'pointer' : '',\n _vm.clickable ? 'avatarcontainer' : '' ],attrs:{\"data-testid\":\"user-avatar\",\"left\":_vm.left,\"rounded\":_vm.rounded,\"size\":_vm.compAvatarSize,\"color\":_vm.color.background},on:{\"click\":function($event){return _vm.$emit('click')}}},on),[_vm._t(\"default\",[_c('div',{staticClass:\"zoomicon\",attrs:{\"if\":\"clickable\"}},[_c('v-icon',{attrs:{\"color\":\"white\"}},[_vm._v(\"mdi-magnify-plus-outline\")]),_vm._v(\"asd\")],1),(_vm.imageUrl)?_c('v-img',{attrs:{\"src\":_vm.imageUrl,\"alt\":_vm.name + ' profile picture'}}):_c('span',{class:['font-weight-regular text-uppercase'],style:(_vm.compInitialTextStyle),attrs:{\"data-testid\":\"user-avatar-initials\"}},[_vm._v(\" \"+_vm._s(_vm.initials)+\" \")])])],2):_vm._e()],1)]}}],null,true),model:{value:(_vm.tooltipEnabled),callback:function ($$v) {_vm.tooltipEnabled=$$v},expression:\"tooltipEnabled\"}},[_vm._t(\"tooltip\",[_c('span',[_vm._v(\" \"+_vm._s(_vm.tooltipText)+\" \")])])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import ColorSet from '@/models/general/colorSet'\n\n// Hash any string into an integer value\nexport const hashCode = (str, hash) => {\n if (hash === undefined) {\n hash = 0\n }\n for (let i = 0; i < str.length; i++) {\n hash = str.charCodeAt(i) + ((hash << 5) - hash)\n }\n return hash\n}\n\n// Convert an int to hexadecimal with a max length\n// of six characters.\nexport const intToARGB = (i) => {\n const h =\n ((i >> 24) & 0xff).toString(16) +\n ((i >> 16) & 0xff).toString(16) +\n ((i >> 8) & 0xff).toString(16) +\n (i & 0xff).toString(16)\n return h.substring(0, 6)\n}\n\nexport const hexToRgb = (hex) => {\n const result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex)\n return result\n ? {\n r: parseInt(result[1], 16),\n g: parseInt(result[2], 16),\n b: parseInt(result[3], 16),\n }\n : null\n}\n\nconst COLOURS = {\n red: new ColorSet({ background: '#f7b4b4', foreground: '#5e0909' }),\n orange: new ColorSet({ background: '#f5c6b8', foreground: '#5c1f0c' }),\n light_orange: new ColorSet({ background: '#f8deb5', foreground: '#603e09' }),\n yellow: new ColorSet({ background: '#fbefb8', foreground: '#675505' }),\n light_green: new ColorSet({ background: '#d6e7aa', foreground: '#374413' }),\n aqua: new ColorSet({ background: '#aed0c1', foreground: '#1c3127' }),\n blue: new ColorSet({ background: '#a6e5e1', foreground: '#13413f' }),\n light_blue: new ColorSet({ background: '#cef3f1', foreground: '#175e5a' }),\n dark_blue: new ColorSet({ background: '#a2b9e8', foreground: '#102143' }),\n purple: new ColorSet({ background: '#c6c1f3', foreground: '#18115c' }),\n light_purple: new ColorSet({ background: '#d9b5e9', foreground: '#3a164a' }),\n pink: new ColorSet({ background: '#fcd4f7', foreground: '#750868' }),\n dark_pink: new ColorSet({ background: '#f8b7d8', foreground: '#610936' }),\n dark_red: new ColorSet({ background: '#fdcbcc', foreground: '#750307' }),\n ateam_purple: new ColorSet({ background: '#ede7f6', foreground: '#3d3088' }),\n anzuk_blue: new ColorSet({ background: '#ceffff', foreground: '#00acef' }),\n}\n\nconst COLOURS_LIST = Object.values(COLOURS)\n\nexport const avatarColourSets = COLOURS\nexport const stringToPredefinedColourSet = (string) => {\n if (!string || !string.trim()) return COLOURS.ateam_purple\n return COLOURS_LIST[Math.abs(hashCode(string)) % COLOURS_LIST.length]\n}\nexport const stringToPredefinedForegroundColour = (string) =>\n stringToPredefinedColourSet(string).foreground\nexport const stringToPredefinedBackgroundColour = (string) =>\n stringToPredefinedColourSet(string).background\n\nexport const returnHTMLColor = (str) => intToARGB(hashCode(str))\n","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./user-avatar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./user-avatar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./user-avatar.vue?vue&type=template&id=b5041b52&scoped=true&\"\nimport script from \"./user-avatar.vue?vue&type=script&lang=js&\"\nexport * from \"./user-avatar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./user-avatar.vue?vue&type=style&index=0&id=b5041b52&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 \"b5041b52\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAvatar } from 'vuetify/lib/components/VAvatar';\nimport { VBadge } from 'vuetify/lib/components/VBadge';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAvatar,VBadge,VIcon,VImg,VTooltip})\n","export const PermissionScope = Object.freeze({\n ACCOUNTS: 'accounts',\n BOOKING: 'booking',\n TIMESHEETS: 'timesheets',\n REPLACE_ME: 'replaceMe',\n PENDING_BOOKING: 'pendingBooking',\n})\n","// eslint-disable-next-line no-unused-vars\nimport InteractionType from '@/shared/constants/core/InteractionType'\n// eslint-disable-next-line no-unused-vars\nimport EmitEvent from './emitEvent'\n\n/**\n * Describes an interaction when the user clicks a UI element\n */\nexport default class Interaction {\n /**\n * @param {{type: InteractionType, value: EmitEvent|URL|Object|Function}}\n */\n constructor({ type, value } = {}) {\n /**\n * @type {String}\n * @see {InteractionType} for valid range of values\n */\n this.type = type\n\n /**\n * Contains data required to action interation\n * @type {EmitEvent|URL|Object|Function}\n */\n this.value = value\n }\n\n /**\n * @returns {Boolean}\n */\n isEmitEvent() {\n return this.type === InteractionType.emitEvent\n }\n\n /**\n * @returns {Boolean}\n */\n isRouterLink() {\n return this.type === InteractionType.routerLink\n }\n\n /**\n * @returns {Boolean}\n */\n isExternalLink() {\n return this.type === InteractionType.externalLink\n }\n\n /**\n * @returns {Boolean}\n */\n isFunction() {\n return this.type === InteractionType.function\n }\n\n /**\n * Determines if an interaction is even possible\n * @returns {Boolean}\n */\n isInteractionPossible() {\n return (\n this.isEmitEvent ||\n this.isRouterLink ||\n this.isExternalLink ||\n this.isFunction\n )\n }\n\n /**\n * @returns {EmitEvent}\n */\n getEmitEvent() {\n if (!this.isEmitEvent())\n throw new TypeError('This interaction is not an emit event')\n return this.value\n }\n\n /**\n * @returns {RouterLink}\n */\n getRouterLink() {\n if (!this.isRouterLink())\n throw new TypeError('This interaction is not a router link')\n return this.value\n }\n\n /**\n * @returns {URL}\n */\n getExternalLink() {\n if (!this.isExternalLink())\n throw new TypeError('This interaction is not an external link')\n return this.value\n }\n\n /**\n * @returns {Function}\n */\n getFunction() {\n if (!this.isFunction())\n throw new TypeError('This interaction is not an action function')\n return this.value\n }\n}\n","/**\n *\n * @param {String} time e.g. '09:30'\n * @returns Object e.g. { hours: 8, minutes: 0 }\n */\nexport default function parseTimeStringToObject(time) {\n // e.g. ['09', '30']\n const splitTime = time.split(':')\n\n // If not a valid time, return base value\n if (!splitTime || splitTime.length !== 2) {\n throw new Error(`Invalid time format. Should be HH:mm. Received: ${time}`)\n }\n\n const parseHours = parseInt(splitTime[0])\n const parseMinutes = parseInt(splitTime[1])\n\n if (isNaN(parseHours)) {\n throw new Error(\n `Unable to parse hours time part. Received: ${splitTime[0]}`\n )\n }\n\n if (isNaN(parseMinutes)) {\n throw new Error(\n `Unable to parse minutes time part. Received: ${splitTime[1]}`\n )\n }\n\n return { hours: parseHours, minutes: parseMinutes }\n}\n","const MILLISECONDS_PER_SECOND = 1000\nconst SECONDS_PER_MINUTE = 60\nconst MINUTES_PER_HOUR = 60\nconst HOURS_PER_DAY = 24\nconst DAYS_PER_WEEK = 7\n\nconst MILLISECONDS_PER_MINUTE = MILLISECONDS_PER_SECOND * SECONDS_PER_MINUTE\nconst MILLISECONDS_PER_HOUR = MILLISECONDS_PER_MINUTE * MINUTES_PER_HOUR\nconst MILLISECONDS_PER_DAY = MILLISECONDS_PER_HOUR * HOURS_PER_DAY\nconst MILLISECONDS_PER_WEEK = MILLISECONDS_PER_DAY * DAYS_PER_WEEK\n\nexport default {\n MILLISECONDS_PER_SECOND,\n SECONDS_PER_MINUTE,\n MINUTES_PER_HOUR,\n HOURS_PER_DAY,\n DAYS_PER_WEEK,\n MILLISECONDS_PER_MINUTE,\n MILLISECONDS_PER_HOUR,\n MILLISECONDS_PER_DAY,\n MILLISECONDS_PER_WEEK,\n}\n","import DateTokens from './DateFormatToken'\n\nconst {\n YYYYMMDDWithSlash,\n YYYYMMDDWithDash,\n MMDDYYWithSlash,\n MMDDYYWithDash,\n MMDDYYYYWithSlash,\n MMDDYYYYWithDash,\n DDMMYYYYWithSlash,\n DDMMYYYYWithDash,\n DDMMYYWithSlash,\n DDMMYYWithDash,\n} = DateTokens\n\nexport const AusDateFormats = [\n DDMMYYWithSlash,\n DDMMYYWithDash,\n DDMMYYYYWithSlash,\n DDMMYYYYWithDash,\n YYYYMMDDWithDash,\n YYYYMMDDWithSlash,\n]\n\nexport const USADateFormats = [\n MMDDYYWithSlash,\n MMDDYYWithDash,\n MMDDYYYYWithSlash,\n MMDDYYYYWithDash,\n YYYYMMDDWithDash,\n YYYYMMDDWithSlash,\n]\n","export default {\n computed: {\n getLocale() {\n return this.$i18n.locale\n },\n isUSALoginOrLocation() {\n return this.getLocale === 'en-US'\n },\n isAUSLoginOrLocation() {\n return this.getLocale === 'en-AU'\n },\n },\n}\n","import { mapGetters } from 'vuex'\nimport dayjs from '@/services/date'\nimport parseTimeStringToObject from '@/utils/parse-time-string-to-object'\nimport config from '@/common/config'\nimport { PermissionScope } from '@/shared/constants/permissions/PermissionScope'\nimport formatDate from '@/utils/format-date'\nimport { DayOfWeek } from '@/shared/constants/date/DayOfWeek'\nimport TimeDenominations from '@/shared/constants/date/TimeDenominations'\nimport DateFormatToken from '@/shared/constants/date/DateFormatToken'\nimport {\n AusDateFormats,\n USADateFormats,\n} from '@/shared/constants/date/DateFormats'\nimport { DurationUnits } from '@/shared/constants/date/DurationUnits'\nimport locationMixin from './locationMixin'\n\nconst { SATURDAY, SUNDAY, MONDAY } = DayOfWeek\n\nconst {\n MILLISECONDS_PER_SECOND,\n MILLISECONDS_PER_MINUTE,\n MILLISECONDS_PER_HOUR,\n MILLISECONDS_PER_DAY,\n MILLISECONDS_PER_WEEK,\n} = TimeDenominations\n\nexport default {\n mixins: [locationMixin],\n data: () => ({\n usaShortDateFormat: DateFormatToken.MMDDYYWithSlash,\n ausShortDateFormat: DateFormatToken.DDMMYYWithSlash,\n durationUnits: DurationUnits,\n dateFormatToken: DateFormatToken,\n }),\n computed: {\n ...mapGetters({\n getSelectedClients: 'client/getSelectedClients',\n getAllClientLocationsWithPermission:\n 'auth/getAllClientLocationsWithPermission',\n }),\n dateFormats() {\n return this.isUSALoginOrLocation ? USADateFormats : AusDateFormats\n },\n firstDayOfWeek() {\n return this.isUSALoginOrLocation ? SUNDAY : MONDAY\n },\n compSameDayCutOffObject() {\n try {\n return parseTimeStringToObject(config.get('sameDayBookingCutOffTime'))\n } catch (ex) {\n console.warn(\n 'Failed to parse same day cut off time. Defaulting to 8:00 am'\n )\n return { hours: 8, minutes: 0 }\n }\n },\n /**\n * TODO: Re-write to handle multi-client.\n * Should also be relocated into component as this logic isn't shared\n * and will make the implementation less complex.\n */\n hasAtLeastOneLocationNotPassedSameDayCutOff() {\n const locations = this.getAllClientLocationsWithPermission(\n this.getSelectedClients[0],\n PermissionScope.BOOKING\n )\n\n if (!locations || locations.length < 0) return false\n\n for (const location of locations) {\n if (!this.hasPassedSameDayCutOff(location.timeZone)) return true\n }\n\n return false\n },\n localShortDateFormat() {\n return (\n this.dateFormats.find((format) =>\n [this.ausShortDateFormat, this.usaShortDateFormat].includes(format)\n ) || this.ausShortDateFormat\n )\n },\n },\n methods: {\n /**\n * Returns a new date object\n * @returns {Date}\n */\n getDate(date) {\n return dayjs(date).toDate()\n },\n /**\n * Returns a date object that represents today's date\n * @returns {Date}\n */\n getTodaysDate() {\n return this.getDate()\n },\n /**\n * This indicates whether the date is before the other supplied date-time.\n *\n * ```js\n * this.isBefore('2011-01-01', '2011-01-02') // default milliseconds\n * ```\n *\n * If you want to limit the granularity to a unit other than milliseconds,\n * pass it as the second parameter.\n *\n * In that case, the comparison respects the given unit and the units above.\n *\n * ```js\n * this.isBefore('2011-01-01', '2011-01-02', DurationUnits.MONTH) // compares month and year\n * ```\n *\n * @param {*} dateA\n * @param {*} dateB\n * @param {string?} unit - See {@link DurationUnits} for full list of units\n * @returns {boolean}\n */\n isBefore(dateA, dateB, unit) {\n return dayjs(dateA).isBefore(dayjs(dateB), unit)\n },\n /**\n * Indicates if a date is same or before another date.\n *\n * ```js\n * this.isSameOrBefore('2011-01-01', '2011-01-02', DurationUnits.MONTH) // compares month and year\n * ```\n *\n * @param {*} dateA\n * @param {*} dateB\n * @param {string?} unit - See {@link DurationUnits} for full list of units\n * @returns {boolean}\n */\n isSameOrBefore(dateA, dateB, unit) {\n return dayjs(dateA).isSameOrBefore(dateB, unit)\n },\n /**\n * Indicates if a date is same or after another date.\n *\n * ```js\n * this.isSameOrAfter('2011-01-01', '2011-01-02', DurationUnits.MONTH) // compares month and year\n * ```\n *\n * @param {*} dateA\n * @param {*} dateB\n * @param {string?} unit - See {@link DurationUnits} for full list of units\n * @returns {boolean}\n */\n isSameOrAfter(dateA, dateB, unit) {\n return dayjs(dateA).isSameOrAfter(dateB, unit)\n },\n /**\n * This indicates whether the date object is after the other supplied date-time.\n *\n * ```js\n * this.isAfter('2011-01-02', '2011-01-01') // default milliseconds\n * ```\n *\n * If you want to limit the granularity to a unit other than milliseconds,\n * pass it as the second parameter. In that case the comparision respects\n * the given unit and the units above.\n *\n * ```js\n * this.isAfter('2011-01-02', '2011-01-01', DurationUnits.MONTH) // compares month and year\n * ```\n *\n * @param {*} dateA\n * @param {*} dateB\n * @param {string?} unit - See {@link DurationUnits} for full list of units\n * @returns {boolean}\n */\n isAfter(dateA, dateB, unit) {\n return dayjs(dateA).isAfter(dayjs(dateB), unit)\n },\n /**\n * This indicates whether the date is the same as the other supplied date-time.\n *\n * ```js\n * this.isSame('2011-01-01', '2011-01-01') // default milliseconds\n * ```\n * If you want to limit the granularity to a unit other than milliseconds,\n * pass it as the third parameter.\n *\n * When including a third parameter, it will match all units equal or larger.\n * Passing in month will check month and year.\n * Passing in day will check day, month, and year.\n *\n * ```js\n * this.isSame('2011-01-01', '2011-01-01', DurationUnits.YEAR) // true\n * ```\n *\n * @param {*} dateA\n * @param {*} dateB\n * @param {string?} unit - See {@link DurationUnits} for full list of units\n * @returns\n */\n isSame(dateA, dateB, unit) {\n return dayjs(dateA).isSame(dayjs(dateB), unit)\n },\n /**\n * Returns a date object and sets it to the start of a unit of time.\n *\n * ```js\n * this.startOf('2025-04-01', DurationUnits.YEAR)\n * ```\n *\n * @param {*} date\n * @param {string} unit - See {@link DurationUnits} for full list of units\n * @returns {Date}\n */\n startOf(date, unit) {\n return dayjs(date).startOf(unit).toDate()\n },\n /**\n * This indicates the difference between two date-time in the specified unit.\n *\n * The difference is defaulted to milliseconds if no unit is provided\n *\n * ```js\n * this.diff('2019-01-25', '2018-06-05') // 20214000000 default milliseconds\n * ```\n *\n * To get the difference in another unit of measurement, pass that\n * measurement as the second argument.\n *\n * ```js\n * this.diff('2019-01-25', '2018-06-05', DurationUnits.MONTH) // 7\n * ```\n *\n * @param {*} dateA\n * @param {*} dateB\n * @param {string} unit - See {@link DurationUnits} for full list of units\n * @returns\n */\n diff(dateA, dateB, unit) {\n return dayjs(dateA).diff(dateB, unit)\n },\n /**\n * Generates a duration object that is used in other functions.\n *\n * For example, the humanReadableDuration function\n *\n * Usage:\n * ```js\n * this.duration(this.diff('2019-01-25', '2018-06-05'))\n * ```\n *\n * @param {*} difference\n * @param {string?} unit - See {@link DurationUnits} for full list of units\n * @returns\n */\n duration(difference, unit) {\n return dayjs.duration(difference, unit)\n },\n /**\n * Returns a human readable duration based on the difference between\n * two dates.\n *\n * ```js\n * this.humanReadableDuration('2019-01-25', '2019-01-26') // a day\n * ```\n *\n * Setting the 3rd parameter will set how the difference is compared. Defaults to {@link DurationUnits.DAY}.\n * See `diff()` for more details.\n *\n * Setting the 4th parameter to true will add a suffix to the string\n *\n * ```js\n * this.humanReadableDuration('2019-01-25T10:30:00', '2019-01-25T10:29:00', DurationUnits.MINUTE, true) // a minute ago\n * ```\n *\n * @param {*} dateA\n * @param {*} dateB\n * @param {string?} unit - See {@link DurationUnits} for full list of units (Default: {@link DurationUnits.DAY})\n * @param {boolean?} displaySuffix adds suffix to duration string (e.g. in a minute)\n * @returns {string}\n */\n humanReadableDuration(\n dateA,\n dateB,\n unit = DurationUnits.DAY,\n displaySuffix = false\n ) {\n return this.duration(this.diff(dateA, dateB, unit), unit).humanize(\n displaySuffix\n )\n },\n /**\n * Returns a new date object with a specified amount of time added\n *\n * ```js\n * this.dateAdd('2019-01-25', 1, DurationUnits.DAY) // date object that represents 2019-01-26\n * ```\n *\n * @param {*} date\n * @param {number} amount\n * @param {string} unit - See {@link DurationUnits} for full list of units\n * @returns {Date}\n */\n dateAdd(date, amount, unit) {\n return dayjs(date).add(amount, unit).toDate()\n },\n /**\n * Returns a new date object with a specified amount of time subtracted\n *\n * ```js\n * this.dateSubtract('2019-01-25', 1, DurationUnits.DAY) // date object that represents 2019-01-24\n * ```\n *\n * @param {*} date\n * @param {number} amount\n * @param {string} unit - See {@link DurationUnits} for full list of units\n * @returns {Date}\n */\n dateSubtract(date, amount, unit) {\n return dayjs(date).subtract(amount, unit).toDate()\n },\n formatDate,\n formatDateToFriendlyString(rawDate) {\n const date = typeof rawDate === 'string' ? new Date(rawDate) : rawDate\n const day = date.getDate()\n const month = date.toLocaleString('en-US', { month: 'long' })\n const year = date.getFullYear()\n\n return `${this.getOrdinalSuffix(day)} ${month} ${year}`\n },\n formatTimesToFriendlyDuration(startDate, endDate) {\n const timeFormat = DateFormatToken.Hmm\n\n const startTime = this.formatDate(startDate, timeFormat)\n const endTime = this.formatDate(endDate, timeFormat)\n\n return `${startTime} - ${endTime}`\n },\n convertDateToTimezone(date, tz) {\n return dayjs(date).tz(tz)\n },\n isValidDate(dateStr) {\n if (typeof dateStr !== 'string' || dateStr.length < 8) return false\n\n return dayjs(dateStr, this.dateFormats, true).isValid()\n },\n dateIsWeekday(date) {\n const parsedDate = typeof date === 'string' ? new Date(date) : date\n return ![SATURDAY, SUNDAY].includes(parsedDate.getDay())\n },\n adjustDateToNextWeekday(date) {\n const EXTRA_DAYS_FOR_WEEKEND = {\n [SATURDAY]: 2,\n [SUNDAY]: 1,\n }\n const extraDays = EXTRA_DAYS_FOR_WEEKEND[date.getDay()] || 0\n date.setDate(date.getDate() + extraDays)\n return date\n },\n getDateSpanDuration(startDateStr, endDateStr, durationType) {\n if (!startDateStr || !endDateStr) return null\n\n const startDate = new Date(startDateStr)\n const endDate = new Date(endDateStr)\n\n // Calc absolute diff in ms\n const diffTime = Math.abs(endDate - startDate)\n\n switch (durationType) {\n case 'seconds':\n return Math.ceil(diffTime / MILLISECONDS_PER_SECOND)\n case 'minutes':\n return Math.ceil(diffTime / MILLISECONDS_PER_MINUTE)\n case 'hours':\n return Math.ceil(diffTime / MILLISECONDS_PER_HOUR)\n case 'days':\n return Math.floor(diffTime / MILLISECONDS_PER_DAY)\n case 'weeks':\n return Math.floor(diffTime / MILLISECONDS_PER_WEEK)\n default:\n return Math.floor(diffTime / MILLISECONDS_PER_DAY)\n }\n },\n getOrdinalSuffix(day) {\n // Range where the \"th\" suffix always applies (4 through 20)\n const LOWER_BOUND_TH = 4\n const UPPER_BOUND_TH = 20\n\n if (day >= LOWER_BOUND_TH && day <= UPPER_BOUND_TH) {\n return `${day}th`\n }\n\n // Constants for switch cases (last digit of the day)\n const FIRST_DIGIT = 1\n const SECOND_DIGIT = 2\n const THIRD_DIGIT = 3\n\n switch (day % 10) {\n case FIRST_DIGIT:\n return `${day}st`\n case SECOND_DIGIT:\n return `${day}nd`\n case THIRD_DIGIT:\n return `${day}rd`\n default:\n return `${day}th`\n }\n },\n hasPassedSameDayCutOff(timezone) {\n const today = dayjs().tz(timezone)\n const cutOff = dayjs()\n .tz(timezone)\n .startOf('day')\n .add(this.compSameDayCutOffObject)\n\n return today.isAfter(cutOff)\n },\n isDateOnWeekend(date) {\n const { SATURDAY, SUNDAY } = DayOfWeek\n const parsedDate = typeof date === 'string' ? new Date(date) : date\n\n return [SATURDAY, SUNDAY].includes(dayjs(parsedDate).day())\n },\n },\n}\n","/**\n * List of units available from https://day.js.org/docs/en/display/difference\n */\nexport const DurationUnits = Object.freeze({\n DAY: 'd',\n WEEK: 'w',\n QUARTER: 'Q',\n MONTH: 'M',\n YEAR: 'y',\n HOUR: 'h',\n MINUTE: 'm',\n SECOND: 's',\n MILLISECOND: 'ms',\n})\n","export default class VueErrorDTO {\n constructor({ err, vm, info } = {}) {\n /**\n * @type {Object} complete error trace, contains the `message` and `error stack`\n */\n this.err = err\n\n /**\n * @type {Object} Vue component/instance in which error is occurred\n */\n this.vm = vm\n\n /**\n * @type {Object} info Vue specific error information such as lifecycle hooks, events etc.\n */\n this.info = info\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.offlineConfirmed)?_c('Layout',[_c('h1',{class:_vm.$style.title},[_vm._v(\" The page timed out while loading. Are you sure you're still connected to the Internet? \")])]):_c('LoadingView')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_timeout.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_timeout.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_timeout.vue?vue&type=template&id=c7520ae8&\"\nimport script from \"./_timeout.vue?vue&type=script&lang=js&\"\nexport * from \"./_timeout.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_timeout.vue?vue&type=style&index=0&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\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 injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","import { nanoid } from 'nanoid'\n\n/**\n * @property {String} id - id of the table item\n */\n\nexport default class SimpleTableItem {\n constructor() {\n this.id = nanoid()\n\n /**\n * Whether the table item is removed or not (only relevant if removable prop active)\n * @type {Boolean}\n */\n this.removed = false\n }\n}\n","export default class StoreErrorDTO {\n constructor({ err, module, errorResponse, logIpAddress = false } = {}) {\n /**\n * @type {Error} complete error trace, contains the `message` and `error stack`\n */\n this.err = err\n\n /**\n * @type {String} Name of module the error occurred in\n */\n this.module = module\n\n /**\n * @type {ErrorResponse} Object that determines which error page to display based on error returned from response\n */\n this.errorResponse = errorResponse\n\n /**\n * @type {Boolean} Indicates whether or not to log the user's IP address\n */\n this.logIpAddress = logIpAddress\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{class:[_vm.isMobileViewPort ? 'mb-4' : 'mb-8', 'd-flex align-center mt-3']},[_vm._t(\"leftAction\"),_c('header',[(_vm.subtitleOnTop)?_c('h4',{class:_vm.subtitleClass,attrs:{\"id\":\"page-subtitle\"}},[_vm._v(\" \"+_vm._s(_vm.subtitle)+\" \")]):_vm._e(),_vm._t(\"title\",[_c('h2',{class:[\n !_vm.isMobileViewPort ? ((_vm.textClass.h5) + \" d-inline-block\") : _vm.textClass.h6,\n _vm.subtitleOnTop ? 'mt-0 mb-8' : 'mb-0' ],attrs:{\"id\":\"page-title\"}},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_vm._t(\"appendTitle\")]),_vm._t(\"bottomSubtitle\",[(!_vm.subtitleOnTop)?_c('h4',{class:_vm.subtitleClass,attrs:{\"id\":\"page-subtitle\"}},[_vm._v(\" \"+_vm._s(_vm.subtitle)+\" \")]):_vm._e()])],2)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-page-title.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_base-page-title.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_base-page-title.vue?vue&type=template&id=093bc5ec&\"\nimport script from \"./_base-page-title.vue?vue&type=script&lang=js&\"\nexport * from \"./_base-page-title.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"],"sourceRoot":""}