const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/7153e936-bcd5-4a70-b4a0-3ce01e92b864.DjBd9yT-.js","assets/js/c72cd99e-5730-4cc2-aabe-4ae7e97095c6.DeMVsG9D.js","assets/js/07781464-665d-4951-b240-5b40a39e22dc.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./f4074a0d-5acc-4a62-bc3a-03856ffc70c7.BUHHOS2s.js";import{j as e}from"./12fcc156-8432-4f6a-a756-bc5c4804a065.C5GaJATJ.js";import{m as d,r as o}from"./c72cd99e-5730-4cc2-aabe-4ae7e97095c6.DeMVsG9D.js";import{e as v,f as h,g}from"../../index.js";import"./4b2a7e94-c8bf-4a6c-b737-60c84fbf1cdf.1pKRhbiQ.js";import"./07781464-665d-4951-b240-5b40a39e22dc.C0Zqfgkc.js";import"./58b66b3a-d812-4734-9eca-e501bc74e5aa.t6OGrC2p.js";import"./a5eb2f53-38cd-408f-aa75-e59898683a8e.C4WI4RHp.js";import"./07412ec9-ac8d-49eb-8fb8-8ea994d77cb8.Bh1YKqXA.js";var x=o.lazy(function(){return f(()=>import("./7153e936-bcd5-4a70-b4a0-3ce01e92b864.DjBd9yT-.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};
