(window.saladictEntry=window.saladictEntry||[]).push([[118],{1353:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n.n(r),c="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;const s=e=>{const{tag:t="div",html:n,...s}=e,l=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,o]=Object(r.useState)(null);return c(()=>{if(l&&i){for(;i.childNodes.length>0;)i.childNodes[0].remove();i.appendChild(l)}},[l,i]),a.a.createElement(t,{...s,ref:o})}},660:function(e,t,n){"use strict";n.r(t),n.d(t,"DictGoogleDict",(function(){return s}));var r=n(0),a=n.n(r),c=n(1353);const s=({result:e})=>a.a.createElement("div",null,e.styles.map((e,t)=>a.a.createElement("style",{key:t},e)),a.a.createElement(c.a,{onClick:l,className:"xpdopen",html:e.entry}));function l(e){for(let t=null,n=e.target;n;n=n.parentElement)if("Stv3Z"===n.getAttribute("jsname")?t=!0:"hj0qK"===n.getAttribute("jsname")&&(t=!1),n.classList&&n.classList.contains("P2Dfkf")){if(null===t)continue;t?n.classList.replace("SkSOXb","KAwqid"):n.classList.replace("KAwqid","SkSOXb");break}}t.default=s}}]);