const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/e1e9cb5e-c7c3-4fc5-913a-561b7792cdaf.C5wbT3tZ.js","assets/js/4696bbc3-6cfe-4288-8f61-075c725c52ef.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aG as j,_ as f}from"./a72bb423-9665-4384-b19f-0f86d7fa6a53.DdCOsrV1.js";import{a as o}from"./4696bbc3-6cfe-4288-8f61-075c725c52ef.DiKAzxfG.js";import{e as d,f as v,g}from"../../index.js";import{g as h}from"./238770a7-eb8f-43ee-9948-a24642fcb357.DEb0wo5k.js";import"./37b70895-b6c7-4546-a8c8-62bf50aa2b9e.DXLhuare.js";import"./71fcc253-8ae5-484e-92b9-b3980dbbee0c.CmMH2Gxe.js";import"./47bdf853-663c-4eee-a6ff-8d67644884ee.BGaKFpUN.js";import"./08eb3043-32c8-4d8d-8894-5e6e78a5c46b.sKdyQkuf.js";import"./abe405b3-b655-4462-bcc1-195666cd4aa8.B9ygI19o.js";var x=o.lazy(function(){return f(()=>import("./e1e9cb5e-c7c3-4fc5-913a-561b7792cdaf.C5wbT3tZ.js"),__vite__mapDeps([0,1]))});function z(i){var r=i.id,n=d(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=v(function(t){return t.open}),m=h(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};
