Compact sampling device based on wax microfluidics