const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/b3cc4155-f67f-46ee-af04-811865206142.D8Zq7-B0.js","assets/js/80256efe-7657-4e86-a787-3a5fd603a748.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aG as j,_ as f}from"./773247f3-1949-4c22-8cfb-871ac199fb7d.D3tlKWF8.js";import{a as o}from"./80256efe-7657-4e86-a787-3a5fd603a748.CC2qRq32.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./83b4ebe5-1fd0-4992-8086-c22d87ed770d.ClRrp0rp.js";import"./4a0e9a81-8e8b-4161-a060-236d0eab758a.jH4eI3mQ.js";import"./afbe9a2c-558a-4583-8e0b-ed179f638036.NIGUFBhG.js";import"./71a76447-4966-46ec-b88e-5ae140e7bd9a.BXHe5XKZ.js";import"./4a415e05-3d89-4bc0-8d21-b65c5fb82a0e.DKgJqhcM.js";import"./0ba57069-1f5e-443d-b149-05e6a21ebe1f.B7BfMgt9.js";var x=o.lazy(function(){return f(()=>import("./b3cc4155-f67f-46ee-af04-811865206142.D8Zq7-B0.js"),__vite__mapDeps([0,1]))});function z(i){var r=i.id,n=d(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=v(function(t){return t.open}),m=g(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 h(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};
