Here is the link to the Lippert Support page for what I think is your slideout mechanism.
https://support.lci1.com/2-x-2-hydraulic-slide-system
You can scroll through the tabs at the top of the page to access the components, the manuals, the drawings, troubleshooting charts, etc.
Hydraulic rams from Lippert vary in length and stroke and range from $250 to well over $700. The gear packs are around $100 each from Lippert, but are available for less on Amazon and possibly from any RV parts store around your local area. You will need to verify which ram is the correct part for your slide. Installing the wrong one will result in the same thing happening again or your slide not extending the correct distance.
If you crawl under your slide, you'll see a square tube connecting both gear packs. That square tube is what drives the "follower ram" to keep the slide moving equally at both ends.
From your photo, it looks like either that square tube came loose (sheared the bolt) at one end and the slide bound which bent the hydraulic ram shaft or, you had a catastrophic failure in one of the gear packs or the actual ram gear rail.
Here's the link for the hydraulic cylinders and the gear packs on the Lippert website:..
https://store.lci1.com/rv/maintenanc...=Gear+Assembly
Remember, shop around if you plan to buy the parts and do the repairs yourself. Parts are available other places beside the manufacturer, often at substantially lower prices.