const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/79d63ac5-4914-40a6-8c90-dbfbe9429f60.Bf-5vpFG.js","assets/js/ef8a9734-6f10-44fa-987a-cb2781f2527c.CqRPSjAm.js","assets/js/7433640d-2a9f-4216-aa88-3edada1025fe.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./4f7db02f-cfef-42f1-aca3-87ddf9f143f9.BzwAIBt7.js";import{j as e}from"./4b903977-b269-4e5d-80c7-6ccd4edfc44b.CXLluKKh.js";import{m as d,r as o}from"./ef8a9734-6f10-44fa-987a-cb2781f2527c.CqRPSjAm.js";import{e as v,f as h,g}from"../../index.js";import"./a4d1ab8c-f290-4aa1-95c8-ee166146ccd6.B-mGZpfC.js";import"./7433640d-2a9f-4216-aa88-3edada1025fe.C0Zqfgkc.js";import"./3f2a8e88-ccdc-43b1-9360-5a3403a34ffd.DafXowCB.js";import"./d49fcf60-e7e5-49f9-ac7a-1e19166178fb.DxyxIXoE.js";import"./52ed941a-5058-4fc3-8b32-0efd5d1fc845.DN8v6gPO.js";var x=o.lazy(function(){return f(()=>import("./79d63ac5-4914-40a6-8c90-dbfbe9429f60.Bf-5vpFG.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};
