Many years ago I fitted some RCD socket outlets to my parents home for the two likely to be used outside, the front hall and the kitchen one next to the window. Being the paranoid sort of person I am I always test-trip them when I have cause to use one, and in the case of the front hall that is any time helping out with hoovering. Yesterday it failed to trip so today included a trip to Toolstation for a modern replacement. I wondered how old it was so opened it up out of curiosity and found a couple of 1989 date-codes, so not too bad to have lasted for 32 years energised.
In the last one you can see the light-grey VDR included for surge protection (lightning would blow the PCB tracks I guess as "ultimate fuse") just above the bridge rectifier, and the three parallel 120K dropper resistors taking the 340-ish volts crudely smoothed DC from that down to something like 15V for the 741 op-amp. Adjustable trip as well!
In the last one you can see the light-grey VDR included for surge protection (lightning would blow the PCB tracks I guess as "ultimate fuse") just above the bridge rectifier, and the three parallel 120K dropper resistors taking the 340-ish volts crudely smoothed DC from that down to something like 15V for the 741 op-amp. Adjustable trip as well!