const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/f4c63d22-01e3-43c3-92f1-f5681624c3af.CUp9nT3B.js","assets/js/14cbe65f-819b-4726-9a42-e77bd350647f.0kpvat_1.js","assets/js/b45ec88a-99bb-427a-bd23-9e53cfdaade4.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./5f6343ba-56bd-45eb-9ce5-d87f20ea1089.DMyavOMM.js";import{j as e}from"./3e314277-6fbe-48ae-b141-f77e577f6b48.l7s9hXjs.js";import{m as j,r as s}from"./14cbe65f-819b-4726-9a42-e77bd350647f.0kpvat_1.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./5842b5c8-250b-43eb-9a91-ee4836e18072.Cd7YwKZL.js";import"./b45ec88a-99bb-427a-bd23-9e53cfdaade4.C0Zqfgkc.js";import"./40dc46d9-a7fa-41c5-9ee0-dafdce2dd195.CYWZ-cKi.js";import"./628471c9-b488-4eb8-adb5-88be47ac4f1a.DHXzBZ_-.js";import"./7ea845ad-be30-435c-909b-004fc9666f3c.DKHCzKx5.js";const E=s.lazy(()=>u(()=>import("./f4c63d22-01e3-43c3-92f1-f5681624c3af.CUp9nT3B.js"),__vite__mapDeps([0,1,2])));function z({id:o}){const i=d(t=>t.getContainer(o))(t=>t.emojiArea),r=h(t=>t.open),m=j(t=>t.theme),a="facebook",n=m?"dark":"light",c=t=>{r(e.jsx(s.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(E,{emojiStyle:a,theme:n,onEmojiClick:l=>x(o,l.emoji),width:"auto",height:"60vh"})}),{placement:i.position},t.target,10,{mounted:()=>t.target.setAttribute("style","color: green !important"),desmouted:()=>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:t=>c(t),children:e.jsx(p,{className:"h-7 w-7"})})})}export{z as default};
