const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/2ab89b02-6dca-4036-b2a6-e558e4259287.CCxIDq3K.js","assets/js/d87839bb-e2bc-48b4-b67d-1eb433409cd5.8PUOyUqv.js","assets/js/a9860043-dc0a-4a50-879a-c729847710dd.B8_nURbH.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as j}from"./d1f06c4a-28de-4fe6-8307-ee19d106ed02.D-XmQ74-.js";import{j as e}from"./b36d97aa-80d4-4b65-93b9-b58f5b2a13e9.BsYNDQPD.js";import{n as u,r}from"./d87839bb-e2bc-48b4-b67d-1eb433409cd5.8PUOyUqv.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./ff2895e3-9fdb-46e4-87b6-4a742017c9ed.CHDSY5-p.js";import"./a9860043-dc0a-4a50-879a-c729847710dd.B8_nURbH.js";import"./2793b3a7-e768-45f9-86c5-f1c60fc2c23b.CZNyQ0Pg.js";import"./f508b904-cd16-42b7-a817-b7f86d5f204d.C9IAwhsR.js";import"./9604c129-61a4-4a64-a6e4-c0dec0078cc2.DCjXnq4r.js";const E=r.lazy(()=>j(()=>import("./2ab89b02-6dca-4036-b2a6-e558e4259287.CCxIDq3K.js"),__vite__mapDeps([0,1,2])));function M({id:o}){const s=d(t=>t.getContainer(o))(t=>t.emojiArea),i=h(t=>t.open),a=u(t=>t.theme),m="facebook",n=a?"dark":"light",c=t=>{i(e.jsx(r.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:s.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{M as default};
