const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/a1145548-5af5-4167-b892-1584fe3e8091.RMwJeJYa.js","assets/js/3bbebd79-6302-425b-9fe5-35fdbb439250.CAYVRFqY.js","assets/js/5620f695-e1ba-4d15-beef-d325b68e1ce2.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./1c4b12bd-07a5-4e51-a942-9f4e016c7422.CTm5XBKq.js";import{j as e}from"./20e36d67-8d83-4178-8f0b-a506491a9a10.auOyiB6P.js";import{m as d,r as o}from"./3bbebd79-6302-425b-9fe5-35fdbb439250.CAYVRFqY.js";import{e as v,f as h,g}from"../../index.js";import"./63b76abc-7191-4509-95e0-083c2d58bdf4.ChcTiR6y.js";import"./5620f695-e1ba-4d15-beef-d325b68e1ce2.C0Zqfgkc.js";import"./59fa0bd5-cf00-49ec-9e19-0c0ddb44c6dd.BTceWfoi.js";import"./cbcb672d-a3bf-4248-8bad-dfb9a25d4a62.9bbJlnql.js";import"./062d221a-2b06-4d4f-9e75-5263b7fbc0b8.BkIv7D6H.js";var x=o.lazy(function(){return f(()=>import("./a1145548-5af5-4167-b892-1584fe3e8091.RMwJeJYa.js"),__vite__mapDeps([0,1,2]))});function z(i){var r=i.id,n=v(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=h(function(t){return t.open}),m=d(function(t){return t.theme}),u="facebook",c=m?"dark":"light",l=function(t){s(e.jsx(o.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(x,{emojiStyle:u,theme:c,onEmojiClick:function(p){return g(r,p.emoji)},width:"auto",height:"60vh"})}),{placement:a.position},t.target,10,{mounted:function(){return t.target.setAttribute("style","color: green !important")},desmouted:function(){return t.target.removeAttribute("style")}})};return e.jsx("div",{className:"relative",style:{right:"32px",top:"3px"},children:e.jsx("span",{className:"cursor-pointer pulse absolute text-[var(--icon)]",onClick:function(t){return l(t)},children:e.jsx(j,{className:"h-7 w-7"})})})}export{z as default};
