const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/1a16d203-6b1c-41e9-b504-f5ae6cf99ba6.BB8fjd_r.js","assets/js/abfedb32-04d8-4ef7-8358-c48f3b756915.CbsicDbU.js"])))=>i.map(i=>d[i]);
import{j as t,az as v,_ as f}from"./e7c37f89-36d4-4f7f-b90d-129f0761f279.B085ahH0.js";import{a as o}from"./abfedb32-04d8-4ef7-8358-c48f3b756915.CbsicDbU.js";import{e as h,f as E}from"../../index.js";import{b as g}from"./7ddd4e6f-a151-4dbd-b3b3-2494756b1601.DM5NhRdU.js";import"./6cd76d28-c8df-43ec-9ed3-fb0d2876b272.COtiJzgn.js";import"./159f7389-16df-46f2-b8d1-7286965133d9.tZ8sTG1J.js";import"./122f595b-7312-4d1a-a5de-b04f043fe713.p97Adcu1.js";import"./a10916d1-e179-4f2d-9ce3-a46ab0c5048f.Unol4AE4.js";import"./47d0469b-8f62-4762-a108-e82d46bfd0e4.D8rVyQy1.js";var x=o.lazy(function(){return f(()=>import("./1a16d203-6b1c-41e9-b504-f5ae6cf99ba6.BB8fjd_r.js"),__vite__mapDeps([0,1]))});function L(i){var a=i.id,n=h().getContainer,r=n(a)(),s=r.emojiArea,m=r.insertEmoji,u=E().open,l=g().theme,p="facebook",c=l?"dark":"light",j=function(e){u(t.jsx(o.Suspense,{fallback:t.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:t.jsx(x,{emojiStyle:p,theme:c,onEmojiClick:function(d){return m(d.emoji)},width:"auto",height:"60vh"})}),{placement:s.position},e.target,10,{mounted:function(){return e.target.setAttribute("style","color: green !important")},desmouted:function(){return e.target.removeAttribute("style")}})};return t.jsx("div",{className:"relative",style:{right:"32px",top:"3px"},children:t.jsx("span",{className:"cursor-pointer pulse absolute text-[var(--icon)]",onClick:function(e){return j(e)},children:t.jsx(v,{className:"h-7 w-7"})})})}export{L as default};
