(window.saladictEntry=window.saladictEntry||[]).push([[65],{1353:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a(0),r=a.n(n),s="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;const c=e=>{const{tag:t="div",html:a,...c}=e,l=Object(n.useMemo)(()=>{try{const e=document.createDocumentFragment(),t=(new DOMParser).parseFromString(a,"text/html");return Array.from(t.body.childNodes).forEach(t=>{e.appendChild(t)}),e}catch(e){!1}return null},[a]),[i,m]=Object(n.useState)(null);return s(()=>{if(l&&i){for(;i.childNodes.length>0;)i.childNodes[0].remove();i.appendChild(l)}},[l,i]),r.a.createElement(t,{...c,ref:m})}},1356:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(0),r=a.n(n);class s extends r.a.PureComponent{render(){const e=this.props.className||"widget-StarRates",t=this.props.max||5,a=Number(this.props.rate)%(t+1)||0,n=this.props.height||"1.5em",s=this.props.gutter||"0.3em",c={height:n,...this.props.style||{}};return r.a.createElement("div",{className:e,style:c},Array.from(Array(t)).map((e,c)=>r.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 426.67 426.67",key:c+a,width:n,height:n,style:{marginRight:c===t-1?"":s}},r.a.createElement("path",{fill:c<a?"#FAC917":"#d1d8de",d:"M213.33 10.44l65.92 133.58 147.42 21.42L320 269.4l25.17 146.83-131.84-69.32-131.85 69.34 25.2-146.82L0 165.45l147.4-21.42"}))))}}},656:function(e,t,a){"use strict";a.r(t),a.d(t,"DictCOBUILD",(function(){return i}));var n=a(0),r=a.n(n),s=a(123),c=a(1356),l=a(1353);const i=({result:e})=>{switch(e.type){case"ciba":return function(e){return r.a.createElement(r.a.Fragment,null,r.a.createElement("h1",{className:"dictCOBUILD-Title"},e.title),e.prons&&r.a.createElement("ul",{className:"dictCOBUILD-Pron"},e.prons.map(e=>r.a.createElement("li",{key:e.phsym,className:"dictCOBUILD-PronItem"},e.phsym,r.a.createElement(s.a,{src:e.audio})))),r.a.createElement("div",{className:"dictCOBUILD-Rate"},e.star>=0&&r.a.createElement(c.a,{rate:e.star}),e.level&&r.a.createElement("span",{className:"dictCOBUILD-Level"},e.level)),e.defs&&r.a.createElement("ol",{className:"dictCOBUILD-Defs"},e.defs.map((e,t)=>r.a.createElement(l.a,{tag:"li",className:"dictCOBUILD-Def",key:t,html:e}))))}(e);case"collins":return function(e){const[t,a]=Object(n.useState)("0"),s=e.sections[t];return r.a.createElement("div",{className:"dictCOBUILD-ColEntry"},e.sections.length>0&&r.a.createElement("select",{value:t,onChange:e=>a(e.currentTarget.value)},e.sections.map((e,t)=>r.a.createElement("option",{key:e.id,value:t},e.type,e.title?" :"+e.title:"",e.num?" "+e.num:""))),r.a.createElement("div",{className:"dictionary"},r.a.createElement("div",{className:"dc"},r.a.createElement("div",{className:"he"},r.a.createElement("div",{className:"page"},r.a.createElement("div",{className:"dictionary"},r.a.createElement("div",{className:"dictentry"},r.a.createElement("div",{className:"dictlink"},r.a.createElement(l.a,{key:s,className:s.className,html:s.content})))))))))}(e)}return null};t.default=i}}]);