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