const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/f738e8db-e7d2-4106-805e-56caacf33d0b.Da3LRNrU.js","assets/js/c07d242a-5b4a-4661-882b-c0ab5dd00093.DY4-Cj1r.js"])))=>i.map(i=>d[i]);
import{j as e,aG as p,_ as u}from"./7e9e5b2a-4945-46bc-8833-f32678ff993b.B8syaM8b.js";import{a as s}from"./c07d242a-5b4a-4661-882b-c0ab5dd00093.DY4-Cj1r.js";import{a as j,b as d}from"../../index.js";import{a as h}from"./c44ef250-861a-40aa-90df-115eddb53024.BtQIQt1-.js";import{s as x}from"./index.6cqiAEjd.js";import"./c3b2133e-74e3-4cbc-93ae-c23404a4b741.DegroQ2J.js";import"./714dcc15-f748-4b9d-85c3-0eee70c7793a.NIGUFBhG.js";import"./9737f6c3-b96e-4d76-865a-a131e3d36057.j2JXV5k-.js";import"./cdf811dc-33bd-497a-ba45-472c195ff5b5.BrVdrNdq.js";import"./445fb246-2203-4174-89de-dbe8a626f7ee.CzSfud0t.js";const E=s.lazy(()=>u(()=>import("./f738e8db-e7d2-4106-805e-56caacf33d0b.Da3LRNrU.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};
