{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/store/storeConstants.js","webpack:///./src/plugins/configuration.js","webpack:///./src/store/index.js","webpack:///./src/roleConstants.js","webpack:///./src/services/auth-service.js","webpack:///./src/plugins/vuetify.js","webpack:///./src/filters/currency.js","webpack:///./src/filters/percentage.js","webpack:///./src/filters/direction.js","webpack:///./src/YouTubeLayout.vue?f663","webpack:///./src/components/LoginButton.vue?4f5e","webpack:///src/components/LoginButton.vue","webpack:///./src/components/LoginButton.vue?efa4","webpack:///./src/components/LoginButton.vue","webpack:///./src/components/CountdownTimer.vue?b255","webpack:///src/components/CountdownTimer.vue","webpack:///./src/components/CountdownTimer.vue?6b4a","webpack:///./src/components/CountdownTimer.vue","webpack:///src/YouTubeLayout.vue","webpack:///./src/YouTubeLayout.vue?1b57","webpack:///./src/YouTubeLayout.vue?844a","webpack:///./src/modules/bus-run-manager/store/index.js","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/YouTubeLayout.vue?1d40","webpack:///./src/plugins/axiosInstance.js","webpack:///./src/assets/ASNTransfers-100x28.jpg","webpack:///./src/modules/bus-run-manager/store/storeConstants.js"],"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","SET_IS_AUTHENTICATED","SET_CURRENT_USER_DISPLAY_NAME","SET_CURRENT_USER_FIRST_NAME","SET_CURRENT_USER_LAST_NAME","SET_CURRENT_USER_EMAIL","SET_CURRENT_USER_IDP","SET_USER_ROLES","SET_COMPANY_ID","SET_AUTH_TOKEN_EXPIRY","SET_DEPARTING_FLIGHTS","SET_ARRIVING_FLIGHTS","SET_ALL_PICKUP_TIMES","SET_PICKUP_TIMES","SET_DEPARTING_FLIGHT","SET_ARRIVING_FLIGHT","SET_LOADING_TEXT","SET_SNACKBAR_TEXT","SET_DISPLAY_SNACKBAR","SET_BOOKING","SET_LOADING","SET_CONFIGURATION","SET_FARE","SET_SHOW_FARE","SET_ALERT_MESSAGE","SET_BEARER_TOKEN","SET_PAYMENT_TYPES","SET_ACCOUNTS","SET_BOOKINGS","SET_BOOKING_INVOICE","SET_CUSTOMER","SET_ADMIN_CUSTOMER","SET_CUSTOMERS","SET_ADMIN_CUSTOMERS","RESET_ADMIN_CUSTOMERS","RESET_CUSTOMER","SET_USERS","SET_ROLES","SET_SUBURBS","SET_SUBURB_EXCLUSIVE_ONLY","SET_ZONES","SET_AREAS","SET_DIRECTIONS","SET_CURRENT_USER_ID","SET_COMPANIES","SET_VERSION_ONE_USERS","SET_DEPARTING_FLIGHT_HINT_TEXT","SET_ARRIVING_FLIGHT_HINT_TEXT","SET_BOOKING_DATES","SET_INVALID_BOOKING_DATES","SET_DRIVER_AUTHORITY","SET_DRIVER_PAYIN","SET_DRIVERS","SET_LOG_DATA","SET_HEALTH_DATA","SET_MESSAGE_TEMPLATES","SET_ALL_FARE_ADDONS","SET_EXTRA_CHARGES","SET_CARRIERS","SET_COMPANIES_ADMIN","SET_USERS_BY_ROLE","SET_ADMIN_FLIGHTS","IS_AUTHENTICATED","CURRENT_USER_FIRST_NAME","CURRENT_USER_LAST_NAME","CURRENT_USER_DISPLAY_NAME","CURRENT_USER_EMAIL","CURRENT_USER_IDP","USER_ROLES","COMPANY_ID","AUTH_TOKEN_EXPIRY","LOADING_TEXT","LOADING","SNACKBAR_TEXT","DISPLAY_SNACKBAR","BOOKING","CONFIGURATION","PICKUP_TIMES","ALL_PICKUP_TIMES","ALERT_TEXT","SHOW_ALERT","IS_ADMINISTRATOR","IS_SYSTEM_ADMINISTRATOR","IS_AGENT","IS_DRIVER","IS_CONTRACT_DRIVER","IS_CUSTOMER_ONLY","BEARER_TOKEN","PAYMENT_TYPES","ACCOUNTS","DISPLAY_DATE_FORMAT","SHORT_DATE_FORMAT","ISO_8601_FORMAT","DISPLAY_LONG_DATE_FORMAT","DISPLAY_TIME_FORMAT","BOOKING_SEARCH_RESULTS","BOOKING_INVOICE","CUSTOMER_SEARCH_RESULTS","ADMIN_CUSTOMER_SEARCH_RESULTS","USERS","ROLES","COMPANIES","SUBURBS","SUBURB_EXCLUSIVE_ONLY","ZONES","AREAS","DIRECTIONS","VERSION_ONE_USERS","DEPARTING_FLIGHT_HINT_TEXT","ARRIVING_FLIGHT_HINT_TEXT","FARE","IS_BOOKING_PAID","SHOW_FARE","BOOKING_DATES","INVALID_BOOKING_DATES","INVOICE_BOOKING_DETAILS","DRIVER_AUTHORITY","DRIVERS","LOG_DATA","HEALTH_DATA","MESSAGE_TEMPLATES","ALL_FARE_ADDONS","EXTRA_CHARGES","CARRIERS","COMPANIES_ADMIN","USERS_BY_ROLE","DRIVER_PAYIN","ADMIN_FLIGHTS","GET_CARRIERS","GET_FLIGHTS","GET_FLIGHT_DETAILS","GET_PICKUP_TIMES","GET_ALL_PICKUP_TIMES","CALCULATE_FARE","CHECK_AND_CALCULATE_FARE","SAVE_BOOKING","SET_ALERT_DETAILS","GET_PAYMENT_TYPES","GET_ACCOUNTS","SEARCH_BOOKINGS","GET_BOOKING_INVOICE","RESET_BOOKING_SEARCH","GET_BOOKING","GET_CUSTOMER","SEARCH_CUSTOMERS","RESET_BOOKING","RESET_SELECTED_ADDRESS","GET_USERS","SAVE_USER","GET_SUBURB","GET_OTHER_ADDRESS_SUBURB","GET_SUBURBS","SAVE_SUBURB","GET_DEPARTING_FLIGHT_HINT_TEXT","GET_ARRIVING_FLIGHT_HINT_TEXT","GET_BOOKING_DATES","SAVE_INVALID_BOOKING_DATE","DELETE_INVALID_BOOKING_DATE","REFRESH_AUTH_TOKEN","GET_DRIVER_AUTHORITY","SAVE_DRIVER_AUTHORITY","DELETE_DRIVER_AUTHORITY","GET_DRIVER_PAYIN","SAVE_DRIVER_PAYIN","DELETE_DRIVER_PAYIN","GET_LOG_DATA","GET_HEALTH_DATA","GET_MESSAGE_TEMPLATES","SAVE_MESSAGE_TEMPLATE","DELETE_MESSAGE_TEMPLATE","SAVE_ALL_FARE_ADDONS","SEND_TEXT_MESSAGE","SAVE_EXTRA_CHARGES","GET_EXTRA_CHARGES","SAVE_FLIGHT","GET_COMPANIES_ADMIN","GET_COMPANY_ADMIN","SAVE_COMPANY_ADMIN","SAVE_CUSTOMER_ADMIN","GET_REPORT_BY_DATE_SUBURB","GET_REPORT_DAILY_BOOKINGS","GET_REPORT_MONTHLY_REVENUE","GET_REPORT_ACCOUNT_BOOKINGS","GET_REPORT_CREDIT_BOOKINGS","GET_REPORT_REVENUE_BY_BUS","GET_USERS_BY_ROLE","GET_REPORT_CUSTOMER_INVOICE","GET_REPORT_CUSTOMER_USAGE","GET_REPORT_DRIVER_PAYIN","SEARCH_ADMIN_CUSTOMERS","GET_ADMIN_FLIGHTS","SAVE_ADMIN_FLIGHT","SAVE_BOOKING_ACTION","EVT_GET_BOOKING_COMPLETE","EVT_NEW_CUSTOMER_BOOKING","EVT_CLOSE_SMS_SENDER","EVT_EXCLUSIVE_CHARTER_CHANGED","getConfiguration","configuration","jsonConfig","xhr","XMLHttpRequest","url","open","onreadystatechange","req","currentTarget","readyState","DONE","status","JSON","parse","responseText","log","statusText","send","Vue","$configuration","use","Vuex","axiosInstance","getInstance","apiUrl","store","Store","state","constants","displayDateFormat","shortDateFormat","iso8601Format","displayLongDateFormat","displayTimeFormat","isAuthenticated","currentUserDisplayName","currentUserEmail","currentUserFirstName","currentUserLastName","currentUserIdp","bearerToken","authTokenExpiry","userRoles","companyId","booking","pickupTimes","allPickupTimes","loading","loadingText","displaySnackbar","snackbarText","departingFlights","arrivingFlights","paymentTypes","accounts","bookingSearchResults","bookingInvoice","alertText","showAlert","bookingCustomers","customers","users","roles","currentUserId","companies","versionOneUsers","suburbs","zones","areas","directions","allFareAddons","extraCharges","departingFlightHintText","arrivingFlightHintText","showFare","bookingDates","minimumBookingDate","invalidDates","invalidBookingDates","driverAuthority","driverPayIn","drivers","logData","healthData","messageTemplates","suburbExclusiveOnly","carriers","companiesAdmin","usersByRole","flightData","flights","mutations","updateField","text","payload","email","flight","pickUpDetails","departingFlightDetails","dropOffDetails","arrivingFlightDetails","display","fareAmount","fare","bookings","invoice","customer","customerId","id","firstName","lastName","phoneNumber","mobileNumber","emailAddress","communicationType","communicationTypeId","address","selectedAddress","subPremise","streetNumber","street","suburb","country","postCode","latitude","longitude","formattedAddress","place","userId","isExclusiveOnly","dates","getters","getField","Array","isArray","includes","roleConstants","SYSTEM_ADMINISTRATOR","ASN_OFFICE_ADMINISTRATOR","AGENT","DRIVER","CONTRACT_DRIVER","CUSTOMER","paymentType","paymentReferenceNumber","bookingNumber","customerName","direction","pickupDate","travelDate","pickupTime","pickupAddress","departingFlight","flightNumber","carrierName","flightTime","arrivingFlight","dropOffDate","actions","context","commit","storeConstants","response","catch","post","delete","messageTemplate","searchCriteria","params","items","user","put","userData","searchData","isDeparting","flightResponse","dispatch","hintText","this","otherAirport","pickupResolve","pickupReject","pickupResponse","passengers","bookingDate","queryString","exclusiveCharter","luggage","surfboards","bicycles","golfClubs","boardBags","skisSnowboards","isAdministrator","bookingCharges","reduce","prev","cur","price","discountDollars","discountPercent","companyAccount","isValid","paymentDescriptionText","isPaymentSuccessful","bookingMessageContent","invalidBookingDate","GET_INVALID_BOOKING_DATES","bookingId","newBooking","covid19Vaccination","companyAccountId","babyCapsules","babySeats","boosterSeats","otherAddresses","noFlightArrivalPickupTime","paymentDetails","creditCardNumber","expiryMonth","expiryYear","additionalInfoToAirport","additionalInfoFromAirport","updateCustomerDetails","fareAddons","getUser","isLoggedIn","expired","profile","given_name","family_name","company_id","access_token","sub","expires_at","role","smsMessageEndpoint","messageType","company","fromDate","toDate","date","route","busNo","map","join","customerRoute","driverRoute","driverId","STS_DOMAIN","stsDomain","REDIRECT_BASE_URI","redirectBaseUri","settings","userStore","WebStorageStateStore","localStorage","authority","client_id","filterProtocolClaims","redirect_uri","post_logout_redirect_uri","response_type","scope","loadUserInfo","automaticSilentRenew","silent_redirect_uri","userManager","UserManager","login","signinRedirect","logout","signoutRedirect","getAccessToken","Vuetify","icons","iconfont","filter","formatter","Intl","NumberFormat","style","currency","minimumFractionDigits","format","decimals","isWholeNumber","percentage","percentageDecimals","Math","round","_vm","_h","$createElement","_c","_self","attrs","staticClass","scopedSlots","_u","fn","ref","on","_g","_b","$event","stopPropagation","drawer","_l","item","subMenu","isInRole","openInNewWindow","_e","path","_v","_s","icon","proxy","_f","getAuthTokenExpiry","isSnackbarVisible","model","callback","$$v","expression","isLoading","staticRenderFns","methods","computed","component","VBtn","VIcon","VListItem","VListItemAction","VListItemContent","VList","VListItemTitle","hours","minutes","seconds","components","mounted","setInterval","props","Number","now","trunc","dateInMilliseconds","VChip","LoginButton","CountdownTimer","source","String","watch","dialog","val","found","set","$store","created","$vuetify","theme","light","VApp","VAppBar","VAppBarNavIcon","VCard","VCardText","VDialog","VImg","VListGroup","VMain","VMenu","VProgressLinear","VSnackbar","VSpacer","VToolbarTitle","VToolbar","busRunManagerModule","namespaced","busSummary","assignedBuses","SET_BUS_SUMMARY","SET_ASSIGNED_BUSES","rootStoreConstants","root","BOOKING_ACTION","SAVE_RUN_DETAILS","SAVE_BUS_SETUP","GET_BUS_SUMMARY","GET_ASSIGNED_BUSES","BUS_SUMMARY","ASSIGNED_BUSES","editBookingsRouteParams","newBookingsRouteParams","VueRouter","routes","router","base","process","beforeEach","to","from","next","hasModule","registerModule","config","productionTip","VTextField","VueMoment","VeeValidate","inject","fieldsBagName","errorBagName","VueTelInputVuetify","vuetify","VuetifyGoogleAutocomplete","apiKey","client","VCurrencyField","locale","decimalLength","autoDecimalMode","min","max","defaultValue","valueAsInteger","allowNegative","toString","busRunManager","addRoutes","render","h","YoutubeApp","$mount","baseApiUrl","axios","baseURL","headers","Accept","interceptors","token","withCredentials","Authorization"],"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,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAGnBC,EAAqB,CACxB,IAAO,GAMJjB,EAAkB,CACrB,IAA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BACAE,uBACAC,iBACAC,iBACAC,wBACAC,wBACAC,uBACAE,mBACAD,uBACAE,uBACAC,sBACAC,mBACAI,cACAH,oBACAC,uBACAC,cACAE,oBACAC,WACAC,gBACAC,oBACAC,mBACAC,oBACAC,eACAC,eACAC,sBACAC,eACAC,qBACAC,gBACAC,sBACAC,wBACAC,iBACAC,YACAC,YACAC,cACAC,4BACAC,YACAE,iBACAD,YACAE,sBACAC,gBACAC,wBACAC,iCACAC,gCACAC,oBACAC,4BACAC,uBACAE,eACAC,gBACAC,mBACAC,yBACAC,uBACAC,qBACAC,gBACAC,uBACAC,qBACAT,mBACAU,qBAGAC,oBACAG,6BACAC,sBACAH,2BACAC,0BACAG,oBACAC,cACAC,cACAC,qBACAC,gBACAC,WACAC,iBACAC,oBACAC,WACAC,iBACAC,gBACAC,oBACAC,cACAC,cACAE,2BACAD,oBACAE,YACAC,aACAC,sBACAC,oBACAC,gBACAC,iBACAC,YACAC,uBACAC,qBACAC,mBACAC,4BACAC,uBACAC,0BACAC,mBACAC,2BACAC,iCACAC,SACAC,SACAC,aACAM,qBACAL,WACAC,yBACAC,SACAC,SACAC,cACAE,8BACAC,6BACAC,QACAC,mBACAC,aACAC,iBACAC,yBACAC,2BACAC,oBACAU,gBACAT,WACAC,YACAC,eACAC,qBACAC,mBACAC,iBACAC,YACAC,mBACAC,iBACAE,iBAGAC,gBACA8C,eACA7C,eACAC,sBACAC,oBACAC,wBACAC,kBACAC,4BACAC,gBACAC,qBACAC,qBACAC,gBACAC,mBACAC,uBACAC,wBACAC,eACAC,gBACAC,oBACA6C,0BACA5C,iBACAI,cACAC,4BACAC,eACAC,eACAN,0BACAC,aACAC,aACAK,kCACAC,iCACAC,qBACAC,6BACAC,+BACAC,sBACAC,wBACAC,yBACAC,2BACAC,oBACAC,qBACAC,uBACAC,gBACAC,mBACAC,yBACAC,yBACAC,2BACAE,qBACAD,wBACAG,qBACAD,sBACAG,uBACAC,qBACAC,sBACAC,uBACAC,6BACAC,6BACAC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B,cACQyK,EADR,OAEMA,IACFnC,EAAOoC,iBAAkB,EACzBpC,EAAOgC,QAAQK,cAAgB,CAC7B,SAAUF,GACVrM,KAAK,MANX,kBASSkK,GATT,2CADF,uDAYE,SAACloB,GACCtC,QAAQE,OAAOoC,MAIZiQ,EAGMC,U,mBClCf7S,EAAOD,QAAU,+iH,kCCCjB,IAAMspB,EAAkB,kBAClBC,EAAqB,qBACrB/gB,EAAwB,wBAGxBuhB,EAAc,cACdC,EAAiB,iBACjBvd,EAAoB,oBAGpBod,EAAkB,kBAClBC,EAAqB,qBACrBF,EAAiB,iBACjBD,EAAmB,mBACnBD,EAAiB,iBACjBla,EAAwB,wBAEf,QAEb8Z,kBACAC,qBACA/gB,wBAGAqhB,kBACAC,qBACAF,iBACAD,mBACAD,iBACAla,wBAGAua,cACAC,iBACAvd","file":"js/app.fd3697ef.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/\" + ({\"booking\":\"booking\"}[chunkId]||chunkId) + \".\" + {\"chunk-240a2d6f\":\"5722be48\",\"booking\":\"c88ba228\",\"chunk-09982c52\":\"d8bea3f2\",\"chunk-2d216214\":\"7163b552\",\"chunk-2d216257\":\"256ee085\",\"chunk-48a68d1b\":\"33627db8\"}[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-240a2d6f\":1,\"booking\":1,\"chunk-09982c52\":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/\" + ({\"booking\":\"booking\"}[chunkId]||chunkId) + \".\" + {\"chunk-240a2d6f\":\"5a7ef05e\",\"booking\":\"a627584b\",\"chunk-09982c52\":\"5a0b840f\",\"chunk-2d216214\":\"31d6cfe0\",\"chunk-2d216257\":\"31d6cfe0\",\"chunk-48a68d1b\":\"31d6cfe0\"}[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","// setters\nconst SET_IS_AUTHENTICATED = 'SET_IS_AUTHENTICATED';\nconst SET_CURRENT_USER_DISPLAY_NAME = 'SET_CURRENT_USER_DISPLAY_NAME';\nconst SET_CURRENT_USER_FIRST_NAME = 'SET_CURRENT_USER_FIRST_NAME';\nconst SET_CURRENT_USER_LAST_NAME = 'SET_CURRENT_USER_LAST_NAME';\nconst SET_CURRENT_USER_EMAIL = 'SET_CURRENT_USER_EMAIL';\nconst SET_CURRENT_USER_IDP = 'SET_CURRENT_USER_IDP';\nconst SET_USER_ROLES = 'SET_USER_ROLES';\nconst SET_COMPANY_ID = 'SET_COMPANY_ID';\nconst SET_AUTH_TOKEN_EXPIRY = 'SET_AUTH_TOKEN_EXPIRY';\nconst SET_DEPARTING_FLIGHTS = 'SET_DEPARTING_FLIGHTS';\nconst SET_ARRIVING_FLIGHTS = 'SET_ARRIVING_FLIGHTS';\nconst SET_ALL_PICKUP_TIMES = 'SET_ALL_PICKUP_TIMES';\nconst SET_PICKUP_TIMES = 'SET_PICKUP_TIMES';\nconst SET_DEPARTING_FLIGHT = 'SET_DEPARTING_FLIGHT';\nconst SET_ARRIVING_FLIGHT = 'SET_ARRIVING_FLIGHT';\nconst SET_LOADING_TEXT = 'SET_LOADING_TEXT';\nconst SET_SNACKBAR_TEXT = 'SET_SNACKBAR_TEXT';\nconst SET_DISPLAY_SNACKBAR = 'SET_DISPLAY_SNACKBAR';\nconst SET_BOOKING = 'SET_BOOKING';\nconst SET_LOADING = 'SET_LOADING';\nconst SET_CONFIGURATION = 'SET_CONFIGURATION';\nconst SET_FARE = 'SET_FARE';\nconst SET_SHOW_FARE = 'SET_SHOW_FARE';\nconst SET_ALERT_MESSAGE = 'SET_ALERT_MESSAGE';\nconst SET_BEARER_TOKEN = 'SET_BEARER_TOKEN';\nconst SET_PAYMENT_TYPES = 'SET_PAYMENT_TYPES';\nconst SET_ACCOUNTS = 'SET_ACCOUNTS';\nconst SET_BOOKINGS = 'SET_BOOKINGS';\nconst SET_BOOKING_INVOICE = 'SET_BOOKING_INVOICE';\nconst SET_CUSTOMER = 'SET_CUSTOMER';\nconst SET_ADMIN_CUSTOMER = 'SET_ADMIN_CUSTOMER';\nconst SET_CUSTOMERS = 'SET_CUSTOMERS';\nconst SET_ADMIN_CUSTOMERS = 'SET_ADMIN_CUSTOMERS';\nconst RESET_ADMIN_CUSTOMERS = 'RESET_ADMIN_CUSTOMERS';\nconst RESET_CUSTOMER = 'RESET_CUSTOMER';\nconst SET_USERS = 'SET_USERS';\nconst SET_ROLES = 'SET_ROLES';\nconst SET_SUBURBS = 'SET_SUBURBS';\nconst SET_SUBURB_EXCLUSIVE_ONLY = 'SET_SUBURB_EXCLUSIVE_ONLY';\nconst SET_ZONES = 'SET_ZONES';\nconst SET_AREAS = 'SET_AREAS';\nconst SET_DIRECTIONS = 'SET_DIRECTIONS';\nconst SET_CURRENT_USER_ID = 'SET_CURRENT_USER_ID';\nconst SET_COMPANIES = 'SET_COMPANIES';\nconst SET_VERSION_ONE_USERS = 'SET_VERSION_ONE_USERS';\nconst SET_DEPARTING_FLIGHT_HINT_TEXT = 'SET_DEPARTING_FLIGHT_HINT_TEXT';\nconst SET_ARRIVING_FLIGHT_HINT_TEXT = 'SET_ARRIVING_FLIGHT_HINT_TEXT';\nconst SET_BOOKING_DATES = 'SET_BOOKING_DATES';\nconst SET_INVALID_BOOKING_DATES = 'SET_INVALID_BOOKING_DATES';\nconst SET_DRIVER_AUTHORITY = 'SET_DRIVER_AUTHORITY';\nconst SET_DRIVER_PAYIN = 'SET_DRIVER_PAYIN';\nconst SET_DRIVERS = 'SET_DRIVERS';\nconst SET_LOG_DATA = 'SET_LOG_DATA';\nconst SET_HEALTH_DATA = 'SET_HEALTH_DATA';\nconst SET_MESSAGE_TEMPLATES = 'SET_MESSAGE_TEMPLATES';\nconst SET_ALL_FARE_ADDONS = 'SET_ALL_FARE_ADDONS';\nconst SET_EXTRA_CHARGES = 'SET_EXTRA_CHARGES';\nconst SET_CARRIERS = 'SET_CARRIERS';\nconst SET_COMPANIES_ADMIN = 'SET_COMPANIES_ADMIN';\nconst SET_USERS_BY_ROLE = 'SET_USERS_BY_ROLE';\nconst SET_ADMIN_FLIGHTS = 'SET_ADMIN_FLIGHTS';\n\n// getters\nconst IS_AUTHENTICATED = 'IS_AUTHENTICATED';\nconst CURRENT_USER_FIRST_NAME = 'CURRENT_USER_FIRST_NAME';\nconst CURRENT_USER_LAST_NAME = 'CURRENT_USER_LAST_NAME';\nconst CURRENT_USER_DISPLAY_NAME = 'CURRENT_USER_DISPLAY_NAME';\nconst CURRENT_USER_EMAIL = 'CURRENT_USER_EMAIL';\nconst CURRENT_USER_IDP = 'CURRENT_USER_IDP';\nconst USER_ROLES = 'USER_ROLES';\nconst COMPANY_ID = 'COMPANY_ID';\nconst AUTH_TOKEN_EXPIRY = 'AUTH_TOKEN_EXPIRY';\nconst LOADING_TEXT = 'LOADING_TEXT';\nconst LOADING = 'LOADING';\nconst SNACKBAR_TEXT = 'SNACKBAR_TEXT';\nconst DISPLAY_SNACKBAR = 'DISPLAY_SNACKBAR';\nconst BOOKING = 'BOOKING';\nconst CONFIGURATION = 'CONFIGURATION';\nconst PICKUP_TIMES = 'PICKUP_TIMES';\nconst ALL_PICKUP_TIMES = 'ALL_PICKUP_TIMES';\nconst ALERT_TEXT = 'ALERT_TEXT';\nconst SHOW_ALERT = 'SHOW_ALERT';\nconst IS_ADMINISTRATOR = 'IS_ADMINISTRATOR';\nconst IS_SYSTEM_ADMINISTRATOR = 'IS_SYSTEM_ADMINISTRATOR';\nconst IS_AGENT = 'IS_AGENT';\nconst IS_DRIVER = 'IS_DRIVER';\nconst IS_CONTRACT_DRIVER = 'IS_CONTRACT_DRIVER';\nconst IS_CUSTOMER_ONLY = 'IS_CUSTOMER_ONLY';\nconst BEARER_TOKEN = 'BEARER_TOKEN';\nconst PAYMENT_TYPES = 'PAYMENT_TYPES';\nconst ACCOUNTS = 'ACCOUNTS';\nconst DISPLAY_DATE_FORMAT = 'DISPLAY_DATE_FORMAT';\nconst SHORT_DATE_FORMAT = 'SHORT_DATE_FORMAT';\nconst ISO_8601_FORMAT = 'ISO_8601_FORMAT';\nconst DISPLAY_LONG_DATE_FORMAT = 'DISPLAY_LONG_DATE_FORMAT';\nconst DISPLAY_TIME_FORMAT = 'DISPLAY_TIME_FORMAT';\nconst BOOKING_SEARCH_RESULTS = 'BOOKING_SEARCH_RESULTS';\nconst BOOKING_INVOICE = 'BOOKING_INVOICE';\nconst CUSTOMER_SEARCH_RESULTS = 'CUSTOMER_SEARCH_RESULTS';\nconst ADMIN_CUSTOMER_SEARCH_RESULTS = 'ADMIN_CUSTOMER_SEARCH_RESULTS';\nconst USERS = 'USERS';\nconst ROLES = 'ROLES';\nconst COMPANIES = 'COMPANIES';\nconst SUBURBS = 'SUBURBS';\nconst SUBURB_EXCLUSIVE_ONLY = 'SUBURB_EXCLUSIVE_ONLY';\nconst ZONES = 'ZONES';\nconst AREAS = 'AREAS';\nconst DIRECTIONS = 'DIRECTIONS';\nconst VERSION_ONE_USERS = 'VERSION_ONE_USERS';\nconst DEPARTING_FLIGHT_HINT_TEXT = 'DEPARTING_FLIGHT_HINT_TEXT';\nconst ARRIVING_FLIGHT_HINT_TEXT = 'ARRIVING_FLIGHT_HINT_TEXT';\nconst FARE = 'FARE';\nconst IS_BOOKING_PAID = 'IS_BOOKING_PAID';\nconst SHOW_FARE = 'SHOW_FARE';\nconst BOOKING_DATES = 'BOOKING_DATES';\nconst INVALID_BOOKING_DATES = 'INVALID_BOOKING_DATES';\nconst INVOICE_BOOKING_DETAILS = 'INVOICE_BOOKING_DETAILS';\nconst DRIVER_AUTHORITY = 'DRIVER_AUTHORITY';\nconst DRIVERS = 'DRIVERS';\nconst LOG_DATA = 'LOG_DATA';\nconst HEALTH_DATA = 'HEALTH_DATA';\nconst MESSAGE_TEMPLATES = 'MESSAGE_TEMPLATES';\nconst ALL_FARE_ADDONS = 'ALL_FARE_ADDONS';\nconst EXTRA_CHARGES = 'EXTRA_CHARGES';\nconst CARRIERS = 'CARRIERS';\nconst COMPANIES_ADMIN = 'COMPANIES_ADMIN';\nconst USERS_BY_ROLE = 'USERS_BY_ROLE';\nconst DRIVER_PAYIN = 'DRIVER_PAYIN';\nconst ADMIN_FLIGHTS = 'ADMIN_FLIGHTS';\n\n// actions\nconst GET_CARRIERS = 'GET_CARRIERS';\nconst GET_FLIGHTS = 'GET_FLIGHTS';\nconst GET_FLIGHT_DETAILS = 'GET_FLIGHT_DETAILS';\nconst GET_PICKUP_TIMES = 'GET_PICKUP_TIMES';\nconst GET_ALL_PICKUP_TIMES = 'GET_ALL_PICKUP_TIMES';\nconst CALCULATE_FARE = 'CALCULATE_FARE';\nconst CHECK_AND_CALCULATE_FARE = 'CHECK_AND_CALCULATE_FARE';\nconst SAVE_BOOKING = 'SAVE_BOOKING';\nconst SET_ALERT_DETAILS = 'SET_ALERT_DETAILS';\nconst GET_PAYMENT_TYPES = 'GET_PAYMENT_TYPES';\nconst GET_ACCOUNTS = 'GET_ACCOUNTS';\nconst SEARCH_BOOKINGS = 'SEARCH_BOOKINGS';\nconst GET_BOOKING_INVOICE = 'GET_BOOKING_INVOICE';\nconst RESET_BOOKING_SEARCH = 'RESET_BOOKING_SEARCH';\nconst GET_BOOKING = 'GET_BOOKING';\nconst GET_CUSTOMER = 'GET_CUSTOMER';\nconst SEARCH_CUSTOMERS = 'SEARCH_CUSTOMERS';\nconst RESET_BOOKING = 'RESET_BOOKING';\nconst RESET_SELECTED_ADDRESS = 'RESET_SELECTED_ADDRESS';\nconst GET_USERS = 'GET_USERS';\nconst SAVE_USER = 'SAVE_USER';\nconst GET_SUBURB = 'GET_SUBURB';\nconst GET_OTHER_ADDRESS_SUBURB = 'GET_OTHER_ADDRESS_SUBURB';\nconst GET_SUBURBS = 'GET_SUBURBS';\nconst SAVE_SUBURB = 'SAVE_SUBURB';\nconst GET_DEPARTING_FLIGHT_HINT_TEXT = 'GET_DEPARTING_FLIGHT_HINT_TEXT';\nconst GET_ARRIVING_FLIGHT_HINT_TEXT = 'GET_ARRIVING_FLIGHT_HINT_TEXT';\nconst GET_BOOKING_DATES = 'GET_BOOKING_DATES';\nconst SAVE_INVALID_BOOKING_DATE = 'SAVE_INVALID_BOOKING_DATE';\nconst DELETE_INVALID_BOOKING_DATE = 'DELETE_INVALID_BOOKING_DATE';\nconst REFRESH_AUTH_TOKEN = 'REFRESH_AUTH_TOKEN';\nconst GET_DRIVER_AUTHORITY = 'GET_DRIVER_AUTHORITY';\nconst SAVE_DRIVER_AUTHORITY = 'SAVE_DRIVER_AUTHORITY';\nconst DELETE_DRIVER_AUTHORITY = 'DELETE_DRIVER_AUTHORITY';\nconst GET_DRIVER_PAYIN = 'GET_DRIVER_PAYIN';\nconst SAVE_DRIVER_PAYIN = 'SAVE_DRIVER_PAYIN';\nconst DELETE_DRIVER_PAYIN = 'DELETE_DRIVER_PAYIN';\nconst GET_LOG_DATA = 'GET_LOG_DATA';\nconst GET_HEALTH_DATA = 'GET_HEALTH_DATA';\nconst GET_MESSAGE_TEMPLATES = 'GET_MESSAGE_TEMPLATES';\nconst SAVE_MESSAGE_TEMPLATE = 'SAVE_MESSAGE_TEMPLATE';\nconst DELETE_MESSAGE_TEMPLATE = 'DELETE_MESSAGE_TEMPLATE';\nconst SAVE_ALL_FARE_ADDONS = 'SAVE_ALL_FARE_ADDONS';\nconst SEND_TEXT_MESSAGE = 'SEND_TEXT_MESSAGE';\nconst SAVE_EXTRA_CHARGES = 'SAVE_EXTRA_CHARGES';\nconst GET_EXTRA_CHARGES = 'GET_EXTRA_CHARGES';\nconst SAVE_FLIGHT = 'SAVE_FLIGHT';\nconst GET_COMPANIES_ADMIN = 'GET_COMPANIES_ADMIN';\nconst GET_COMPANY_ADMIN = 'GET_COMPANY_ADMIN';\nconst SAVE_COMPANY_ADMIN = 'SAVE_COMPANY_ADMIN';\nconst SAVE_CUSTOMER_ADMIN = 'SAVE_CUSTOMER_ADMIN';\nconst GET_REPORT_BY_DATE_SUBURB = 'GET_REPORT_BY_DATE_SUBURB';\nconst GET_REPORT_DAILY_BOOKINGS = 'GET_REPORT_DAILY_BOOKINGS';\nconst GET_REPORT_MONTHLY_REVENUE = 'GET_REPORT_MONTHLY_REVENUE';\nconst GET_REPORT_ACCOUNT_BOOKINGS = 'GET_REPORT_ACCOUNT_BOOKINGS';\nconst GET_REPORT_CREDIT_BOOKINGS = 'GET_REPORT_CREDIT_BOOKINGS';\nconst GET_REPORT_REVENUE_BY_BUS = 'GET_REPORT_REVENUE_BY_BUS';\nconst GET_USERS_BY_ROLE = 'GET_USERS_BY_ROLE';\nconst GET_REPORT_CUSTOMER_INVOICE = 'GET_REPORT_CUSTOMER_INVOICE';\nconst GET_REPORT_CUSTOMER_USAGE = 'GET_REPORT_CUSTOMER_USAGE';\nconst GET_REPORT_DRIVER_PAYIN = 'GET_REPORT_DRIVER_PAYIN';\nconst SEARCH_ADMIN_CUSTOMERS = 'SEARCH_ADMIN_CUSTOMERS';\nconst GET_ADMIN_FLIGHTS = 'GET_ADMIN_FLIGHTS';\nconst SAVE_ADMIN_FLIGHT = 'SAVE_ADMIN_FLIGHT';\nconst SAVE_BOOKING_ACTION = 'SAVE_BOOKING_ACTION';\n\n// events\nconst EVT_GET_BOOKING_COMPLETE = 'EVT_GET_BOOKING_COMPLETE';\nconst EVT_NEW_CUSTOMER_BOOKING = 'EVT_NEW_CUSTOMER_BOOKING';\nconst EVT_CLOSE_SMS_SENDER = 'closeSmsSender';\nconst EVT_EXCLUSIVE_CHARTER_CHANGED = 'EVT_EXCLUSIVE_CHARTER_CHANGED';\n\nexport default {\n // Setters\n SET_IS_AUTHENTICATED,\n SET_CURRENT_USER_DISPLAY_NAME,\n SET_CURRENT_USER_EMAIL,\n SET_CURRENT_USER_FIRST_NAME,\n SET_CURRENT_USER_LAST_NAME,\n SET_CURRENT_USER_IDP,\n SET_USER_ROLES,\n SET_COMPANY_ID,\n SET_AUTH_TOKEN_EXPIRY,\n SET_DEPARTING_FLIGHTS,\n SET_ARRIVING_FLIGHTS,\n SET_PICKUP_TIMES,\n SET_ALL_PICKUP_TIMES,\n SET_DEPARTING_FLIGHT,\n SET_ARRIVING_FLIGHT,\n SET_LOADING_TEXT,\n SET_LOADING,\n SET_SNACKBAR_TEXT,\n SET_DISPLAY_SNACKBAR,\n SET_BOOKING,\n SET_CONFIGURATION,\n SET_FARE,\n SET_SHOW_FARE,\n SET_ALERT_MESSAGE,\n SET_BEARER_TOKEN,\n SET_PAYMENT_TYPES,\n SET_ACCOUNTS,\n SET_BOOKINGS,\n SET_BOOKING_INVOICE,\n SET_CUSTOMER,\n SET_ADMIN_CUSTOMER,\n SET_CUSTOMERS,\n SET_ADMIN_CUSTOMERS,\n RESET_ADMIN_CUSTOMERS,\n RESET_CUSTOMER,\n SET_USERS,\n SET_ROLES,\n SET_SUBURBS,\n SET_SUBURB_EXCLUSIVE_ONLY,\n SET_ZONES,\n SET_DIRECTIONS,\n SET_AREAS,\n SET_CURRENT_USER_ID,\n SET_COMPANIES,\n SET_VERSION_ONE_USERS,\n SET_DEPARTING_FLIGHT_HINT_TEXT,\n SET_ARRIVING_FLIGHT_HINT_TEXT,\n SET_BOOKING_DATES,\n SET_INVALID_BOOKING_DATES,\n SET_DRIVER_AUTHORITY,\n SET_DRIVERS,\n SET_LOG_DATA,\n SET_HEALTH_DATA,\n SET_MESSAGE_TEMPLATES,\n SET_ALL_FARE_ADDONS,\n SET_EXTRA_CHARGES,\n SET_CARRIERS,\n SET_COMPANIES_ADMIN,\n SET_USERS_BY_ROLE,\n SET_DRIVER_PAYIN,\n SET_ADMIN_FLIGHTS,\n\n // Getters\n IS_AUTHENTICATED,\n CURRENT_USER_DISPLAY_NAME,\n CURRENT_USER_EMAIL,\n CURRENT_USER_FIRST_NAME,\n CURRENT_USER_LAST_NAME,\n CURRENT_USER_IDP,\n USER_ROLES,\n COMPANY_ID,\n AUTH_TOKEN_EXPIRY,\n LOADING_TEXT,\n LOADING,\n SNACKBAR_TEXT,\n DISPLAY_SNACKBAR,\n BOOKING,\n CONFIGURATION,\n PICKUP_TIMES,\n ALL_PICKUP_TIMES,\n ALERT_TEXT,\n SHOW_ALERT,\n IS_SYSTEM_ADMINISTRATOR,\n IS_ADMINISTRATOR,\n IS_AGENT,\n IS_DRIVER,\n IS_CONTRACT_DRIVER,\n IS_CUSTOMER_ONLY,\n BEARER_TOKEN,\n PAYMENT_TYPES,\n ACCOUNTS,\n DISPLAY_DATE_FORMAT,\n SHORT_DATE_FORMAT,\n ISO_8601_FORMAT,\n DISPLAY_LONG_DATE_FORMAT,\n DISPLAY_TIME_FORMAT,\n BOOKING_SEARCH_RESULTS,\n BOOKING_INVOICE,\n CUSTOMER_SEARCH_RESULTS,\n ADMIN_CUSTOMER_SEARCH_RESULTS,\n USERS,\n ROLES,\n COMPANIES,\n VERSION_ONE_USERS,\n SUBURBS,\n SUBURB_EXCLUSIVE_ONLY,\n ZONES,\n AREAS,\n DIRECTIONS,\n DEPARTING_FLIGHT_HINT_TEXT,\n ARRIVING_FLIGHT_HINT_TEXT,\n FARE,\n IS_BOOKING_PAID,\n SHOW_FARE,\n BOOKING_DATES,\n INVALID_BOOKING_DATES,\n INVOICE_BOOKING_DETAILS,\n DRIVER_AUTHORITY,\n DRIVER_PAYIN,\n DRIVERS,\n LOG_DATA,\n HEALTH_DATA,\n MESSAGE_TEMPLATES,\n ALL_FARE_ADDONS,\n EXTRA_CHARGES,\n CARRIERS,\n COMPANIES_ADMIN,\n USERS_BY_ROLE,\n ADMIN_FLIGHTS,\n\n // Actions\n GET_CARRIERS,\n SAVE_FLIGHT,\n GET_FLIGHTS,\n GET_FLIGHT_DETAILS,\n GET_PICKUP_TIMES,\n GET_ALL_PICKUP_TIMES,\n CALCULATE_FARE,\n CHECK_AND_CALCULATE_FARE,\n SAVE_BOOKING,\n SET_ALERT_DETAILS,\n GET_PAYMENT_TYPES,\n GET_ACCOUNTS,\n SEARCH_BOOKINGS,\n GET_BOOKING_INVOICE,\n RESET_BOOKING_SEARCH,\n GET_BOOKING,\n GET_CUSTOMER,\n SEARCH_CUSTOMERS,\n SEARCH_ADMIN_CUSTOMERS,\n RESET_BOOKING,\n GET_SUBURB,\n GET_OTHER_ADDRESS_SUBURB,\n GET_SUBURBS,\n SAVE_SUBURB,\n RESET_SELECTED_ADDRESS,\n GET_USERS,\n SAVE_USER,\n GET_DEPARTING_FLIGHT_HINT_TEXT,\n GET_ARRIVING_FLIGHT_HINT_TEXT,\n GET_BOOKING_DATES,\n SAVE_INVALID_BOOKING_DATE,\n DELETE_INVALID_BOOKING_DATE,\n REFRESH_AUTH_TOKEN,\n GET_DRIVER_AUTHORITY,\n SAVE_DRIVER_AUTHORITY,\n DELETE_DRIVER_AUTHORITY,\n GET_DRIVER_PAYIN,\n SAVE_DRIVER_PAYIN,\n DELETE_DRIVER_PAYIN,\n GET_LOG_DATA,\n GET_HEALTH_DATA,\n GET_MESSAGE_TEMPLATES,\n SAVE_MESSAGE_TEMPLATE,\n DELETE_MESSAGE_TEMPLATE,\n SEND_TEXT_MESSAGE,\n SAVE_ALL_FARE_ADDONS,\n GET_EXTRA_CHARGES,\n SAVE_EXTRA_CHARGES,\n GET_COMPANIES_ADMIN,\n GET_COMPANY_ADMIN,\n SAVE_COMPANY_ADMIN,\n SAVE_CUSTOMER_ADMIN,\n GET_REPORT_BY_DATE_SUBURB,\n GET_REPORT_DAILY_BOOKINGS,\n GET_REPORT_MONTHLY_REVENUE,\n GET_REPORT_ACCOUNT_BOOKINGS,\n GET_REPORT_CREDIT_BOOKINGS,\n GET_REPORT_REVENUE_BY_BUS,\n GET_USERS_BY_ROLE,\n GET_REPORT_CUSTOMER_INVOICE,\n GET_REPORT_CUSTOMER_USAGE,\n GET_REPORT_DRIVER_PAYIN,\n GET_ADMIN_FLIGHTS,\n SAVE_ADMIN_FLIGHT,\n SAVE_BOOKING_ACTION,\n\n // events\n EVT_GET_BOOKING_COMPLETE,\n EVT_CLOSE_SMS_SENDER,\n EVT_EXCLUSIVE_CHARTER_CHANGED,\n EVT_NEW_CUSTOMER_BOOKING,\n};\n","import Vue from 'vue';\n\nfunction getConfiguration() {\n const configuration = { jsonConfig: '' };\n const xhr = new XMLHttpRequest();\n const url = '/static/runtimeConfig.json';\n xhr.open('GET', url, false);\n xhr.onreadystatechange = (req) => {\n if (req.currentTarget.readyState === XMLHttpRequest.DONE) {\n if (req.currentTarget.status === 200) {\n configuration.jsonConfig = JSON.parse(req.currentTarget.responseText);\n } else {\n console.log(req.status, req.statusText);\n }\n }\n };\n xhr.send();\n Vue.prototype.$configuration = configuration.jsonConfig;\n}\n\nexport default getConfiguration;\n","import Vue from 'vue';\nimport Vuex from 'vuex';\nimport { getField, updateField } from 'vuex-map-fields';\nimport getInstance from '@/plugins/axiosInstance';\nimport roleConstants from '@/roleConstants';\nimport storeConstants from '@/store/storeConstants';\nimport {\n getUser,\n} from '@/services/auth-service';\nimport getConfiguration from '@/plugins/configuration';\n\nVue.use(Vuex);\n\n// retrieve endpoint configuration.\ngetConfiguration();\n\nconst axiosInstance = getInstance(Vue.prototype.$configuration.apiUrl);\n\nconst store = new Vuex.Store({\n state: {\n constants: {\n displayDateFormat: 'DD-MMM-YYYY',\n shortDateFormat: 'DD/MM/YYYY',\n iso8601Format: 'YYYY-MM-DD',\n displayLongDateFormat: 'DD-MM-YYYY HH:mm:ss',\n displayTimeFormat: 'HH:mm',\n },\n isAuthenticated: undefined,\n currentUserDisplayName: '',\n currentUserEmail: '',\n currentUserFirstName: '',\n currentUserLastName: '',\n currentUserIdp: '',\n bearerToken: undefined,\n authTokenExpiry: undefined,\n userRoles: [],\n companyId: 0,\n booking: {},\n pickupTimes: [],\n allPickupTimes: [],\n loading: false,\n loadingText: 'Confirming...',\n displaySnackbar: false,\n snackbarText: null,\n configuration: {\n departingFlights: [],\n arrivingFlights: [],\n },\n paymentTypes: [],\n accounts: [],\n bookingSearchResults: [],\n bookingInvoice: null,\n alertText: null,\n showAlert: false,\n bookingCustomers: [],\n customers: [],\n users: [],\n roles: [],\n currentUserId: null,\n companies: [],\n versionOneUsers: [],\n suburbs: [],\n zones: [],\n areas: [],\n directions: [],\n allFareAddons: [],\n extraCharges: [],\n departingFlightHintText: null,\n arrivingFlightHintText: null,\n showFare: false,\n bookingDates: {\n minimumBookingDate: null,\n invalidDates: ['2021-02-21'],\n },\n invalidBookingDates: [],\n driverAuthority: [],\n driverPayIn: [],\n drivers: [],\n logData: [],\n healthData: {},\n messageTemplates: [],\n suburbExclusiveOnly: false,\n carriers: [],\n companiesAdmin: [],\n usersByRole: [],\n flightData: {\n flights: [],\n carriers: [],\n },\n },\n mutations: {\n updateField,\n //\n // UI Management\n //\n SET_LOADING_TEXT(state, text) {\n state.loadingText = text;\n },\n SET_SNACKBAR_TEXT(state, text) {\n state.snackbarText = text;\n },\n SET_ALERT_MESSAGE(state, data) {\n state.alertText = data.message;\n state.showAlert = data.showAlert;\n },\n //\n // Authorisation and secure mutations\n //\n SET_IS_AUTHENTICATED(state, payload) {\n state.isAuthenticated = payload;\n },\n SET_CURRENT_USER_DISPLAY_NAME(state, payload) {\n state.currentUserDisplayName = payload;\n },\n SET_CURRENT_USER_FIRST_NAME(state, payload) {\n state.currentUserFirstName = payload;\n },\n SET_CURRENT_USER_LAST_NAME(state, payload) {\n state.currentUserLastName = payload;\n },\n SET_CURRENT_USER_EMAIL(state, email) {\n state.currentUserEmail = email;\n },\n SET_CURRENT_USER_IDP(state, payload) {\n state.currentUserIdp = payload;\n },\n SET_USER_ROLES(state, payload) {\n state.userRoles = payload;\n },\n SET_COMPANY_ID(state, companyId) {\n state.companyId = companyId;\n },\n SET_BEARER_TOKEN(state, bearerToken) {\n state.bearerToken = bearerToken;\n },\n SET_AUTH_TOKEN_EXPIRY(state, payload) {\n state.authTokenExpiry = payload;\n },\n SET_PAYMENT_TYPES(state, data) {\n state.paymentTypes = data;\n },\n SET_ACCOUNTS(state, data) {\n state.accounts = data;\n },\n //\n // Flights and Times\n //\n SET_ADMIN_FLIGHTS(state, flightData) {\n state.flightData = flightData;\n },\n SET_DEPARTING_FLIGHTS(state, flights) {\n state.configuration.departingFlights = flights;\n },\n SET_ARRIVING_FLIGHTS(state, flights) {\n state.configuration.arrivingFlights = flights;\n },\n SET_PICKUP_TIMES(state, pickupTimes) {\n state.pickupTimes = pickupTimes;\n },\n SET_ALL_PICKUP_TIMES(state, allPickupTimes) {\n state.allPickupTimes = allPickupTimes;\n },\n SET_DEPARTING_FLIGHT(state, flight) {\n state.booking.pickUpDetails.departingFlightDetails = flight;\n },\n SET_ARRIVING_FLIGHT(state, flight) {\n state.booking.dropOffDetails.arrivingFlightDetails = flight;\n },\n //\n // Booking/Fare management\n //\n SET_BOOKING(state, booking) {\n state.booking = booking;\n },\n SET_LOADING(state, loading) {\n state.loading = loading;\n },\n SET_DISPLAY_SNACKBAR(state, display) {\n state.displaySnackbar = display;\n },\n SET_CONFIGURATION(state, configuration) {\n state.configuration = configuration;\n },\n SET_FARE(state, fareAmount) {\n state.booking.fare = fareAmount;\n },\n SET_BOOKINGS(state, bookings) {\n state.bookingSearchResults = bookings;\n },\n SET_BOOKING_INVOICE(state, invoice) {\n state.bookingInvoice = invoice;\n },\n SET_CUSTOMERS(state, customers) {\n state.bookingCustomers = customers;\n },\n SET_ADMIN_CUSTOMERS(state, customers) {\n state.customers = customers;\n },\n RESET_ADMIN_CUSTOMERS(state) {\n state.customers = [];\n },\n SET_CUSTOMER(state, customer) {\n state.booking.customerId = customer.id;\n state.booking.firstName = customer.firstName;\n state.booking.lastName = customer.lastName;\n state.booking.phoneNumber = customer.phoneNumber;\n state.booking.mobileNumber = customer.mobileNumber;\n state.booking.emailAddress = customer.emailAddress;\n state.booking.communicationType = customer.communicationTypeId;\n if (customer.address) {\n state.booking.selectedAddress = customer.address;\n }\n },\n RESET_CUSTOMER(state) {\n state.booking.customerId = null;\n state.booking.firstName = null;\n state.booking.lastName = null;\n state.booking.phoneNumber = null;\n state.booking.mobileNumber = null;\n state.booking.emailAddress = null;\n state.booking.communicationType = null;\n },\n RESET_SELECTED_ADDRESS(state) {\n state.booking.selectedAddress = {\n subPremise: null,\n streetNumber: null,\n street: null,\n suburb: null,\n state: null,\n country: null,\n postCode: null,\n latitude: null,\n longitude: null,\n formattedAddress: null,\n place: null,\n };\n },\n SET_USERS(state, users) {\n state.users = users;\n },\n SET_ROLES(state, roles) {\n state.roles = roles;\n },\n SET_CURRENT_USER_ID(state, userId) {\n state.currentUserId = userId;\n },\n SET_COMPANIES(state, companies) {\n state.companies = companies;\n },\n SET_VERSION_ONE_USERS(state, versionOneUsers) {\n state.versionOneUsers = versionOneUsers;\n },\n SET_DEPARTING_FLIGHT_HINT_TEXT(state, text) {\n state.departingFlightHintText = text;\n },\n SET_ARRIVING_FLIGHT_HINT_TEXT(state, text) {\n state.arrivingFlightHintText = text;\n },\n SET_SUBURBS(state, suburbs) {\n state.suburbs = suburbs;\n },\n SET_SUBURB_EXCLUSIVE_ONLY(state, isExclusiveOnly) {\n state.suburbExclusiveOnly = isExclusiveOnly;\n },\n SET_ZONES(state, zones) {\n state.zones = zones;\n },\n SET_AREAS(state, areas) {\n state.areas = areas;\n },\n SET_DIRECTIONS(state, directions) {\n state.directions = directions;\n },\n SET_SHOW_FARE(state, showFare) {\n state.showFare = showFare;\n },\n SET_BOOKING_DATES(state, dates) {\n state.bookingDates = dates;\n },\n SET_INVALID_BOOKING_DATES(state, invalidDates) {\n state.invalidBookingDates = invalidDates;\n },\n SET_DRIVERS(state, drivers) {\n state.drivers = drivers;\n },\n SET_DRIVER_AUTHORITY(state, driverAuthority) {\n state.driverAuthority = driverAuthority;\n },\n SET_DRIVER_PAYIN(state, driverPayIn) {\n state.driverPayIn = driverPayIn;\n },\n SET_LOG_DATA(state, data) {\n state.logData = data;\n },\n SET_HEALTH_DATA(state, data) {\n state.healthData = data;\n },\n SET_MESSAGE_TEMPLATES(state, data) {\n state.messageTemplates = data;\n },\n SET_ALL_FARE_ADDONS(state, data) {\n state.allFareAddons = data;\n },\n SET_EXTRA_CHARGES(state, data) {\n state.extraCharges = data;\n },\n SET_CARRIERS(state, data) {\n state.carriers = data;\n },\n SET_COMPANIES_ADMIN(state, data) {\n state.companiesAdmin = data;\n },\n SET_USERS_BY_ROLE(state, data) {\n state.usersByRole = data;\n },\n },\n getters: {\n getField,\n //\n // Authorisation/secure getters\n //\n IS_AUTHENTICATED: state => state.isAuthenticated,\n CARRIERS: state => state.carriers,\n CURRENT_USER_DISPLAY_NAME: state => state.currentUserDisplayName,\n CURRENT_USER_EMAIL: state => state.currentUserEmail,\n CURRENT_USER_FIRST_NAME: state => state.currentUserFirstName,\n CURRENT_USER_LAST_NAME: state => state.currentUserLastName,\n CURRENT_USER_IDP: state => state.currentUserIdp,\n BEARER_TOKEN: state => state.bearerToken,\n USER_ROLES: state => state.userRoles,\n COMPANY_ID: state => state.companyId,\n AUTH_TOKEN_EXPIRY: state => state.authTokenExpiry,\n PAYMENT_TYPES: state => state.paymentTypes,\n ACCOUNTS: state => state.accounts,\n ADMIN_FLIGHTS: state => state.flightData,\n IS_SYSTEM_ADMINISTRATOR: (state) => {\n if (Array.isArray(state.userRoles)) {\n return state.userRoles.includes(roleConstants.SYSTEM_ADMINISTRATOR);\n }\n return state.userRoles === roleConstants.SYSTEM_ADMINISTRATOR;\n },\n IS_ADMINISTRATOR: (state) => {\n if (Array.isArray(state.userRoles)) {\n return state.userRoles.includes(roleConstants.SYSTEM_ADMINISTRATOR)\n || state.userRoles.includes(roleConstants.ASN_OFFICE_ADMINISTRATOR);\n }\n return state.userRoles === roleConstants.SYSTEM_ADMINISTRATOR\n || state.userRoles === roleConstants.ASN_OFFICE_ADMINISTRATOR;\n },\n IS_AGENT: (state) => {\n if (Array.isArray(state.userRoles)) {\n return state.userRoles.includes(roleConstants.AGENT);\n }\n return state.userRoles === roleConstants.AGENT;\n },\n IS_DRIVER: (state) => {\n if (Array.isArray(state.userRoles)) {\n return state.userRoles.includes(roleConstants.DRIVER);\n }\n return state.userRoles === roleConstants.DRIVER;\n },\n IS_CONTRACT_DRIVER: (state) => {\n if (Array.isArray(state.userRoles)) {\n return state.userRoles.includes(roleConstants.CONTRACT_DRIVER)\n && !state.userRoles.includes(roleConstants.DRIVER);\n }\n return true;\n },\n IS_CUSTOMER_ONLY: (state) => {\n if (Array.isArray(state.userRoles)) {\n return state.userRoles.includes(roleConstants.CUSTOMER)\n && state.userRoles.length === 1;\n }\n return true;\n },\n //\n // UI Getters\n //\n DISPLAY_SNACKBAR: state => state.displaySnackbar,\n SNACKBAR_TEXT: state => state.snackbarText,\n LOADING_TEXT: state => state.loadingText,\n LOADING: state => state.loading,\n ALERT_TEXT: state => state.alertText,\n SHOW_ALERT: state => state.showAlert,\n //\n // Booking/fare getters\n //\n BOOKING: state => state.booking,\n CONFIGURATION: state => state.configuration,\n FARE: state => state.booking.fare,\n SHOW_FARE: state => state.showFare,\n //\n // Flight/time format etters\n //\n PICKUP_TIMES: state => state.pickupTimes,\n ALL_PICKUP_TIMES: state => state.allPickupTimes,\n DISPLAY_DATE_FORMAT: state => state.constants.displayDateFormat,\n SHORT_DATE_FORMAT: state => state.constants.shortDateFormat,\n ISO_8601_FORMAT: state => state.constants.iso8601Format,\n DISPLAY_LONG_DATE_FORMAT: state => state.constants.displayLongDateFormat,\n DISPLAY_TIME_FORMAT: state => state.constants.displayTimeFormat,\n BOOKING_SEARCH_RESULTS: state => state.bookingSearchResults,\n BOOKING_INVOICE: state => state.bookingInvoice,\n CUSTOMER_SEARCH_RESULTS: state => state.bookingCustomers,\n ADMIN_CUSTOMER_SEARCH_RESULTS: state => state.customers,\n USERS: state => state.users,\n ROLES: state => state.roles,\n COMPANIES: state => state.companies,\n VERSION_ONE_USERS: state => state.versionOneUsers,\n DEPARTING_FLIGHT_HINT_TEXT: state => state.departingFlightHintText,\n ARRIVING_FLIGHT_HINT_TEXT: state => state.arrivingFlightHintText,\n SUBURBS: state => state.suburbs,\n SUBURB_EXCLUSIVE_ONLY: state => state.suburbExclusiveOnly,\n ZONES: state => state.zones,\n AREAS: state => state.areas,\n DIRECTIONS: state => state.directions,\n IS_BOOKING_PAID: state => (state.booking\n && state.booking.paymentType === 1\n && state.booking.paymentReferenceNumber\n && state.booking.bookingNumber !== 0),\n BOOKING_DATES: state => state.bookingDates,\n INVALID_BOOKING_DATES: state => state.invalidBookingDates,\n INVOICE_BOOKING_DETAILS: state => (\n {\n bookingNumber: state.booking.bookingNumber,\n customerName: `${state.booking.firstName} ${state.booking.lastName}`,\n paymentType: state.booking.paymentType,\n paymentReferenceNumber: state.booking.paymentReferenceNumber,\n direction: state.booking.direction,\n pickupDate: state.booking.pickUpDetails.travelDate,\n pickupTime: state.booking.pickUpDetails.pickupTime,\n pickupAddress: state.booking.selectedAddress.formattedAddress,\n departingFlight: `${state.booking.pickUpDetails.departingFlightDetails?.flightNumber} `\n + `(${state.booking.pickUpDetails.departingFlightDetails?.carrierName}) `\n + `- ${state.booking.pickUpDetails.departingFlightDetails?.flightTime}`,\n arrivingFlight: `${state.booking.dropOffDetails.arrivingFlightDetails?.flightNumber} `\n + `(${state.booking.dropOffDetails.arrivingFlightDetails?.carrierName}) `\n + ` - ${state.booking.dropOffDetails.arrivingFlightDetails?.flightTime}`,\n dropOffDate: state.booking.dropOffDetails.travelDate,\n fare: state.booking.fare,\n }),\n DRIVER_AUTHORITY: state => state.driverAuthority,\n DRIVER_PAYIN: state => state.driverPayIn,\n DRIVERS: state => state.drivers,\n LOG_DATA: state => state.logData,\n HEALTH_DATA: state => state.healthData,\n MESSAGE_TEMPLATES: state => state.messageTemplates,\n ALL_FARE_ADDONS: state => state.allFareAddons,\n EXTRA_CHARGES: state => state.extraCharges,\n COMPANIES_ADMIN: state => state.companiesAdmin,\n USERS_BY_ROLE: state => state.usersByRole,\n },\n actions: {\n GET_CARRIERS(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving carriers...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('Configuration/Carriers')\n .then((response) => {\n context.commit(storeConstants.SET_CARRIERS, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n SAVE_ADMIN_FLIGHT(context, flight) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving flight...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.post('flights', flight)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n SAVE_FLIGHT(context, flight) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving flight...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.post('configuration/flight', flight)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n DELETE_MESSAGE_TEMPLATE(context, id) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Deleting message template...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.delete(`messagetemplate/${id}`)\n .then((response) => {\n context.commit(storeConstants.SET_MESSAGE_TEMPLATES, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n SAVE_MESSAGE_TEMPLATE(context, messageTemplate) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving message template...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.post('messagetemplate', messageTemplate)\n .then((response) => {\n context.commit(storeConstants.SET_MESSAGE_TEMPLATES, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_MESSAGE_TEMPLATES(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving message templates...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('messagetemplates')\n .then((response) => {\n context.commit(storeConstants.SET_MESSAGE_TEMPLATES, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_HEALTH_DATA(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving health data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('health')\n .then((response) => {\n context.commit(storeConstants.SET_HEALTH_DATA, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_LOG_DATA(context, searchCriteria) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving log data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('logs', { params: searchCriteria })\n .then((response) => {\n context.commit(storeConstants.SET_LOG_DATA, response.data.items);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n SAVE_DRIVER_AUTHORITY(context, driverAuthority) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving driver authority...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.post('driverauthority', driverAuthority)\n .then((response) => {\n context.commit(storeConstants.SET_DRIVER_AUTHORITY, response.data.items);\n context.commit(storeConstants.SET_DRIVERS, response.data.drivers);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n DELETE_DRIVER_AUTHORITY(context, id) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Deleting driver authority...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.delete(`driverauthority/${id}`)\n .then((response) => {\n context.commit(storeConstants.SET_DRIVER_AUTHORITY, response.data.items);\n context.commit(storeConstants.SET_DRIVERS, response.data.drivers);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_DRIVER_AUTHORITY(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving driver authority list...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('driverauthority')\n .then((response) => {\n context.commit(storeConstants.SET_DRIVER_AUTHORITY, response.data.items);\n context.commit(storeConstants.SET_DRIVERS, response.data.drivers);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_DRIVER_PAYIN(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving driver payin list...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('driverpayin')\n .then((response) => {\n context.commit(storeConstants.SET_DRIVER_PAYIN, response.data.items);\n context.commit(storeConstants.SET_DRIVERS, response.data.drivers);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n SAVE_DRIVER_PAYIN(context, driverPayIn) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving driver payin...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.post('driverpayin', driverPayIn)\n .then((response) => {\n context.commit(storeConstants.SET_DRIVER_PAYIN, response.data.items);\n context.commit(storeConstants.SET_DRIVERS, response.data.drivers);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n DELETE_DRIVER_PAYIN(context, id) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Deleting driver payin...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.delete(`driverpayin/${id}`)\n .then((response) => {\n context.commit(storeConstants.SET_DRIVER_PAYIN, response.data.items);\n context.commit(storeConstants.SET_DRIVERS, response.data.drivers);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_USERS(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving users...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('user')\n .then((response) => {\n context.commit(storeConstants.SET_USERS, response.data.users);\n context.commit(storeConstants.SET_ROLES, response.data.roles);\n context.commit(storeConstants.SET_COMPANIES, response.data.companies);\n context.commit(storeConstants.SET_VERSION_ONE_USERS, response.data.versionOneUsers);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n SAVE_USER(context, user) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving user details...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.put('user', user)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n context.commit(storeConstants.SET_USERS, response.data.userData.users);\n context.commit(storeConstants.SET_ROLES, response.data.userData.roles);\n\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_OTHER_ADDRESS_SUBURB(context, data) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Validating address...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get(`Suburb/${data.suburb}`)\n .then((response) => {\n resolve(response.data);\n context.commit(storeConstants.SET_LOADING, false);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_SUBURB(context, data) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Validating address...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get(`Suburb/${data.suburb}`)\n .then((response) => {\n context.commit(storeConstants.SET_SUBURB_EXCLUSIVE_ONLY, response.data.isExclusiveOnly);\n resolve(response.data);\n context.commit(storeConstants.SET_LOADING, false);\n })\n .catch(() => {\n // TODO: Handle the error.\n // console.log(error);\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_ADMIN_FLIGHTS(context, searchData) {\n return new Promise((resolve, reject) => {\n axiosInstance\n .get(`Flights/${searchData.flightNumber}`)\n .then((response) => {\n context.commit(storeConstants.SET_ADMIN_FLIGHTS, response.data);\n resolve();\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n // TODO: Handle the error.\n reject(error);\n });\n });\n },\n GET_FLIGHTS(context, { direction, suburb }) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving flights...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get(`Flight/${direction}/${suburb}`)\n .then((response) => {\n resolve(response.data);\n context.commit(storeConstants.SET_LOADING, false);\n })\n .catch(() => {\n // TODO: Handle the error.\n // console.log(error);\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_FLIGHT_DETAILS(context, { id, isDeparting }) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving flight details...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve, reject) => {\n axiosInstance.get(`Flight/${id}`)\n .then((flightResponse) => {\n if (isDeparting) {\n context.commit(storeConstants.SET_DEPARTING_FLIGHT, flightResponse.data);\n context.dispatch(storeConstants.GET_DEPARTING_FLIGHT_HINT_TEXT);\n } else {\n context.commit(storeConstants.SET_ARRIVING_FLIGHT, flightResponse.data);\n context.dispatch(storeConstants.GET_ARRIVING_FLIGHT_HINT_TEXT);\n }\n context.commit(storeConstants.SET_LOADING, false);\n resolve(flightResponse.data);\n })\n .catch((error) => {\n // TODO: Handle the error.\n context.commit(storeConstants.SET_LOADING, false);\n reject(error);\n });\n });\n },\n GET_DEPARTING_FLIGHT_HINT_TEXT(context) {\n let hintText = '';\n if (!!this.state.booking.pickUpDetails.departingFlight\n && this.state.booking.pickUpDetails.departingFlightDetails) {\n hintText = `${this.state.booking.pickUpDetails.departingFlightDetails?.flightNumber} `\n + `(${this.state.booking.pickUpDetails.departingFlightDetails?.carrierName}) - ${this.state.booking.pickUpDetails.departingFlightDetails?.flightTime}\n - Arriving: ${this.state.booking.pickUpDetails.departingFlightDetails?.otherAirport}`;\n }\n context.commit(storeConstants.SET_DEPARTING_FLIGHT_HINT_TEXT, hintText);\n },\n GET_ARRIVING_FLIGHT_HINT_TEXT(context) {\n let hintText = '';\n if (!!this.state.booking.dropOffDetails.arrivingFlight\n && this.state.booking.dropOffDetails.arrivingFlightDetails) {\n hintText = `${this.state.booking.dropOffDetails.arrivingFlightDetails?.flightNumber} `\n + `(${this.state.booking.dropOffDetails.arrivingFlightDetails?.carrierName}) \n - ${this.state.booking.dropOffDetails.arrivingFlightDetails?.flightTime}\n - Departing: ${this.state.booking.dropOffDetails.arrivingFlightDetails?.otherAirport}`;\n }\n context.commit(storeConstants.SET_ARRIVING_FLIGHT_HINT_TEXT, hintText);\n },\n GET_PICKUP_TIMES(context, { id, suburb }) {\n // TODO: Break this out into another action.\n return new Promise((pickupResolve, pickupReject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving pickup times...');\n\n axiosInstance.get(`PickupTimes?id=${id}&suburb=${suburb}`)\n .then((pickupResponse) => {\n context.commit(storeConstants.SET_PICKUP_TIMES,\n pickupResponse.data ? pickupResponse.data : []);\n context.commit(storeConstants.SET_LOADING, false);\n\n pickupResolve(pickupResponse.data);\n })\n .catch((error) => {\n // TODO: Handle the error.\n // console.log(error);\n pickupReject(error);\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_ALL_PICKUP_TIMES(context) {\n return new Promise((pickupResolve, pickupReject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving pickup times...');\n\n axiosInstance.get('AllPickupTimes')\n .then((pickupResponse) => {\n context.commit(storeConstants.SET_ALL_PICKUP_TIMES,\n pickupResponse.data ? pickupResponse.data : []);\n context.commit(storeConstants.SET_LOADING, false);\n\n pickupResolve(pickupResponse.data);\n })\n .catch((error) => {\n // TODO: Handle the error.\n // console.log(error);\n pickupReject(error);\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n CHECK_AND_CALCULATE_FARE(context) {\n if (!context.state.booking.direction\n || !context.state.booking.selectedAddress.suburb\n || !context.state.booking.passengers) {\n context.commit(storeConstants.SET_SHOW_FARE, false);\n context.commit(storeConstants.SET_FARE, undefined);\n return;\n }\n\n context.dispatch(storeConstants.CALCULATE_FARE).catch(() => { });\n },\n CALCULATE_FARE({ commit, state, getters }) {\n const bookingDate = state.booking.pickUpDetails?.travelDate\n ?? state.booking.dropOffDate?.travelDate;\n\n return new Promise((resolve, reject) => {\n let queryString = `direction=${state.booking.direction}`\n + `&transferType=${state.booking.exclusiveCharter ? 2 : 1}`\n + '&isActiveIn=true'\n + '&isActiveOut=true'\n + `&suburb=${state.booking.selectedAddress.suburb}`\n + `&passengers=${state.booking.passengers}`\n + `&luggage=${state.booking.luggage}`\n + `&surfboards=${state.booking.surfboards}`\n + `&bicycles=${state.booking.bicycles}`\n + `&golfClubs=${state.booking.golfClubs}`\n + `&boardBags=${state.booking.boardBags}`\n + `&skisSnowboards=${state.booking.skisSnowboards}`;\n\n if (bookingDate) {\n queryString += `&bookingDate=${bookingDate}`;\n }\n\n const isAdministrator = getters.IS_ADMINISTRATOR;\n if (isAdministrator) {\n const bookingCharges = state.booking.bookingCharges\n .reduce((prev, cur) => prev + cur.price, 0);\n\n queryString += `&bookingCharges=${bookingCharges}`\n + `&discountDollars=${state.booking.discountDollars || ''}`\n + `&discountPercent=${state.booking.discountPercent || ''}`\n + `&companyAccount=${state.companyId || state.booking.companyAccount || ''}`;\n }\n\n axiosInstance.get(`Fare?${queryString}`)\n .then((response) => {\n if (response.data.isValid) {\n commit(storeConstants.SET_FARE, response.data.fare);\n commit(storeConstants.SET_SHOW_FARE, true);\n resolve();\n } else {\n reject(response.data.message);\n }\n })\n .catch((error) => {\n reject(error);\n });\n });\n },\n SAVE_BOOKING(context) {\n return new Promise((resolve, reject) => {\n axiosInstance\n .post('Booking', context.state.booking)\n .then((response) => {\n this.state.booking.bookingNumber = response.data.bookingNumber;\n this.state.booking.paymentReferenceNumber = response.data.paymentReferenceNumber;\n this.state.booking.paymentDescriptionText = response.data.paymentDescriptionText;\n this.state.booking.isPaymentSuccessful = response.data.isPaymentSuccessful;\n this.state.booking.bookingMessageContent = response.data.bookingMessageContent;\n resolve();\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n reject(error);\n });\n });\n },\n SAVE_BOOKING_ACTION(context, data) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving booking action...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve, reject) => {\n axiosInstance\n .put('Booking/BookingAction', data)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n resolve(response);\n }, (error) => {\n context.commit(storeConstants.SET_LOADING, false);\n reject(error);\n })\n .catch((error) => {\n context.commit(storeConstants.SET_LOADING, false);\n reject(error);\n });\n });\n },\n SET_ALERT_DETAILS(context, data) {\n this.state.showAlert = data.showAlert;\n this.state.alertText = data.alertText;\n },\n GET_ACCOUNTS(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving accounts...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('Configuration/Accounts')\n .then((response) => {\n context.commit(storeConstants.SET_ACCOUNTS, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_PAYMENT_TYPES(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving payment types...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('Configuration/PaymentTypes')\n .then((response) => {\n context.commit(storeConstants.SET_PAYMENT_TYPES, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_BOOKING_DATES(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving booking dates...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('Configuration/Dates')\n .then((response) => {\n context.commit(storeConstants.SET_BOOKING_DATES, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n DELETE_INVALID_BOOKING_DATE(context, id) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Deleting invalid booking date...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.delete(`Configuration/InvalidDate/${id}`)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n SAVE_INVALID_BOOKING_DATE(context, invalidBookingDate) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving invalid booking date...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.post('Configuration/InvalidDate', invalidBookingDate)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_INVALID_BOOKING_DATES(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving invalid booking dates...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('Configuration/InvalidDates')\n .then((response) => {\n context.commit(storeConstants.SET_INVALID_BOOKING_DATES, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n RESET_BOOKING_SEARCH(context) {\n context.commit(storeConstants.SET_BOOKINGS, []);\n },\n SEARCH_BOOKINGS(context, searchData) {\n return new Promise((resolve, reject) => {\n axiosInstance\n .get('Bookings', { params: searchData })\n .then((response) => {\n context.commit(storeConstants.SET_BOOKINGS, response.data);\n resolve();\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n // TODO: Handle the error.\n reject(error);\n });\n });\n },\n GET_BOOKING_INVOICE(context, bookingId) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving booking invoice...');\n context.commit(storeConstants.SET_LOADING, true);\n return new Promise((resolve, reject) => {\n axiosInstance\n .get(`Booking/Invoice/${bookingId}`)\n .then((response) => {\n context.commit(storeConstants.SET_BOOKING_INVOICE, response.data.data);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_SNACKBAR_TEXT, 'Booking invoice copied to clipboard.');\n context.commit(storeConstants.SET_DISPLAY_SNACKBAR, true);\n resolve();\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n // TODO: Handle the error.\n reject(error);\n });\n });\n },\n GET_CUSTOMER(context, customerId) {\n return new Promise((resolve, reject) => {\n axiosInstance\n .get(`Customer/${customerId}`)\n .then((response) => {\n if (response.data) {\n resolve(response.data);\n }\n })\n .catch((error) => {\n reject(error);\n });\n });\n },\n GET_BOOKING(context, bookingNumber) {\n return new Promise((resolve, reject) => {\n axiosInstance\n .get(`Booking/${bookingNumber}`)\n .then((response) => {\n if (response.data) {\n context.commit(storeConstants.SET_BOOKING, response.data);\n\n const booking = response.data;\n\n if (booking.direction === 1 || booking.direction === 3) {\n context.dispatch(storeConstants.GET_FLIGHT_DETAILS, {\n id: booking.pickUpDetails.departingFlight,\n suburb: booking.selectedAddress.suburb,\n isDeparting: true,\n });\n }\n\n if (booking.direction === 2 || booking.direction === 3) {\n context.dispatch(storeConstants.GET_FLIGHT_DETAILS, {\n id: booking.dropOffDetails.arrivingFlight,\n suburb: booking.selectedAddress.suburb,\n isDeparting: false,\n });\n }\n resolve();\n } else {\n reject(new Error('Invalid booking'));\n }\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n // TODO: Handle the error.\n reject(error);\n });\n });\n },\n SEARCH_ADMIN_CUSTOMERS(context, searchData) {\n return new Promise((resolve, reject) => {\n axiosInstance\n .get('Customer/Customers', { params: searchData })\n .then((response) => {\n context.commit(storeConstants.SET_ADMIN_CUSTOMERS, response.data);\n resolve();\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n // TODO: Handle the error.\n reject(error);\n });\n });\n },\n SEARCH_CUSTOMERS(context, searchData) {\n return new Promise((resolve, reject) => {\n axiosInstance\n .get('Customers', { params: searchData })\n .then((response) => {\n context.commit(storeConstants.SET_CUSTOMERS, response.data);\n resolve();\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n // TODO: Handle the error.\n reject(error);\n });\n });\n },\n RESET_BOOKING(context) {\n const newBooking = {\n covid19Vaccination: null,\n companyAccountId: null,\n fare: null,\n paymentType: 1, // default to CreditCard\n bookingNumber: null,\n paymentReferenceNumber: null,\n paymentDescriptionText: null,\n isPaymentSuccessful: null,\n bookingMessageContent: null,\n exclusiveCharter: false,\n direction: 1,\n luggage: 0,\n surfboards: 0,\n passengers: null,\n bicycles: 0,\n golfClubs: 0,\n babyCapsules: 0,\n babySeats: 0,\n boosterSeats: 0,\n boardBags: 0,\n skisSnowboards: 0,\n firstName: '',\n lastName: '',\n mobileNumber: null,\n phoneNumber: null,\n emailAddress: null,\n communicationType: null,\n discountDollars: null,\n discountPercent: null,\n selectedAddress: {\n subPremise: null,\n streetNumber: null,\n street: null,\n suburb: null,\n state: null,\n country: null,\n postCode: null,\n latitude: null,\n longitude: null,\n formattedAddress: null,\n place: null,\n },\n otherAddresses: null,\n pickUpDetails: {\n travelDate: null,\n departingFlight: null,\n pickupTime: null,\n departingFlightDetails: {},\n },\n dropOffDetails: {\n travelDate: null,\n arrivingFlight: null,\n arrivingFlightDetails: {},\n noFlightArrivalPickupTime: null,\n },\n paymentDetails: {\n creditCardNumber: null,\n expiryMonth: null,\n expiryYear: null,\n },\n additionalInfoToAirport: null,\n additionalInfoFromAirport: null,\n customerId: null,\n updateCustomerDetails: true,\n bookingCharges: [],\n };\n context.commit(storeConstants.SET_DEPARTING_FLIGHT_HINT_TEXT, null);\n context.commit(storeConstants.SET_ARRIVING_FLIGHT_HINT_TEXT, null);\n context.commit(storeConstants.SET_SUBURB_EXCLUSIVE_ONLY, null);\n context.commit(storeConstants.SET_BOOKING, newBooking);\n },\n RESET_SELECTED_ADDRESS(context) {\n context.commit(storeConstants.RESET_SELECTED_ADDRESS);\n },\n SAVE_SUBURB(context, suburb) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving suburb details...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.post('suburb', suburb)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n context.commit(storeConstants.SET_SUBURBS, response.data.suburbs);\n context.commit(storeConstants.SET_ZONES, response.data.zones);\n context.commit(storeConstants.SET_AREAS, response.data.areas);\n context.commit(storeConstants.SET_ALL_FARE_ADDONS, response.data.allFareAddons);\n\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_SUBURBS(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving suburbs...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('suburbs')\n .then((response) => {\n context.commit(storeConstants.SET_SUBURBS, response.data.suburbs);\n context.commit(storeConstants.SET_ZONES, response.data.zones);\n context.commit(storeConstants.SET_AREAS, response.data.areas);\n context.commit(storeConstants.SET_DIRECTIONS, response.data.directions);\n context.commit(storeConstants.SET_ALL_FARE_ADDONS, response.data.allFareAddons);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_EXTRA_CHARGES(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving extra charges...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('extracharges')\n .then((response) => {\n context.commit(storeConstants.SET_EXTRA_CHARGES, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n SAVE_EXTRA_CHARGES(context, extraCharges) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving extra charges...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve, reject) => {\n axiosInstance.post('extracharges', extraCharges)\n .then((response) => {\n context.commit(storeConstants.SET_EXTRA_CHARGES, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n\n resolve(response.data);\n })\n .catch((error) => {\n context.commit(storeConstants.SET_LOADING, false);\n if (error.response.data && !error.response.data.isValid) {\n context.dispatch(\n storeConstants.SET_ALERT_DETAILS,\n {\n alertText: error.response.data.error,\n showAlert: true,\n },\n );\n }\n reject(error.response.data.error);\n });\n });\n },\n SAVE_ALL_FARE_ADDONS(context, fareAddons) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving fare addons...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.post('fareaddons', fareAddons)\n .then((response) => {\n context.commit(storeConstants.SET_ALL_FARE_ADDONS, response.data.allFareAddons);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n REFRESH_AUTH_TOKEN(context) {\n getUser().then((user) => {\n if (user) {\n const isLoggedIn = !!(user !== null && !user.expired);\n context.commit(storeConstants.SET_IS_AUTHENTICATED, isLoggedIn);\n context.commit(storeConstants.SET_CURRENT_USER_DISPLAY_NAME, `${user.profile.given_name} ${user.profile.family_name}`);\n context.commit(storeConstants.SET_CURRENT_USER_FIRST_NAME, user.profile.given_name);\n context.commit(storeConstants.SET_CURRENT_USER_LAST_NAME, user.profile.family_name);\n context.commit(storeConstants.SET_CURRENT_USER_EMAIL, user.profile.email);\n context.commit(storeConstants.SET_COMPANY_ID, user.profile.company_id);\n context.commit(storeConstants.SET_BEARER_TOKEN, user.access_token);\n context.commit(storeConstants.SET_CURRENT_USER_ID, user.sub);\n context.commit(storeConstants.SET_AUTH_TOKEN_EXPIRY, user.expires_at);\n\n // convert a single role to an array, it comes across as a string.\n if (isLoggedIn && !!user.profile && !!user.profile.role) {\n let roles = user.profile.role;\n if (!Array.isArray(roles)) {\n roles = [user.profile.role];\n }\n\n context.commit(storeConstants.SET_USER_ROLES, roles);\n }\n }\n });\n },\n SEND_TEXT_MESSAGE(context, data) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Sending text message...');\n context.commit(storeConstants.SET_LOADING, true);\n\n const smsMessageEndpoint = data.messageType === 1 ? 'SendPassengerTextMessage' : 'SendDriverTextMessage';\n\n return new Promise((resolve, reject) => {\n axiosInstance\n .post(`Admin/${smsMessageEndpoint}`, data)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, undefined);\n resolve(response);\n }, (error) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, undefined);\n reject(error);\n })\n .catch((error) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, undefined);\n reject(error);\n });\n });\n },\n GET_COMPANIES_ADMIN(context) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving companies...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.get('companies')\n .then((response) => {\n context.commit(storeConstants.SET_COMPANIES_ADMIN, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n SAVE_CUSTOMER_ADMIN(context, customer) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving customer...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve, reject) => {\n axiosInstance.post('customer', customer)\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n context.commit(storeConstants.SET_LOADING, false);\n reject(error);\n });\n });\n },\n SAVE_COMPANY_ADMIN(context, company) {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Saving company...');\n context.commit(storeConstants.SET_LOADING, true);\n\n return new Promise((resolve) => {\n axiosInstance.post('company', company)\n .then((response) => {\n context.commit(storeConstants.SET_COMPANIES_ADMIN, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch(() => {\n context.commit(storeConstants.SET_LOADING, false);\n });\n });\n },\n GET_REPORT_BY_DATE_SUBURB(context, searchCriteria) {\n return new Promise((resolve, reject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving report data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n axiosInstance.get(`GetByDateSuburb/${searchCriteria.fromDate}/${searchCriteria.toDate}`)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n });\n });\n },\n GET_REPORT_DAILY_BOOKINGS(context, searchCriteria) {\n return new Promise((resolve, reject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving report data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n const queryString = `date=${searchCriteria.date || ''}`\n + `&userId=${searchCriteria.userId || ''}`\n + `&bookingId=${searchCriteria.bookingId || ''}`;\n\n axiosInstance.get(`GetDailyBookings?${queryString}`)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n });\n });\n },\n GET_REPORT_MONTHLY_REVENUE(context, searchCriteria) {\n return new Promise((resolve, reject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving report data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n axiosInstance.get(`GetMonthlyRevenue/${searchCriteria.fromDate}/${searchCriteria.toDate}`)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n });\n });\n },\n GET_REPORT_ACCOUNT_BOOKINGS(context, searchCriteria) {\n return new Promise((resolve, reject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving report data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n const queryString = searchCriteria.companyAccountId ? `/${searchCriteria.companyAccountId}` : '';\n\n axiosInstance.get(`GetAccountBookings/${searchCriteria.fromDate}/${searchCriteria.toDate}${queryString}`)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n });\n });\n },\n GET_REPORT_CREDIT_BOOKINGS(context, searchCriteria) {\n return new Promise((resolve, reject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving report data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n axiosInstance.get(`GetCreditBookings/${searchCriteria.fromDate}/${searchCriteria.toDate}`)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n });\n });\n },\n GET_REPORT_REVENUE_BY_BUS(context, searchCriteria) {\n return new Promise((resolve, reject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving report data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n const route = searchCriteria.busNo ? `/${searchCriteria.busNo}` : '';\n\n axiosInstance.get(`GetRevenueByBus/${searchCriteria.fromDate}/${searchCriteria.toDate}${route}`)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n });\n });\n },\n GET_USERS_BY_ROLE(context, roles) {\n return new Promise((resolve, reject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving report data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n const queryString = roles.map(role => `roles=${role}`).join('&');\n\n axiosInstance.get(`Users?${queryString}`)\n .then((response) => {\n context.commit(storeConstants.SET_USERS_BY_ROLE, response.data);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n });\n });\n },\n GET_REPORT_CUSTOMER_INVOICE(context, searchCriteria) {\n return new Promise((resolve, reject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving report data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n axiosInstance.get(`GetCustomerInvoice/${searchCriteria.fromDate}/${searchCriteria.toDate}/${searchCriteria.customerId}`)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n });\n });\n },\n GET_REPORT_CUSTOMER_USAGE(context, searchCriteria) {\n return new Promise((resolve, reject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving report data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n const customerRoute = searchCriteria.customerId ? `/${searchCriteria.customerId}` : '';\n\n axiosInstance.get(`GetCustomerUsage/${searchCriteria.fromDate}/${searchCriteria.toDate}${customerRoute}`)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n });\n });\n },\n GET_REPORT_DRIVER_PAYIN(context, searchCriteria) {\n return new Promise((resolve, reject) => {\n context.commit(storeConstants.SET_LOADING_TEXT, 'Retrieving report data...');\n context.commit(storeConstants.SET_LOADING, true);\n\n const driverRoute = searchCriteria.driverId ? `/${searchCriteria.driverId}` : '';\n\n axiosInstance.get(`GetDriverPayIn/${searchCriteria.fromDate}/${searchCriteria.toDate}${driverRoute}`)\n .then((response) => {\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n context.commit(storeConstants.SET_LOADING, false);\n context.commit(storeConstants.SET_LOADING_TEXT, null);\n });\n });\n },\n },\n modules: {},\n});\n\nexport default store;\n","const SYSTEM_ADMINISTRATOR = 'system_administrator';\nconst ASN_OFFICE_ADMINISTRATOR = 'asn_office_administrator';\nconst DRIVER = 'driver';\nconst CONTRACT_DRIVER = 'contract_driver';\nconst AGENT = 'agent';\nconst CUSTOMER = 'customer';\n\nexport default {\n SYSTEM_ADMINISTRATOR,\n ASN_OFFICE_ADMINISTRATOR,\n DRIVER,\n CONTRACT_DRIVER,\n AGENT,\n CUSTOMER,\n};\n","import Vue from 'vue';\nimport { UserManager, WebStorageStateStore } from 'oidc-client';\nimport getConfiguration from '@/plugins/configuration';\n\n// retrieve endpoint configuration.\ngetConfiguration();\n\nconst STS_DOMAIN = Vue.prototype.$configuration.stsDomain;\nconst REDIRECT_BASE_URI = Vue.prototype.$configuration.redirectBaseUri;\n\nconst settings = {\n userStore: new WebStorageStateStore({ store: window.localStorage }),\n authority: STS_DOMAIN,\n client_id: 'asntransfers_client',\n filterProtocolClaims: true,\n redirect_uri: `${REDIRECT_BASE_URI}/callback.html`,\n post_logout_redirect_uri: `${REDIRECT_BASE_URI}/`,\n response_type: 'code', // \"id_token token\"\n scope: 'openid profile email api.read roles offline_access',\n loadUserInfo: true,\n automaticSilentRenew: true,\n silent_redirect_uri: `${REDIRECT_BASE_URI}/silentrenew.html`,\n};\n\nconst userManager = new UserManager(settings);\n\nconst getUser = () => userManager.getUser();\n\nconst login = () => userManager.signinRedirect();\n\nconst logout = () => userManager.signoutRedirect();\n\nconst getAccessToken = () => userManager.getUser().then((data) => {\n if (data) {\n return data.access_token;\n }\n return null;\n});\n\nexport {\n getUser,\n login,\n logout,\n getAccessToken,\n};\n","import Vue from 'vue';\nimport Vuetify from 'vuetify';\n\nVue.use(Vuetify);\n\nexport default new Vuetify({\n icons: {\n iconfont: 'mdi',\n },\n});\n","import Vue from 'vue';\n\nVue.filter('toCurrency', (value) => {\n if (!value) return 0;\n if (typeof value !== 'number') {\n return value;\n }\n const formatter = new Intl.NumberFormat('en-AU', {\n style: 'currency',\n currency: 'AUD',\n minimumFractionDigits: 2,\n });\n return formatter.format(value);\n});\n","import Vue from 'vue';\n\nVue.filter('toPercentage', (value, decimals, isWholeNumber) => {\n let percentage = value;\n let percentageDecimals = decimals;\n\n if (!value) {\n percentage = 0;\n }\n\n if (!decimals) {\n percentageDecimals = 0;\n }\n\n if (!isWholeNumber) {\n percentage = value * 100;\n }\n percentage = Math.round(percentage * (10 ** percentageDecimals)) / (10 ** percentageDecimals);\n percentage += '%';\n\n return percentage;\n});\n","import Vue from 'vue';\n\nVue.filter('toDirection', (value) => {\n if (!value) return 'Unknown';\n if (typeof value !== 'number') {\n return value;\n }\n let name = 'Unknown';\n switch (value) {\n case 1:\n name = 'To Airport';\n break;\n case 2:\n name = 'From Airport';\n break;\n case 3:\n name = 'Both';\n break;\n default:\n break;\n }\n return name;\n});\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',{attrs:{\"id\":\"inspire\"}},[_c('v-app-bar',{staticClass:\"d-print-none\",attrs:{\"app\":\"\",\"clipped-left\":\"\",\"color\":\"red\",\"dense\":\"\"}},[_c('v-menu',{attrs:{\"bottom\":\"\",\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-app-bar-nav-icon',_vm._g(_vm._b({attrs:{\"color\":\"white\"},on:{\"click\":function($event){$event.stopPropagation();_vm.drawer = !_vm.drawer}}},'v-app-bar-nav-icon',attrs,false),on))]}}])},[_c('v-list',{attrs:{\"dense\":\"\"}},[_c('v-list-item',[_c('v-list-item-title',[_c('login-button')],1)],1),(_vm.IS_ADMINISTRATOR || _vm.IS_AGENT || _vm.IS_DRIVER || _vm.IS_CONTRACT_DRIVER)?_c('div',[_vm._l((_vm.items),function(item){return [(!item.subMenu && _vm.isInRole(item.roles))?[(!item.openInNewWindow)?_c('router-link',{key:item.text,staticClass:\"nav-link\",attrs:{\"link\":\"\",\"to\":item.path}},[_c('v-list-item',{attrs:{\"link\":\"\"}},[_c('v-list-item-action',[_c('v-icon',[_vm._v(_vm._s(item.icon))])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(item.text))])],1)],1)],1):_vm._e(),(!!item.openInNewWindow)?_c('a',{key:item.text,staticClass:\"nav-link\",attrs:{\"icon\":\"\",\"href\":item.path,\"target\":\"_blank\"}},[_c('v-list-item',{attrs:{\"link\":\"\"}},[_c('v-list-item-action',[_c('v-icon',[_vm._v(_vm._s(item.icon))])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(item.text))])],1)],1)],1):_vm._e()]:_vm._e(),(!!item.subMenu)?[(_vm.isInRole(item.roles))?_c('v-list-group',{key:item.text,attrs:{\"no-action\":\"\",\"prepend-icon\":item.icon},on:{\"click\":function($event){$event.stopPropagation();}},scopedSlots:_vm._u([{key:\"activator\",fn:function(){return [_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(item.text))])],1)]},proxy:true}],null,true)},[_vm._l((item.subMenu),function(item){return [(!item.openInNewWindow)?_c('router-link',{key:item.text,staticClass:\"nav-link\",attrs:{\"to\":item.path}},[_c('v-list-item',{attrs:{\"link\":\"\"}},[_c('v-list-item-action',[_c('v-icon',[_vm._v(_vm._s(item.icon))])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(item.text)+\" \"+_vm._s(item.openInNewWindow))])],1)],1)],1):_vm._e()]})],2):_vm._e()]:_vm._e()]})],2):_vm._e()],1)],1),_c('v-img',{staticClass:\"d-none d-sm-block\",attrs:{\"contain\":\"\",\"height\":\"28\",\"width\":\"100\",\"src\":require('@/assets/ASNTransfers-100x28.jpg')}}),_c('v-toolbar-title',{staticClass:\"mr-12 align-center\"},[_c('span',{staticClass:\"title white--text\"},[(!_vm.showFare)?_c('div',[_vm._v(\"ASN Transfers Bookings\")]):_vm._e(),(_vm.showFare)?_c('div',[_vm._v(\"Estimated Fare: \"+_vm._s(_vm._f(\"toCurrency\")(_vm.FARE)))]):_vm._e()])]),_c('v-spacer'),(_vm.IS_ADMINISTRATOR || _vm.IS_AGENT || _vm.IS_DRIVER)?_c('div',[_c('countdown-timer',{attrs:{\"date\":_vm.getAuthTokenExpiry}})],1):_vm._e()],1),_c('v-main',[_c('router-view')],1),_c('div',{staticClass:\"text-center\"},[_c('v-snackbar',{scopedSlots:_vm._u([{key:\"action\",fn:function(ref){\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._b({attrs:{\"color\":\"blue\",\"text\":\"\"},on:{\"click\":function($event){_vm.isSnackbarVisible=false}}},'v-btn',attrs,false),[_vm._v(\"Close \")])]}}]),model:{value:(_vm.isSnackbarVisible),callback:function ($$v) {_vm.isSnackbarVisible=$$v},expression:\"isSnackbarVisible\"}},[_vm._v(\" \"+_vm._s(_vm.snackbarText)+\" \")]),_c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"300\"},model:{value:(_vm.isLoading),callback:function ($$v) {_vm.isLoading=$$v},expression:\"isLoading\"}},[_c('v-card',{attrs:{\"color\":\"primary\",\"dark\":\"\"}},[_c('v-card-text',[_vm._v(\" \"+_vm._s(_vm.loadingText)+\" \"),_c('v-progress-linear',{staticClass:\"mb-0\",attrs:{\"indeterminate\":\"\",\"color\":\"white\"}})],1)],1)],1)],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-list-item',[_c('v-list-item-action',[(_vm.isLoggedIn)?_c('v-icon',[_vm._v(\"mdi-logout-variant\")]):_vm._e(),(!_vm.isLoggedIn)?_c('v-icon',[_vm._v(\"mdi-login-variant\")]):_vm._e()],1),_c('v-list-item-content',[_c('v-list-item-title',[(!_vm.isLoggedIn)?_c('v-btn',{staticClass:\"ma-2\",on:{\"click\":_vm.login}},[_vm._v(\" Login \"),_c('v-icon',{staticClass:\"ml-2\"},[_vm._v(\"mdi-login-variant\")])],1):_vm._e(),(_vm.isLoggedIn)?_c('v-list-item-title',[_vm._v(\" Welcome, \"+_vm._s(_vm.currentUserDisplayName)+\" \"),_c('div',[(_vm.isLoggedIn)?_c('v-btn',{staticClass:\"ma-2 white--text\",attrs:{\"color\":\"blue-grey\"},on:{\"click\":_vm.logout}},[_vm._v(\"Logout \"),_c('v-icon',{staticClass:\"ml-2\"},[_vm._v(\"mdi-logout-variant\")])],1):_vm._e()],1)]):_vm._e()],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!./LoginButton.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!./LoginButton.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LoginButton.vue?vue&type=template&id=7fb604d4&\"\nimport script from \"./LoginButton.vue?vue&type=script&lang=js&\"\nexport * from \"./LoginButton.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 { 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';\ninstallComponents(component, {VBtn,VIcon,VListItem,VListItemAction,VListItemContent,VListItemTitle})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"countdown\"},[_c('v-chip',{staticClass:\"ma-2\"},[_c('span',{staticClass:\"pr-1\"},[_vm._v(\"Login refresh in: \")]),(_vm.hours!='00')?_c('span',{staticClass:\"pr-1\"},[_vm._v(_vm._s(_vm._f(\"two_digits\")(_vm.hours))+\" hours\")]):_vm._e(),_c('span',{staticClass:\"pr-1\"},[_vm._v(_vm._s(_vm._f(\"two_digits\")(_vm.minutes))+\" mins\")]),_c('span',[_vm._v(_vm._s(_vm._f(\"two_digits\")(_vm.seconds))+\" sec\")])])],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!./CountdownTimer.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!./CountdownTimer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CountdownTimer.vue?vue&type=template&id=4dbeeb10&\"\nimport script from \"./CountdownTimer.vue?vue&type=script&lang=js&\"\nexport * from \"./CountdownTimer.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 { VChip } from 'vuetify/lib/components/VChip';\ninstallComponents(component, {VChip})\n","\n \n \n \n\n \n \n \n
ASN Transfers Bookings
\n
Estimated Fare: {{ FARE | toCurrency }}
\n \n
\n \n
\n \n
\n \n\n \n \n \n
\n \n {{ snackbarText }}\n \n \n \n \n \n {{ loadingText }}\n \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!./YouTubeLayout.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!./YouTubeLayout.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./YouTubeLayout.vue?vue&type=template&id=6a9f0fe2&scoped=true&\"\nimport script from \"./YouTubeLayout.vue?vue&type=script&lang=js&\"\nexport * from \"./YouTubeLayout.vue?vue&type=script&lang=js&\"\nimport style0 from \"./YouTubeLayout.vue?vue&type=style&index=0&id=6a9f0fe2&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 \"6a9f0fe2\",\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 { VAppBar } from 'vuetify/lib/components/VAppBar';\nimport { VAppBarNavIcon } from 'vuetify/lib/components/VAppBar';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListGroup } from 'vuetify/lib/components/VList';\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 { VMain } from 'vuetify/lib/components/VMain';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VApp,VAppBar,VAppBarNavIcon,VBtn,VCard,VCardText,VDialog,VIcon,VImg,VList,VListGroup,VListItem,VListItemAction,VListItemContent,VListItemTitle,VMain,VMenu,VProgressLinear,VSnackbar,VSpacer,VToolbarTitle})\n","import Vue from 'vue';\nimport Vuex from 'vuex';\nimport { getField, updateField } from 'vuex-map-fields';\nimport storeConstants from '@/modules/bus-run-manager/store/storeConstants';\nimport rootStoreConstants from '@/store/storeConstants';\nimport getInstance from '@/plugins/axiosInstance';\nimport getConfiguration from '@/plugins/configuration';\n\nVue.use(Vuex);\n\n// retrieve endpoint configuration.\ngetConfiguration();\n\nconst axiosInstance = getInstance(Vue.prototype.$configuration.apiUrl);\n\nconst busRunManagerModule = {\n namespaced: true,\n name: 'busRunManagerModule',\n state: () => ({\n busSummary: [],\n assignedBuses: [],\n messageTemplates: [],\n }),\n mutations: {\n updateField,\n SET_BUS_SUMMARY(state, payload) {\n state.busSummary = payload;\n },\n SET_ASSIGNED_BUSES(state, payload) {\n state.assignedBuses = payload;\n },\n SET_MESSAGE_TEMPLATES(state, payload) {\n state.messageTemplates = payload;\n },\n },\n actions: {\n GET_MESSAGE_TEMPLATES(context) {\n context.commit(rootStoreConstants.SET_LOADING_TEXT, 'Retrieving message templates...', { root: true });\n context.commit(rootStoreConstants.SET_LOADING, true, { root: true });\n\n return new Promise((resolve, reject) => {\n axiosInstance\n .get('Admin/MessageTemplates')\n .then((response) => {\n context.commit(storeConstants.SET_MESSAGE_TEMPLATES, response.data, { root: false });\n resolve(response);\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n context.commit(rootStoreConstants.SET_LOADING, false, { root: true });\n reject(error);\n });\n });\n },\n BOOKING_ACTION(context, data) {\n context.commit(rootStoreConstants.SET_LOADING_TEXT, 'Saving booking action...', { root: true });\n context.commit(rootStoreConstants.SET_LOADING, true, { root: true });\n\n return new Promise((resolve, reject) => {\n axiosInstance\n .put('Admin/BookingAction', data)\n .then((response) => {\n context.commit(storeConstants.SET_BUS_SUMMARY, response.data, { root: false });\n context.commit(rootStoreConstants.SET_LOADING, false, { root: true });\n resolve(response);\n }, (error) => {\n context.commit(rootStoreConstants.SET_LOADING, false, { root: true });\n reject(error);\n })\n .catch((error) => {\n context.commit(rootStoreConstants.SET_LOADING, false, { root: true });\n reject(error);\n });\n });\n },\n SAVE_RUN_DETAILS(context, data) {\n context.commit(rootStoreConstants.SET_LOADING_TEXT, 'Saving bus run details...', { root: true });\n context.commit(rootStoreConstants.SET_LOADING, true, { root: true });\n\n return new Promise((resolve, reject) => {\n axiosInstance\n .post('Admin/BusSummary', data)\n .then((response) => {\n context.commit(storeConstants.SET_BUS_SUMMARY, response.data, { root: false });\n resolve(response);\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n context.commit(rootStoreConstants.SET_LOADING, false, { root: true });\n reject(error);\n });\n });\n },\n SAVE_BUS_SETUP(context, data) {\n return new Promise((resolve, reject) => {\n axiosInstance\n .post('Admin/AssignedBuses', data)\n .then((response) => {\n resolve(response);\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n context.commit(rootStoreConstants.SET_LOADING, false, { root: true });\n reject(error);\n });\n });\n },\n GET_BUS_SUMMARY(context, data) {\n context.commit(rootStoreConstants.SET_LOADING_TEXT, 'Retrieving bus summary...', { root: true });\n context.commit(rootStoreConstants.SET_LOADING, true, { root: true });\n\n return new Promise((resolve, reject) => {\n axiosInstance.get(`Admin/BusSummary?bookingDate=${data}`)\n .then((response) => {\n context.commit(storeConstants.SET_BUS_SUMMARY, response.data, { root: false });\n resolve(response.data);\n }, (error) => {\n reject(error);\n })\n .catch((error) => {\n context.commit(rootStoreConstants.SET_LOADING, false, { root: true });\n reject(error);\n });\n });\n },\n GET_ASSIGNED_BUSES(context, data) {\n return new Promise((resolve, reject) => {\n axiosInstance.get(`Admin/AssignedBuses?bookingDate=${data}`)\n .then((response) => {\n context.commit(storeConstants.SET_ASSIGNED_BUSES, response.data, { root: false });\n context.commit(rootStoreConstants.SET_LOADING, false, { root: true });\n context.commit(rootStoreConstants.SET_LOADING_TEXT, null, { root: true });\n resolve(response.data);\n }, (error) => {\n reject(error.response.data.error);\n })\n .catch((error) => {\n context.commit(rootStoreConstants.SET_LOADING, false, { root: true });\n reject(error);\n });\n });\n },\n },\n getters: {\n getField,\n BUS_SUMMARY: state => state.busSummary,\n ASSIGNED_BUSES: state => state.assignedBuses,\n MESSAGE_TEMPLATES: state => state.messageTemplates,\n },\n};\n\nexport default busRunManagerModule;\n","import Vue from 'vue';\nimport VueRouter from 'vue-router';\nimport busRunManagerModule from '../modules/bus-run-manager/store/index';\nimport store from '../store/index';\n\nVue.use(VueRouter);\n\nfunction editBookingsRouteParams(route) {\n return {\n id: Number(route.params.id),\n };\n}\n\nfunction newBookingsRouteParams(route) {\n return {\n customerId: Number(route.params.customerId),\n };\n}\n\nconst routes = [\n {\n path: '/',\n name: 'booking',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Booking.vue'),\n },\n {\n path: '/editBooking/:id',\n name: 'editBooking',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Booking.vue'),\n props: editBookingsRouteParams,\n },\n {\n path: '/newBooking/:customerId',\n name: 'newBooking',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Booking.vue'),\n props: newBookingsRouteParams,\n },\n {\n path: '/confirmation',\n name: 'confirmation',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Confirmation.vue'),\n },\n {\n path: '/searchbooking',\n name: 'searchbooking',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/SearchBookings.vue'),\n },\n {\n path: '/users',\n name: 'users',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Users.vue'),\n },\n {\n path: '/suburbs',\n name: 'suburbs',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Suburbs.vue'),\n },\n {\n path: '/booking-dates',\n name: 'bookingdates',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/BookingDates.vue'),\n },\n {\n path: '/companies',\n name: 'companies',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Companies.vue'),\n },\n {\n path: '/flights',\n name: 'flights',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Flights.vue'),\n },\n {\n path: '/customers',\n name: 'customers',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Customers.vue'),\n },\n {\n path: '/userdetails',\n name: 'userdetails',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/UserDetails.vue'),\n },\n {\n path: '/reports',\n name: 'reports',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Reports.vue'),\n },\n {\n path: '/driver-authority',\n name: 'driverauthority',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/DriverAuthority.vue'),\n },\n {\n path: '/driver-payin',\n name: 'driverpayin',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/DriverPayIn.vue'),\n },\n {\n path: '/diagnostics',\n name: 'diagnostics',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/Diagnostics.vue'),\n },\n {\n path: '/message-templates',\n name: 'messagetemplates',\n component: () => import(/* webpackChunkName: \"booking\" */ '../views/MessageTemplates.vue'),\n },\n];\n\nconst router = new VueRouter({\n mode: 'history',\n base: process.env.BASE_URL,\n routes,\n});\n\nrouter.beforeEach((to, from, next) => {\n if (to.name === 'bus-run-manager' && !store.hasModule('busRunManagerModule')) {\n store.registerModule('busRunManagerModule', busRunManagerModule);\n }\n next();\n});\n\nexport default router;\n","import Vue from 'vue';\nimport VuetifyGoogleAutocomplete from 'vuetify-google-autocomplete';\nimport { VTextField } from 'vuetify/es5/components/VTextField/VTextField';\nimport * as VeeValidate from 'vee-validate';\nimport VueMoment from 'vue-moment';\nimport VCurrencyField from 'v-currency-field';\nimport VueTelInputVuetify from 'vue-tel-input-vuetify/lib';\n\nimport vuetify from './plugins/vuetify';\nimport './filters/currency';\nimport './filters/percentage';\nimport './filters/direction';\n\nimport YoutubeApp from './YouTubeLayout.vue';\nimport router from './router';\nimport store from './store';\n\nVue.config.productionTip = false;\nVue.component('v-text-field', VTextField);\nVue.use(VueMoment);\nVue.use(VeeValidate, {\n inject: true,\n fieldsBagName: '$veeFields',\n errorBagName: '$veeErrors',\n});\n\nVue.use(VueTelInputVuetify, {\n vuetify,\n});\n\nVue.use(VuetifyGoogleAutocomplete, {\n apiKey: { client: 'AIzaSyBckS5zyFOrXqT_jZZFHKgJZ1rO-qPSGGE' }, // Can also be an object. E.g, for Google Maps Premium API, pass `{ client: }`\n // version: '...', // Optional\n // language: '...', // Optional\n});\n\nVue.use(VCurrencyField, {\n locale: 'en',\n decimalLength: 2,\n autoDecimalMode: false,\n min: null,\n max: null,\n defaultValue: 0,\n valueAsInteger: false,\n allowNegative: false,\n});\n\nVue.use(vuetify);\n\n// TODO: Move into filter and register\nVue.filter('two_digits', (value) => {\n if (value < 0) {\n return '00';\n }\n if (value.toString().length <= 1) {\n return `0${value}`;\n }\n return value;\n});\n\n// TODO: Move into routes\nconst busRunManager = () => import('./modules/bus-run-manager/views/Home.vue');\nrouter.addRoutes([{ name: 'bus-run-manager', path: '/bus-run-manager', component: busRunManager }]);\nnew Vue({\n router,\n store,\n vuetify,\n render: h => h(YoutubeApp),\n}).$mount('#app');\n","import mod 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!./YouTubeLayout.vue?vue&type=style&index=0&id=6a9f0fe2&scoped=true&lang=css&\"; export default mod; 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!./YouTubeLayout.vue?vue&type=style&index=0&id=6a9f0fe2&scoped=true&lang=css&\"","import axios from 'axios';\nimport {\n getAccessToken,\n} from '@/services/auth-service';\n\nfunction getInstance(baseApiUrl) {\n const axiosInstance = axios.create({\n baseURL: baseApiUrl,\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n });\n\n axiosInstance.interceptors.request.use(\n async (config) => {\n const token = await getAccessToken();\n if (token) {\n config.withCredentials = true;\n config.headers.Authorization = [\n 'Bearer', token,\n ].join(' ');\n /* eslint no-param-reassign: \"warn\" */\n }\n return config;\n },\n (error) => {\n Promise.reject(error);\n },\n );\n\n return axiosInstance;\n}\n\nexport default getInstance;\n","module.exports = \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4QCCRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAABJADAAIAAAAUAAAAUJAEAAIAAAAUAAAAZJKRAAIAAAADMDAAAJKSAAIAAAADMDAAAAAAAAAyMDE4OjA0OjA5IDEyOjQ2OjEzADIwMTg6MDQ6MDkgMTI6NDY6MTMAAAD/4QGcaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49J++7vycgaWQ9J1c1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCc/Pg0KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyI+PHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj48cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0idXVpZDpmYWY1YmRkNS1iYTNkLTExZGEtYWQzMS1kMzNkNzUxODJmMWIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyI+PHhtcDpDcmVhdGVEYXRlPjIwMTgtM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5PnUyLmabPcKegPqfyNWI/hx4tt1KWWgtbIRgmOVNzD3bdk/Tp7V758RLWK40O3MobK39moKsVOHuYlYcdipI/GuW+KlqzXeYbm5t1stInnjWFwAWV0AzkE/iMH3rOrB1lZux0ZdmH9nSc404yfeSvb01PKdR+Gniuxjjc6VJOroG/cMJCpIyVIBzkdPT0Jq3pL/EbSbFbDTrXXYLVc7YxaMQuTk4JXjk9q9I+KWp3tr4jha2uZYRptol5EiNhXkaUg7x/EMR7cejN68Vvi5Pc2mp6leWl3cwyQ2NlCFSQhGWWedXyvTPCkHqCo5xkHnWCSd4yaPclxbVqQ5a9GMvX+mee6X8M/FutXhkurN7YSMWkuLx9pyTkkjlifwq34m+Fuu2uqNb6Np013aRRoouS6L5rbQWbBbjkkAegFdd8VtSurT4maDDbytGsiWpOCeP9IYHA6DI4JxzXbW+nC8+I+o3klzcD7HBb+XCCvlncJQc5BI/Aj3zT+pQtuT/AK3Yz2nMoxstLa29d/8AgEPwh8PXPh7wcttqMHk3k0zzSxkgkdFHI46KD+NeU+NvhbrUPiS7Ogac1xpsrebEUdV2Z6pgkdDn8MV13hHU7lvjXr1i7B4AZSu7JK8JwPar/wAO4JIfFCStdXM32u2vZHSRgVUpdKoxgDPB75x2xWk8NGUVF9Dgwuf4nDYmpiYpNz3Tvb8+nQw/gz4H1nRfFE2oa3YNbRx27JEWdWy7EehPbP517XXjPwK1K6vde1qOeVmjSFMKSTk+Y3JJ5J9ya9mqoUlSXKjkzDMamY1vb1Uk7W0CiiirOE//2Q==\"","// setters\nconst SET_BUS_SUMMARY = 'SET_BUS_SUMMARY';\nconst SET_ASSIGNED_BUSES = 'SET_ASSIGNED_BUSES';\nconst SET_MESSAGE_TEMPLATES = 'SET_MESSAGE_TEMPLATES';\n\n// getters\nconst BUS_SUMMARY = 'BUS_SUMMARY';\nconst ASSIGNED_BUSES = 'ASSIGNED_BUSES';\nconst MESSAGE_TEMPLATES = 'MESSAGE_TEMPLATES';\n\n// actions\nconst GET_BUS_SUMMARY = 'GET_BUS_SUMMARY';\nconst GET_ASSIGNED_BUSES = 'GET_ASSIGNED_BUSES';\nconst SAVE_BUS_SETUP = 'SAVE_BUS_SETUP';\nconst SAVE_RUN_DETAILS = 'SAVE_RUN_DETAILS';\nconst BOOKING_ACTION = 'BOOKING_ACTION';\nconst GET_MESSAGE_TEMPLATES = 'GET_MESSAGE_TEMPLATES';\n\nexport default {\n // setters\n SET_BUS_SUMMARY,\n SET_ASSIGNED_BUSES,\n SET_MESSAGE_TEMPLATES,\n\n // actions\n GET_BUS_SUMMARY,\n GET_ASSIGNED_BUSES,\n SAVE_BUS_SETUP,\n SAVE_RUN_DETAILS,\n BOOKING_ACTION,\n GET_MESSAGE_TEMPLATES,\n\n // getters\n BUS_SUMMARY,\n ASSIGNED_BUSES,\n MESSAGE_TEMPLATES,\n};\n"],"sourceRoot":""}