"use strict"; function swapLongTerm(v) { if (typeof v !== "string") return v; const PLACEHOLDER = "__$LONGTERM_PLACEHOLDER$__"; function escapeRegExp(s) { return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); } return v.replace(/9999\.12\.31/g, PLACEHOLDER).replace(/长期/g, "9999.12.31").replace(new RegExp(escapeRegExp(PLACEHOLDER), "g"), "长期"); } exports.swapLongTerm = swapLongTerm; //# sourceMappingURL=../../../.sourcemap/mp-weixin/compontent/public/long.js.map