* fix: refactor onMount to avoid unnecessary async calls for search
* Production debugging to check the console
* feat: enhance Pagefind integration with improved loading checks and error handling
* fix: improve Pagefind integration with event handling for loading and errors