/**
 * The numbers below indicate the amount of blur to apply. Larger numbers will produce
 * more blur.
 */ const BlurStrength = { LOW : 7 , MEDIUM : 15 , HIGH : 30 , } ; internal export class BlurStrengthMapper { private static readonly BLUR_STRENGTH_DIVISOR = 540 ; static getBlurAmount ( bstrength , options ) { if ( bstrength <= 0 ) { throw new Error ( `invalid value for blur strength: ${ bstrength }` ) ; } return Math . round ( ( bstrength * options . height ) / this . BLUR_STRENGTH_DIVISOR ) ; } } export default BlurStrength ;