@wargeron
The problem is that you can’t buy these miniature sockets with wires already soldered on.
They only come as one-sided parts designed for attaching (with soldered pads) to a pcb.
You would need a microscope soldering station to work at this miniature size.
The power supply socket is a 2 pin Molex Micro-Fit 3 plug.
It is also used in A1418 21” iMacs, and the iMac Pro, both of which have sockets with wires attached.
The multicoloured wire 13 pin plug looks like a 13 pin Molex Pico-Lock 1.5mm pitch plug.
You can stick the pins of a JST ZH 1.5mm pcb socket into this plug to connect to it.
This pic is the DIY connection to an iMac backlight cable plug, using a JST PH socket pushed into the iMac plug, and a 12 pin plug with wires connected to the socket:
The other smaller 1mm pitch plugs are so far unidentified as they don’t appear to be in the Molex catalogue.
There are alternatives with the same pitch, but not quite the right form factor to be a proper match.
The 1mm pitch equivalent is JST SH, which is sometimes known as STEMMA QT/Qwiic in Arduino catalogues.
There are other long forums here devoted to converting A1312 or later 5K A1419 iMacs.
My "latest Macs" are a heavily upgraded 2009 Mac Pro (6c CPU, M.2 SSD, USB 3, RX580...) and more recently a 12c 2013 Mac Pro with an eGPU (Vega 56) - both machines with more than enough CPU power, GPU power and RAM for my needs, but I long aspired to upgrade to a nice 5k monitor to replace my...
forums.macrumors.com
Also is also another thread dealing with using the USB webcam and the SD card wiring.