'use strict';

var _commonjsHelpers = require('../../../_virtual/_commonjsHelpers.js');
var processors = require('../../../_virtual/processors.js');

var hasRequiredProcessors;

function requireProcessors () {
	if (hasRequiredProcessors) return processors.__exports;
	hasRequiredProcessors = 1;
	// Generated by CoffeeScript 1.12.7
	(function() {
	  var prefixMatch;

	  prefixMatch = new RegExp(/(?!xmlns)^.*:/);

	  processors.__exports.normalize = function(str) {
	    return str.toLowerCase();
	  };

	  processors.__exports.firstCharLowerCase = function(str) {
	    return str.charAt(0).toLowerCase() + str.slice(1);
	  };

	  processors.__exports.stripPrefix = function(str) {
	    return str.replace(prefixMatch, '');
	  };

	  processors.__exports.parseNumbers = function(str) {
	    if (!isNaN(str)) {
	      str = str % 1 === 0 ? parseInt(str, 10) : parseFloat(str);
	    }
	    return str;
	  };

	  processors.__exports.parseBooleans = function(str) {
	    if (/^(?:true|false)$/i.test(str)) {
	      str = str.toLowerCase() === 'true';
	    }
	    return str;
	  };

	}).call(_commonjsHelpers.commonjsGlobal);
	return processors.__exports;
}

exports.__require = requireProcessors;
