import*as t from"query-string";var n=t.parse(window.location.search),r=function(t,n){return n},o=function(){return"/".concat("2")},c=process.env.REACT_APP_SUBSCRIPTIONS_URL||n.subscriptions_url||"https://subscriptions.qa.corva.ai",a="".concat(c).concat(o()),e=new RegExp("^/reports.*$"),i=new RegExp("^/login(?:/.*)?$"),s=function(){try{var t=(window.top||window).location,n=t.origin,r=t.pathname,o=t.search;return n&&r&&/^https?:\/\//.test(n)&&!i.test(r)?{_current_location_href:"".concat(n).concat(r).concat(o)}:{}}catch(t){return{}}};export{e as IGNORED_ROUTES_REGEXP,i as LOGIN_ROUTES_REGEXP,a as SUBSCRIPTIONS_URL,s as getHrefDebugField,o as getNamespace,r as handleSubscriptionsVersion};
//# sourceMappingURL=constants.js.map
