                                   text: 'Check out this interesting mind map!',
                                    url: window.location.href
                                });
                                console.log('Content shared successfully');
                            } catch (err) {
                                console.error('Error sharing:', err);
                            }
                        } else {
                            try {
                                await navigato