Sonos Era 300 is a premium spatial-audio speaker often bought for a living room music setup or as part of a home theater ecosystem. "Line-in port damage" is usually physical wear to the connector path (or the required line-in adapter chain), and it can be frustrating because the rest of the speaker may be performing perfectly.
Repair makes sense if the damage is limited to the external adapter or a loose connector-those are relatively low-risk fixes that preserve the investment in the Sonos ecosystem. Replace becomes the safer route if the internal port solder joints or main board are damaged, especially if you also see connectivity issues or amplifier instability.
Consider age and usage: if the speaker is newer and the rest of the hardware is strong, repair preserves value; if repair quotes approach the threshold or the unit has multiple faults, replacement avoids sinking money into a complex sealed device.