t delay(WEATHER_API.retryDelay);
                    }
                }
            }, weatherCache.cacheTime);
        }

        function stopAutoUpdate() {
            if (updateInterval) {
                clearInterval(updateInterval);
            }
        }

        document.addEventListener('DOMContentLoaded', function() {
            const widget = document.querySelector('.widget');
            
            widget.setAttribute('data-flipped', 'false');
            widget.style.transform = 'rotateY(