const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/200bf41e-19c0-46d1-901a-b96bf9ea51e2.D6KOiXsP.js","assets/js/ad44b22f-97c7-45d0-b59a-413065b4cdbe.BGZk5hUf.js","assets/js/6dad934c-7865-47ae-9348-0f22f658f4f7.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./c61b49b0-4146-4ad4-aa18-b81740c62e69.BLiVLrdB.js";import{j as e}from"./4e72af16-2dfe-4245-a054-4de89930de0f.HspIsJ53.js";import{m as j,r as s}from"./ad44b22f-97c7-45d0-b59a-413065b4cdbe.BGZk5hUf.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./0403568d-e5eb-4cfc-92b1-4526d8f2fb52.C6VufEub.js";import"./6dad934c-7865-47ae-9348-0f22f658f4f7.C0Zqfgkc.js";import"./0730b93f-3143-4541-b424-601cc4e2aa81.EwhviQ2i.js";import"./c76aeb1d-c8d9-4c90-ac49-27e93211c0f1.DqV-3RZS.js";import"./3c8ea625-cdcf-4e8e-8772-2cb8e1403711.CxjalAR8.js";const E=s.lazy(()=>u(()=>import("./200bf41e-19c0-46d1-901a-b96bf9ea51e2.D6KOiXsP.js"),__vite__mapDeps([0,1,2])));function z({id:o}){const i=d(t=>t.getContainer(o))(t=>t.emojiArea),r=h(t=>t.open),m=j(t=>t.theme),a="facebook",n=m?"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:a,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};
