Liferay.Loader.define("frontend-js-web@5.0.45/liferay/util/html_util",["module","exports","require"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.escapeHTML=function(t){return t.replace(o,(t=>e[t]))},t.unescapeHTML=function(e){return e.replace(c,(e=>(new DOMParser).parseFromString(e,"text/html").documentElement.textContent))},t.MAP_HTML_CHARS_ESCAPED=void 0;const e={'"':"&#034;","&":"&amp;","'":"&#039;","/":"&#047;","<":"&lt;",">":"&gt;","`":"&#096;"};t.MAP_HTML_CHARS_ESCAPED=e;const n={};Object.entries(e).forEach((([e,t])=>{n[t]=e}));const r=Object.keys(e),o=new RegExp("[".concat(r.join(""),"]"),"g"),c=/&([^\s;]+);/g}}));
//# sourceMappingURL=html_util.js.map