const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/7d426c32-b2ef-4e0c-9287-66fa16a59ee6.vEGpHc1M.js","assets/js/3b0bc227-5ef3-4861-89b9-460eeecae3e8.BtjWlQs8.js","assets/js/e1737af6-e7d0-4244-b0c0-fa98a56d0595.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./5b2e6e29-346a-4252-957e-3e95a1ecc2b8.07kyQYzC.js";import{j as e}from"./c6e04f66-c0ef-44cc-84f2-dc1f59ff0119.Bgq73WwO.js";import{m as j,r as s}from"./3b0bc227-5ef3-4861-89b9-460eeecae3e8.BtjWlQs8.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./cf501645-18bb-4947-a78e-01226a7cda4e.CSl4WnvM.js";import"./e1737af6-e7d0-4244-b0c0-fa98a56d0595.C0Zqfgkc.js";import"./9ce694e7-9bbb-4c12-97cd-0e82857a2981.C7VYKa5k.js";import"./cf50c038-9e08-4b8d-9b06-6ab260b4438d.C9ZETNXv.js";import"./e1eb6587-b2ce-48b1-af43-6ed853c059bf.xbsteCKk.js";const E=s.lazy(()=>u(()=>import("./7d426c32-b2ef-4e0c-9287-66fa16a59ee6.vEGpHc1M.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};
