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 p,_ as u}from"./a72bb423-9665-4384-b19f-0f86d7fa6a53.DdCOsrV1.js";import{a as s}from"./4696bbc3-6cfe-4288-8f61-075c725c52ef.DiKAzxfG.js";import{a as j,b as d}from"../../index.js";import{g as h}from"./238770a7-eb8f-43ee-9948-a24642fcb357.DEb0wo5k.js";import{s as g}from"./index.6cqiAEjd.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";const x=s.lazy(()=>u(()=>import("./e1e9cb5e-c7c3-4fc5-913a-561b7792cdaf.C5wbT3tZ.js"),__vite__mapDeps([0,1])));function z({id:o}){const i=j(t=>t.getContainer(o))(t=>t.emojiArea),r=d(t=>t.open),a=h(t=>t.theme),m="facebook",n=a?"dark":"light",c=t=>{r(e.jsx(s.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(x,{emojiStyle:m,theme:n,onEmojiClick:l=>g(o,l.emoji),width:"auto",height:"60vh"})}),{placement:i.position},t.target,10,{mounted:()=>t.target.setAttribute("style","color: green !important"),desmouted:()=>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:t=>c(t),children:e.jsx(p,{className:"h-7 w-7"})})})}export{z as default};
