I have heard the following sentence in the TV series Narcos:Mexico :
Usted se la ha rifado aquí, don Juan.
Context: Don Juan, an opium narco which lives in the border between US and Mexico, is telling Felix, leader of the Guadalajara cartel, that he deals opium for a long time and has a lot of "friends" in the police in the US side which back him up. Then, Felix says the sentence above.
What does "se la rifar" mean? Is it a Mexican regionalism? I couldn't find its meaning in the Word Reference and DLE dictionaries. The TV series English subtitle translates that sentence as "You've done amazing things here, don Juan", but I am not sure if that is the real meaning of the expression.