"use strict";function e(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("query-string")).parse(window.location.search),r=function(){return"/".concat("2")},n=process.env.REACT_APP_SUBSCRIPTIONS_URL||t.subscriptions_url||"https://subscriptions.qa.corva.ai",o="".concat(n).concat(r()),c=new RegExp("^/reports.*$"),s=new RegExp("^/login(?:/.*)?$");exports.IGNORED_ROUTES_REGEXP=c,exports.LOGIN_ROUTES_REGEXP=s,exports.SUBSCRIPTIONS_URL=o,exports.getHrefDebugField=function(){try{var e=(window.top||window).location,t=e.origin,r=e.pathname,n=e.search;return t&&r&&/^https?:\/\//.test(t)&&!s.test(r)?{_current_location_href:"".concat(t).concat(r).concat(n)}:{}}catch(e){return{}}},exports.getNamespace=r,exports.handleSubscriptionsVersion=function(e,t){return t};
//# sourceMappingURL=constants.js.map
