const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/5f4cca5e-482e-4f01-8fd4-093c326f6d7f.BybKjB7i.js","assets/js/f1826ddd-a2d8-4fce-af3d-c958dcb59062.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aG as p,_ as u}from"./dd6e34a1-2dce-4b2f-a506-c3a3a97e6a60.BtGh0rES.js";import{a as s}from"./f1826ddd-a2d8-4fce-af3d-c958dcb59062.CC2qRq32.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./209d2e31-398d-4115-83ca-f4e360d8f14c.DB_X1qgl.js";import{s as x}from"./index.6cqiAEjd.js";import"./bedc3458-6184-4e7f-bdf2-1a32ce9d7bc1.BX5SC7r6.js";import"./c4f8119f-a26b-4cdd-9922-48b96c4c3f7c.NIGUFBhG.js";import"./b7a206fb-30c2-4638-9063-0e98f38a14e0.CABIgbxA.js";import"./53ad9472-c185-4918-b159-c74d9c5aa814.ClFOar0Y.js";import"./67cae666-16ae-4928-a3d7-31b63441b60a.De5D-E6y.js";const E=s.lazy(()=>u(()=>import("./5f4cca5e-482e-4f01-8fd4-093c326f6d7f.BybKjB7i.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(E,{emojiStyle:m,theme:n,onEmojiClick:l=>x(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};
