const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.DdGOFSA4.js","assets/js/26c764ce-5749-40c4-a945-92b8f2bbd3d2.B0HL2V7j.js","assets/js/8fe30ac6-10ea-4133-9cba-a41ccabbb9d3.Crt4W2pt.js","assets/js/c1da2410-8418-499e-b6bd-d2aefdda8e3d.BKRYYJni.js"])))=>i.map(i=>d[i]);
import{e as p,j as t,aP as d,_ as f}from"./8fe30ac6-10ea-4133-9cba-a41ccabbb9d3.Crt4W2pt.js";import{r as o}from"./26c764ce-5749-40c4-a945-92b8f2bbd3d2.B0HL2V7j.js";import{b as v,c as h,s as x}from"./c1da2410-8418-499e-b6bd-d2aefdda8e3d.BKRYYJni.js";var E=o.lazy(function(){return f(()=>import("./emoji-picker-react.esm.DdGOFSA4.js"),__vite__mapDeps([0,1,2,3]))});function y(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}),u=p(function(e){return e.theme}),m="facebook",c=u?"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:m,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{y as default};
