const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/emoji-picker-react.esm.DfWeY0R4.js","assets/js/88292db1-b0bf-4020-84e8-c67e7f95ec5b.D7NY-xPU.js"])))=>i.map(i=>d[i]);
import{g as p,h as d,b as f,j as v,_ as h}from"./5b821acd-2cb2-41cd-a334-1fb4c2edd833.D1O8x7cn.js";import{j as t,r as o}from"./88292db1-b0bf-4020-84e8-c67e7f95ec5b.D7NY-xPU.js";import{ab as g}from"./3f821edb-14ca-4d30-9704-2f6c7293724f.BPUefdEF.js";var x=o.lazy(function(){return h(()=>import("./emoji-picker-react.esm.DfWeY0R4.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};
