Galette des Rois (French)

¼ cup almond paste ¼ cup white sugar 3 tablespoons unsalted butter, softened 1 large egg ¼ teaspoon vanilla extract ¼ teaspoon almond extract 2 tablespoons all-purpose flour 1 pinch salt 1 (17.25 ounce) package frozen puff pastry, thawed 1 dry kidney bean 1 egg, beaten 1 tablespoon confectioners’ sugar for dusting To make the frangipane filling: Place almond paste into a food processor or blender with about half of the sugar, and process until well blended….