if (input == null || typeof input !== 'string' && input.type !== 'Program') {
        throw new _exception2['default']('You must pass a string or Handlebars AST to Handlebars.compile. You passed ' + input);
      }