const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/290c1711-577b-4e8b-9920-376bf1a8192e.Cp3lKcmX.js","assets/js/b88072d2-91f5-4815-abcd-d59a5b69b266.BYkOx-QV.js","assets/js/495e1c5f-f357-4baf-ae1e-e0511467485f.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./9c8e94b5-8260-483d-9877-eeb7559a085b.D5fGgdNQ.js";import{j as e}from"./d48819c6-0c4c-4770-81f9-ac1b5c309d08.DZIiRdYb.js";import{m as d,r as o}from"./b88072d2-91f5-4815-abcd-d59a5b69b266.BYkOx-QV.js";import{e as v,f as h,g}from"../../index.js";import"./0813ed87-fdbd-4d7a-aabc-d9d8071d81c5._vCv0u-I.js";import"./495e1c5f-f357-4baf-ae1e-e0511467485f.C0Zqfgkc.js";import"./598830cb-a3c2-4d09-ab90-604263fb78c9.BZasVZGj.js";import"./f737e302-3da9-4622-bcf0-3846c29e0340.Li0bcaz3.js";import"./088556fa-dfbb-4531-849e-7a1347dcc4a0.jWVkH3MO.js";var x=o.lazy(function(){return f(()=>import("./290c1711-577b-4e8b-9920-376bf1a8192e.Cp3lKcmX.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};
