const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/3830f16c-8844-4ce3-b442-836318af29e1.CjpK2uzn.js","assets/js/ba47b11f-93c3-40d9-92d3-517b5cac37d2.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aG as p,_ as u}from"./6abd3f6d-5915-464f-a3cb-3d9768f2f00b.DKbqw7xL.js";import{a as s}from"./ba47b11f-93c3-40d9-92d3-517b5cac37d2.DiKAzxfG.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./cd158c8f-89d5-4587-a0da-70a28122abb6.Cy8NaIIt.js";import{s as x}from"./index.6cqiAEjd.js";import"./3ed4cd0f-ec07-4e31-afc1-ce64ffcd5464.JPR2e1ux.js";import"./ab0fa902-5fd7-4602-ba29-02cd60ac750c.B9ygI19o.js";import"./dcfdaf80-13ac-4e1c-8d28-18700a0c1a10.DgRnpLVA.js";import"./99e57599-182b-45aa-ad77-ab31b4543d77.CoxT2IFn.js";import"./4e27391c-200b-4f29-9b56-e5be298e1644.IOPnwoYa.js";const E=s.lazy(()=>u(()=>import("./3830f16c-8844-4ce3-b442-836318af29e1.CjpK2uzn.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};
