const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/ea7f7f3e-9c26-463c-b80f-6a4212a445a8.D2lEKkjP.js","assets/js/1ceaed43-a081-4611-842e-ea805b3572ef.S9cV1odN.js","assets/js/39ee25f2-649f-4e0f-8e4f-88b1d0c97171.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./e07df691-e7a2-483e-b65f-8ba7d037bbba.BSLb7CTL.js";import{j as e}from"./0d719ebe-9bc8-4321-95e4-3b7ae7188d0c.r_NqTohD.js";import{m as j,r as s}from"./1ceaed43-a081-4611-842e-ea805b3572ef.S9cV1odN.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./59cf4917-67b3-41cf-91ca-ed2802721e1e.Dh54gVB2.js";import"./39ee25f2-649f-4e0f-8e4f-88b1d0c97171.C0Zqfgkc.js";import"./07e3a7a0-437d-4980-bd33-7bc9cc8928ac.Dy55EDz2.js";import"./5b81b262-1f49-431b-aca6-a83860a02744.HcwuK2cG.js";import"./ba3872c6-bdb3-4908-9077-0c0463223713.DDjQGcMk.js";const E=s.lazy(()=>u(()=>import("./ea7f7f3e-9c26-463c-b80f-6a4212a445a8.D2lEKkjP.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};
