import"react";var a={TAB:"tab",RULESET_ID:"rulesetid",SECTION:"section",OPEN_IL:"openil",ONBOARD_STATION:"onboardstation",STATION_NAME:"stationname",VARIANT_ID:"variantid",APPROVAL_ACTION:"approval"},t=function(a){return new URLSearchParams(window.location.search).get(a)},n=function(a){var t=new URLSearchParams(window.location.search);Object.entries(a).forEach(function(a){var n=a[0],o=a[1];null==o||""===o?t.delete(n):t.set(n,o)});var n=t.toString(),o="".concat(window.location.pathname).concat(n?"?".concat(n):"");window.history.replaceState({},"",o)};export{a as QUERY_PARAM_KEYS,t as getQueryParam,n as setQueryParams};
//# sourceMappingURL=useLearningTemplateQueryParams.js.map
