window.stripQueryParams=function(t){if(!t.every(function(t){return"string"==typeof t}))throw new Error("Parameter Params must be array of strings");var n,r,e=window.location.search.replace(/\?/g,"&");t.some(function(t){return e.includes("&".concat(t))})&&0<e.length&&(r=0<(n=e.split("&").filter(function(t){return!!t}).filter(function(n){return!t.find(function(t){return n.startsWith(t)})}).join("&")).length,window.history.pushState({},document.title,"".concat(window.location.pathname).concat(r?"?":"").concat(n)))};