{"version":"1.0","type":"rich","title":"Treasure Chest","description":"A JavaScript constructor function called TreasureChest tracks running totals for gold, silver, and bronze loot. The code exposes methods like addGold, addSilver, addBronze, and getLoot, which update and report the accumulated treasure counts. The template renders a simple HTML page with a heading, but the interactive behavior occurs entirely in the browser console, where users can instantiate the object and call its methods to simulate collecting treasure. No external libraries or data sources are involved.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-45b489ab3dcdbfcd17d33589f6e13106?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}