{"version":"1.0","type":"rich","title":"Treasure Chest","description":"Treasure Chest is a JavaScript demonstration that uses a custom `TreasureChest` class to track quantities of gold, silver, and bronze. The page shows a simple HTML template with a heading, but all interactive behavior occurs in the browser console. Users can instantiate the class, add coins using methods like `addGold`, `addSilver`, and `addBronze`, and retrieve totals with `getLoot`. The class also includes a `getRandomLoot` static method that relies on a custom `shuffle` function to generate random coin amounts. The code uses native JavaScript object methods and property descriptors.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-68aac9fac163b344d868d1959d354937?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}