"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NormalizerEs = void 0;
var NormalizerEs = /** @class */ (function () {
    function NormalizerEs() {
        this.locale = 'es';
    }
    NormalizerEs.prototype.normalize = function (text) {
        return this.removeDiacritics(text.trim().toLowerCase());
    };
    NormalizerEs.prototype.removeDiacritics = function (text) {
        return text.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
    };
    return NormalizerEs;
}());
exports.NormalizerEs = NormalizerEs;
//# sourceMappingURL=normalizer-es.js.map