* A convenient wrapper for reading and writing search parameters via the
* URLSearchParams interface.
*/
functionuseSearchParams(defaultInit){
warning(typeofURLSearchParams!=="undefined",`Youcannotusethe\`useSearchParams\`hookinabrowserthatdoesnot`+`supporttheURLSearchParamsAPI.IfyouneedtosupportInternet`+`Explorer11,werecommendyouloadapolyfillsuchas`+`https://github.com/ungap/url-search-params\n\n` + `If you're unsure how to load polyfills, we recommend you check out ` + `https://polyfill.io/v3/ which provides some recommendations about how ` + `to load polyfills only for users that need them, instead of for every ` + `user.`) ;