const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.CQrzGGj9.js","assets/js/80371c85-4aa7-432e-a7c3-6a037670446a.k3JKT82G.js"])))=>i.map(i=>d[i]);
import{y as p,z as d,b as f,M as v,C as h,_ as x}from"../../index.js";import{j as t,r as o}from"./80371c85-4aa7-432e-a7c3-6a037670446a.k3JKT82G.js";var E=o.lazy(function(){return x(()=>import("./emoji-picker-react.esm.CQrzGGj9.js"),__vite__mapDeps([0,1]))});function b(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}),u=f(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 h(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(v,{className:"h-7 w-7"})})})}export{b as default};
