import {NumberWithUnit,MeasureUnit}from'@scandit/web-datacapture-core';var a={[MeasureUnit.Pixel]:0,[MeasureUnit.Fraction]:2},o={0:MeasureUnit.Pixel,2:MeasureUnit.Fraction,1:MeasureUnit.Pixel};function W(t){let e=o[t.unit];return new NumberWithUnit(t.value,e)}function U(t){let e=a[t.unit];return {value:t.value,unit:e}}export{W as a,U as b};