const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/768e6de9-3963-45e9-a6c4-69937067ad56.C25FqUeE.js","assets/js/0a61bd63-c70b-44f9-afc9-32261a5610de.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aD as p,_ as u}from"./38021034-1e5c-4003-ba45-be534fb03fb7.CbAfohY-.js";import{a as s}from"./0a61bd63-c70b-44f9-afc9-32261a5610de.CC2qRq32.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./da80831f-ef96-4213-a2b0-39b33b0c7648.VMg3nHyz.js";import{s as x}from"./index.6cqiAEjd.js";import"./db40e10c-484b-4789-a4e3-0850712c31a0.B8MoJlsw.js";import"./3bc9eba8-19c2-41fc-a34c-e13935f1fe9b.NIGUFBhG.js";import"./32861fc8-5701-48b3-b245-38795508faa7.BBHY1K2W.js";import"./c5bd358c-4cff-40c3-b6f6-92aec5e967e0.BgFnXKiI.js";import"./2ead2a7a-5ab5-483e-9adb-af10f23d73b3.77CEOPDO.js";const E=s.lazy(()=>u(()=>import("./768e6de9-3963-45e9-a6c4-69937067ad56.C25FqUeE.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(E,{emojiStyle:m,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};
