* A convenient wrapper for reading and writing search parameters via the
* URLSearchParams interface.
*/
functionuseSearchParams(defaultInit){
process.env.NODE_ENV!=="production"?warning(typeofURLSearchParams!=="undefined","You cannot use the `useSearchParams` hook in a browser that does not "+"support the URLSearchParams API. If you need to support Internet "+"Explorer 11, we recommend you load a polyfill such as "+"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."):void0;
!(routeId!=null)?process.env.NODE_ENV!=="production"?invariant(false,"useFetcher can only be used on routes that contain a unique \"id\""):invariant(false):void0;