"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.encode = exports.decode = void 0;
const char = "_";
function encode(str) {
    return str.replace(/@/g, `${char}@`);
}
exports.encode = encode;
function decode(str) {
    return str.replace(new RegExp(`${char}@`, "g"), "@");
}
exports.decode = decode;
