(window.saladictEntry=window.saladictEntry||[]).push([[121],{1353:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(0),u=n.n(a),c="undefined"!=typeof window?a.useLayoutEffect:a.useEffect;const r=e=>{const{tag:t="div",html:n,...r}=e,l=Object(a.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]),[s,o]=Object(a.useState)(null);return c(()=>{if(l&&s){for(;s.childNodes.length>0;)s.childNodes[0].remove();s.appendChild(l)}},[l,s]),u.a.createElement(t,{...r,ref:o})}},663:function(e,t,n){"use strict";n.r(t),n.d(t,"DictJukuu",(function(){return l}));var a=n(0),u=n.n(a),c=n(9),r=n(1353);const l=e=>{const{result:t,searchText:n}=e,{t:a}=Object(c.e)("dicts");return u.a.createElement(u.a.Fragment,null,u.a.createElement("select",{onChange:e=>{e.target.value&&n({id:"jukuu",payload:{lang:e.target.value}})}},u.a.createElement("option",{value:"zheng",selected:"zheng"===t.lang},a("jukuu.options.lang-zheng")),u.a.createElement("option",{value:"engjp",selected:"engjp"===t.lang},a("jukuu.options.lang-engjp")),u.a.createElement("option",{value:"zhjp",selected:"zhjp"===t.lang},a("jukuu.options.lang-zhjp"))),u.a.createElement("ul",{className:"dictJukuu-Sens"},t.sens.map((e,t)=>u.a.createElement("li",{key:t,className:"dictJukuu-Sen"},u.a.createElement(r.a,{tag:"p",html:e.trans}),u.a.createElement("p",{className:"dictJukuu-Ori"},e.original),u.a.createElement("p",{className:"dictJukuu-Src"},e.src)))))};t.default=l}}]);