Zaslat SMS: Capacity theory on algebraic curves