{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/shared/urls.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","BaseUrl","TripFocusUrl","buildMode","encodeURIComponent","indexOf","urls","AuthenticationUrl","IdentityServerBaseUrl","LoadTendersUrl","OrdersV2Url","LoadTenderTemplateUrl","ImagePermissionsUrl","ImagePortalUrl","NotificationsBaseUrl","NotificationSubscriptionsUrl","NotificationEventTypesUrl","LocationsUrl","CustomersUrl","CustomerPermissionsUrl","UsersUrl","ProfileUrl","PermissionsUrl","MasterPermissionsBaseUrl","RelationshipsBaseUrl","CommoditiesBaseUrl","CompaniesBaseUrl","LoggingUrl","CustomerReferenceNumberTypeUrl","concat","CustomerUserReferenceNumberTypeUrl","AiAssistantUrl","_objectSpread"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,qBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvD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AU,mCAEZmB,SAAUnB,EAAU,0BACpBoB,WAAYpB,EAAU,4BACtBqB,eAAgBrB,EAAU,oCAE1BsB,yBAA0BtB,EAAU,oBACpCuB,qBAAsBvB,EAAU,YAGhCwB,mBAAoBxB,EAAU,iBAC9ByB,iBAAkBzB,EAAU,eAC5B0B,WAAY1B,EAAU,wBACvB2B,+BAAgC,GAAFC,OAAK5B,EAAO,gCAC1C6B,mCAAoC,GAAFD,OAAK5B,EAAO,oCAE7C8B,eAAc,GAAAF,OAAM5B,EAAO,qCAsB7B+B,eAAA,GACK1B","file":"js/urls.75f225c6.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\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\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\n","// During Octopus deployment, variable values in this file using Octopus hash-syntax will be replaced\r\nvar BaseUrl = \"#{TripFocus.ApiBaseUrl}\";\r\nvar TripFocusUrl = \"#{TripFocus.Url}\";\r\nvar buildMode = \"#{TripFocus.BuildMode}\";\r\n\r\n// For local development, the string above won't be replaced. The following block provides a default fallback URL\r\n// In a file being ran through Octopus variable substitution, you have to avoid using the 'hash' symbol anywhere\r\n// (other than a \"real\" Octopus variable, of course). Otherwise Octopus throws a wobbly.\r\nif (~encodeURIComponent(buildMode).indexOf(\"%23%7B\")) {\r\n //%23%7B = #{\r\n buildMode = \"local\"; //this will be set to prod in octopus\r\n TripFocusUrl = \"http://localhost:8080/\";\r\n BaseUrl = \"https://api.dev.thekag.com/\";\r\n}\r\n\r\n// export urls object including all available urls\r\nlet urls = {\r\n BaseUrl,\r\n TripFocusUrl,\r\n AuthenticationUrl: BaseUrl + \"identityserver/v1/users/login\",\r\n IdentityServerBaseUrl: BaseUrl + \"identityserver/\",\r\n LoadTendersUrl: BaseUrl + \"loadtenders/v1\",\r\n\r\n // OrdersUrl: BaseUrl + \"orders/v1\", //used for posts until DAL is replaced //12-02-2022 this is not used anywhere - JEM\r\n OrdersV2Url: BaseUrl + \"orders/v2\", //used for gets right now.\r\n\r\n LoadTenderTemplateUrl: BaseUrl + \"loadtenders/v1/templates\",\r\n\r\n ImagePermissionsUrl: BaseUrl + \"ImagePortalApi/v1/DocTypes\",\r\n ImagePortalUrl: BaseUrl + \"ImagePortalApi/v1\",\r\n\r\n NotificationsBaseUrl: BaseUrl + \"Notifications/v1\",\r\n NotificationSubscriptionsUrl:\r\n BaseUrl + \"Notifications/v1/NotificationSubscriptions\",\r\n NotificationEventTypesUrl:\r\n BaseUrl + \"Notifications/v1/NotificationEventTypes\",\r\n\r\n LocationsUrl: BaseUrl + \"locations/locations/v1\",\r\n\r\n CustomersUrl: BaseUrl + \"Customers/Customer\",\r\n CustomerPermissionsUrl:\r\n BaseUrl + \"Customers/v1/CustomerPermissions\",\r\n\r\n UsersUrl: BaseUrl + \"identityserver/v1/users\",\r\n ProfileUrl: BaseUrl + \"identityserver/v1/profile\",\r\n PermissionsUrl: BaseUrl + \"identityserver/v1/UserPermissions\",\r\n\r\n MasterPermissionsBaseUrl: BaseUrl + \"identityserver/v1\",\r\n RelationshipsBaseUrl: BaseUrl + \"Customers\", //dev\r\n //RelationshipsBaseUrl : \"https://localhost:44314/v3\", //local\r\n\r\n CommoditiesBaseUrl: BaseUrl + \"commodities/v1\",\r\n CompaniesBaseUrl: BaseUrl + \"companies/v1\",\r\n LoggingUrl: BaseUrl + \"LoggingCore/v2/Events\",\r\n\tCustomerReferenceNumberTypeUrl: `${BaseUrl}Customers/CustomerRefNumType`,\r\n\tCustomerUserReferenceNumberTypeUrl: `${BaseUrl}Customers/CustomerUserRefNumType`,\r\n\r\n AiAssistantUrl : `${BaseUrl}AiAssistant/Assistants/TripFocus`\r\n};\r\n\r\n//override urls here if you want to use something other than what's above.\r\nif (buildMode === \"local\") {\r\n\t// urls.LoadTendersUrl = \"https://localhost:53048/v1\";\r\n\t// urls.CustomerReferenceNumberTypeUrl = \"https://localhost:63400/CustomerRefNumType\";\r\n\t// urls.CustomerUserReferenceNumberTypeUrl = \"https://localhost:63400/CustomerUserRefNumType\";\r\n\t// urls.LoadTenderTemplateUrl = \"https://localhost:53048/v1/Templates\";\r\n\t// urls.RelationshipsBaseUrl = \"https://localhost:63400\"; //local\r\n\t// urls.OrdersV2Url = \"https://localhost:56758\";\r\n\t// urls.CompaniesBaseUrl = \"https://localhost:58088/v1\";\r\n\t// urls.LocationsUrl = \"https://localhost:51748/locations/v1\"\r\n\t// urls.CustomersUrl = \"https://localhost:63400/Customer\"\r\n\t// urls.CustomerPermissionsUrl = \"https://localhost:63400/v1/CustomerPermissions\"\r\n\t// urls.ImagePortalUrl = \"https://localhost:58341/v1\"\r\n\t// urls.IdentityServerBaseUrl = \"https://localhost:61368\"\r\n\t// urls.NotificationSubscriptionsUrl = \"https://localhost:53251/NotificationSubscriptions\"\r\n\t// urls.NotificationsBaseUrl = \"https://localhost:53251\"\r\n\t// urls.LoggingUrl = \"https://localhost:56072/v2/Events\"\r\n}\r\n\r\nexport default {\r\n ...urls\r\n};\r\n"],"sourceRoot":""}