const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.D6hoC-9p.js","assets/js/0dbad563-2f06-4e38-a3dc-27a8264d3b76.DVitnfmq.js"])))=>i.map(i=>d[i]);
import{g as p,h as d,b as f,j as v,_ as h}from"./96925352-673d-4fc1-9ae6-c4caec31e61c.BAK6bdel.js";import{j as t,r as o}from"./0dbad563-2f06-4e38-a3dc-27a8264d3b76.DVitnfmq.js";import{a7 as g}from"./a5fe8d6a-5bd8-44ba-9ca3-cbbb9cf3c8be.DxJS0PdL.js";var x=o.lazy(function(){return h(()=>import("./emoji-picker-react.esm.D6hoC-9p.js"),__vite__mapDeps([0,1]))});function _(i){var r=i.id,n=p(function(e){return e.getContainer(r)}),a=n(function(e){return e.emojiArea}),s=d(function(e){return e.open}),m=f(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(x,{emojiStyle:u,theme:c,onEmojiClick:function(j){return v(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(g,{className:"h-7 w-7"})})})}export{_ as default};
