const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.D97VPoiN.js","assets/js/1b3767d8-44dc-40f2-8333-ada30c1c5f70.DWVvr-UX.js","assets/js/d54722e4-c6f4-4768-897e-0d842457965d.RY7apYuK.js","assets/js/a5f8b3fb-0656-4f2f-85aa-e36c593abaa3.DtqCtfYv.js"])))=>i.map(i=>d[i]);
import{e as p,j as t,aP as d,_ as f}from"./d54722e4-c6f4-4768-897e-0d842457965d.RY7apYuK.js";import{r as o}from"./1b3767d8-44dc-40f2-8333-ada30c1c5f70.DWVvr-UX.js";import{b as v,c as h,s as x}from"./a5f8b3fb-0656-4f2f-85aa-e36c593abaa3.DtqCtfYv.js";var E=o.lazy(function(){return f(()=>import("./emoji-picker-react.esm.D97VPoiN.js"),__vite__mapDeps([0,1,2,3]))});function _(i){var r=i.id,n=v(function(e){return e.getContainer(r)}),a=n(function(e){return e.emojiArea}),s=h(function(e){return e.open}),m=p(function(e){return e.theme}),u="facebook",c=m?"dark":"light",l=function(e){s(t.jsx(o.Suspense,{fallback:t.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:t.jsx(E,{emojiStyle:u,theme:c,onEmojiClick:function(j){return x(r,j.emoji)},width:"auto",height:"60vh"})}),{placement:a.position},e.target,10,{mounted:function(){return e.target.setAttribute("style","color: green !important")},desmouted:function(){return e.target.removeAttribute("style")}})};return t.jsx("div",{className:"relative",style:{right:"32px",top:"3px"},children:t.jsx("span",{className:"cursor-pointer pulse absolute text-[var(--icon)]",onClick:function(e){return l(e)},children:t.jsx(d,{className:"h-7 w-7"})})})}export{_ as default};
