I have 2 of these hung toilets with in wall tank and valves. In one the fill valve leaks. The other leaks at the flush valve (not a flapper) and fills very slow. I had hoped to replace the existing/old valves with a Fluidmaster, but the water supply is at the top of the tank, not the bottom.

Any ideas about where to get spare parts, or how to make modern parts work?