(window.saladictEntry=window.saladictEntry||[]).push([[105],{1329:function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var s=a(0),n=a.n(s);class r extends n.a.PureComponent{render(){const e=this.props.className||"widget-StarRates",t=this.props.max||5,a=Number(this.props.rate)%(t+1)||0,s=this.props.height||"1.5em",r=this.props.gutter||"0.3em",l={height:s,...this.props.style||{}};return n.a.createElement("div",{className:e,style:l},Array.from(Array(t)).map((e,l)=>n.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 426.67 426.67",key:l+a,width:s,height:s,style:{marginRight:l===t-1?"":r}},n.a.createElement("path",{fill:l<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"}))))}}},643:function(e,t,a){"use strict";a.r(t),a.d(t,"DictCOBUILD",(function(){return c}));var s=a(0),n=a.n(s),r=a(119),l=a(1329);const c=({result:e})=>{switch(e.type){case"ciba":return function(e){return n.a.createElement(n.a.Fragment,null,n.a.createElement("h1",{className:"dictCOBUILD-Title"},e.title),e.prons&&n.a.createElement("ul",{className:"dictCOBUILD-Pron"},e.prons.map(e=>n.a.createElement("li",{key:e.phsym,className:"dictCOBUILD-PronItem"},e.phsym,n.a.createElement(r.a,{src:e.audio})))),n.a.createElement("div",{className:"dictCOBUILD-Rate"},e.star>=0&&n.a.createElement(l.a,{rate:e.star}),e.level&&n.a.createElement("span",{className:"dictCOBUILD-Level"},e.level)),e.defs&&n.a.createElement("ol",{className:"dictCOBUILD-Defs"},e.defs.map((e,t)=>n.a.createElement("li",{className:"dictCOBUILD-Def",key:t,dangerouslySetInnerHTML:{__html:e}}))))}(e);case"collins":return function(e){const[t,a]=Object(s.useState)("0"),r=e.sections[t];return n.a.createElement("div",{className:"dictCOBUILD-ColEntry"},e.sections.length>0&&n.a.createElement("select",{value:t,onChange:e=>a(e.currentTarget.value)},e.sections.map((e,t)=>n.a.createElement("option",{key:e.id,value:t},e.type,e.title?" :"+e.title:"",e.num?" "+e.num:""))),n.a.createElement("div",{className:"dictionary"},n.a.createElement("div",{className:"dc"},n.a.createElement("div",{className:"he"},n.a.createElement("div",{className:"page"},n.a.createElement("div",{className:"dictionary"},n.a.createElement("div",{className:"dictentry"},n.a.createElement("div",{className:"dictlink"},n.a.createElement("div",{key:r,className:r.className,dangerouslySetInnerHTML:{__html:r.content}})))))))))}(e)}return null};t.default=c}}]);