const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/758666b8-7c28-4d98-8645-4f438abc79dc.BTHUHQ0t.js","assets/js/a12ebf00-228a-4505-90c3-731141055e49.BjN0DH1t.js"])))=>i.map(i=>d[i]);
import{j as e,aG as p,_ as u}from"./a5f526de-da5f-479a-b47d-61bdb3e6f0b6.CfLEhvO6.js";import{a as s}from"./a12ebf00-228a-4505-90c3-731141055e49.BjN0DH1t.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./0f74652c-a560-4f25-b864-7db1c24b3dc7.Cdt37bdh.js";import{s as x}from"./index.6cqiAEjd.js";import"./ff03022f-eab5-45ca-a2c0-1f0b9e75af33.C4YbHzbX.js";import"./f5c54029-9fc4-4762-b3c0-7a53347c4d23.B9ygI19o.js";import"./8d3bf143-33b3-45ba-867b-6be145ccccaf.CNyJLWbZ.js";import"./8c1be74c-6eee-4d4c-93b4-57a96b567016.D9myXJ8k.js";import"./740eb74f-0d41-42d4-941a-f77cbccccfa7.CWsqm7F9.js";const E=s.lazy(()=>u(()=>import("./758666b8-7c28-4d98-8645-4f438abc79dc.BTHUHQ0t.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};
