const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/fad8b86f-a6ee-42b0-99eb-f5ea90ea3238.C6-Mm9bt.js","assets/js/aaa7a7fd-224b-4b1f-ad88-9f3b70fd4f86.gbTC2lG0.js","assets/js/76913f01-39fe-47b1-9273-8a59d735f607.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./0e40adfc-7384-42ac-af7b-2ce5fa0bf1f3.Brdxvojs.js";import{j as e}from"./ff1761f3-7ac7-4db6-b87c-089232b93bd3.E8qYqNTw.js";import{m as d,r as o}from"./aaa7a7fd-224b-4b1f-ad88-9f3b70fd4f86.gbTC2lG0.js";import{e as v,f as h,g}from"../../index.js";import"./65ed2e5a-0634-4498-8f4c-922d744ed712.CJ_pEw1H.js";import"./76913f01-39fe-47b1-9273-8a59d735f607.C0Zqfgkc.js";import"./59c2715c-2c39-4e11-94d1-b606cb82260e.BgNCiAZl.js";import"./f2df44b4-a3e9-445e-b900-44f9dc849664.BtjVOTyv.js";import"./4215af16-6144-4769-997c-6c91f7c9528c.DHJz9GMK.js";var x=o.lazy(function(){return f(()=>import("./fad8b86f-a6ee-42b0-99eb-f5ea90ea3238.C6-Mm9bt.js"),__vite__mapDeps([0,1,2]))});function z(i){var r=i.id,n=v(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=h(function(t){return t.open}),m=d(function(t){return t.theme}),u="facebook",c=m?"dark":"light",l=function(t){s(e.jsx(o.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(x,{emojiStyle:u,theme:c,onEmojiClick:function(p){return g(r,p.emoji)},width:"auto",height:"60vh"})}),{placement:a.position},t.target,10,{mounted:function(){return t.target.setAttribute("style","color: green !important")},desmouted:function(){return 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:function(t){return l(t)},children:e.jsx(j,{className:"h-7 w-7"})})})}export{z as default};
