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 j,_ as d}from"./e7c37f89-36d4-4f7f-b90d-129f0761f279.B085ahH0.js";import{a as o}from"./abfedb32-04d8-4ef7-8358-c48f3b756915.CbsicDbU.js";import{a as h,b as x}from"../../index.js";import{b as E}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";const g=o.lazy(()=>d(()=>import("./1a16d203-6b1c-41e9-b504-f5ae6cf99ba6.BB8fjd_r.js"),__vite__mapDeps([0,1])));function N({id:s}){const{getContainer:i}=h(),{emojiArea:r,insertEmoji:a}=i(s)(),{open:m}=x(),{theme:n}=E(),l="facebook",c=n?"dark":"light",p=e=>{m(t.jsx(o.Suspense,{fallback:t.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:t.jsx(g,{emojiStyle:l,theme:c,onEmojiClick:u=>a(u.emoji),width:"auto",height:"60vh"})}),{placement:r.position},e.target,10,{mounted:()=>e.target.setAttribute("style","color: green !important"),desmouted:()=>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:e=>p(e),children:t.jsx(j,{className:"h-7 w-7"})})})}export{N as default};
