const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/cd369e78-bd1b-41f1-9027-26cfe9f1b6d1.BFoV4NYL.js","assets/js/22dd7e42-87be-4398-b1bd-5d76b303be77.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aG as p,_ as u}from"./3555d203-2538-4509-8b24-bc3613546676.CEUjTIxG.js";import{a as s}from"./22dd7e42-87be-4398-b1bd-5d76b303be77.DiKAzxfG.js";import{a as j,b as d}from"../../index.js";import{g as h}from"./78e4e052-9712-4753-97c5-8c13ab5d82b5.hEZ_3ehH.js";import{s as g}from"./index.6cqiAEjd.js";import"./02e7782e-41f9-47f3-a7e1-1cc15ddfad06.BlNUIreo.js";import"./b7bf59fc-7460-48c4-8430-448b99c389f2.Dp7_4q2L.js";import"./5ef095bd-1088-472f-9deb-bd030454de5f.DfFmyfWN.js";import"./5a360292-97f8-4e7e-af1c-0c91c64bffd9.ChPk2P_C.js";import"./a28668d0-723d-4ff0-a148-26e7159e0c61.B9ygI19o.js";const x=s.lazy(()=>u(()=>import("./cd369e78-bd1b-41f1-9027-26cfe9f1b6d1.BFoV4NYL.js"),__vite__mapDeps([0,1])));function z({id:o}){const i=j(t=>t.getContainer(o))(t=>t.emojiArea),r=d(t=>t.open),a=h(t=>t.theme),m="facebook",n=a?"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(x,{emojiStyle:m,theme:n,onEmojiClick:l=>g(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};
