Your lamps aren’t LED but CFL (think old neon signs), and the small black box is not a transformer but an inductor.
In short, your lamps produce light by an electrical current flowing through a gas in a glass tube. To make the gas conductive to electricity, a very high voltage is applied for a short amount of time. That’s what the thing in the plug does.
I don’t know that particular model of lamp, but my suggestion is to use intact lamps and bin the broken ones. There’s a considerable risk of electric shock, fire or (in extreme cases) high-velocity glass shards if you try replacement parts at random and don’t know exactly what you’re doing.
As the lamps haven’t been working beforehand anyway, I suspect they’re generally beyond repair.
Your lamps aren’t LED but CFL (think old neon signs), and the small black box is not a transformer but an inductor.
In short, your lamps produce light by an electrical current flowing through a gas in a glass tube. To make the gas conductive to electricity, a very high voltage is applied for a short amount of time. That’s what the thing in the plug does.
I don’t know that particular model of lamp, but my suggestion is to use intact lamps and bin the broken ones. There’s a considerable risk of electric shock, fire or (in extreme cases) high-velocity glass shards if you try replacement parts at random and don’t know exactly what you’re doing. As the lamps haven’t been working beforehand anyway, I suspect they’re generally beyond repair.