Critical condition for bubble breakup in a microfluidic flow-focusing junction