const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.DZKlB5lz.js","assets/js/7a7c18c0-1c45-4cd8-a537-860439bce06f.DIR3-bJs.js","assets/js/ec7ae47a-e89c-4f20-a861-f0608ae6ff19.BjZ4j9fy.js","assets/js/5b02413a-e3cd-48e9-b817-28e545cc7c65.DcrJEDvz.js"])))=>i.map(i=>d[i]);
import{f as p,j as t,aR as f,_ as d}from"./ec7ae47a-e89c-4f20-a861-f0608ae6ff19.BjZ4j9fy.js";import{r as o}from"./7a7c18c0-1c45-4cd8-a537-860439bce06f.DIR3-bJs.js";import{b as v,c as h,s as x}from"./5b02413a-e3cd-48e9-b817-28e545cc7c65.DcrJEDvz.js";var E=o.lazy(function(){return d(()=>import("./emoji-picker-react.esm.DZKlB5lz.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(f,{className:"h-7 w-7"})})})}export{_ as default};
