(window.saladictEntry=window.saladictEntry||[]).push([[122],{1353:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),a=n.n(r),l="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;const c=e=>{const{tag:t="div",html:n,...c}=e,o=Object(r.useMemo)(()=>{try{const e=document.createDocumentFragment(),t=(new DOMParser).parseFromString(n,"text/html");return Array.from(t.body.childNodes).forEach(t=>{e.appendChild(t)}),e}catch(e){!1}return null},[n]),[i,u]=Object(r.useState)(null);return l(()=>{if(o&&i){for(;i.childNodes.length>0;)i.childNodes[0].remove();i.appendChild(o)}},[o,i]),a.a.createElement(t,{...c,ref:u})}},664:function(e,t,n){"use strict";n.r(t),n.d(t,"DictLexico",(function(){return c}));var r=n(0),a=n.n(r),l=n(1353);const c=({result:e})=>{switch(e.type){case"lex":return function(e){return a.a.createElement(l.a,{className:"dictLexico-Lex",onClick:o,html:e.entry})}(e);case"related":return function(e){return a.a.createElement(a.a.Fragment,null,a.a.createElement("p",null,"Did you mean:"),a.a.createElement("ul",{className:"dictLexico-Related"},e.list.map((e,t)=>a.a.createElement("li",{key:t},a.a.createElement("a",{rel:"nofollow noopener noreferrer",target:"_blank",href:e.href},e.text)))))}(e);default:return null}};function o(e){var t,n,r;const a=e.target,l=(null===(t=a.classList)||void 0===t?void 0:t.contains("moreInfo"))?a:(null===(n=a.parentElement)||void 0===n||null===(r=n.classList)||void 0===r?void 0:r.contains("moreInfo"))?a.parentElement:null;l&&l.classList.toggle("active")}t.default=c}}]);