(window.saladictEntry=window.saladictEntry||[]).push([[107],{1329:function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(0),l=a.n(n);class r extends l.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",r=this.props.gutter||"0.3em",s={height:n,...this.props.style||{}};return l.a.createElement("div",{className:e,style:s},Array.from(Array(t)).map((e,s)=>l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 426.67 426.67",key:s+a,width:n,height:n,style:{marginRight:s===t-1?"":r}},l.a.createElement("path",{fill:s<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"}))))}}},654:function(e,t,a){"use strict";a.r(t),a.d(t,"DictMacmillan",(function(){return c}));var n=a(0),l=a.n(n),r=a(119),s=a(1329);const c=({result:e,searchText:t})=>{switch(e.type){case"lex":return function(e,t){return l.a.createElement("section",{onClick:i},t,l.a.createElement("header",{className:"dictMacmillan-Header"},e.ratting>0&&l.a.createElement(s.a,{rate:e.ratting}),l.a.createElement("span",{className:"dictMacmillan-Header_Info"},e.phsym," ",l.a.createElement(r.c,{src:e.pron})," ",e.pos," ",e.sc)),l.a.createElement("ol",{className:"dictMacmillan-Sences",dangerouslySetInnerHTML:{__html:e.senses}}),e.toggleables.map((e,t)=>l.a.createElement("div",{key:t,dangerouslySetInnerHTML:{__html:e}})))}(e,function(e,t){return e.relatedEntries.length>0?l.a.createElement("select",{value:"",onChange:e=>{e.currentTarget.value&&t({id:"macmillan",payload:{href:e.currentTarget.value}})}},l.a.createElement("option",{value:""},e.title+(e.pos?" "+e.pos.toUpperCase():"")),e.relatedEntries.map(({title:e,href:t})=>l.a.createElement("option",{key:t,value:t},e))):null}(e,t));case"related":return function(e){return l.a.createElement(l.a.Fragment,null,l.a.createElement("p",null,"Did you mean:"),l.a.createElement("ul",{className:"dictMacmillan-Related"},e.list.map(({title:e,href:t})=>l.a.createElement("li",{key:t},l.a.createElement("a",{href:t},e)))))}(e);default:return null}};function i(e){if(!e.target.classList)return;const t=e.target;let a=t.classList.contains("toggle-open")||t.classList.contains("toggle-close");if(!a)for(let e=t;e;e=e.parentElement)if(e.classList.contains("toggle-toggle")){a=!0;break}if(a)for(let a=t;a;a=a.parentElement)if(a.classList.contains("toggleable")){a.classList.toggle("closed"),e.preventDefault(),e.stopPropagation();break}}t.default=c}}]);