(window.saladictEntry=window.saladictEntry||[]).push([[128],{1353:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var n=a(0),c=a.n(n),r="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;const l=e=>{const{tag:t="div",html:a,...l}=e,m=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]),[s,i]=Object(n.useState)(null);return r(()=>{if(m&&s){for(;s.childNodes.length>0;)s.childNodes[0].remove();s.appendChild(m)}},[m,s]),c.a.createElement(t,{...l,ref:i})}},676:function(e,t,a){"use strict";a.r(t),a.d(t,"DictUrban",(function(){return m}));var n=a(0),c=a.n(n),r=a(123),l=a(1353);const m=({result:e})=>c.a.createElement("ul",{className:"dictUrban-List"},e.map(e=>c.a.createElement("li",{key:e.meaning,className:"dictUrban-Item"},c.a.createElement("h2",{className:"dictUrban-Title"},e.title," ",c.a.createElement(r.c,{src:e.pron})),e.meaning&&c.a.createElement(l.a,{tag:"p",className:"dictUrban-Meaning",html:e.meaning}),e.example&&c.a.createElement(l.a,{tag:"p",className:"dictUrban-Example",html:e.example}),e.gif&&c.a.createElement("figure",{className:"dictUrban-Gif"},c.a.createElement("img",{src:e.gif.src,alt:e.gif.attr}),c.a.createElement("figcaption",null,e.gif.attr)),e.tags&&c.a.createElement("ul",{className:"dictUrban-Tags"},e.tags.map(e=>c.a.createElement("a",{key:e,className:"dictUrban-TagItem",href:"https://www.urbandictionary.com/tags.php?tag="+e,rel:"nofollow noopener noreferrer"},"#",e," "))),c.a.createElement("footer",{className:"dictUrban-Footer"},e.contributor&&c.a.createElement("span",{className:"dictUrban-Contributor"},e.contributor),"number"==typeof e.thumbsUp&&c.a.createElement("span",{className:"dictUrban-Thumbs"},c.a.createElement("svg",{className:"dictUrban-IconThumbsUp",width:"0.9em",height:"0.9em",fill:"#666",viewBox:"0 0 561 561"},c.a.createElement("path",{d:"M0 535.5h102v-306H0v306zM561 255c0-28.05-22.95-51-51-51H349.35l25.5-117.3v-7.65c0-10.2-5.1-20.4-10.2-28.05L336.6 25.5 168.3 193.8c-10.2 7.65-15.3 20.4-15.3 35.7v255c0 28.05 22.95 51 51 51h229.5c20.4 0 38.25-12.75 45.9-30.6l76.5-181.05c2.55-5.1 2.55-12.75 2.55-17.85v-51H561c0 2.55 0 0 0 0z"})),e.thumbsUp),"number"==typeof e.thumbsDown&&c.a.createElement("span",{className:"dictUrban-Thumbs"},c.a.createElement("svg",{className:"dictUrban-IconThumbsDown",width:"0.95em",height:"0.95em",fill:"#666",viewBox:"0 0 561 561"},c.a.createElement("path",{d:"M357 25.5H127.5c-20.4 0-38.25 12.75-45.9 30.6L5.1 237.15C2.55 242.25 0 247.35 0 255v51c0 28.05 22.95 51 51 51h160.65l-25.5 117.3v7.65c0 10.2 5.1 20.4 10.2 28.05l28.05 25.5 168.3-168.3c10.2-10.2 15.3-22.95 15.3-35.7v-255c0-28.05-22.95-51-51-51zm102 0v306h102v-306H459z"})),e.thumbsDown)))));t.default=m}}]);