{"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/models/bookings/responses/bookingOverviewCountsViewModel.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","resourceName","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","this","_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","hasSelectedAllItems","items","hasSelectedSomeItems","watch","$emit","newVal","created","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","transformedPerms","perms","cloneDeep","group","access","clients","client","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","metaInfo","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","mounted","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","app","truncateText","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","VCardText","VListItemSubtitle","VSpacer","VToolbar","VToolbarTitle","ServiceStatusDialog","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","titleTemplate","$store","handleOutsideClick","isOpen","assign","persistent","hideHeader","$slots","header","close","hideHeaderDivider","hidePadding","hideActions","hideActionsDivider","hideCancel","BaseButton","prop","Boolean","borderRadius","resizeDuration","set","val","cardStyles","transitionDuration","keys","styles","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","xxl","iconBtnSizeMap","dotBtnSizeMap","fabSizeMap","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","configKeys","activeProps","cleanedProps","setDynamicVars","getMappedValue","textColorClass","textSizeClass","addEventListener","beforeDestroy","removeEventListener","overideCondition","overideValue","handleClick","deactivate","$el","contains","VHover","LogoForm","FULL","SHORT","ICON","NONE","DayOfWeek","SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","ColorSet","foreground","background","PublicClientApplication","initResultObject","isSuccess","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","find","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","logIn","commit","password","root","signInWithEmailAndPassword","finally","handleRedirect","currentAccounts","getAllAccounts","msalAlreadyLoggedInRedirect","nuke","showNotifications","redirect","setUnauthenticated","clearImpersonateId","msalLogIn","loginRequest","scopes","loginRedirect","noNotificationReq","some","v","toast","msalLogOut","payload","getUserFromMsalProvider","myAccounts","msalRefreshToken","acquireTokenSilent","acquireTokenPopup","logOut","firebaseLogOut","refreshToken","getAccessTokenOrRefresh","isAccessTokenFresh","DurationUnits","MINUTE","firebaseRefreshToken","getIdToken","idToken","resetPasswordAsync","sendPasswordResetEmail","reauthenticateWithCredentialsAsync","credentials","EmailAuthProvider","credential","reauthenticateWithCredential","changePasswordAsync","updatePassword","newPass","getCurrentUserProfile","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","fetchUser","rootState","matchedUser","axios","isLoading","isLoadingCRUD","getInvoiceByInvoiceNo","invoiceNo","invoices","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","loadClientAdditionalInformation","cId","isCached","getAdditionalDetails","loadClientGrades","getClientGrades","loadClientClassifications","getClientClassifications","validateSelectedClient","clientExistsInPermissionTree","loadClientGroupOverviewSchoolStatus","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","loadInvoices","pageSize","skip","take","currentPage","getOustandingInvoicesCount","outstandingInvoicesCount","downloadInvoiceFile","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","loadTimesheetsSummary","cIds","getTimesheetsSummary","loadTimesheets","loadTimesheetsFilteredByCandidate","getTimesheetsFilteredByCandidate","submitTimesheetsForApproval","post","HttpStatusCodes","downloadTimesheet","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","loadCandidate","getCandidateDetails","getCandidateList","clientID","getDisplayPic","pictureExists","base64ProfileImg","download","fileId","createFileAccessToken","accessKey","baseURL","fileURL","fileResponse","toasts","downloadGeneralFile","filePath","getGeneralFile","getType","VuexResponse","updateFnName","commitKey","transformFn","startName","finishName","loadingKey","hasLoadingFns","hasLoadingKey","showLoading","startLoading","transformer","finishLoading","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","loadBookingsByClientAndDate","getSummaryBookingsByDate","withLoading","withFailureToast","go","loadYearOfBookingOverviewData","getBookingOverview","year","withCommit","submitBooking","requestFeedbackFormUrl","getFeedbackFormUrl","bookingId","submitQuickFeedback","checkReplaceMeStatus","submitReplaceMeBooking","getSelectedDayText","isNextMonday","cancelBooking","cancelReason","getExtendBookingCandidates","endDateLocal","extendBooking","withSuccessToast","bookingContacts","bookingContactsLoadingCount","standardBookingDetailsLoadingCount","contacts","isLoadingBookingContacts","START_LOADING_BOOKING_CONTACTS","FINISH_LOADING_BOOKING_CONTACTS","SET_CLIENT_BOOKING_CONTACTS","loadBookingContacts","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","loadBookingLocations","getBookingLocations","mappedLocations","ClientLoginLocationViewModel","loadLocationCertifications","getLocationCertifications","loadLocationBookingBlocks","getLocationBookingBlocks","pendingFeedback","feedback","pendingFeedbackCacheObj","SET_PENDING_FEEDBACK","SET_FEEDBACK_AS_COMPLETE","foundClientFeedbackList","foundBookingFeedback","bookingID","feedbackCompleted","getPendingFeedbacks","pendingfeedbacks","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","mockSubmitPendingApproval","sleep","loadPendingApprovals","pendingBookings","withLoadingByKey","transform","loadApprovalDetails","submitPendingApproval","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","args","query","apiVersion","mapQueryParams","retry","method","providedHeaders","isBlob","impersonateHeader","Authorization","responseType","compileRequestConfig","handleErrors","execute","queryParams","join","ReadOnlyApiService","getUrl","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","setLocale","locale","setFavicon","favicon","querySelector","fetchServiceStatus","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","activeItems","useModeledItems","tableItems","allHeaders","allExcludedKeys","itemKeys","extraColumns","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","isMultiOption","BaseDropdownMenuItemType","isHeader","closeMenu","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","redirectToLandingPage","redirectToErrorPage","getErrorPageRedirectByStatusCode","errorPageName","isPublic","validToken","loadUserProfileResult","language","allClients","requireComponent","forEach","componentConfig","componentName","kebab","charAt","toUpperCase","compFullName","fontSize","clickable","rounded","showPreferredIcon","profilePicture","profileImgSrc","version","has","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","isTelOrEmailLink","test","showExternalLinkIcon","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","validDates","emptyPickerVal","handleError","initialArrayDateValue","initialStringDateValue","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","compFontSize","fontFromAvatarSize","compInitialTextStyle","handler","initUserObj","deep","generateInitials","allNames","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","beforeCreate","SimpleTableItem","nanoid","subtitleClass","subtitle","subtitleOnTop","backButton"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgB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7d,SAAS,GAEX+3D,cAAe,CACb9hE,KAAM8J,OACNC,QAAS,GAAf,4CAEIk4D,WAAY,CACVjiE,KAAM4nB,WCzB8U,I,YCOtVld,EAAY,eACd,EACAhD,EACA+B,GACA,EACA,KACA,KACA,MAIa,aAAAiB,E","file":"js/app-legacy.5be93e19.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) + \"-legacy.\" + {\"chunk-0ee70fad\":\"7745ff67\",\"chunk-0f41ff96\":\"f334e334\",\"chunk-102d8a90\":\"64f89a8d\",\"chunk-d81bd55c\":\"5defeb5a\",\"chunk-39e07481\":\"330c58b8\",\"chunk-f8a68942\":\"bf0b45c5\",\"chunk-02aca6e1\":\"8da99f9c\",\"chunk-f2a36196\":\"0bef2372\",\"chunk-f56c2052\":\"cf45d9d0\",\"chunk-2d0db300\":\"1c293790\",\"chunk-3b487c08\":\"d282ee03\",\"chunk-5e4fc95a\":\"7323eafc\",\"chunk-ce9ca848\":\"76f263e3\",\"chunk-673067a0\":\"19f6e1d5\",\"chunk-2d0b99d7\":\"e1374785\",\"chunk-2d0f0a4c\":\"92826fe0\",\"chunk-849a6cd0\":\"fe39fdc0\"}[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-0ee70fad\":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-ce9ca848\":1,\"chunk-673067a0\":1,\"chunk-849a6cd0\":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-0ee70fad\":\"c8468b2f\",\"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-ce9ca848\":\"ecdacd10\",\"chunk-673067a0\":\"63221a93\",\"chunk-2d0b99d7\":\"31d6cfe0\",\"chunk-2d0f0a4c\":\"31d6cfe0\",\"chunk-849a6cd0\":\"841066ee\"}[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","/**\n * @typedef {Object} BookingOverviewCountsViewModelType\n * @property {string} dateLocal\n * @property {number} totalBookingsCount\n * @property {number} openBookingsCount\n */\n\n/**\n * Class representing a booking overview view model.\n */\nexport class BookingOverviewCountsViewModel {\n /**\n * Create a booking overview view model.\n * @param {BookingOverviewCountsViewModelType} params\n */\n constructor(params) {\n this.dateLocal = params.dateLocal\n this.totalBookingsCount = params.totalBookingsCount\n this.openBookingsCount = params.openBookingsCount\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":""}